]> 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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
51
52
53 /***********************************************************************
54 * common.swg for wxPython
55 *
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 * anyway.
60 *
61 ************************************************************************/
62
63 #include <string.h>
64
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
70 # else
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
73 # endif
74 # else
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
78 # else
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
81 # endif
82 # endif
83 #else
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
86 #endif
87
88 #ifdef SWIG_GLOBAL
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 #else
91 # define SWIGRUNTIME(a) static a
92 #endif
93
94 #ifdef __cplusplus
95 extern "C" {
96 #endif
97
98 typedef void *(*swig_converter_func)(void *);
99 typedef struct swig_type_info *(*swig_dycast_func)(void **);
100
101 typedef struct swig_type_info {
102 const char *name;
103 swig_converter_func converter;
104 const char *str;
105 void *clientdata;
106 swig_dycast_func dcast;
107 struct swig_type_info *next;
108 struct swig_type_info *prev;
109 } swig_type_info;
110
111
112 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info *);
118 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
122
123
124 #ifdef __cplusplus
125 }
126 #endif
127
128
129 /***********************************************************************
130 * pyrun.swg for wxPython
131 *
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 * anyway.
136 *
137 ************************************************************************/
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxFileHistory swig_types[2]
214 #define SWIGTYPE_p_wxLog swig_types[3]
215 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216 #define SWIGTYPE_p_wxMenu swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxConfigBase swig_types[7]
219 #define SWIGTYPE_p_wxDisplay swig_types[8]
220 #define SWIGTYPE_p_wxFileType swig_types[9]
221 #define SWIGTYPE_p_wxLogGui swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxDataFormat swig_types[12]
224 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
225 #define SWIGTYPE_p_wxCaret swig_types[14]
226 #define SWIGTYPE_p_int swig_types[15]
227 #define SWIGTYPE_p_wxSize swig_types[16]
228 #define SWIGTYPE_p_wxClipboard swig_types[17]
229 #define SWIGTYPE_p_wxStopWatch swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxLogStderr swig_types[22]
234 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
237 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
238 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
239 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
240 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
241 #define SWIGTYPE_p_wxDataObject swig_types[30]
242 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
243 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
245 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246 #define SWIGTYPE_p_wxSound swig_types[35]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
248 #define SWIGTYPE_p_wxLogWindow swig_types[37]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
250 #define SWIGTYPE_p_wxArrayString swig_types[39]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
252 #define SWIGTYPE_p_wxToolTip swig_types[41]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
254 #define SWIGTYPE_p_wxFileConfig swig_types[43]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
256 #define SWIGTYPE_p_wxVideoMode swig_types[45]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_char swig_types[50]
262 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
263 #define SWIGTYPE_p_wxStandardPaths swig_types[52]
264 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
265 #define SWIGTYPE_p_wxFrame swig_types[54]
266 #define SWIGTYPE_p_wxTimer swig_types[55]
267 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
268 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
269 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxJoystick swig_types[60]
272 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
273 #define SWIGTYPE_p_wxPoint swig_types[62]
274 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
275 #define SWIGTYPE_p_wxCursor swig_types[64]
276 #define SWIGTYPE_p_wxObject swig_types[65]
277 #define SWIGTYPE_p_wxOutputStream swig_types[66]
278 #define SWIGTYPE_p_wxDateTime swig_types[67]
279 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
280 #define SWIGTYPE_p_wxWindow swig_types[69]
281 #define SWIGTYPE_p_wxString swig_types[70]
282 #define SWIGTYPE_p_wxPyProcess swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxConfig swig_types[73]
285 #define SWIGTYPE_p_wxChar swig_types[74]
286 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
287 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
288 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
291 #define SWIGTYPE_p_wxPyLog swig_types[80]
292 #define SWIGTYPE_p_wxLogNull swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
295 #define SWIGTYPE_p_wxPyTimer swig_types[84]
296 #define SWIGTYPE_p_wxDateSpan swig_types[85]
297 static swig_type_info *swig_types[87];
298
299 /* -------- TYPES TABLE (END) -------- */
300
301
302 /*-----------------------------------------------
303 @(target):= _misc_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_misc_
306
307 #define SWIG_name "_misc_"
308
309 /* Auxiliar swig macros that appear in the header */
310
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
314
315 #ifdef __cplusplus
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
326
327 #else /* C case */
328
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339
340 #endif /* __cplusplus */
341
342
343 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@@*/
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@@*/
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
351 /*@@*/
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@@*/
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
357 /*@@*/
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
360 /*@@*/
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
363 /*@@*/
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
366 /*@@*/
367
368
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
371 #include "wx/wxPython/pyistream.h"
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374
375
376
377 #include <limits.h>
378
379
380 SWIGSTATICINLINE(int)
381 SWIG_CheckLongInRange(long value, long min_value, long max_value,
382 const char *errmsg)
383 {
384 if (value < min_value) {
385 if (errmsg) {
386 PyErr_Format(PyExc_OverflowError,
387 "value %ld is less than '%s' minimum %ld",
388 value, errmsg, min_value);
389 }
390 return 0;
391 } else if (value > max_value) {
392 if (errmsg) {
393 PyErr_Format(PyExc_OverflowError,
394 "value %ld is greater than '%s' maximum %ld",
395 value, errmsg, max_value);
396 }
397 return 0;
398 }
399 return 1;
400 }
401
402
403 // See my_fragments.i
404 SWIGSTATICINLINE(int)
405 SWIG_AsVal_long(PyObject* obj, long* val)
406 {
407 if (PyNumber_Check(obj)) {
408 if (val) *val = PyInt_AsLong(obj);
409 return 1;
410 }
411 else {
412 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
413 obj->ob_type->tp_name);
414 PyErr_SetObject(PyExc_TypeError, errmsg);
415 Py_DECREF(errmsg);
416 }
417 return 0;
418 }
419
420
421 #if INT_MAX != LONG_MAX
422 SWIGSTATICINLINE(int)
423 SWIG_AsVal_int(PyObject *obj, int *val)
424 {
425 const char* errmsg = val ? "int" : 0;
426 long v;
427 if (SWIG_AsVal_long(obj, &v)) {
428 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
429 if (val) *val = swig_numeric_cast(v, int);
430 return 1;
431 } else {
432 return 0;
433 }
434 } else {
435 PyErr_Clear();
436 }
437 if (val) {
438 PyErr_SetString(PyExc_TypeError, "an int is expected");
439 }
440 return 0;
441 }
442 #else
443 SWIGSTATICINLINE(int)
444 SWIG_AsVal_int(PyObject *obj, int *val)
445 {
446 return SWIG_AsVal_long(obj,(long*)val);
447 }
448 #endif
449
450
451 SWIGSTATICINLINE(int)
452 SWIG_As_int(PyObject* obj)
453 {
454 int v;
455 if (!SWIG_AsVal_int(obj, &v)) {
456 /*
457 this is needed to make valgrind/purify happier. the other
458 solution is throw an exception, but since this code should work
459 with plain C ....
460 */
461 memset((void*)&v, 0, sizeof(int));
462 }
463 return v;
464 }
465
466
467 SWIGSTATICINLINE(int)
468 SWIG_Check_int(PyObject* obj)
469 {
470 return SWIG_AsVal_int(obj, (int*)0);
471 }
472
473 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
474
475 #include <wx/stockitem.h>
476
477 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
478 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
479 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
480
481 SWIGSTATICINLINE(long)
482 SWIG_As_long(PyObject* obj)
483 {
484 long v;
485 if (!SWIG_AsVal_long(obj, &v)) {
486 /*
487 this is needed to make valgrind/purify happier. the other
488 solution is throw an exception, but since this code should work
489 with plain C ....
490 */
491 memset((void*)&v, 0, sizeof(long));
492 }
493 return v;
494 }
495
496
497 SWIGSTATICINLINE(int)
498 SWIG_Check_long(PyObject* obj)
499 {
500 return SWIG_AsVal_long(obj, (long*)0);
501 }
502
503
504 SWIGSTATICINLINE(int)
505 SWIG_AsVal_bool(PyObject *obj, bool *val)
506 {
507 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
508 if (obj == Py_True) {
509 if (val) *val = true;
510 return 1;
511 }
512 if (obj == Py_False) {
513 if (val) *val = false;
514 return 1;
515 }
516 int res = 0;
517 if (SWIG_AsVal_int(obj, &res)) {
518 if (val) *val = (bool)res;
519 return 1;
520 }
521 if (val) {
522 PyErr_SetString(PyExc_TypeError, "a bool is expected");
523 }
524 return 0;
525 }
526
527
528 SWIGSTATICINLINE(bool)
529 SWIG_As_bool(PyObject* obj)
530 {
531 bool v;
532 if (!SWIG_AsVal_bool(obj, &v)) {
533 /*
534 this is needed to make valgrind/purify happier. the other
535 solution is throw an exception, but since this code should work
536 with plain C ....
537 */
538 memset((void*)&v, 0, sizeof(bool));
539 }
540 return v;
541 }
542
543
544 SWIGSTATICINLINE(int)
545 SWIG_Check_bool(PyObject* obj)
546 {
547 return SWIG_AsVal_bool(obj, (bool*)0);
548 }
549
550
551 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
552 PyObject* o2;
553 PyObject* o3;
554
555 if (!target) {
556 target = o;
557 } else if (target == Py_None) {
558 Py_DECREF(Py_None);
559 target = o;
560 } else {
561 if (!PyTuple_Check(target)) {
562 o2 = target;
563 target = PyTuple_New(1);
564 PyTuple_SetItem(target, 0, o2);
565 }
566 o3 = PyTuple_New(1);
567 PyTuple_SetItem(o3, 0, o);
568
569 o2 = target;
570 target = PySequence_Concat(o2, o3);
571 Py_DECREF(o2);
572 Py_DECREF(o3);
573 }
574 return target;
575 }
576
577
578
579 long wxGetFreeMemory()
580 { wxPyRaiseNotImplemented(); return 0; }
581
582
583 // See my_fragments.i
584 SWIGSTATICINLINE(int)
585 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
586 {
587 long v = 0;
588 if (SWIG_AsVal_long(obj, &v) && v < 0) {
589 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
590 return 0;
591 }
592 else if (val)
593 *val = (unsigned long)v;
594 return 1;
595 }
596
597
598 SWIGSTATICINLINE(unsigned long)
599 SWIG_As_unsigned_SS_long(PyObject* obj)
600 {
601 unsigned long v;
602 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
603 /*
604 this is needed to make valgrind/purify happier. the other
605 solution is throw an exception, but since this code should work
606 with plain C ....
607 */
608 memset((void*)&v, 0, sizeof(unsigned long));
609 }
610 return v;
611 }
612
613
614 SWIGSTATICINLINE(int)
615 SWIG_Check_unsigned_SS_long(PyObject* obj)
616 {
617 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
618 }
619
620
621 SWIGSTATICINLINE(PyObject* )
622 SWIG_From_unsigned_SS_long(unsigned long value)
623 {
624 return (value > LONG_MAX) ?
625 PyLong_FromUnsignedLong(value)
626 : PyInt_FromLong(swig_numeric_cast(value,long));
627 }
628
629
630 void wxWakeUpMainThread() {}
631
632
633 bool wxThread_IsMain() {
634 #ifdef WXP_WITH_THREAD
635 return wxThread::IsMain();
636 #else
637 return true;
638 #endif
639 }
640
641
642 int wxCaret_GetBlinkTime() {
643 return wxCaret::GetBlinkTime();
644 }
645
646 void wxCaret_SetBlinkTime(int milliseconds) {
647 wxCaret::SetBlinkTime(milliseconds);
648 }
649
650
651 #include <wx/snglinst.h>
652
653
654 #ifdef __WXMSW__
655 #include <wx/msw/private.h>
656 #include <wx/dynload.h>
657 #endif
658
659
660
661 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
662 {
663 #ifdef __WXMSW__
664
665 switch (method)
666 {
667 case 1:
668 // This one only partially works. Appears to be an undocumented
669 // "standard" convention that not all widgets adhear to. For
670 // example, for some widgets backgrounds or non-client areas may
671 // not be painted.
672 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
673 break;
674
675 case 2:
676 // This one works much better, except for on XP. On Win2k nearly
677 // all widgets and their children are captured correctly[**]. On
678 // XP with Themes activated most native widgets draw only
679 // partially, if at all. Without themes it works just like on
680 // Win2k.
681 //
682 // ** For example the radio buttons in a wxRadioBox are not its
683 // children by default, but you can capture it via the panel
684 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
685 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
686 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
687 PRF_ERASEBKGND | PRF_OWNED );
688 break;
689
690 case 3:
691 // This one is only defined in the latest SDK and is only
692 // available on XP. MSDN says it is similar to sending WM_PRINT
693 // so I expect that it will work similar to the above. Since it
694 // is avaialble only on XP, it can't be compiled like this and
695 // will have to be loaded dynamically.
696 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
697
698 // fall through
699
700 case 4:
701 // Use PrintWindow if available, or fallback to WM_PRINT
702 // otherwise. Unfortunately using PrintWindow is even worse than
703 // WM_PRINT. For most native widgets nothing is drawn to the dc
704 // at all, with or without Themes.
705 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
706 static bool s_triedToLoad = false;
707 static PrintWindow_t pfnPrintWindow = NULL;
708 if ( !s_triedToLoad )
709 {
710
711 s_triedToLoad = true;
712 wxDynamicLibrary dllUser32(_T("user32.dll"));
713 if ( dllUser32.IsLoaded() )
714 {
715 wxLogNull nolog; // Don't report errors here
716 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
717 }
718 }
719 if (pfnPrintWindow)
720 {
721 printf("Using PrintWindow\n");
722 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
723 }
724 else
725 {
726 printf("Using WM_PRINT\n");
727 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
728 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
729 }
730 }
731 #endif
732 }
733
734
735
736 #include <wx/tipdlg.h>
737
738
739 class wxPyTipProvider : public wxTipProvider {
740 public:
741 wxPyTipProvider(size_t currentTip)
742 : wxTipProvider(currentTip) {}
743
744 DEC_PYCALLBACK_STRING__pure(GetTip);
745 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
746 PYPRIVATE;
747 };
748
749 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
750 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
751
752
753 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
754
755 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
756
757 void wxPyTimer::Notify() {
758 bool found;
759 bool blocked = wxPyBeginBlockThreads();
760 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
761 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
762 wxPyEndBlockThreads(blocked);
763 if (! found)
764 wxTimer::Notify();
765 }
766 void wxPyTimer::base_Notify() {
767 wxTimer::Notify();
768 }
769
770
771
772 SWIGSTATICINLINE(PyObject *)
773 SWIG_FromCharPtr(const char* cptr)
774 {
775 if (cptr) {
776 size_t size = strlen(cptr);
777 if (size > INT_MAX) {
778 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
779 SWIG_TypeQuery("char *"), 0);
780 } else {
781 if (size != 0) {
782 return PyString_FromStringAndSize(cptr, size);
783 } else {
784 return PyString_FromString(cptr);
785 }
786 }
787 }
788 Py_INCREF(Py_None);
789 return Py_None;
790 }
791
792
793 SWIGSTATICINLINE(int)
794 SWIG_CheckUnsignedLongInRange(unsigned long value,
795 unsigned long max_value,
796 const char *errmsg)
797 {
798 if (value > max_value) {
799 if (errmsg) {
800 PyErr_Format(PyExc_OverflowError,
801 "value %ld is greater than '%s' minimum %ld",
802 value, errmsg, max_value);
803 }
804 return 0;
805 }
806 return 1;
807 }
808
809
810 #if UINT_MAX != ULONG_MAX
811 SWIGSTATICINLINE(int)
812 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
813 {
814 const char* errmsg = val ? "unsigned int" : 0;
815 unsigned long v;
816 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
817 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
818 if (val) *val = swig_numeric_cast(v, unsigned int);
819 return 1;
820 }
821 } else {
822 PyErr_Clear();
823 }
824 if (val) {
825 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
826 }
827 return 0;
828 }
829 #else
830 SWIGSTATICINLINE(unsigned int)
831 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
832 {
833 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
834 }
835 #endif
836
837
838 SWIGSTATICINLINE(unsigned int)
839 SWIG_As_unsigned_SS_int(PyObject* obj)
840 {
841 unsigned int v;
842 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
843 /*
844 this is needed to make valgrind/purify happier. the other
845 solution is throw an exception, but since this code should work
846 with plain C ....
847 */
848 memset((void*)&v, 0, sizeof(unsigned int));
849 }
850 return v;
851 }
852
853
854 SWIGSTATICINLINE(int)
855 SWIG_Check_unsigned_SS_int(PyObject* obj)
856 {
857 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
858 }
859
860 wxString Log_TimeStamp(){
861 wxString msg;
862 wxLog::TimeStamp(&msg);
863 return msg;
864 }
865 void wxLog_Destroy(wxLog *self){ delete self; }
866
867 // A wxLog class that can be derived from in wxPython
868 class wxPyLog : public wxLog {
869 public:
870 wxPyLog() : wxLog() {}
871
872 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
873 bool found;
874 bool blocked = wxPyBeginBlockThreads();
875 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
876 PyObject* s = wx2PyString(szString);
877 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
878 Py_DECREF(s);
879 }
880 wxPyEndBlockThreads(blocked);
881 if (! found)
882 wxLog::DoLog(level, szString, t);
883 }
884
885 virtual void DoLogString(const wxChar *szString, time_t t) {
886 bool found;
887 bool blocked = wxPyBeginBlockThreads();
888 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
889 PyObject* s = wx2PyString(szString);
890 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
891 Py_DECREF(s);
892 }
893 wxPyEndBlockThreads(blocked);
894 if (! found)
895 wxLog::DoLogString(szString, t);
896 }
897
898 PYPRIVATE;
899 };
900
901
902
903
904 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
905
906
907 #include <wx/joystick.h>
908
909
910 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
911 // A C++ stub class for wxJoystick for platforms that don't have it.
912 class wxJoystick : public wxObject {
913 public:
914 wxJoystick(int joystick = wxJOYSTICK1) {
915 bool blocked = wxPyBeginBlockThreads();
916 PyErr_SetString(PyExc_NotImplementedError,
917 "wxJoystick is not available on this platform.");
918 wxPyEndBlockThreads(blocked);
919 }
920 wxPoint GetPosition() { return wxPoint(-1,-1); }
921 int GetZPosition() { return -1; }
922 int GetButtonState() { return -1; }
923 int GetPOVPosition() { return -1; }
924 int GetPOVCTSPosition() { return -1; }
925 int GetRudderPosition() { return -1; }
926 int GetUPosition() { return -1; }
927 int GetVPosition() { return -1; }
928 int GetMovementThreshold() { return -1; }
929 void SetMovementThreshold(int threshold) {}
930
931 bool IsOk(void) { return false; }
932 int GetNumberJoysticks() { return -1; }
933 int GetManufacturerId() { return -1; }
934 int GetProductId() { return -1; }
935 wxString GetProductName() { return wxEmptyString; }
936 int GetXMin() { return -1; }
937 int GetYMin() { return -1; }
938 int GetZMin() { return -1; }
939 int GetXMax() { return -1; }
940 int GetYMax() { return -1; }
941 int GetZMax() { return -1; }
942 int GetNumberButtons() { return -1; }
943 int GetNumberAxes() { return -1; }
944 int GetMaxButtons() { return -1; }
945 int GetMaxAxes() { return -1; }
946 int GetPollingMin() { return -1; }
947 int GetPollingMax() { return -1; }
948 int GetRudderMin() { return -1; }
949 int GetRudderMax() { return -1; }
950 int GetUMin() { return -1; }
951 int GetUMax() { return -1; }
952 int GetVMin() { return -1; }
953 int GetVMax() { return -1; }
954
955 bool HasRudder() { return false; }
956 bool HasZ() { return false; }
957 bool HasU() { return false; }
958 bool HasV() { return false; }
959 bool HasPOV() { return false; }
960 bool HasPOV4Dir() { return false; }
961 bool HasPOVCTS() { return false; }
962
963 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
964 bool ReleaseCapture() { return false; }
965 };
966 #endif
967
968
969 #include <wx/sound.h>
970
971
972 #if !wxUSE_SOUND
973 // A C++ stub class for wxWave for platforms that don't have it.
974 class wxSound : public wxObject
975 {
976 public:
977 wxSound() {
978 bool blocked = wxPyBeginBlockThreads();
979 PyErr_SetString(PyExc_NotImplementedError,
980 "wxSound is not available on this platform.");
981 wxPyEndBlockThreads(blocked);
982 }
983 wxSound(const wxString&/*, bool*/) {
984 bool blocked = wxPyBeginBlockThreads();
985 PyErr_SetString(PyExc_NotImplementedError,
986 "wxSound is not available on this platform.");
987 wxPyEndBlockThreads(blocked);
988 }
989 wxSound(int, const wxByte*) {
990 bool blocked = wxPyBeginBlockThreads();
991 PyErr_SetString(PyExc_NotImplementedError,
992 "wxSound is not available on this platform.");
993 wxPyEndBlockThreads(blocked);
994 }
995
996 ~wxSound() {};
997
998 bool Create(const wxString&/*, bool*/) { return false; }
999 bool Create(int, const wxByte*) { return false; };
1000 bool IsOk() { return false; };
1001 bool Play(unsigned) const { return false; }
1002 static bool Play(const wxString&, unsigned) { return false; }
1003 static void Stop() {}
1004 };
1005
1006 #endif
1007
1008 wxSound *new_wxSound(wxString const &fileName){
1009 if (fileName.Length() == 0)
1010 return new wxSound;
1011 else
1012 return new wxSound(fileName);
1013 }
1014 wxSound *new_wxSound(PyObject *data){
1015 unsigned char* buffer; int size;
1016 wxSound *sound = NULL;
1017
1018 bool blocked = wxPyBeginBlockThreads();
1019 if (!PyArg_Parse(data, "t#", &buffer, &size))
1020 goto done;
1021 sound = new wxSound(size, buffer);
1022 done:
1023 wxPyEndBlockThreads(blocked);
1024 return sound;
1025 }
1026 bool wxSound_CreateFromData(wxSound *self,PyObject *data){
1027 #ifndef __WXMAC__
1028 unsigned char* buffer;
1029 int size;
1030 bool rv = false;
1031
1032 bool blocked = wxPyBeginBlockThreads();
1033 if (!PyArg_Parse(data, "t#", &buffer, &size))
1034 goto done;
1035 rv = self->Create(size, buffer);
1036 done:
1037 wxPyEndBlockThreads(blocked);
1038 return rv;
1039 #else
1040 bool blocked = wxPyBeginBlockThreads();
1041 PyErr_SetString(PyExc_NotImplementedError,
1042 "Create from data is not available on this platform.");
1043 wxPyEndBlockThreads(blocked);
1044 return false;
1045 #endif
1046 }
1047
1048 #include <wx/mimetype.h>
1049
1050 PyObject *wxFileType_GetMimeType(wxFileType *self){
1051 wxString str;
1052 if (self->GetMimeType(&str))
1053 return wx2PyString(str);
1054 else
1055 RETURN_NONE();
1056 }
1057 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
1058 wxArrayString arr;
1059 if (self->GetMimeTypes(arr))
1060 return wxArrayString2PyList_helper(arr);
1061 else
1062 RETURN_NONE();
1063 }
1064 PyObject *wxFileType_GetExtensions(wxFileType *self){
1065 wxArrayString arr;
1066 if (self->GetExtensions(arr))
1067 return wxArrayString2PyList_helper(arr);
1068 else
1069 RETURN_NONE();
1070 }
1071 wxIcon *wxFileType_GetIcon(wxFileType *self){
1072 wxIconLocation loc;
1073 if (self->GetIcon(&loc))
1074 return new wxIcon(loc);
1075 else
1076 return NULL;
1077 }
1078 PyObject *wxFileType_GetIconInfo(wxFileType *self){
1079 wxIconLocation loc;
1080 if (self->GetIcon(&loc)) {
1081 wxString iconFile = loc.GetFileName();
1082 int iconIndex = -1;
1083
1084
1085
1086 // Make a tuple and put the values in it
1087 bool blocked = wxPyBeginBlockThreads();
1088 PyObject* tuple = PyTuple_New(3);
1089 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
1090 wxT("wxIcon"), true));
1091 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
1092 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
1093 wxPyEndBlockThreads(blocked);
1094 return tuple;
1095 }
1096 else
1097 RETURN_NONE();
1098 }
1099 PyObject *wxFileType_GetDescription(wxFileType *self){
1100 wxString str;
1101 if (self->GetDescription(&str))
1102 return wx2PyString(str);
1103 else
1104 RETURN_NONE();
1105 }
1106 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1107 wxString str;
1108 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1109 return wx2PyString(str);
1110 else
1111 RETURN_NONE();
1112 }
1113 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1114 wxString str;
1115 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1116 return wx2PyString(str);
1117 else
1118 RETURN_NONE();
1119 }
1120 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
1121 wxArrayString verbs;
1122 wxArrayString commands;
1123 if (self->GetAllCommands(&verbs, &commands,
1124 wxFileType::MessageParameters(filename, mimetype))) {
1125 bool blocked = wxPyBeginBlockThreads();
1126 PyObject* tuple = PyTuple_New(2);
1127 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
1128 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
1129 wxPyEndBlockThreads(blocked);
1130 return tuple;
1131 }
1132 else
1133 RETURN_NONE();
1134 }
1135 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1136 return wxFileType::ExpandCommand(command,
1137 wxFileType::MessageParameters(filename, mimetype));
1138 }
1139 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1140 wxArrayString arr;
1141 self->EnumAllFileTypes(arr);
1142 return wxArrayString2PyList_helper(arr);
1143 }
1144
1145 #include <wx/artprov.h>
1146
1147 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1148 static const wxString wxPyART_MENU(wxART_MENU);
1149 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1150 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1151 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1152 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
1153 static const wxString wxPyART_BUTTON(wxART_BUTTON);
1154 static const wxString wxPyART_OTHER(wxART_OTHER);
1155 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1156 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1157 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1158 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1159 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1160 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1161 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1162 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1163 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1164 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1165 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1166 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1167 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1168 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1169 static const wxString wxPyART_PRINT(wxART_PRINT);
1170 static const wxString wxPyART_HELP(wxART_HELP);
1171 static const wxString wxPyART_TIP(wxART_TIP);
1172 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1173 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1174 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1175 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1176 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1177 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1178 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1179 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1180 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1181 static const wxString wxPyART_ERROR(wxART_ERROR);
1182 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1183 static const wxString wxPyART_WARNING(wxART_WARNING);
1184 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1185 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1186 // Python aware wxArtProvider
1187 class wxPyArtProvider : public wxArtProvider {
1188 public:
1189
1190 virtual wxBitmap CreateBitmap(const wxArtID& id,
1191 const wxArtClient& client,
1192 const wxSize& size) {
1193 wxBitmap rval = wxNullBitmap;
1194 bool blocked = wxPyBeginBlockThreads();
1195 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1196 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1197 PyObject* ro;
1198 wxBitmap* ptr;
1199 PyObject* s1, *s2;
1200 s1 = wx2PyString(id);
1201 s2 = wx2PyString(client);
1202 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1203 Py_DECREF(so);
1204 Py_DECREF(s1);
1205 Py_DECREF(s2);
1206 if (ro) {
1207 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1208 rval = *ptr;
1209 Py_DECREF(ro);
1210 }
1211 }
1212 wxPyEndBlockThreads(blocked);
1213 return rval;
1214 }
1215
1216 PYPRIVATE;
1217 };
1218
1219 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1220
1221
1222
1223 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1224 PyObject* ret = PyTuple_New(3);
1225 if (ret) {
1226 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1227 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1228 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1229 }
1230 return ret;
1231 }
1232
1233 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1234 bool cont;
1235 long index = 0;
1236 wxString value;
1237
1238 cont = self->GetFirstGroup(value, index);
1239 return __EnumerationHelper(cont, value, index);
1240 }
1241 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1242 bool cont;
1243 wxString value;
1244
1245 cont = self->GetNextGroup(value, index);
1246 return __EnumerationHelper(cont, value, index);
1247 }
1248 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1249 bool cont;
1250 long index = 0;
1251 wxString value;
1252
1253 cont = self->GetFirstEntry(value, index);
1254 return __EnumerationHelper(cont, value, index);
1255 }
1256 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1257 bool cont;
1258 wxString value;
1259
1260 cont = self->GetNextEntry(value, index);
1261 return __EnumerationHelper(cont, value, index);
1262 }
1263 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1264 long rv;
1265 self->Read(key, &rv, defaultVal);
1266 return rv;
1267 }
1268
1269 // See my_fragments.i
1270 SWIGSTATICINLINE(int)
1271 SWIG_AsVal_double(PyObject *obj, double* val)
1272 {
1273 if (PyNumber_Check(obj)) {
1274 if (val) *val = PyFloat_AsDouble(obj);
1275 return 1;
1276 }
1277 else {
1278 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1279 obj->ob_type->tp_name);
1280 PyErr_SetObject(PyExc_TypeError, errmsg);
1281 Py_DECREF(errmsg);
1282 }
1283 return 0;
1284 }
1285
1286
1287 SWIGSTATICINLINE(double)
1288 SWIG_As_double(PyObject* obj)
1289 {
1290 double v;
1291 if (!SWIG_AsVal_double(obj, &v)) {
1292 /*
1293 this is needed to make valgrind/purify happier. the other
1294 solution is throw an exception, but since this code should work
1295 with plain C ....
1296 */
1297 memset((void*)&v, 0, sizeof(double));
1298 }
1299 return v;
1300 }
1301
1302
1303 SWIGSTATICINLINE(int)
1304 SWIG_Check_double(PyObject* obj)
1305 {
1306 return SWIG_AsVal_double(obj, (double*)0);
1307 }
1308
1309 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1310 double rv;
1311 self->Read(key, &rv, defaultVal);
1312 return rv;
1313 }
1314 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1315 bool rv;
1316 self->Read(key, &rv, defaultVal);
1317 return rv;
1318 }
1319
1320 #include <wx/datetime.h>
1321
1322
1323 static const wxString wxPyDateFormatStr(wxT("%c"));
1324 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1325
1326 #define LOCAL_TZ wxDateTime::Local
1327
1328
1329 #if UINT_MAX < LONG_MAX
1330 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1331 #define SWIG_From_unsigned_SS_int SWIG_From_long
1332 /*@@*/
1333 #else
1334 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1335 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1336 /*@@*/
1337 #endif
1338
1339 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1340 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1341 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1342 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1343 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1344 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1345 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1346 return (*self < *other);
1347 }
1348 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1349 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1350 return (*self <= *other);
1351 }
1352 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1353 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1354 return (*self > *other);
1355 }
1356 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1357 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1358 return (*self >= *other);
1359 }
1360 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1361 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1362 return (*self == *other);
1363 }
1364 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1365 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1366 return (*self != *other);
1367 }
1368 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1369 const wxChar* rv;
1370 const wxChar* _date = date;
1371 rv = self->ParseRfc822Date(_date);
1372 if (rv == NULL) return -1;
1373 return rv - _date;
1374 }
1375 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1376 const wxChar* rv;
1377 const wxChar* _date = date;
1378 rv = self->ParseFormat(_date, format, dateDef);
1379 if (rv == NULL) return -1;
1380 return rv - _date;
1381 }
1382 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1383 const wxChar* rv;
1384 const wxChar* _datetime = datetime;
1385 rv = self->ParseDateTime(_datetime);
1386 if (rv == NULL) return -1;
1387 return rv - _datetime;
1388 }
1389 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1390 const wxChar* rv;
1391 const wxChar* _date = date;
1392 rv = self->ParseDate(_date);
1393 if (rv == NULL) return -1;
1394 return rv - _date;
1395 }
1396 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1397 const wxChar* rv;
1398 const wxChar* _time = time;
1399 rv = self->ParseTime(_time);
1400 if (rv == NULL) return -1;
1401 return rv - _time;
1402 }
1403 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1404 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1405 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1406 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1407 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
1408 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
1409 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
1410 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
1411 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
1412 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
1413 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1414 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1415 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1416 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1417 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
1418 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
1419
1420 #include <wx/dataobj.h>
1421
1422 PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1423 size_t count = self->GetFormatCount(dir);
1424 wxDataFormat* formats = new wxDataFormat[count];
1425 self->GetAllFormats(formats, dir);
1426
1427 bool blocked = wxPyBeginBlockThreads();
1428 PyObject* list = PyList_New(count);
1429 for (size_t i=0; i<count; i++) {
1430 wxDataFormat* format = new wxDataFormat(formats[i]);
1431 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
1432 PyList_Append(list, obj);
1433 Py_DECREF(obj);
1434 }
1435 wxPyEndBlockThreads(blocked);
1436 delete [] formats;
1437 return list;
1438 }
1439 PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1440 PyObject* rval = NULL;
1441 size_t size = self->GetDataSize(format);
1442 bool blocked = wxPyBeginBlockThreads();
1443 if (size) {
1444 char* buf = new char[size];
1445 if (self->GetDataHere(format, buf))
1446 rval = PyString_FromStringAndSize(buf, size);
1447 delete [] buf;
1448 }
1449 if (! rval) {
1450 rval = Py_None;
1451 Py_INCREF(rval);
1452 }
1453 wxPyEndBlockThreads(blocked);
1454 return rval;
1455 }
1456 bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1457 bool rval;
1458 bool blocked = wxPyBeginBlockThreads();
1459 if (PyString_Check(data)) {
1460 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1461 }
1462 else {
1463 // raise a TypeError if not a string
1464 PyErr_SetString(PyExc_TypeError, "String expected.");
1465 rval = false;
1466 }
1467 wxPyEndBlockThreads(blocked);
1468 return rval;
1469 }
1470 PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1471 PyObject* rval = NULL;
1472 size_t size = self->GetDataSize();
1473 bool blocked = wxPyBeginBlockThreads();
1474 if (size) {
1475 char* buf = new char[size];
1476 if (self->GetDataHere(buf))
1477 rval = PyString_FromStringAndSize(buf, size);
1478 delete [] buf;
1479 }
1480 if (! rval) {
1481 rval = Py_None;
1482 Py_INCREF(rval);
1483 }
1484 wxPyEndBlockThreads(blocked);
1485 return rval;
1486 }
1487 bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1488 bool rval;
1489 bool blocked = wxPyBeginBlockThreads();
1490 if (PyString_Check(data)) {
1491 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1492 }
1493 else {
1494 // raise a TypeError if not a string
1495 PyErr_SetString(PyExc_TypeError, "String expected.");
1496 rval = false;
1497 }
1498 wxPyEndBlockThreads(blocked);
1499 return rval;
1500 }
1501 // Create a new class for wxPython to use
1502 class wxPyDataObjectSimple : public wxDataObjectSimple {
1503 public:
1504 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1505 : wxDataObjectSimple(format) {}
1506
1507 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1508 bool GetDataHere(void *buf) const;
1509 bool SetData(size_t len, const void *buf) const;
1510 PYPRIVATE;
1511 };
1512
1513 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1514
1515 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1516 // We need to get the data for this object and write it to buf. I think
1517 // the best way to do this for wxPython is to have the Python method
1518 // return either a string or None and then act appropriately with the
1519 // C++ version.
1520
1521 bool rval = false;
1522 bool blocked = wxPyBeginBlockThreads();
1523 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1524 PyObject* ro;
1525 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1526 if (ro) {
1527 rval = (ro != Py_None && PyString_Check(ro));
1528 if (rval)
1529 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1530 Py_DECREF(ro);
1531 }
1532 }
1533 wxPyEndBlockThreads(blocked);
1534 return rval;
1535 }
1536
1537 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1538 // For this one we simply need to make a string from buf and len
1539 // and send it to the Python method.
1540 bool rval = false;
1541 bool blocked = wxPyBeginBlockThreads();
1542 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1543 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1544 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1545 Py_DECREF(data);
1546 }
1547 wxPyEndBlockThreads(blocked);
1548 return rval;
1549 }
1550
1551 // Create a new class for wxPython to use
1552 class wxPyTextDataObject : public wxTextDataObject {
1553 public:
1554 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1555 : wxTextDataObject(text) {}
1556
1557 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1558 DEC_PYCALLBACK_STRING__const(GetText);
1559 DEC_PYCALLBACK__STRING(SetText);
1560 PYPRIVATE;
1561 };
1562
1563 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1564 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1565 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1566
1567
1568 // Create a new class for wxPython to use
1569 class wxPyBitmapDataObject : public wxBitmapDataObject {
1570 public:
1571 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1572 : wxBitmapDataObject(bitmap) {}
1573
1574 wxBitmap GetBitmap() const;
1575 void SetBitmap(const wxBitmap& bitmap);
1576 PYPRIVATE;
1577 };
1578
1579 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1580 wxBitmap* rval = &wxNullBitmap;
1581 bool blocked = wxPyBeginBlockThreads();
1582 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1583 PyObject* ro;
1584 wxBitmap* ptr;
1585 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1586 if (ro) {
1587 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1588 rval = ptr;
1589 Py_DECREF(ro);
1590 }
1591 }
1592 wxPyEndBlockThreads(blocked);
1593 return *rval;
1594 }
1595
1596 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1597 bool blocked = wxPyBeginBlockThreads();
1598 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1599 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
1600 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1601 Py_DECREF(bo);
1602 }
1603 wxPyEndBlockThreads(blocked);
1604 }
1605
1606 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1607 bool rval;
1608 bool blocked = wxPyBeginBlockThreads();
1609 if (PyString_Check(data)) {
1610 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1611 }
1612 else {
1613 // raise a TypeError if not a string
1614 PyErr_SetString(PyExc_TypeError, "String expected.");
1615 rval = false;
1616 }
1617 wxPyEndBlockThreads(blocked);
1618 return rval;
1619 }
1620 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1621 PyObject* obj;
1622 bool blocked = wxPyBeginBlockThreads();
1623 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1624 wxPyEndBlockThreads(blocked);
1625 return obj;
1626 }
1627
1628 class wxMetafileDataObject : public wxDataObjectSimple
1629 {
1630 public:
1631 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1632 };
1633
1634
1635 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1636
1637
1638 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1639 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1640 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1641 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1642 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1643
1644
1645 class wxPyTextDropTarget : public wxTextDropTarget {
1646 public:
1647 wxPyTextDropTarget() {}
1648
1649 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1650
1651 DEC_PYCALLBACK__(OnLeave);
1652 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1653 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1654 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1655 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1656
1657 PYPRIVATE;
1658 };
1659
1660 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1661 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1662 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1663 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1664 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1665 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1666
1667
1668
1669 class wxPyFileDropTarget : public wxFileDropTarget {
1670 public:
1671 wxPyFileDropTarget() {}
1672
1673 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1674
1675 DEC_PYCALLBACK__(OnLeave);
1676 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1677 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1678 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1679 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1680
1681 PYPRIVATE;
1682 };
1683
1684 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1685 const wxArrayString& filenames) {
1686 bool rval = false;
1687 bool blocked = wxPyBeginBlockThreads();
1688 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1689 PyObject* list = wxArrayString2PyList_helper(filenames);
1690 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1691 Py_DECREF(list);
1692 }
1693 wxPyEndBlockThreads(blocked);
1694 return rval;
1695 }
1696
1697
1698
1699 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1700 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1701 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1702 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1703 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1704
1705
1706
1707
1708 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1709
1710 #include <wx/display.h>
1711
1712 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
1713 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
1714
1715 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1716 #if !wxUSE_DISPLAY
1717 #include <wx/dynarray.h>
1718 #include <wx/vidmode.h>
1719
1720 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1721 #include "wx/arrimpl.cpp"
1722 WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1723 const wxVideoMode wxDefaultVideoMode;
1724
1725 class wxDisplay
1726 {
1727 public:
1728 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1729 ~wxDisplay() {}
1730
1731 static size_t GetCount()
1732 { wxPyRaiseNotImplemented(); return 0; }
1733
1734 static int GetFromPoint(const wxPoint& pt)
1735 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1736 static int GetFromWindow(wxWindow *window)
1737 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1738
1739 virtual bool IsOk() const { return false; }
1740 virtual wxRect GetGeometry() const { wxRect r; return r; }
1741 virtual wxString GetName() const { return wxEmptyString; }
1742 bool IsPrimary() const { return false; }
1743
1744 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1745 { wxArrayVideoModes a; return a; }
1746
1747 virtual wxVideoMode GetCurrentMode() const
1748 { return wxDefaultVideoMode; }
1749
1750 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1751 { return false; }
1752
1753 void ResetMode() {}
1754 };
1755 #endif
1756
1757 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1758 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1759 PyObject* pyList = NULL;
1760 wxArrayVideoModes arr = self->GetModes(mode);
1761 bool blocked = wxPyBeginBlockThreads();
1762 pyList = PyList_New(0);
1763 for (int i=0; i < arr.GetCount(); i++) {
1764 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1765 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1766 PyList_Append(pyList, pyObj);
1767 Py_DECREF(pyObj);
1768 }
1769 wxPyEndBlockThreads(blocked);
1770 return pyList;
1771 }
1772
1773 #include <wx/stdpaths.h>
1774
1775 #ifdef __cplusplus
1776 extern "C" {
1777 #endif
1778 static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
1779 PyObject *resultobj;
1780 int arg1 ;
1781 wxColour result;
1782 PyObject * obj0 = 0 ;
1783 char *kwnames[] = {
1784 (char *) "index", NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1788 arg1 = (int)SWIG_As_int(obj0);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 {
1791 if (!wxPyCheckForApp()) SWIG_fail;
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 {
1799 wxColour * resultptr;
1800 resultptr = new wxColour((wxColour &) result);
1801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1802 }
1803 return resultobj;
1804 fail:
1805 return NULL;
1806 }
1807
1808
1809 static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
1810 PyObject *resultobj;
1811 int arg1 ;
1812 wxFont result;
1813 PyObject * obj0 = 0 ;
1814 char *kwnames[] = {
1815 (char *) "index", NULL
1816 };
1817
1818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1819 arg1 = (int)SWIG_As_int(obj0);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 {
1822 if (!wxPyCheckForApp()) SWIG_fail;
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
1824 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
1829 {
1830 wxFont * resultptr;
1831 resultptr = new wxFont((wxFont &) result);
1832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1833 }
1834 return resultobj;
1835 fail:
1836 return NULL;
1837 }
1838
1839
1840 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 int arg1 ;
1843 int result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "index", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1850 arg1 = (int)SWIG_As_int(obj0);
1851 if (PyErr_Occurred()) SWIG_fail;
1852 {
1853 if (!wxPyCheckForApp()) SWIG_fail;
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 }
1860 resultobj = SWIG_From_int((int)result);
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 int arg1 ;
1870 bool result;
1871 PyObject * obj0 = 0 ;
1872 char *kwnames[] = {
1873 (char *) "index", NULL
1874 };
1875
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1877 arg1 = (int)SWIG_As_int(obj0);
1878 if (PyErr_Occurred()) SWIG_fail;
1879 {
1880 if (!wxPyCheckForApp()) SWIG_fail;
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 {
1888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1889 }
1890 return resultobj;
1891 fail:
1892 return NULL;
1893 }
1894
1895
1896 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1897 PyObject *resultobj;
1898 int result;
1899 char *kwnames[] = {
1900 NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1904 {
1905 if (!wxPyCheckForApp()) SWIG_fail;
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 result = (int)wxSystemSettings::GetScreenType();
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 resultobj = SWIG_From_int((int)result);
1913 return resultobj;
1914 fail:
1915 return NULL;
1916 }
1917
1918
1919 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 int arg1 ;
1922 PyObject * obj0 = 0 ;
1923 char *kwnames[] = {
1924 (char *) "screen", NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1928 arg1 = (int)SWIG_As_int(obj0);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 {
1931 if (!wxPyCheckForApp()) SWIG_fail;
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 Py_INCREF(Py_None); resultobj = Py_None;
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
1946 PyObject *obj;
1947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1948 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1949 Py_INCREF(obj);
1950 return Py_BuildValue((char *)"");
1951 }
1952 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
1953 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1954 return 1;
1955 }
1956
1957
1958 static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get() {
1959 PyObject *pyobj;
1960
1961 {
1962 #if wxUSE_UNICODE
1963 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
1964 #else
1965 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
1966 #endif
1967 }
1968 return pyobj;
1969 }
1970
1971
1972 static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
1973 PyObject *resultobj;
1974 wxSystemOptions *result;
1975 char *kwnames[] = {
1976 NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1980 {
1981 PyThreadState* __tstate = wxPyBeginAllowThreads();
1982 result = (wxSystemOptions *)new wxSystemOptions();
1983
1984 wxPyEndAllowThreads(__tstate);
1985 if (PyErr_Occurred()) SWIG_fail;
1986 }
1987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1988 return resultobj;
1989 fail:
1990 return NULL;
1991 }
1992
1993
1994 static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1995 PyObject *resultobj;
1996 wxString *arg1 = 0 ;
1997 wxString *arg2 = 0 ;
1998 bool temp1 = false ;
1999 bool temp2 = false ;
2000 PyObject * obj0 = 0 ;
2001 PyObject * obj1 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "name",(char *) "value", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
2007 {
2008 arg1 = wxString_in_helper(obj0);
2009 if (arg1 == NULL) SWIG_fail;
2010 temp1 = true;
2011 }
2012 {
2013 arg2 = wxString_in_helper(obj1);
2014 if (arg2 == NULL) SWIG_fail;
2015 temp2 = true;
2016 }
2017 {
2018 PyThreadState* __tstate = wxPyBeginAllowThreads();
2019 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
2020
2021 wxPyEndAllowThreads(__tstate);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 Py_INCREF(Py_None); resultobj = Py_None;
2025 {
2026 if (temp1)
2027 delete arg1;
2028 }
2029 {
2030 if (temp2)
2031 delete arg2;
2032 }
2033 return resultobj;
2034 fail:
2035 {
2036 if (temp1)
2037 delete arg1;
2038 }
2039 {
2040 if (temp2)
2041 delete arg2;
2042 }
2043 return NULL;
2044 }
2045
2046
2047 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
2048 PyObject *resultobj;
2049 wxString *arg1 = 0 ;
2050 int arg2 ;
2051 bool temp1 = false ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj1 = 0 ;
2054 char *kwnames[] = {
2055 (char *) "name",(char *) "value", NULL
2056 };
2057
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2059 {
2060 arg1 = wxString_in_helper(obj0);
2061 if (arg1 == NULL) SWIG_fail;
2062 temp1 = true;
2063 }
2064 arg2 = (int)SWIG_As_int(obj1);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 Py_INCREF(Py_None); resultobj = Py_None;
2074 {
2075 if (temp1)
2076 delete arg1;
2077 }
2078 return resultobj;
2079 fail:
2080 {
2081 if (temp1)
2082 delete arg1;
2083 }
2084 return NULL;
2085 }
2086
2087
2088 static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
2089 PyObject *resultobj;
2090 wxString *arg1 = 0 ;
2091 wxString result;
2092 bool temp1 = false ;
2093 PyObject * obj0 = 0 ;
2094 char *kwnames[] = {
2095 (char *) "name", NULL
2096 };
2097
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
2099 {
2100 arg1 = wxString_in_helper(obj0);
2101 if (arg1 == NULL) SWIG_fail;
2102 temp1 = true;
2103 }
2104 {
2105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2106 result = wxSystemOptions::GetOption((wxString const &)*arg1);
2107
2108 wxPyEndAllowThreads(__tstate);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 {
2112 #if wxUSE_UNICODE
2113 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2114 #else
2115 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2116 #endif
2117 }
2118 {
2119 if (temp1)
2120 delete arg1;
2121 }
2122 return resultobj;
2123 fail:
2124 {
2125 if (temp1)
2126 delete arg1;
2127 }
2128 return NULL;
2129 }
2130
2131
2132 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 wxString *arg1 = 0 ;
2135 int result;
2136 bool temp1 = false ;
2137 PyObject * obj0 = 0 ;
2138 char *kwnames[] = {
2139 (char *) "name", NULL
2140 };
2141
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
2143 {
2144 arg1 = wxString_in_helper(obj0);
2145 if (arg1 == NULL) SWIG_fail;
2146 temp1 = true;
2147 }
2148 {
2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
2150 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
2151
2152 wxPyEndAllowThreads(__tstate);
2153 if (PyErr_Occurred()) SWIG_fail;
2154 }
2155 resultobj = SWIG_From_int((int)result);
2156 {
2157 if (temp1)
2158 delete arg1;
2159 }
2160 return resultobj;
2161 fail:
2162 {
2163 if (temp1)
2164 delete arg1;
2165 }
2166 return NULL;
2167 }
2168
2169
2170 static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
2171 PyObject *resultobj;
2172 wxString *arg1 = 0 ;
2173 bool result;
2174 bool temp1 = false ;
2175 PyObject * obj0 = 0 ;
2176 char *kwnames[] = {
2177 (char *) "name", NULL
2178 };
2179
2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2181 {
2182 arg1 = wxString_in_helper(obj0);
2183 if (arg1 == NULL) SWIG_fail;
2184 temp1 = true;
2185 }
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 {
2194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2195 }
2196 {
2197 if (temp1)
2198 delete arg1;
2199 }
2200 return resultobj;
2201 fail:
2202 {
2203 if (temp1)
2204 delete arg1;
2205 }
2206 return NULL;
2207 }
2208
2209
2210 static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
2211 PyObject *obj;
2212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2213 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2214 Py_INCREF(obj);
2215 return Py_BuildValue((char *)"");
2216 }
2217 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
2218 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2219 return 1;
2220 }
2221
2222
2223 static PyObject *_wrap_FileSelectorPromptStr_get() {
2224 PyObject *pyobj;
2225
2226 {
2227 #if wxUSE_UNICODE
2228 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2229 #else
2230 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2231 #endif
2232 }
2233 return pyobj;
2234 }
2235
2236
2237 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
2238 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2239 return 1;
2240 }
2241
2242
2243 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2244 PyObject *pyobj;
2245
2246 {
2247 #if wxUSE_UNICODE
2248 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2249 #else
2250 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2251 #endif
2252 }
2253 return pyobj;
2254 }
2255
2256
2257 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
2258 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2259 return 1;
2260 }
2261
2262
2263 static PyObject *_wrap_DirSelectorPromptStr_get() {
2264 PyObject *pyobj;
2265
2266 {
2267 #if wxUSE_UNICODE
2268 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2269 #else
2270 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2271 #endif
2272 }
2273 return pyobj;
2274 }
2275
2276
2277 static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
2278 PyObject *resultobj;
2279 long result;
2280 char *kwnames[] = {
2281 NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 result = (long)wxNewId();
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 resultobj = SWIG_From_long((long)result);
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 long arg1 ;
2302 PyObject * obj0 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "id", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2308 arg1 = (long)SWIG_As_long(obj0);
2309 if (PyErr_Occurred()) SWIG_fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 wxRegisterId(arg1);
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 Py_INCREF(Py_None); resultobj = Py_None;
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 long result;
2327 char *kwnames[] = {
2328 NULL
2329 };
2330
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2332 {
2333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2334 result = (long)wxGetCurrentId();
2335
2336 wxPyEndAllowThreads(__tstate);
2337 if (PyErr_Occurred()) SWIG_fail;
2338 }
2339 resultobj = SWIG_From_long((long)result);
2340 return resultobj;
2341 fail:
2342 return NULL;
2343 }
2344
2345
2346 static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 int arg1 ;
2349 bool result;
2350 PyObject * obj0 = 0 ;
2351 char *kwnames[] = {
2352 (char *) "id", NULL
2353 };
2354
2355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
2356 arg1 = (int)SWIG_As_int(obj0);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 {
2359 PyThreadState* __tstate = wxPyBeginAllowThreads();
2360 result = (bool)wxIsStockID(arg1);
2361
2362 wxPyEndAllowThreads(__tstate);
2363 if (PyErr_Occurred()) SWIG_fail;
2364 }
2365 {
2366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2367 }
2368 return resultobj;
2369 fail:
2370 return NULL;
2371 }
2372
2373
2374 static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 int arg1 ;
2377 wxString *arg2 = 0 ;
2378 bool result;
2379 bool temp2 = false ;
2380 PyObject * obj0 = 0 ;
2381 PyObject * obj1 = 0 ;
2382 char *kwnames[] = {
2383 (char *) "id",(char *) "label", NULL
2384 };
2385
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
2387 arg1 = (int)SWIG_As_int(obj0);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 {
2390 arg2 = wxString_in_helper(obj1);
2391 if (arg2 == NULL) SWIG_fail;
2392 temp2 = true;
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 {
2402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2403 }
2404 {
2405 if (temp2)
2406 delete arg2;
2407 }
2408 return resultobj;
2409 fail:
2410 {
2411 if (temp2)
2412 delete arg2;
2413 }
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 int arg1 ;
2421 wxString result;
2422 PyObject * obj0 = 0 ;
2423 char *kwnames[] = {
2424 (char *) "id", NULL
2425 };
2426
2427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetStockLabel",kwnames,&obj0)) goto fail;
2428 arg1 = (int)SWIG_As_int(obj0);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 {
2431 PyThreadState* __tstate = wxPyBeginAllowThreads();
2432 result = wxGetStockLabel(arg1);
2433
2434 wxPyEndAllowThreads(__tstate);
2435 if (PyErr_Occurred()) SWIG_fail;
2436 }
2437 {
2438 #if wxUSE_UNICODE
2439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2440 #else
2441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2442 #endif
2443 }
2444 return resultobj;
2445 fail:
2446 return NULL;
2447 }
2448
2449
2450 static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj;
2452 char *kwnames[] = {
2453 NULL
2454 };
2455
2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2457 {
2458 if (!wxPyCheckForApp()) SWIG_fail;
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 wxBell();
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 Py_INCREF(Py_None); resultobj = Py_None;
2466 return resultobj;
2467 fail:
2468 return NULL;
2469 }
2470
2471
2472 static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 char *kwnames[] = {
2475 NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2479 {
2480 if (!wxPyCheckForApp()) SWIG_fail;
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 wxEndBusyCursor();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 Py_INCREF(Py_None); resultobj = Py_None;
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 bool arg1 = (bool) true ;
2497 long result;
2498 PyObject * obj0 = 0 ;
2499 char *kwnames[] = {
2500 (char *) "resetTimer", NULL
2501 };
2502
2503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2504 if (obj0) {
2505 arg1 = (bool)SWIG_As_bool(obj0);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 result = (long)wxGetElapsedTime(arg1);
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 resultobj = SWIG_From_long((long)result);
2516 return resultobj;
2517 fail:
2518 return NULL;
2519 }
2520
2521
2522 static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
2523 PyObject *resultobj;
2524 int *arg1 = (int *) 0 ;
2525 int *arg2 = (int *) 0 ;
2526 int temp1 ;
2527 int res1 = 0 ;
2528 int temp2 ;
2529 int res2 = 0 ;
2530 char *kwnames[] = {
2531 NULL
2532 };
2533
2534 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2535 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2537 {
2538 if (!wxPyCheckForApp()) SWIG_fail;
2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
2540 wxGetMousePosition(arg1,arg2);
2541
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) SWIG_fail;
2544 }
2545 Py_INCREF(Py_None); resultobj = Py_None;
2546 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2547 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2548 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2549 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 bool result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = (bool)wxIsBusy();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2573 }
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxString result;
2583 char *kwnames[] = {
2584 NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 result = wxNow();
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 {
2596 #if wxUSE_UNICODE
2597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2598 #else
2599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2600 #endif
2601 }
2602 return resultobj;
2603 fail:
2604 return NULL;
2605 }
2606
2607
2608 static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
2609 PyObject *resultobj;
2610 wxString const &arg1_defvalue = wxPyEmptyString ;
2611 wxString *arg1 = (wxString *) &arg1_defvalue ;
2612 bool result;
2613 bool temp1 = false ;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "command", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2620 if (obj0) {
2621 {
2622 arg1 = wxString_in_helper(obj0);
2623 if (arg1 == NULL) SWIG_fail;
2624 temp1 = true;
2625 }
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (bool)wxShell((wxString const &)*arg1);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 {
2635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2636 }
2637 {
2638 if (temp1)
2639 delete arg1;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp1)
2645 delete arg1;
2646 }
2647 return NULL;
2648 }
2649
2650
2651 static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
2652 PyObject *resultobj;
2653 char *kwnames[] = {
2654 NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 wxStartTimer();
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) SWIG_fail;
2664 }
2665 Py_INCREF(Py_None); resultobj = Py_None;
2666 return resultobj;
2667 fail:
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 int *arg1 = (int *) 0 ;
2675 int *arg2 = (int *) 0 ;
2676 int result;
2677 int temp1 ;
2678 int res1 = 0 ;
2679 int temp2 ;
2680 int res2 = 0 ;
2681 char *kwnames[] = {
2682 NULL
2683 };
2684
2685 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2686 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 result = (int)wxGetOsVersion(arg1,arg2);
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 resultobj = SWIG_From_int((int)result);
2696 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2697 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2698 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2699 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2700 return resultobj;
2701 fail:
2702 return NULL;
2703 }
2704
2705
2706 static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj;
2708 wxString result;
2709 char *kwnames[] = {
2710 NULL
2711 };
2712
2713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2714 {
2715 PyThreadState* __tstate = wxPyBeginAllowThreads();
2716 result = wxGetOsDescription();
2717
2718 wxPyEndAllowThreads(__tstate);
2719 if (PyErr_Occurred()) SWIG_fail;
2720 }
2721 {
2722 #if wxUSE_UNICODE
2723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2724 #else
2725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2726 #endif
2727 }
2728 return resultobj;
2729 fail:
2730 return NULL;
2731 }
2732
2733
2734 static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 long result;
2737 char *kwnames[] = {
2738 NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2742 {
2743 PyThreadState* __tstate = wxPyBeginAllowThreads();
2744 result = (long)wxGetFreeMemory();
2745
2746 wxPyEndAllowThreads(__tstate);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 }
2749 resultobj = SWIG_From_long((long)result);
2750 return resultobj;
2751 fail:
2752 return NULL;
2753 }
2754
2755
2756 static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 int arg1 ;
2759 bool result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "wFlags", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2766 arg1 = (int)SWIG_As_int(obj0);
2767 if (PyErr_Occurred()) SWIG_fail;
2768 {
2769 if (!wxPyCheckForApp()) SWIG_fail;
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 {
2777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2778 }
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 int arg1 ;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "secs", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2794 arg1 = (int)SWIG_As_int(obj0);
2795 if (PyErr_Occurred()) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 wxSleep(arg1);
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 Py_INCREF(Py_None); resultobj = Py_None;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 unsigned long arg1 ;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "milliseconds", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
2819 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 wxMilliSleep(arg1);
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 Py_INCREF(Py_None); resultobj = Py_None;
2829 return resultobj;
2830 fail:
2831 return NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 unsigned long arg1 ;
2838 PyObject * obj0 = 0 ;
2839 char *kwnames[] = {
2840 (char *) "microseconds", NULL
2841 };
2842
2843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2844 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
2845 if (PyErr_Occurred()) SWIG_fail;
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 wxMicroSleep(arg1);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857 }
2858
2859
2860 static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 bool arg1 ;
2863 PyObject * obj0 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "enable", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2869 arg1 = (bool)SWIG_As_bool(obj0);
2870 if (PyErr_Occurred()) SWIG_fail;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 wxEnableTopLevelWindows(arg1);
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 Py_INCREF(Py_None); resultobj = Py_None;
2879 return resultobj;
2880 fail:
2881 return NULL;
2882 }
2883
2884
2885 static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
2886 PyObject *resultobj;
2887 wxString *arg1 = 0 ;
2888 wxString result;
2889 bool temp1 = false ;
2890 PyObject * obj0 = 0 ;
2891 char *kwnames[] = {
2892 (char *) "in", NULL
2893 };
2894
2895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2896 {
2897 arg1 = wxString_in_helper(obj0);
2898 if (arg1 == NULL) SWIG_fail;
2899 temp1 = true;
2900 }
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 result = wxStripMenuCodes((wxString const &)*arg1);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 {
2909 #if wxUSE_UNICODE
2910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2911 #else
2912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2913 #endif
2914 }
2915 {
2916 if (temp1)
2917 delete arg1;
2918 }
2919 return resultobj;
2920 fail:
2921 {
2922 if (temp1)
2923 delete arg1;
2924 }
2925 return NULL;
2926 }
2927
2928
2929 static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
2930 PyObject *resultobj;
2931 wxString result;
2932 char *kwnames[] = {
2933 NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 result = wxGetEmailAddress();
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 {
2945 #if wxUSE_UNICODE
2946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2947 #else
2948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2949 #endif
2950 }
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxString result;
2960 char *kwnames[] = {
2961 NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = wxGetHostName();
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 {
2973 #if wxUSE_UNICODE
2974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2975 #else
2976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2977 #endif
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxString result;
2988 char *kwnames[] = {
2989 NULL
2990 };
2991
2992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 result = wxGetFullHostName();
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 {
3001 #if wxUSE_UNICODE
3002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3003 #else
3004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3005 #endif
3006 }
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
3014 PyObject *resultobj;
3015 wxString result;
3016 char *kwnames[] = {
3017 NULL
3018 };
3019
3020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
3021 {
3022 PyThreadState* __tstate = wxPyBeginAllowThreads();
3023 result = wxGetUserId();
3024
3025 wxPyEndAllowThreads(__tstate);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 {
3029 #if wxUSE_UNICODE
3030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3031 #else
3032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3033 #endif
3034 }
3035 return resultobj;
3036 fail:
3037 return NULL;
3038 }
3039
3040
3041 static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxString result;
3044 char *kwnames[] = {
3045 NULL
3046 };
3047
3048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
3049 {
3050 PyThreadState* __tstate = wxPyBeginAllowThreads();
3051 result = wxGetUserName();
3052
3053 wxPyEndAllowThreads(__tstate);
3054 if (PyErr_Occurred()) SWIG_fail;
3055 }
3056 {
3057 #if wxUSE_UNICODE
3058 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3059 #else
3060 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3061 #endif
3062 }
3063 return resultobj;
3064 fail:
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
3070 PyObject *resultobj;
3071 wxString result;
3072 char *kwnames[] = {
3073 NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 result = wxGetHomeDir();
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 {
3085 #if wxUSE_UNICODE
3086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3087 #else
3088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3089 #endif
3090 }
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxString const &arg1_defvalue = wxPyEmptyString ;
3100 wxString *arg1 = (wxString *) &arg1_defvalue ;
3101 wxString result;
3102 bool temp1 = false ;
3103 PyObject * obj0 = 0 ;
3104 char *kwnames[] = {
3105 (char *) "user", NULL
3106 };
3107
3108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
3109 if (obj0) {
3110 {
3111 arg1 = wxString_in_helper(obj0);
3112 if (arg1 == NULL) SWIG_fail;
3113 temp1 = true;
3114 }
3115 }
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 result = wxGetUserHome((wxString const &)*arg1);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 {
3124 #if wxUSE_UNICODE
3125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3126 #else
3127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3128 #endif
3129 }
3130 {
3131 if (temp1)
3132 delete arg1;
3133 }
3134 return resultobj;
3135 fail:
3136 {
3137 if (temp1)
3138 delete arg1;
3139 }
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 unsigned long result;
3147 char *kwnames[] = {
3148 NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (unsigned long)wxGetProcessId();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
3160 return resultobj;
3161 fail:
3162 return NULL;
3163 }
3164
3165
3166 static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 char *kwnames[] = {
3169 NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 wxTrap();
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 Py_INCREF(Py_None); resultobj = Py_None;
3181 return resultobj;
3182 fail:
3183 return NULL;
3184 }
3185
3186
3187 static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3188 PyObject *resultobj;
3189 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
3190 wxString *arg1 = (wxString *) &arg1_defvalue ;
3191 wxString const &arg2_defvalue = wxPyEmptyString ;
3192 wxString *arg2 = (wxString *) &arg2_defvalue ;
3193 wxString const &arg3_defvalue = wxPyEmptyString ;
3194 wxString *arg3 = (wxString *) &arg3_defvalue ;
3195 wxString const &arg4_defvalue = wxPyEmptyString ;
3196 wxString *arg4 = (wxString *) &arg4_defvalue ;
3197 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
3198 wxString *arg5 = (wxString *) &arg5_defvalue ;
3199 int arg6 = (int) 0 ;
3200 wxWindow *arg7 = (wxWindow *) NULL ;
3201 int arg8 = (int) -1 ;
3202 int arg9 = (int) -1 ;
3203 wxString result;
3204 bool temp1 = false ;
3205 bool temp2 = false ;
3206 bool temp3 = false ;
3207 bool temp4 = false ;
3208 bool temp5 = false ;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 PyObject * obj2 = 0 ;
3212 PyObject * obj3 = 0 ;
3213 PyObject * obj4 = 0 ;
3214 PyObject * obj5 = 0 ;
3215 PyObject * obj6 = 0 ;
3216 PyObject * obj7 = 0 ;
3217 PyObject * obj8 = 0 ;
3218 char *kwnames[] = {
3219 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3220 };
3221
3222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3223 if (obj0) {
3224 {
3225 arg1 = wxString_in_helper(obj0);
3226 if (arg1 == NULL) SWIG_fail;
3227 temp1 = true;
3228 }
3229 }
3230 if (obj1) {
3231 {
3232 arg2 = wxString_in_helper(obj1);
3233 if (arg2 == NULL) SWIG_fail;
3234 temp2 = true;
3235 }
3236 }
3237 if (obj2) {
3238 {
3239 arg3 = wxString_in_helper(obj2);
3240 if (arg3 == NULL) SWIG_fail;
3241 temp3 = true;
3242 }
3243 }
3244 if (obj3) {
3245 {
3246 arg4 = wxString_in_helper(obj3);
3247 if (arg4 == NULL) SWIG_fail;
3248 temp4 = true;
3249 }
3250 }
3251 if (obj4) {
3252 {
3253 arg5 = wxString_in_helper(obj4);
3254 if (arg5 == NULL) SWIG_fail;
3255 temp5 = true;
3256 }
3257 }
3258 if (obj5) {
3259 arg6 = (int)SWIG_As_int(obj5);
3260 if (PyErr_Occurred()) SWIG_fail;
3261 }
3262 if (obj6) {
3263 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3265 }
3266 if (obj7) {
3267 arg8 = (int)SWIG_As_int(obj7);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 if (obj8) {
3271 arg9 = (int)SWIG_As_int(obj8);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
3274 {
3275 if (!wxPyCheckForApp()) SWIG_fail;
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 {
3283 #if wxUSE_UNICODE
3284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3285 #else
3286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3287 #endif
3288 }
3289 {
3290 if (temp1)
3291 delete arg1;
3292 }
3293 {
3294 if (temp2)
3295 delete arg2;
3296 }
3297 {
3298 if (temp3)
3299 delete arg3;
3300 }
3301 {
3302 if (temp4)
3303 delete arg4;
3304 }
3305 {
3306 if (temp5)
3307 delete arg5;
3308 }
3309 return resultobj;
3310 fail:
3311 {
3312 if (temp1)
3313 delete arg1;
3314 }
3315 {
3316 if (temp2)
3317 delete arg2;
3318 }
3319 {
3320 if (temp3)
3321 delete arg3;
3322 }
3323 {
3324 if (temp4)
3325 delete arg4;
3326 }
3327 {
3328 if (temp5)
3329 delete arg5;
3330 }
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxString *arg1 = 0 ;
3338 wxString *arg2 = 0 ;
3339 wxString const &arg3_defvalue = wxPyEmptyString ;
3340 wxString *arg3 = (wxString *) &arg3_defvalue ;
3341 wxWindow *arg4 = (wxWindow *) NULL ;
3342 wxString result;
3343 bool temp1 = false ;
3344 bool temp2 = false ;
3345 bool temp3 = false ;
3346 PyObject * obj0 = 0 ;
3347 PyObject * obj1 = 0 ;
3348 PyObject * obj2 = 0 ;
3349 PyObject * obj3 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3355 {
3356 arg1 = wxString_in_helper(obj0);
3357 if (arg1 == NULL) SWIG_fail;
3358 temp1 = true;
3359 }
3360 {
3361 arg2 = wxString_in_helper(obj1);
3362 if (arg2 == NULL) SWIG_fail;
3363 temp2 = true;
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 {
3377 if (!wxPyCheckForApp()) SWIG_fail;
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 {
3385 #if wxUSE_UNICODE
3386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3387 #else
3388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3389 #endif
3390 }
3391 {
3392 if (temp1)
3393 delete arg1;
3394 }
3395 {
3396 if (temp2)
3397 delete arg2;
3398 }
3399 {
3400 if (temp3)
3401 delete arg3;
3402 }
3403 return resultobj;
3404 fail:
3405 {
3406 if (temp1)
3407 delete arg1;
3408 }
3409 {
3410 if (temp2)
3411 delete arg2;
3412 }
3413 {
3414 if (temp3)
3415 delete arg3;
3416 }
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxString *arg1 = 0 ;
3424 wxString *arg2 = 0 ;
3425 wxString const &arg3_defvalue = wxPyEmptyString ;
3426 wxString *arg3 = (wxString *) &arg3_defvalue ;
3427 wxWindow *arg4 = (wxWindow *) NULL ;
3428 wxString result;
3429 bool temp1 = false ;
3430 bool temp2 = false ;
3431 bool temp3 = false ;
3432 PyObject * obj0 = 0 ;
3433 PyObject * obj1 = 0 ;
3434 PyObject * obj2 = 0 ;
3435 PyObject * obj3 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3441 {
3442 arg1 = wxString_in_helper(obj0);
3443 if (arg1 == NULL) SWIG_fail;
3444 temp1 = true;
3445 }
3446 {
3447 arg2 = wxString_in_helper(obj1);
3448 if (arg2 == NULL) SWIG_fail;
3449 temp2 = true;
3450 }
3451 if (obj2) {
3452 {
3453 arg3 = wxString_in_helper(obj2);
3454 if (arg3 == NULL) SWIG_fail;
3455 temp3 = true;
3456 }
3457 }
3458 if (obj3) {
3459 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3461 }
3462 {
3463 if (!wxPyCheckForApp()) SWIG_fail;
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 {
3471 #if wxUSE_UNICODE
3472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3473 #else
3474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3475 #endif
3476 }
3477 {
3478 if (temp1)
3479 delete arg1;
3480 }
3481 {
3482 if (temp2)
3483 delete arg2;
3484 }
3485 {
3486 if (temp3)
3487 delete arg3;
3488 }
3489 return resultobj;
3490 fail:
3491 {
3492 if (temp1)
3493 delete arg1;
3494 }
3495 {
3496 if (temp2)
3497 delete arg2;
3498 }
3499 {
3500 if (temp3)
3501 delete arg3;
3502 }
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3510 wxString *arg1 = (wxString *) &arg1_defvalue ;
3511 wxString const &arg2_defvalue = wxPyEmptyString ;
3512 wxString *arg2 = (wxString *) &arg2_defvalue ;
3513 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3514 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3515 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3516 wxWindow *arg5 = (wxWindow *) NULL ;
3517 wxString result;
3518 bool temp1 = false ;
3519 bool temp2 = false ;
3520 wxPoint temp4 ;
3521 PyObject * obj0 = 0 ;
3522 PyObject * obj1 = 0 ;
3523 PyObject * obj2 = 0 ;
3524 PyObject * obj3 = 0 ;
3525 PyObject * obj4 = 0 ;
3526 char *kwnames[] = {
3527 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3528 };
3529
3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3531 if (obj0) {
3532 {
3533 arg1 = wxString_in_helper(obj0);
3534 if (arg1 == NULL) SWIG_fail;
3535 temp1 = true;
3536 }
3537 }
3538 if (obj1) {
3539 {
3540 arg2 = wxString_in_helper(obj1);
3541 if (arg2 == NULL) SWIG_fail;
3542 temp2 = true;
3543 }
3544 }
3545 if (obj2) {
3546 arg3 = (long)SWIG_As_long(obj2);
3547 if (PyErr_Occurred()) SWIG_fail;
3548 }
3549 if (obj3) {
3550 {
3551 arg4 = &temp4;
3552 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3553 }
3554 }
3555 if (obj4) {
3556 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3558 }
3559 {
3560 if (!wxPyCheckForApp()) SWIG_fail;
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 {
3568 #if wxUSE_UNICODE
3569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3570 #else
3571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3572 #endif
3573 }
3574 {
3575 if (temp1)
3576 delete arg1;
3577 }
3578 {
3579 if (temp2)
3580 delete arg2;
3581 }
3582 return resultobj;
3583 fail:
3584 {
3585 if (temp1)
3586 delete arg1;
3587 }
3588 {
3589 if (temp2)
3590 delete arg2;
3591 }
3592 return NULL;
3593 }
3594
3595
3596 static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxString *arg1 = 0 ;
3599 wxString const &arg2_defvalue = wxPyEmptyString ;
3600 wxString *arg2 = (wxString *) &arg2_defvalue ;
3601 wxString const &arg3_defvalue = wxPyEmptyString ;
3602 wxString *arg3 = (wxString *) &arg3_defvalue ;
3603 wxWindow *arg4 = (wxWindow *) NULL ;
3604 int arg5 = (int) -1 ;
3605 int arg6 = (int) -1 ;
3606 bool arg7 = (bool) true ;
3607 wxString result;
3608 bool temp1 = false ;
3609 bool temp2 = false ;
3610 bool temp3 = false ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj1 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 PyObject * obj3 = 0 ;
3615 PyObject * obj4 = 0 ;
3616 PyObject * obj5 = 0 ;
3617 PyObject * obj6 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3623 {
3624 arg1 = wxString_in_helper(obj0);
3625 if (arg1 == NULL) SWIG_fail;
3626 temp1 = true;
3627 }
3628 if (obj1) {
3629 {
3630 arg2 = wxString_in_helper(obj1);
3631 if (arg2 == NULL) SWIG_fail;
3632 temp2 = true;
3633 }
3634 }
3635 if (obj2) {
3636 {
3637 arg3 = wxString_in_helper(obj2);
3638 if (arg3 == NULL) SWIG_fail;
3639 temp3 = true;
3640 }
3641 }
3642 if (obj3) {
3643 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3645 }
3646 if (obj4) {
3647 arg5 = (int)SWIG_As_int(obj4);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 if (obj5) {
3651 arg6 = (int)SWIG_As_int(obj5);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 if (obj6) {
3655 arg7 = (bool)SWIG_As_bool(obj6);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 {
3659 if (!wxPyCheckForApp()) SWIG_fail;
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 {
3667 #if wxUSE_UNICODE
3668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3669 #else
3670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3671 #endif
3672 }
3673 {
3674 if (temp1)
3675 delete arg1;
3676 }
3677 {
3678 if (temp2)
3679 delete arg2;
3680 }
3681 {
3682 if (temp3)
3683 delete arg3;
3684 }
3685 return resultobj;
3686 fail:
3687 {
3688 if (temp1)
3689 delete arg1;
3690 }
3691 {
3692 if (temp2)
3693 delete arg2;
3694 }
3695 {
3696 if (temp3)
3697 delete arg3;
3698 }
3699 return NULL;
3700 }
3701
3702
3703 static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxString *arg1 = 0 ;
3706 wxString const &arg2_defvalue = wxPyEmptyString ;
3707 wxString *arg2 = (wxString *) &arg2_defvalue ;
3708 wxString const &arg3_defvalue = wxPyEmptyString ;
3709 wxString *arg3 = (wxString *) &arg3_defvalue ;
3710 wxWindow *arg4 = (wxWindow *) NULL ;
3711 wxString result;
3712 bool temp1 = false ;
3713 bool temp2 = false ;
3714 bool temp3 = false ;
3715 PyObject * obj0 = 0 ;
3716 PyObject * obj1 = 0 ;
3717 PyObject * obj2 = 0 ;
3718 PyObject * obj3 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3724 {
3725 arg1 = wxString_in_helper(obj0);
3726 if (arg1 == NULL) SWIG_fail;
3727 temp1 = true;
3728 }
3729 if (obj1) {
3730 {
3731 arg2 = wxString_in_helper(obj1);
3732 if (arg2 == NULL) SWIG_fail;
3733 temp2 = true;
3734 }
3735 }
3736 if (obj2) {
3737 {
3738 arg3 = wxString_in_helper(obj2);
3739 if (arg3 == NULL) SWIG_fail;
3740 temp3 = true;
3741 }
3742 }
3743 if (obj3) {
3744 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3746 }
3747 {
3748 if (!wxPyCheckForApp()) SWIG_fail;
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756 #if wxUSE_UNICODE
3757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3758 #else
3759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3760 #endif
3761 }
3762 {
3763 if (temp1)
3764 delete arg1;
3765 }
3766 {
3767 if (temp2)
3768 delete arg2;
3769 }
3770 {
3771 if (temp3)
3772 delete arg3;
3773 }
3774 return resultobj;
3775 fail:
3776 {
3777 if (temp1)
3778 delete arg1;
3779 }
3780 {
3781 if (temp2)
3782 delete arg2;
3783 }
3784 {
3785 if (temp3)
3786 delete arg3;
3787 }
3788 return NULL;
3789 }
3790
3791
3792 static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3793 PyObject *resultobj;
3794 wxString *arg1 = 0 ;
3795 wxString *arg2 = 0 ;
3796 int arg3 ;
3797 wxString *arg4 = (wxString *) 0 ;
3798 wxWindow *arg5 = (wxWindow *) NULL ;
3799 int arg6 = (int) -1 ;
3800 int arg7 = (int) -1 ;
3801 bool arg8 = (bool) true ;
3802 int arg9 = (int) 150 ;
3803 int arg10 = (int) 200 ;
3804 wxString result;
3805 bool temp1 = false ;
3806 bool temp2 = false ;
3807 PyObject * obj0 = 0 ;
3808 PyObject * obj1 = 0 ;
3809 PyObject * obj2 = 0 ;
3810 PyObject * obj3 = 0 ;
3811 PyObject * obj4 = 0 ;
3812 PyObject * obj5 = 0 ;
3813 PyObject * obj6 = 0 ;
3814 PyObject * obj7 = 0 ;
3815 PyObject * obj8 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3821 {
3822 arg1 = wxString_in_helper(obj0);
3823 if (arg1 == NULL) SWIG_fail;
3824 temp1 = true;
3825 }
3826 {
3827 arg2 = wxString_in_helper(obj1);
3828 if (arg2 == NULL) SWIG_fail;
3829 temp2 = true;
3830 }
3831 {
3832 arg3 = PyList_Size(obj2);
3833 arg4 = wxString_LIST_helper(obj2);
3834 if (arg4 == NULL) SWIG_fail;
3835 }
3836 if (obj3) {
3837 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3839 }
3840 if (obj4) {
3841 arg6 = (int)SWIG_As_int(obj4);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 if (obj5) {
3845 arg7 = (int)SWIG_As_int(obj5);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 if (obj6) {
3849 arg8 = (bool)SWIG_As_bool(obj6);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 if (obj7) {
3853 arg9 = (int)SWIG_As_int(obj7);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 if (obj8) {
3857 arg10 = (int)SWIG_As_int(obj8);
3858 if (PyErr_Occurred()) SWIG_fail;
3859 }
3860 {
3861 if (!wxPyCheckForApp()) SWIG_fail;
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 #if wxUSE_UNICODE
3870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3871 #else
3872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3873 #endif
3874 }
3875 {
3876 if (temp1)
3877 delete arg1;
3878 }
3879 {
3880 if (temp2)
3881 delete arg2;
3882 }
3883 {
3884 if (arg4) delete [] arg4;
3885 }
3886 return resultobj;
3887 fail:
3888 {
3889 if (temp1)
3890 delete arg1;
3891 }
3892 {
3893 if (temp2)
3894 delete arg2;
3895 }
3896 {
3897 if (arg4) delete [] arg4;
3898 }
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxString *arg1 = 0 ;
3906 wxString *arg2 = 0 ;
3907 int arg3 ;
3908 wxString *arg4 = (wxString *) 0 ;
3909 wxWindow *arg5 = (wxWindow *) NULL ;
3910 int arg6 = (int) -1 ;
3911 int arg7 = (int) -1 ;
3912 bool arg8 = (bool) true ;
3913 int arg9 = (int) 150 ;
3914 int arg10 = (int) 200 ;
3915 int result;
3916 bool temp1 = false ;
3917 bool temp2 = false ;
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
3920 PyObject * obj2 = 0 ;
3921 PyObject * obj3 = 0 ;
3922 PyObject * obj4 = 0 ;
3923 PyObject * obj5 = 0 ;
3924 PyObject * obj6 = 0 ;
3925 PyObject * obj7 = 0 ;
3926 PyObject * obj8 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3932 {
3933 arg1 = wxString_in_helper(obj0);
3934 if (arg1 == NULL) SWIG_fail;
3935 temp1 = true;
3936 }
3937 {
3938 arg2 = wxString_in_helper(obj1);
3939 if (arg2 == NULL) SWIG_fail;
3940 temp2 = true;
3941 }
3942 {
3943 arg3 = PyList_Size(obj2);
3944 arg4 = wxString_LIST_helper(obj2);
3945 if (arg4 == NULL) SWIG_fail;
3946 }
3947 if (obj3) {
3948 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3950 }
3951 if (obj4) {
3952 arg6 = (int)SWIG_As_int(obj4);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 if (obj5) {
3956 arg7 = (int)SWIG_As_int(obj5);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 if (obj6) {
3960 arg8 = (bool)SWIG_As_bool(obj6);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 if (obj7) {
3964 arg9 = (int)SWIG_As_int(obj7);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 if (obj8) {
3968 arg10 = (int)SWIG_As_int(obj8);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 {
3972 if (!wxPyCheckForApp()) SWIG_fail;
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 resultobj = SWIG_From_int((int)result);
3980 {
3981 if (temp1)
3982 delete arg1;
3983 }
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 {
3989 if (arg4) delete [] arg4;
3990 }
3991 return resultobj;
3992 fail:
3993 {
3994 if (temp1)
3995 delete arg1;
3996 }
3997 {
3998 if (temp2)
3999 delete arg2;
4000 }
4001 {
4002 if (arg4) delete [] arg4;
4003 }
4004 return NULL;
4005 }
4006
4007
4008 static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj;
4010 wxString *arg1 = 0 ;
4011 wxString const &arg2_defvalue = wxPyEmptyString ;
4012 wxString *arg2 = (wxString *) &arg2_defvalue ;
4013 int arg3 = (int) wxOK|wxCENTRE ;
4014 wxWindow *arg4 = (wxWindow *) NULL ;
4015 int arg5 = (int) -1 ;
4016 int arg6 = (int) -1 ;
4017 int result;
4018 bool temp1 = false ;
4019 bool temp2 = false ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 PyObject * obj2 = 0 ;
4023 PyObject * obj3 = 0 ;
4024 PyObject * obj4 = 0 ;
4025 PyObject * obj5 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4031 {
4032 arg1 = wxString_in_helper(obj0);
4033 if (arg1 == NULL) SWIG_fail;
4034 temp1 = true;
4035 }
4036 if (obj1) {
4037 {
4038 arg2 = wxString_in_helper(obj1);
4039 if (arg2 == NULL) SWIG_fail;
4040 temp2 = true;
4041 }
4042 }
4043 if (obj2) {
4044 arg3 = (int)SWIG_As_int(obj2);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 if (obj3) {
4048 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4050 }
4051 if (obj4) {
4052 arg5 = (int)SWIG_As_int(obj4);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 if (obj5) {
4056 arg6 = (int)SWIG_As_int(obj5);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 {
4060 if (!wxPyCheckForApp()) SWIG_fail;
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
4063
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = SWIG_From_int((int)result);
4068 {
4069 if (temp1)
4070 delete arg1;
4071 }
4072 {
4073 if (temp2)
4074 delete arg2;
4075 }
4076 return resultobj;
4077 fail:
4078 {
4079 if (temp1)
4080 delete arg1;
4081 }
4082 {
4083 if (temp2)
4084 delete arg2;
4085 }
4086 return NULL;
4087 }
4088
4089
4090 static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxString *arg1 = 0 ;
4093 wxString *arg2 = 0 ;
4094 wxString *arg3 = 0 ;
4095 long arg4 ;
4096 long arg5 = (long) 0 ;
4097 long arg6 = (long) 100 ;
4098 wxWindow *arg7 = (wxWindow *) NULL ;
4099 wxPoint const &arg8_defvalue = wxDefaultPosition ;
4100 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
4101 long result;
4102 bool temp1 = false ;
4103 bool temp2 = false ;
4104 bool temp3 = false ;
4105 wxPoint temp8 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 PyObject * obj2 = 0 ;
4109 PyObject * obj3 = 0 ;
4110 PyObject * obj4 = 0 ;
4111 PyObject * obj5 = 0 ;
4112 PyObject * obj6 = 0 ;
4113 PyObject * obj7 = 0 ;
4114 char *kwnames[] = {
4115 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4116 };
4117
4118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4119 {
4120 arg1 = wxString_in_helper(obj0);
4121 if (arg1 == NULL) SWIG_fail;
4122 temp1 = true;
4123 }
4124 {
4125 arg2 = wxString_in_helper(obj1);
4126 if (arg2 == NULL) SWIG_fail;
4127 temp2 = true;
4128 }
4129 {
4130 arg3 = wxString_in_helper(obj2);
4131 if (arg3 == NULL) SWIG_fail;
4132 temp3 = true;
4133 }
4134 arg4 = (long)SWIG_As_long(obj3);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 if (obj4) {
4137 arg5 = (long)SWIG_As_long(obj4);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 if (obj5) {
4141 arg6 = (long)SWIG_As_long(obj5);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 if (obj6) {
4145 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
4146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4147 }
4148 if (obj7) {
4149 {
4150 arg8 = &temp8;
4151 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
4152 }
4153 }
4154 {
4155 if (!wxPyCheckForApp()) SWIG_fail;
4156 PyThreadState* __tstate = wxPyBeginAllowThreads();
4157 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
4162 resultobj = SWIG_From_long((long)result);
4163 {
4164 if (temp1)
4165 delete arg1;
4166 }
4167 {
4168 if (temp2)
4169 delete arg2;
4170 }
4171 {
4172 if (temp3)
4173 delete arg3;
4174 }
4175 return resultobj;
4176 fail:
4177 {
4178 if (temp1)
4179 delete arg1;
4180 }
4181 {
4182 if (temp2)
4183 delete arg2;
4184 }
4185 {
4186 if (temp3)
4187 delete arg3;
4188 }
4189 return NULL;
4190 }
4191
4192
4193 static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj;
4195 bool result;
4196 char *kwnames[] = {
4197 NULL
4198 };
4199
4200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
4201 {
4202 if (!wxPyCheckForApp()) SWIG_fail;
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (bool)wxColourDisplay();
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 {
4210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4211 }
4212 return resultobj;
4213 fail:
4214 return NULL;
4215 }
4216
4217
4218 static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 int result;
4221 char *kwnames[] = {
4222 NULL
4223 };
4224
4225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
4226 {
4227 if (!wxPyCheckForApp()) SWIG_fail;
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (int)wxDisplayDepth();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 resultobj = SWIG_From_int((int)result);
4235 return resultobj;
4236 fail:
4237 return NULL;
4238 }
4239
4240
4241 static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 int result;
4244 char *kwnames[] = {
4245 NULL
4246 };
4247
4248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
4249 {
4250 if (!wxPyCheckForApp()) SWIG_fail;
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (int)wxGetDisplayDepth();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 resultobj = SWIG_From_int((int)result);
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 int *arg1 = (int *) 0 ;
4267 int *arg2 = (int *) 0 ;
4268 int temp1 ;
4269 int res1 = 0 ;
4270 int temp2 ;
4271 int res2 = 0 ;
4272 char *kwnames[] = {
4273 NULL
4274 };
4275
4276 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4277 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
4279 {
4280 if (!wxPyCheckForApp()) SWIG_fail;
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 wxDisplaySize(arg1,arg2);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 Py_INCREF(Py_None); resultobj = Py_None;
4288 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4289 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4290 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4291 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4292 return resultobj;
4293 fail:
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxSize result;
4301 char *kwnames[] = {
4302 NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4306 {
4307 if (!wxPyCheckForApp()) SWIG_fail;
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 result = wxGetDisplaySize();
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 {
4315 wxSize * resultptr;
4316 resultptr = new wxSize((wxSize &) result);
4317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4318 }
4319 return resultobj;
4320 fail:
4321 return NULL;
4322 }
4323
4324
4325 static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
4326 PyObject *resultobj;
4327 int *arg1 = (int *) 0 ;
4328 int *arg2 = (int *) 0 ;
4329 int temp1 ;
4330 int res1 = 0 ;
4331 int temp2 ;
4332 int res2 = 0 ;
4333 char *kwnames[] = {
4334 NULL
4335 };
4336
4337 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4338 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4340 {
4341 if (!wxPyCheckForApp()) SWIG_fail;
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 wxDisplaySizeMM(arg1,arg2);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 Py_INCREF(Py_None); resultobj = Py_None;
4349 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4350 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4351 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4352 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxSize result;
4362 char *kwnames[] = {
4363 NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4367 {
4368 if (!wxPyCheckForApp()) SWIG_fail;
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 result = wxGetDisplaySizeMM();
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 {
4376 wxSize * resultptr;
4377 resultptr = new wxSize((wxSize &) result);
4378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4379 }
4380 return resultobj;
4381 fail:
4382 return NULL;
4383 }
4384
4385
4386 static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj;
4388 int *arg1 = (int *) 0 ;
4389 int *arg2 = (int *) 0 ;
4390 int *arg3 = (int *) 0 ;
4391 int *arg4 = (int *) 0 ;
4392 int temp1 ;
4393 int res1 = 0 ;
4394 int temp2 ;
4395 int res2 = 0 ;
4396 int temp3 ;
4397 int res3 = 0 ;
4398 int temp4 ;
4399 int res4 = 0 ;
4400 char *kwnames[] = {
4401 NULL
4402 };
4403
4404 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4405 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4406 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4407 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4409 {
4410 if (!wxPyCheckForApp()) SWIG_fail;
4411 PyThreadState* __tstate = wxPyBeginAllowThreads();
4412 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4413
4414 wxPyEndAllowThreads(__tstate);
4415 if (PyErr_Occurred()) SWIG_fail;
4416 }
4417 Py_INCREF(Py_None); resultobj = Py_None;
4418 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4419 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4420 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4421 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4422 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4423 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4424 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
4425 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 wxRect result;
4435 char *kwnames[] = {
4436 NULL
4437 };
4438
4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4440 {
4441 if (!wxPyCheckForApp()) SWIG_fail;
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = wxGetClientDisplayRect();
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 {
4449 wxRect * resultptr;
4450 resultptr = new wxRect((wxRect &) result);
4451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4452 }
4453 return resultobj;
4454 fail:
4455 return NULL;
4456 }
4457
4458
4459 static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4460 PyObject *resultobj;
4461 wxCursor *arg1 = 0 ;
4462 PyObject * obj0 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "cursor", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4469 SWIG_POINTER_EXCEPTION | 0)) == -1)
4470 SWIG_fail;
4471 if (arg1 == NULL) {
4472 PyErr_SetString(PyExc_TypeError,"null reference");
4473 SWIG_fail;
4474 }
4475 {
4476 if (!wxPyCheckForApp()) SWIG_fail;
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 wxSetCursor(*arg1);
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 Py_INCREF(Py_None); resultobj = Py_None;
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "cursor", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4499 if (obj0) {
4500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4502 }
4503 {
4504 if (!wxPyCheckForApp()) SWIG_fail;
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 wxBeginBusyCursor(arg1);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 Py_INCREF(Py_None); resultobj = Py_None;
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxWindow *result;
4521 char *kwnames[] = {
4522 NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4526 {
4527 if (!wxPyCheckForApp()) SWIG_fail;
4528 PyThreadState* __tstate = wxPyBeginAllowThreads();
4529 result = (wxWindow *)wxGetActiveWindow();
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 {
4535 resultobj = wxPyMake_wxObject(result, 0);
4536 }
4537 return resultobj;
4538 fail:
4539 return NULL;
4540 }
4541
4542
4543 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxPoint *arg1 = 0 ;
4546 wxWindow *result;
4547 wxPoint temp1 ;
4548 PyObject * obj0 = 0 ;
4549 char *kwnames[] = {
4550 (char *) "pt", NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4554 {
4555 arg1 = &temp1;
4556 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4557 }
4558 {
4559 if (!wxPyCheckForApp()) SWIG_fail;
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 {
4567 resultobj = wxPyMake_wxObject(result, 0);
4568 }
4569 return resultobj;
4570 fail:
4571 return NULL;
4572 }
4573
4574
4575 static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj;
4577 wxPoint *arg1 = 0 ;
4578 wxWindow *result;
4579 wxPoint temp1 ;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "pt", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4586 {
4587 arg1 = &temp1;
4588 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4589 }
4590 {
4591 if (!wxPyCheckForApp()) SWIG_fail;
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 {
4599 resultobj = wxPyMake_wxObject(result, 0);
4600 }
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxWindow *arg1 = (wxWindow *) 0 ;
4610 wxWindow *result;
4611 PyObject * obj0 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "win", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4619 {
4620 if (!wxPyCheckForApp()) SWIG_fail;
4621 PyThreadState* __tstate = wxPyBeginAllowThreads();
4622 result = (wxWindow *)wxGetTopLevelParent(arg1);
4623
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 {
4628 resultobj = wxPyMake_wxObject(result, 0);
4629 }
4630 return resultobj;
4631 fail:
4632 return NULL;
4633 }
4634
4635
4636 static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 int arg1 ;
4639 bool result;
4640 PyObject * obj0 = 0 ;
4641 char *kwnames[] = {
4642 (char *) "key", NULL
4643 };
4644
4645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4646 arg1 = (int)SWIG_As_int(obj0);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 {
4649 if (!wxPyCheckForApp()) SWIG_fail;
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 {
4657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj;
4667 char *kwnames[] = {
4668 NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4672 {
4673 if (!wxPyCheckForApp()) SWIG_fail;
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 wxWakeUpMainThread();
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj;
4689 char *kwnames[] = {
4690 NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4694 {
4695 if (!wxPyCheckForApp()) SWIG_fail;
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 wxMutexGuiEnter();
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 Py_INCREF(Py_None); resultobj = Py_None;
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 char *kwnames[] = {
4712 NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4716 {
4717 if (!wxPyCheckForApp()) SWIG_fail;
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 wxMutexGuiLeave();
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 Py_INCREF(Py_None); resultobj = Py_None;
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxMutexGuiLocker *result;
4734 char *kwnames[] = {
4735 NULL
4736 };
4737
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4739 {
4740 if (!wxPyCheckForApp()) SWIG_fail;
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
4747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4748 return resultobj;
4749 fail:
4750 return NULL;
4751 }
4752
4753
4754 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 delete arg1;
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 Py_INCREF(Py_None); resultobj = Py_None;
4773 return resultobj;
4774 fail:
4775 return NULL;
4776 }
4777
4778
4779 static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
4780 PyObject *obj;
4781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4782 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4783 Py_INCREF(obj);
4784 return Py_BuildValue((char *)"");
4785 }
4786 static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
4787 PyObject *resultobj;
4788 bool result;
4789 char *kwnames[] = {
4790 NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 result = (bool)wxThread_IsMain();
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 {
4802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4803 }
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
4811 PyObject *resultobj;
4812 wxString *arg1 = 0 ;
4813 wxToolTip *result;
4814 bool temp1 = false ;
4815 PyObject * obj0 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "tip", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4821 {
4822 arg1 = wxString_in_helper(obj0);
4823 if (arg1 == NULL) SWIG_fail;
4824 temp1 = true;
4825 }
4826 {
4827 if (!wxPyCheckForApp()) SWIG_fail;
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 {
4835 resultobj = wxPyMake_wxObject(result, 1);
4836 }
4837 {
4838 if (temp1)
4839 delete arg1;
4840 }
4841 return resultobj;
4842 fail:
4843 {
4844 if (temp1)
4845 delete arg1;
4846 }
4847 return NULL;
4848 }
4849
4850
4851 static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4852 PyObject *resultobj;
4853 wxToolTip *arg1 = (wxToolTip *) 0 ;
4854 wxString *arg2 = 0 ;
4855 bool temp2 = false ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self",(char *) "tip", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4865 {
4866 arg2 = wxString_in_helper(obj1);
4867 if (arg2 == NULL) SWIG_fail;
4868 temp2 = true;
4869 }
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->SetTip((wxString const &)*arg2);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 {
4879 if (temp2)
4880 delete arg2;
4881 }
4882 return resultobj;
4883 fail:
4884 {
4885 if (temp2)
4886 delete arg2;
4887 }
4888 return NULL;
4889 }
4890
4891
4892 static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxToolTip *arg1 = (wxToolTip *) 0 ;
4895 wxString result;
4896 PyObject * obj0 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 result = (arg1)->GetTip();
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 {
4912 #if wxUSE_UNICODE
4913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4914 #else
4915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4916 #endif
4917 }
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj;
4926 wxToolTip *arg1 = (wxToolTip *) 0 ;
4927 wxWindow *result;
4928 PyObject * obj0 = 0 ;
4929 char *kwnames[] = {
4930 (char *) "self", NULL
4931 };
4932
4933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 result = (wxWindow *)(arg1)->GetWindow();
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 {
4944 resultobj = wxPyMake_wxObject(result, 0);
4945 }
4946 return resultobj;
4947 fail:
4948 return NULL;
4949 }
4950
4951
4952 static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 bool arg1 ;
4955 PyObject * obj0 = 0 ;
4956 char *kwnames[] = {
4957 (char *) "flag", NULL
4958 };
4959
4960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4961 arg1 = (bool)SWIG_As_bool(obj0);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 wxToolTip::Enable(arg1);
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 long arg1 ;
4980 PyObject * obj0 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "milliseconds", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4986 arg1 = (long)SWIG_As_long(obj0);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 wxToolTip::SetDelay(arg1);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 Py_INCREF(Py_None); resultobj = Py_None;
4996 return resultobj;
4997 fail:
4998 return NULL;
4999 }
5000
5001
5002 static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
5003 PyObject *obj;
5004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5005 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
5006 Py_INCREF(obj);
5007 return Py_BuildValue((char *)"");
5008 }
5009 static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxWindow *arg1 = (wxWindow *) 0 ;
5012 wxSize *arg2 = 0 ;
5013 wxCaret *result;
5014 wxSize temp2 ;
5015 PyObject * obj0 = 0 ;
5016 PyObject * obj1 = 0 ;
5017 char *kwnames[] = {
5018 (char *) "window",(char *) "size", NULL
5019 };
5020
5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
5022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5024 {
5025 arg2 = &temp2;
5026 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5027 }
5028 {
5029 if (!wxPyCheckForApp()) SWIG_fail;
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
5037 return resultobj;
5038 fail:
5039 return NULL;
5040 }
5041
5042
5043 static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
5044 PyObject *resultobj;
5045 wxCaret *arg1 = (wxCaret *) 0 ;
5046 PyObject * obj0 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "self", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 delete arg1;
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 Py_INCREF(Py_None); resultobj = Py_None;
5062 return resultobj;
5063 fail:
5064 return NULL;
5065 }
5066
5067
5068 static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
5069 PyObject *resultobj;
5070 wxCaret *arg1 = (wxCaret *) 0 ;
5071 bool result;
5072 PyObject * obj0 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "self", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 result = (bool)(arg1)->IsOk();
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 {
5088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5089 }
5090 return resultobj;
5091 fail:
5092 return NULL;
5093 }
5094
5095
5096 static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5097 PyObject *resultobj;
5098 wxCaret *arg1 = (wxCaret *) 0 ;
5099 bool result;
5100 PyObject * obj0 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
5106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (bool)(arg1)->IsVisible();
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
5115 {
5116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5117 }
5118 return resultobj;
5119 fail:
5120 return NULL;
5121 }
5122
5123
5124 static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj;
5126 wxCaret *arg1 = (wxCaret *) 0 ;
5127 wxPoint result;
5128 PyObject * obj0 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (arg1)->GetPosition();
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 {
5144 wxPoint * resultptr;
5145 resultptr = new wxPoint((wxPoint &) result);
5146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5147 }
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxCaret *arg1 = (wxCaret *) 0 ;
5157 int *arg2 = (int *) 0 ;
5158 int *arg3 = (int *) 0 ;
5159 int temp2 ;
5160 int res2 = 0 ;
5161 int temp3 ;
5162 int res3 = 0 ;
5163 PyObject * obj0 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self", NULL
5166 };
5167
5168 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5169 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
5171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->GetPosition(arg2,arg3);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 Py_INCREF(Py_None); resultobj = Py_None;
5181 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5182 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5183 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5184 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5185 return resultobj;
5186 fail:
5187 return NULL;
5188 }
5189
5190
5191 static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5192 PyObject *resultobj;
5193 wxCaret *arg1 = (wxCaret *) 0 ;
5194 wxSize result;
5195 PyObject * obj0 = 0 ;
5196 char *kwnames[] = {
5197 (char *) "self", NULL
5198 };
5199
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
5201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 result = (arg1)->GetSize();
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 {
5211 wxSize * resultptr;
5212 resultptr = new wxSize((wxSize &) result);
5213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5214 }
5215 return resultobj;
5216 fail:
5217 return NULL;
5218 }
5219
5220
5221 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
5222 PyObject *resultobj;
5223 wxCaret *arg1 = (wxCaret *) 0 ;
5224 int *arg2 = (int *) 0 ;
5225 int *arg3 = (int *) 0 ;
5226 int temp2 ;
5227 int res2 = 0 ;
5228 int temp3 ;
5229 int res3 = 0 ;
5230 PyObject * obj0 = 0 ;
5231 char *kwnames[] = {
5232 (char *) "self", NULL
5233 };
5234
5235 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5236 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->GetSize(arg2,arg3);
5243
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 Py_INCREF(Py_None); resultobj = Py_None;
5248 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5249 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5250 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5251 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5252 return resultobj;
5253 fail:
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxCaret *arg1 = (wxCaret *) 0 ;
5261 wxWindow *result;
5262 PyObject * obj0 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (wxWindow *)(arg1)->GetWindow();
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 {
5278 resultobj = wxPyMake_wxObject(result, 0);
5279 }
5280 return resultobj;
5281 fail:
5282 return NULL;
5283 }
5284
5285
5286 static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxCaret *arg1 = (wxCaret *) 0 ;
5289 int arg2 ;
5290 int arg3 ;
5291 PyObject * obj0 = 0 ;
5292 PyObject * obj1 = 0 ;
5293 PyObject * obj2 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "x",(char *) "y", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5301 arg2 = (int)SWIG_As_int(obj1);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 arg3 = (int)SWIG_As_int(obj2);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 (arg1)->Move(arg2,arg3);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 Py_INCREF(Py_None); resultobj = Py_None;
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxCaret *arg1 = (wxCaret *) 0 ;
5322 wxPoint *arg2 = 0 ;
5323 wxPoint temp2 ;
5324 PyObject * obj0 = 0 ;
5325 PyObject * obj1 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self",(char *) "pt", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5333 {
5334 arg2 = &temp2;
5335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5336 }
5337 {
5338 PyThreadState* __tstate = wxPyBeginAllowThreads();
5339 (arg1)->Move((wxPoint const &)*arg2);
5340
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 Py_INCREF(Py_None); resultobj = Py_None;
5345 return resultobj;
5346 fail:
5347 return NULL;
5348 }
5349
5350
5351 static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj;
5353 wxCaret *arg1 = (wxCaret *) 0 ;
5354 int arg2 ;
5355 int arg3 ;
5356 PyObject * obj0 = 0 ;
5357 PyObject * obj1 = 0 ;
5358 PyObject * obj2 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self",(char *) "width",(char *) "height", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5366 arg2 = (int)SWIG_As_int(obj1);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 arg3 = (int)SWIG_As_int(obj2);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetSize(arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5385 PyObject *resultobj;
5386 wxCaret *arg1 = (wxCaret *) 0 ;
5387 wxSize *arg2 = 0 ;
5388 wxSize temp2 ;
5389 PyObject * obj0 = 0 ;
5390 PyObject * obj1 = 0 ;
5391 char *kwnames[] = {
5392 (char *) "self",(char *) "size", NULL
5393 };
5394
5395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5398 {
5399 arg2 = &temp2;
5400 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5401 }
5402 {
5403 PyThreadState* __tstate = wxPyBeginAllowThreads();
5404 (arg1)->SetSize((wxSize const &)*arg2);
5405
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 Py_INCREF(Py_None); resultobj = Py_None;
5410 return resultobj;
5411 fail:
5412 return NULL;
5413 }
5414
5415
5416 static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj;
5418 wxCaret *arg1 = (wxCaret *) 0 ;
5419 int arg2 = (int) true ;
5420 PyObject * obj0 = 0 ;
5421 PyObject * obj1 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self",(char *) "show", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5429 if (obj1) {
5430 arg2 = (int)SWIG_As_int(obj1);
5431 if (PyErr_Occurred()) SWIG_fail;
5432 }
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 (arg1)->Show(arg2);
5436
5437 wxPyEndAllowThreads(__tstate);
5438 if (PyErr_Occurred()) SWIG_fail;
5439 }
5440 Py_INCREF(Py_None); resultobj = Py_None;
5441 return resultobj;
5442 fail:
5443 return NULL;
5444 }
5445
5446
5447 static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
5448 PyObject *resultobj;
5449 wxCaret *arg1 = (wxCaret *) 0 ;
5450 PyObject * obj0 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5458 {
5459 PyThreadState* __tstate = wxPyBeginAllowThreads();
5460 (arg1)->Hide();
5461
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 Py_INCREF(Py_None); resultobj = Py_None;
5466 return resultobj;
5467 fail:
5468 return NULL;
5469 }
5470
5471
5472 static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
5473 PyObject *obj;
5474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5475 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5476 Py_INCREF(obj);
5477 return Py_BuildValue((char *)"");
5478 }
5479 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
5480 PyObject *resultobj;
5481 int result;
5482 char *kwnames[] = {
5483 NULL
5484 };
5485
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 result = (int)wxCaret_GetBlinkTime();
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 resultobj = SWIG_From_int((int)result);
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 int arg1 ;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "milliseconds", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5510 arg1 = (int)SWIG_As_int(obj0);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 wxCaret_SetBlinkTime(arg1);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 Py_INCREF(Py_None); resultobj = Py_None;
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5529 wxBusyCursor *result;
5530 PyObject * obj0 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "cursor", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5536 if (obj0) {
5537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5539 }
5540 {
5541 if (!wxPyCheckForApp()) SWIG_fail;
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "self", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 delete arg1;
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
5581 PyObject *obj;
5582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5584 Py_INCREF(obj);
5585 return Py_BuildValue((char *)"");
5586 }
5587 static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxWindow *arg1 = (wxWindow *) NULL ;
5590 wxWindowDisabler *result;
5591 PyObject * obj0 = 0 ;
5592 char *kwnames[] = {
5593 (char *) "winToSkip", NULL
5594 };
5595
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5597 if (obj0) {
5598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5600 }
5601 {
5602 if (!wxPyCheckForApp()) SWIG_fail;
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5619 PyObject * obj0 = 0 ;
5620 char *kwnames[] = {
5621 (char *) "self", NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 delete arg1;
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 Py_INCREF(Py_None); resultobj = Py_None;
5635 return resultobj;
5636 fail:
5637 return NULL;
5638 }
5639
5640
5641 static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
5642 PyObject *obj;
5643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5644 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5645 Py_INCREF(obj);
5646 return Py_BuildValue((char *)"");
5647 }
5648 static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5649 PyObject *resultobj;
5650 wxString *arg1 = 0 ;
5651 wxBusyInfo *result;
5652 bool temp1 = false ;
5653 PyObject * obj0 = 0 ;
5654 char *kwnames[] = {
5655 (char *) "message", NULL
5656 };
5657
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5659 {
5660 arg1 = wxString_in_helper(obj0);
5661 if (arg1 == NULL) SWIG_fail;
5662 temp1 = true;
5663 }
5664 {
5665 if (!wxPyCheckForApp()) SWIG_fail;
5666 PyThreadState* __tstate = wxPyBeginAllowThreads();
5667 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5668
5669 wxPyEndAllowThreads(__tstate);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 }
5672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5673 {
5674 if (temp1)
5675 delete arg1;
5676 }
5677 return resultobj;
5678 fail:
5679 {
5680 if (temp1)
5681 delete arg1;
5682 }
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 delete arg1;
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 Py_INCREF(Py_None); resultobj = Py_None;
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
5713 PyObject *obj;
5714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5715 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5716 Py_INCREF(obj);
5717 return Py_BuildValue((char *)"");
5718 }
5719 static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxStopWatch *result;
5722 char *kwnames[] = {
5723 NULL
5724 };
5725
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5727 {
5728 PyThreadState* __tstate = wxPyBeginAllowThreads();
5729 result = (wxStopWatch *)new wxStopWatch();
5730
5731 wxPyEndAllowThreads(__tstate);
5732 if (PyErr_Occurred()) SWIG_fail;
5733 }
5734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5735 return resultobj;
5736 fail:
5737 return NULL;
5738 }
5739
5740
5741 static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
5742 PyObject *resultobj;
5743 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5744 long arg2 = (long) 0 ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 char *kwnames[] = {
5748 (char *) "self",(char *) "t0", NULL
5749 };
5750
5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5754 if (obj1) {
5755 arg2 = (long)SWIG_As_long(obj1);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 (arg1)->Start(arg2);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5775 PyObject * obj0 = 0 ;
5776 char *kwnames[] = {
5777 (char *) "self", NULL
5778 };
5779
5780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 (arg1)->Pause();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 Py_INCREF(Py_None); resultobj = Py_None;
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5800 PyObject * obj0 = 0 ;
5801 char *kwnames[] = {
5802 (char *) "self", NULL
5803 };
5804
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 (arg1)->Resume();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 Py_INCREF(Py_None); resultobj = Py_None;
5816 return resultobj;
5817 fail:
5818 return NULL;
5819 }
5820
5821
5822 static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
5823 PyObject *resultobj;
5824 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5825 long result;
5826 PyObject * obj0 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (long)((wxStopWatch const *)arg1)->Time();
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 resultobj = SWIG_From_long((long)result);
5842 return resultobj;
5843 fail:
5844 return NULL;
5845 }
5846
5847
5848 static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
5849 PyObject *obj;
5850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5851 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5852 Py_INCREF(obj);
5853 return Py_BuildValue((char *)"");
5854 }
5855 static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 int arg1 = (int) 9 ;
5858 int arg2 = (int) wxID_FILE1 ;
5859 wxFileHistory *result;
5860 PyObject * obj0 = 0 ;
5861 PyObject * obj1 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "maxFiles",(char *) "idBase", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
5867 if (obj0) {
5868 arg1 = (int)SWIG_As_int(obj0);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 if (obj1) {
5872 arg2 = (int)SWIG_As_int(obj1);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5892 PyObject * obj0 = 0 ;
5893 char *kwnames[] = {
5894 (char *) "self", NULL
5895 };
5896
5897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 delete arg1;
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 return resultobj;
5909 fail:
5910 return NULL;
5911 }
5912
5913
5914 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5917 wxString *arg2 = 0 ;
5918 bool temp2 = false ;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "file", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5928 {
5929 arg2 = wxString_in_helper(obj1);
5930 if (arg2 == NULL) SWIG_fail;
5931 temp2 = true;
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 (arg1)->AddFileToHistory((wxString const &)*arg2);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 {
5942 if (temp2)
5943 delete arg2;
5944 }
5945 return resultobj;
5946 fail:
5947 {
5948 if (temp2)
5949 delete arg2;
5950 }
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5958 int arg2 ;
5959 PyObject * obj0 = 0 ;
5960 PyObject * obj1 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self",(char *) "i", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5968 arg2 = (int)SWIG_As_int(obj1);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->RemoveFileFromHistory(arg2);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 Py_INCREF(Py_None); resultobj = Py_None;
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5987 int result;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_From_int((int)result);
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6013 wxMenu *arg2 = (wxMenu *) 0 ;
6014 PyObject * obj0 = 0 ;
6015 PyObject * obj1 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self",(char *) "menu", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6023 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->UseMenu(arg2);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 Py_INCREF(Py_None); resultobj = Py_None;
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6040 PyObject *resultobj;
6041 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6042 wxMenu *arg2 = (wxMenu *) 0 ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj1 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "menu", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->RemoveMenu(arg2);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6071 wxConfigBase *arg2 = 0 ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "config", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1)
6083 SWIG_fail;
6084 if (arg2 == NULL) {
6085 PyErr_SetString(PyExc_TypeError,"null reference");
6086 SWIG_fail;
6087 }
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 (arg1)->Load(*arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 Py_INCREF(Py_None); resultobj = Py_None;
6096 return resultobj;
6097 fail:
6098 return NULL;
6099 }
6100
6101
6102 static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6105 wxConfigBase *arg2 = 0 ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self",(char *) "config", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6116 SWIG_POINTER_EXCEPTION | 0)) == -1)
6117 SWIG_fail;
6118 if (arg2 == NULL) {
6119 PyErr_SetString(PyExc_TypeError,"null reference");
6120 SWIG_fail;
6121 }
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 (arg1)->Save(*arg2);
6125
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 Py_INCREF(Py_None); resultobj = Py_None;
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj;
6138 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6139 PyObject * obj0 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 (arg1)->AddFilesToMenu();
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 Py_INCREF(Py_None); resultobj = Py_None;
6155 return resultobj;
6156 fail:
6157 return NULL;
6158 }
6159
6160
6161 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6164 wxMenu *arg2 = (wxMenu *) 0 ;
6165 PyObject * obj0 = 0 ;
6166 PyObject * obj1 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "menu", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->AddFilesToMenu(arg2);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6193 int arg2 ;
6194 wxString result;
6195 PyObject * obj0 = 0 ;
6196 PyObject * obj1 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self",(char *) "i", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6204 arg2 = (int)SWIG_As_int(obj1);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 {
6214 #if wxUSE_UNICODE
6215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6216 #else
6217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6218 #endif
6219 }
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
6227 PyObject *resultobj;
6228 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6229 int result;
6230 PyObject * obj0 = 0 ;
6231 char *kwnames[] = {
6232 (char *) "self", NULL
6233 };
6234
6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
6236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (int)((wxFileHistory const *)arg1)->GetCount();
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = SWIG_From_int((int)result);
6246 return resultobj;
6247 fail:
6248 return NULL;
6249 }
6250
6251
6252 static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
6253 PyObject *obj;
6254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6255 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
6256 Py_INCREF(obj);
6257 return Py_BuildValue((char *)"");
6258 }
6259 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 wxString *arg1 = 0 ;
6262 wxString const &arg2_defvalue = wxPyEmptyString ;
6263 wxString *arg2 = (wxString *) &arg2_defvalue ;
6264 wxSingleInstanceChecker *result;
6265 bool temp1 = false ;
6266 bool temp2 = false ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "name",(char *) "path", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6274 {
6275 arg1 = wxString_in_helper(obj0);
6276 if (arg1 == NULL) SWIG_fail;
6277 temp1 = true;
6278 }
6279 if (obj1) {
6280 {
6281 arg2 = wxString_in_helper(obj1);
6282 if (arg2 == NULL) SWIG_fail;
6283 temp2 = true;
6284 }
6285 }
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6294 {
6295 if (temp1)
6296 delete arg1;
6297 }
6298 {
6299 if (temp2)
6300 delete arg2;
6301 }
6302 return resultobj;
6303 fail:
6304 {
6305 if (temp1)
6306 delete arg1;
6307 }
6308 {
6309 if (temp2)
6310 delete arg2;
6311 }
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxSingleInstanceChecker *result;
6319 char *kwnames[] = {
6320 NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6332 return resultobj;
6333 fail:
6334 return NULL;
6335 }
6336
6337
6338 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj;
6340 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6341 PyObject * obj0 = 0 ;
6342 char *kwnames[] = {
6343 (char *) "self", NULL
6344 };
6345
6346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 delete arg1;
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 Py_INCREF(Py_None); resultobj = Py_None;
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6366 wxString *arg2 = 0 ;
6367 wxString const &arg3_defvalue = wxPyEmptyString ;
6368 wxString *arg3 = (wxString *) &arg3_defvalue ;
6369 bool result;
6370 bool temp2 = false ;
6371 bool temp3 = false ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 PyObject * obj2 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "name",(char *) "path", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6382 {
6383 arg2 = wxString_in_helper(obj1);
6384 if (arg2 == NULL) SWIG_fail;
6385 temp2 = true;
6386 }
6387 if (obj2) {
6388 {
6389 arg3 = wxString_in_helper(obj2);
6390 if (arg3 == NULL) SWIG_fail;
6391 temp3 = true;
6392 }
6393 }
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 {
6402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6403 }
6404 {
6405 if (temp2)
6406 delete arg2;
6407 }
6408 {
6409 if (temp3)
6410 delete arg3;
6411 }
6412 return resultobj;
6413 fail:
6414 {
6415 if (temp2)
6416 delete arg2;
6417 }
6418 {
6419 if (temp3)
6420 delete arg3;
6421 }
6422 return NULL;
6423 }
6424
6425
6426 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj;
6428 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6429 bool result;
6430 PyObject * obj0 = 0 ;
6431 char *kwnames[] = {
6432 (char *) "self", NULL
6433 };
6434
6435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 {
6446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6447 }
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
6455 PyObject *obj;
6456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6457 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6458 Py_INCREF(obj);
6459 return Py_BuildValue((char *)"");
6460 }
6461 static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxWindow *arg1 = (wxWindow *) 0 ;
6464 wxDC *arg2 = 0 ;
6465 int arg3 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 PyObject * obj2 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "window",(char *) "dc",(char *) "method", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1)
6478 SWIG_fail;
6479 if (arg2 == NULL) {
6480 PyErr_SetString(PyExc_TypeError,"null reference");
6481 SWIG_fail;
6482 }
6483 arg3 = (int)SWIG_As_int(obj2);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 Py_INCREF(Py_None); resultobj = Py_None;
6493 return resultobj;
6494 fail:
6495 return NULL;
6496 }
6497
6498
6499 static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 delete arg1;
6513
6514 wxPyEndAllowThreads(__tstate);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 Py_INCREF(Py_None); resultobj = Py_None;
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6525 PyObject *resultobj;
6526 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6527 wxString result;
6528 PyObject * obj0 = 0 ;
6529 char *kwnames[] = {
6530 (char *) "self", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 result = (arg1)->GetTip();
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 {
6544 #if wxUSE_UNICODE
6545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6546 #else
6547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6548 #endif
6549 }
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj;
6558 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6559 size_t result;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (size_t)(arg1)->GetCurrentTip();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
6576 return resultobj;
6577 fail:
6578 return NULL;
6579 }
6580
6581
6582 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj;
6584 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6585 wxString *arg2 = 0 ;
6586 wxString result;
6587 bool temp2 = false ;
6588 PyObject * obj0 = 0 ;
6589 PyObject * obj1 = 0 ;
6590 char *kwnames[] = {
6591 (char *) "self",(char *) "tip", NULL
6592 };
6593
6594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6597 {
6598 arg2 = wxString_in_helper(obj1);
6599 if (arg2 == NULL) SWIG_fail;
6600 temp2 = true;
6601 }
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 {
6610 #if wxUSE_UNICODE
6611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6612 #else
6613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6614 #endif
6615 }
6616 {
6617 if (temp2)
6618 delete arg2;
6619 }
6620 return resultobj;
6621 fail:
6622 {
6623 if (temp2)
6624 delete arg2;
6625 }
6626 return NULL;
6627 }
6628
6629
6630 static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
6631 PyObject *obj;
6632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6633 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6634 Py_INCREF(obj);
6635 return Py_BuildValue((char *)"");
6636 }
6637 static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 size_t arg1 ;
6640 wxPyTipProvider *result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "currentTip", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6647 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6657 return resultobj;
6658 fail:
6659 return NULL;
6660 }
6661
6662
6663 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6666 PyObject *arg2 = (PyObject *) 0 ;
6667 PyObject *arg3 = (PyObject *) 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 PyObject * obj2 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self",(char *) "self",(char *) "_class", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6678 arg2 = obj1;
6679 arg3 = obj2;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->_setCallbackInfo(arg2,arg3);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
6695 PyObject *obj;
6696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6697 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6698 Py_INCREF(obj);
6699 return Py_BuildValue((char *)"");
6700 }
6701 static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxWindow *arg1 = (wxWindow *) 0 ;
6704 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6705 bool arg3 = (bool) true ;
6706 bool result;
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 PyObject * obj2 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6719 if (obj2) {
6720 arg3 = (bool)SWIG_As_bool(obj2);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 {
6724 if (!wxPyCheckForApp()) SWIG_fail;
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = (bool)wxShowTip(arg1,arg2,arg3);
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 {
6732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6733 }
6734 return resultobj;
6735 fail:
6736 return NULL;
6737 }
6738
6739
6740 static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6741 PyObject *resultobj;
6742 wxString *arg1 = 0 ;
6743 size_t arg2 ;
6744 wxTipProvider *result;
6745 bool temp1 = false ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "filename",(char *) "currentTip", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6753 {
6754 arg1 = wxString_in_helper(obj0);
6755 if (arg1 == NULL) SWIG_fail;
6756 temp1 = true;
6757 }
6758 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 {
6761 if (!wxPyCheckForApp()) SWIG_fail;
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6769 {
6770 if (temp1)
6771 delete arg1;
6772 }
6773 return resultobj;
6774 fail:
6775 {
6776 if (temp1)
6777 delete arg1;
6778 }
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6786 int arg2 = (int) -1 ;
6787 wxPyTimer *result;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "owner",(char *) "id", NULL
6792 };
6793
6794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6795 if (obj0) {
6796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6798 }
6799 if (obj1) {
6800 arg2 = (int)SWIG_As_int(obj1);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 {
6804 if (!wxPyCheckForApp()) SWIG_fail;
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6821 PyObject * obj0 = 0 ;
6822 char *kwnames[] = {
6823 (char *) "self", NULL
6824 };
6825
6826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 delete arg1;
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 Py_INCREF(Py_None); resultobj = Py_None;
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6844 PyObject *resultobj;
6845 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6846 PyObject *arg2 = (PyObject *) 0 ;
6847 PyObject *arg3 = (PyObject *) 0 ;
6848 int arg4 = (int) 1 ;
6849 PyObject * obj0 = 0 ;
6850 PyObject * obj1 = 0 ;
6851 PyObject * obj2 = 0 ;
6852 PyObject * obj3 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6860 arg2 = obj1;
6861 arg3 = obj2;
6862 if (obj3) {
6863 arg4 = (int)SWIG_As_int(obj3);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6883 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6884 int arg3 = (int) -1 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 PyObject * obj2 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "owner",(char *) "id", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6897 if (obj2) {
6898 arg3 = (int)SWIG_As_int(obj2);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->SetOwner(arg2,arg3);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 Py_INCREF(Py_None); resultobj = Py_None;
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj;
6917 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6918 wxEvtHandler *result;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (wxEvtHandler *)(arg1)->GetOwner();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 resultobj = wxPyMake_wxObject(result, 0);
6936 }
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6946 int arg2 = (int) -1 ;
6947 bool arg3 = (bool) false ;
6948 bool result;
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj2 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6959 if (obj1) {
6960 arg2 = (int)SWIG_As_int(obj1);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 if (obj2) {
6964 arg3 = (bool)SWIG_As_bool(obj2);
6965 if (PyErr_Occurred()) SWIG_fail;
6966 }
6967 {
6968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6969 result = (bool)(arg1)->Start(arg2,arg3);
6970
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 {
6975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6976 }
6977 return resultobj;
6978 fail:
6979 return NULL;
6980 }
6981
6982
6983 static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6986 PyObject * obj0 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6994 {
6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
6996 (arg1)->Stop();
6997
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 Py_INCREF(Py_None); resultobj = Py_None;
7002 return resultobj;
7003 fail:
7004 return NULL;
7005 }
7006
7007
7008 static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7009 PyObject *resultobj;
7010 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7011 bool result;
7012 PyObject * obj0 = 0 ;
7013 char *kwnames[] = {
7014 (char *) "self", NULL
7015 };
7016
7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
7018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 {
7028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7029 }
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7039 int result;
7040 PyObject * obj0 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 result = (int)((wxPyTimer const *)arg1)->GetInterval();
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 resultobj = SWIG_From_int((int)result);
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7065 bool result;
7066 PyObject * obj0 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
7072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
7077
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 {
7082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj;
7092 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7093 int result;
7094 PyObject * obj0 = 0 ;
7095 char *kwnames[] = {
7096 (char *) "self", NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
7100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (int)((wxPyTimer const *)arg1)->GetId();
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 resultobj = SWIG_From_int((int)result);
7110 return resultobj;
7111 fail:
7112 return NULL;
7113 }
7114
7115
7116 static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
7117 PyObject *obj;
7118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7119 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
7120 Py_INCREF(obj);
7121 return Py_BuildValue((char *)"");
7122 }
7123 static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 int arg1 = (int) 0 ;
7126 int arg2 = (int) 0 ;
7127 wxTimerEvent *result;
7128 PyObject * obj0 = 0 ;
7129 PyObject * obj1 = 0 ;
7130 char *kwnames[] = {
7131 (char *) "timerid",(char *) "interval", NULL
7132 };
7133
7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
7135 if (obj0) {
7136 arg1 = (int)SWIG_As_int(obj0);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 if (obj1) {
7140 arg2 = (int)SWIG_As_int(obj1);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
7151 return resultobj;
7152 fail:
7153 return NULL;
7154 }
7155
7156
7157 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
7160 int result;
7161 PyObject * obj0 = 0 ;
7162 char *kwnames[] = {
7163 (char *) "self", NULL
7164 };
7165
7166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
7167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
7168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 resultobj = SWIG_From_int((int)result);
7177 return resultobj;
7178 fail:
7179 return NULL;
7180 }
7181
7182
7183 static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
7184 PyObject *obj;
7185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7186 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
7187 Py_INCREF(obj);
7188 return Py_BuildValue((char *)"");
7189 }
7190 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
7191 PyObject *resultobj;
7192 wxTimer *arg1 = 0 ;
7193 wxTimerRunner *result;
7194 PyObject * obj0 = 0 ;
7195
7196 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7198 SWIG_POINTER_EXCEPTION | 0)) == -1)
7199 SWIG_fail;
7200 if (arg1 == NULL) {
7201 PyErr_SetString(PyExc_TypeError,"null reference");
7202 SWIG_fail;
7203 }
7204 {
7205 if (!wxPyCheckForApp()) SWIG_fail;
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216 }
7217
7218
7219 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
7220 PyObject *resultobj;
7221 wxTimer *arg1 = 0 ;
7222 int arg2 ;
7223 bool arg3 = (bool) false ;
7224 wxTimerRunner *result;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 PyObject * obj2 = 0 ;
7228
7229 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
7230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7231 SWIG_POINTER_EXCEPTION | 0)) == -1)
7232 SWIG_fail;
7233 if (arg1 == NULL) {
7234 PyErr_SetString(PyExc_TypeError,"null reference");
7235 SWIG_fail;
7236 }
7237 arg2 = (int)SWIG_As_int(obj1);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 if (obj2) {
7240 arg3 = (bool)SWIG_As_bool(obj2);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 if (!wxPyCheckForApp()) SWIG_fail;
7245 PyThreadState* __tstate = wxPyBeginAllowThreads();
7246 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
7247
7248 wxPyEndAllowThreads(__tstate);
7249 if (PyErr_Occurred()) SWIG_fail;
7250 }
7251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
7259 int argc;
7260 PyObject *argv[4];
7261 int ii;
7262
7263 argc = PyObject_Length(args);
7264 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
7265 argv[ii] = PyTuple_GetItem(args,ii);
7266 }
7267 if (argc == 1) {
7268 int _v;
7269 {
7270 void *ptr;
7271 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7272 _v = 0;
7273 PyErr_Clear();
7274 } else {
7275 _v = 1;
7276 }
7277 }
7278 if (_v) {
7279 return _wrap_new_TimerRunner__SWIG_0(self,args);
7280 }
7281 }
7282 if ((argc >= 2) && (argc <= 3)) {
7283 int _v;
7284 {
7285 void *ptr;
7286 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7287 _v = 0;
7288 PyErr_Clear();
7289 } else {
7290 _v = 1;
7291 }
7292 }
7293 if (_v) {
7294 _v = SWIG_Check_int(argv[1]);
7295 if (_v) {
7296 if (argc <= 2) {
7297 return _wrap_new_TimerRunner__SWIG_1(self,args);
7298 }
7299 _v = SWIG_Check_bool(argv[2]);
7300 if (_v) {
7301 return _wrap_new_TimerRunner__SWIG_1(self,args);
7302 }
7303 }
7304 }
7305 }
7306
7307 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7315 PyObject * obj0 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 delete arg1;
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 Py_INCREF(Py_None); resultobj = Py_None;
7331 return resultobj;
7332 fail:
7333 return NULL;
7334 }
7335
7336
7337 static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj;
7339 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7340 int arg2 ;
7341 bool arg3 = (bool) false ;
7342 PyObject * obj0 = 0 ;
7343 PyObject * obj1 = 0 ;
7344 PyObject * obj2 = 0 ;
7345 char *kwnames[] = {
7346 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7347 };
7348
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7352 arg2 = (int)SWIG_As_int(obj1);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 if (obj2) {
7355 arg3 = (bool)SWIG_As_bool(obj2);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 (arg1)->Start(arg2,arg3);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 Py_INCREF(Py_None); resultobj = Py_None;
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
7373 PyObject *obj;
7374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7376 Py_INCREF(obj);
7377 return Py_BuildValue((char *)"");
7378 }
7379 static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxLog *result;
7382 char *kwnames[] = {
7383 NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (wxLog *)new wxLog();
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7395 return resultobj;
7396 fail:
7397 return NULL;
7398 }
7399
7400
7401 static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 bool result;
7404 char *kwnames[] = {
7405 NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 result = (bool)wxLog::IsEnabled();
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 {
7417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7418 }
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 bool arg1 = (bool) true ;
7428 bool result;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "doIt", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7435 if (obj0) {
7436 arg1 = (bool)SWIG_As_bool(obj0);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = (bool)wxLog::EnableLogging(arg1);
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7448 }
7449 return resultobj;
7450 fail:
7451 return NULL;
7452 }
7453
7454
7455 static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxLogLevel arg1 ;
7458 wxChar *arg2 = (wxChar *) 0 ;
7459 time_t arg3 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 PyObject * obj2 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "level",(char *) "szString",(char *) "t", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7468 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7472 arg3 = (time_t)SWIG_As_unsigned_SS_int(obj2);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 Py_INCREF(Py_None); resultobj = Py_None;
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxLog *arg1 = (wxLog *) 0 ;
7491 PyObject * obj0 = 0 ;
7492 char *kwnames[] = {
7493 (char *) "self", NULL
7494 };
7495
7496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->Flush();
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 char *kwnames[] = {
7516 NULL
7517 };
7518
7519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 wxLog::FlushActive();
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 Py_INCREF(Py_None); resultobj = Py_None;
7528 return resultobj;
7529 fail:
7530 return NULL;
7531 }
7532
7533
7534 static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj;
7536 wxLog *result;
7537 char *kwnames[] = {
7538 NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (wxLog *)wxLog::GetActiveTarget();
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxLog *arg1 = (wxLog *) 0 ;
7559 wxLog *result;
7560 PyObject * obj0 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "pLogger", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7576 return resultobj;
7577 fail:
7578 return NULL;
7579 }
7580
7581
7582 static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 char *kwnames[] = {
7585 NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 wxLog::Suspend();
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 Py_INCREF(Py_None); resultobj = Py_None;
7597 return resultobj;
7598 fail:
7599 return NULL;
7600 }
7601
7602
7603 static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 char *kwnames[] = {
7606 NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 wxLog::Resume();
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 Py_INCREF(Py_None); resultobj = Py_None;
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 bool arg1 = (bool) true ;
7627 PyObject * obj0 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "bVerbose", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7633 if (obj0) {
7634 arg1 = (bool)SWIG_As_bool(obj0);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 wxLog::SetVerbose(arg1);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648 }
7649
7650
7651 static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxLogLevel arg1 ;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "logLevel", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7660 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
7661 if (PyErr_Occurred()) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 wxLog::SetLogLevel(arg1);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 char *kwnames[] = {
7679 NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 wxLog::DontCreateOnDemand();
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 Py_INCREF(Py_None); resultobj = Py_None;
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxTraceMask arg1 ;
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "ulMask", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7706 arg1 = (wxTraceMask)SWIG_As_unsigned_SS_long(obj0);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 wxLog::SetTraceMask(arg1);
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 Py_INCREF(Py_None); resultobj = Py_None;
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxString *arg1 = 0 ;
7725 bool temp1 = false ;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "str", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7732 {
7733 arg1 = wxString_in_helper(obj0);
7734 if (arg1 == NULL) SWIG_fail;
7735 temp1 = true;
7736 }
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 wxLog::AddTraceMask((wxString const &)*arg1);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 {
7746 if (temp1)
7747 delete arg1;
7748 }
7749 return resultobj;
7750 fail:
7751 {
7752 if (temp1)
7753 delete arg1;
7754 }
7755 return NULL;
7756 }
7757
7758
7759 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxString *arg1 = 0 ;
7762 bool temp1 = false ;
7763 PyObject * obj0 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "str", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7769 {
7770 arg1 = wxString_in_helper(obj0);
7771 if (arg1 == NULL) SWIG_fail;
7772 temp1 = true;
7773 }
7774 {
7775 PyThreadState* __tstate = wxPyBeginAllowThreads();
7776 wxLog::RemoveTraceMask((wxString const &)*arg1);
7777
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 Py_INCREF(Py_None); resultobj = Py_None;
7782 {
7783 if (temp1)
7784 delete arg1;
7785 }
7786 return resultobj;
7787 fail:
7788 {
7789 if (temp1)
7790 delete arg1;
7791 }
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 char *kwnames[] = {
7799 NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 wxLog::ClearTraceMasks();
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxArrayString *result;
7820 char *kwnames[] = {
7821 NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 {
7828 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7829 result = (wxArrayString *) &_result_ref;
7830 }
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 resultobj = wxArrayString2PyList_helper(*result);
7837 }
7838 return resultobj;
7839 fail:
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxChar *arg1 = (wxChar *) 0 ;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "ts", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 wxLog::SetTimestamp((wxChar const *)arg1);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 return resultobj;
7864 fail:
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 bool result;
7872 char *kwnames[] = {
7873 NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (bool)wxLog::GetVerbose();
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7886 }
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxTraceMask result;
7896 char *kwnames[] = {
7897 NULL
7898 };
7899
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 result = (wxTraceMask)wxLog::GetTraceMask();
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
7909 return resultobj;
7910 fail:
7911 return NULL;
7912 }
7913
7914
7915 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7916 PyObject *resultobj;
7917 wxChar *arg1 = (wxChar *) 0 ;
7918 bool result;
7919 PyObject * obj0 = 0 ;
7920 char *kwnames[] = {
7921 (char *) "mask", NULL
7922 };
7923
7924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 {
7935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7936 }
7937 return resultobj;
7938 fail:
7939 return NULL;
7940 }
7941
7942
7943 static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7944 PyObject *resultobj;
7945 wxLogLevel result;
7946 char *kwnames[] = {
7947 NULL
7948 };
7949
7950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 result = (wxLogLevel)wxLog::GetLogLevel();
7954
7955 wxPyEndAllowThreads(__tstate);
7956 if (PyErr_Occurred()) SWIG_fail;
7957 }
7958 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxChar *result;
7968 char *kwnames[] = {
7969 NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 result = (wxChar *)wxLog::GetTimestamp();
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj;
7989 wxString result;
7990 char *kwnames[] = {
7991 NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 result = Log_TimeStamp();
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 {
8003 #if wxUSE_UNICODE
8004 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8005 #else
8006 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8007 #endif
8008 }
8009 return resultobj;
8010 fail:
8011 return NULL;
8012 }
8013
8014
8015 static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj;
8017 wxLog *arg1 = (wxLog *) 0 ;
8018 PyObject * obj0 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "self", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
8024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 wxLog_Destroy(arg1);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 Py_INCREF(Py_None); resultobj = Py_None;
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject * Log_swigregister(PyObject *, PyObject *args) {
8041 PyObject *obj;
8042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8043 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
8044 Py_INCREF(obj);
8045 return Py_BuildValue((char *)"");
8046 }
8047 static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxLogStderr *result;
8050 char *kwnames[] = {
8051 NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = (wxLogStderr *)new wxLogStderr();
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
8070 PyObject *obj;
8071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
8073 Py_INCREF(obj);
8074 return Py_BuildValue((char *)"");
8075 }
8076 static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8079 wxLogTextCtrl *result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "pTextCtrl", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
8096 return resultobj;
8097 fail:
8098 return NULL;
8099 }
8100
8101
8102 static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
8103 PyObject *obj;
8104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8105 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
8106 Py_INCREF(obj);
8107 return Py_BuildValue((char *)"");
8108 }
8109 static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
8110 PyObject *resultobj;
8111 wxLogGui *result;
8112 char *kwnames[] = {
8113 NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (wxLogGui *)new wxLogGui();
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
8125 return resultobj;
8126 fail:
8127 return NULL;
8128 }
8129
8130
8131 static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
8132 PyObject *obj;
8133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8134 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
8135 Py_INCREF(obj);
8136 return Py_BuildValue((char *)"");
8137 }
8138 static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxFrame *arg1 = (wxFrame *) 0 ;
8141 wxString *arg2 = 0 ;
8142 bool arg3 = (bool) true ;
8143 bool arg4 = (bool) true ;
8144 wxLogWindow *result;
8145 bool temp2 = false ;
8146 PyObject * obj0 = 0 ;
8147 PyObject * obj1 = 0 ;
8148 PyObject * obj2 = 0 ;
8149 PyObject * obj3 = 0 ;
8150 char *kwnames[] = {
8151 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8152 };
8153
8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8157 {
8158 arg2 = wxString_in_helper(obj1);
8159 if (arg2 == NULL) SWIG_fail;
8160 temp2 = true;
8161 }
8162 if (obj2) {
8163 arg3 = (bool)SWIG_As_bool(obj2);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 if (obj3) {
8167 arg4 = (bool)SWIG_As_bool(obj3);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
8178 {
8179 if (temp2)
8180 delete arg2;
8181 }
8182 return resultobj;
8183 fail:
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return NULL;
8189 }
8190
8191
8192 static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
8193 PyObject *resultobj;
8194 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8195 bool arg2 = (bool) true ;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self",(char *) "bShow", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8205 if (obj1) {
8206 arg2 = (bool)SWIG_As_bool(obj1);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 (arg1)->Show(arg2);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 Py_INCREF(Py_None); resultobj = Py_None;
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8226 wxFrame *result;
8227 PyObject * obj0 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 {
8243 resultobj = wxPyMake_wxObject(result, 0);
8244 }
8245 return resultobj;
8246 fail:
8247 return NULL;
8248 }
8249
8250
8251 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
8252 PyObject *resultobj;
8253 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8254 wxLog *result;
8255 PyObject * obj0 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8280 bool result;
8281 PyObject * obj0 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 {
8297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8298 }
8299 return resultobj;
8300 fail:
8301 return NULL;
8302 }
8303
8304
8305 static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj;
8307 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8308 bool arg2 ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self",(char *) "bDoPass", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8318 arg2 = (bool)SWIG_As_bool(obj1);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 {
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 (arg1)->PassMessages(arg2);
8323
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 Py_INCREF(Py_None); resultobj = Py_None;
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
8335 PyObject *obj;
8336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8338 Py_INCREF(obj);
8339 return Py_BuildValue((char *)"");
8340 }
8341 static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
8342 PyObject *resultobj;
8343 wxLog *arg1 = (wxLog *) 0 ;
8344 wxLogChain *result;
8345 PyObject * obj0 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "logger", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8353 {
8354 PyThreadState* __tstate = wxPyBeginAllowThreads();
8355 result = (wxLogChain *)new wxLogChain(arg1);
8356
8357 wxPyEndAllowThreads(__tstate);
8358 if (PyErr_Occurred()) SWIG_fail;
8359 }
8360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8361 return resultobj;
8362 fail:
8363 return NULL;
8364 }
8365
8366
8367 static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
8368 PyObject *resultobj;
8369 wxLogChain *arg1 = (wxLogChain *) 0 ;
8370 wxLog *arg2 = (wxLog *) 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char *kwnames[] = {
8374 (char *) "self",(char *) "logger", NULL
8375 };
8376
8377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8380 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 (arg1)->SetLog(arg2);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 Py_INCREF(Py_None); resultobj = Py_None;
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxLogChain *arg1 = (wxLogChain *) 0 ;
8399 bool arg2 ;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "bDoPass", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8409 arg2 = (bool)SWIG_As_bool(obj1);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->PassMessages(arg2);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxLogChain *arg1 = (wxLogChain *) 0 ;
8428 bool result;
8429 PyObject * obj0 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (bool)(arg1)->IsPassingMessages();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 {
8445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8446 }
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxLogChain *arg1 = (wxLogChain *) 0 ;
8456 wxLog *result;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (wxLog *)(arg1)->GetOldLog();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8473 return resultobj;
8474 fail:
8475 return NULL;
8476 }
8477
8478
8479 static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
8480 PyObject *obj;
8481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8482 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8483 Py_INCREF(obj);
8484 return Py_BuildValue((char *)"");
8485 }
8486 static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 unsigned long result;
8489 char *kwnames[] = {
8490 NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (unsigned long)wxSysErrorCode();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 unsigned long arg1 = (unsigned long) 0 ;
8511 wxString result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "nErrCode", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8518 if (obj0) {
8519 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = wxSysErrorMsg(arg1);
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 {
8530 #if wxUSE_UNICODE
8531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8532 #else
8533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8534 #endif
8535 }
8536 return resultobj;
8537 fail:
8538 return NULL;
8539 }
8540
8541
8542 static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
8543 PyObject *resultobj;
8544 wxString *arg1 = 0 ;
8545 bool temp1 = false ;
8546 PyObject * obj0 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "msg", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8552 {
8553 arg1 = wxString_in_helper(obj0);
8554 if (arg1 == NULL) SWIG_fail;
8555 temp1 = true;
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 wxLogFatalError((wxString const &)*arg1);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 Py_INCREF(Py_None); resultobj = Py_None;
8565 {
8566 if (temp1)
8567 delete arg1;
8568 }
8569 return resultobj;
8570 fail:
8571 {
8572 if (temp1)
8573 delete arg1;
8574 }
8575 return NULL;
8576 }
8577
8578
8579 static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
8580 PyObject *resultobj;
8581 wxString *arg1 = 0 ;
8582 bool temp1 = false ;
8583 PyObject * obj0 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "msg", NULL
8586 };
8587
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8589 {
8590 arg1 = wxString_in_helper(obj0);
8591 if (arg1 == NULL) SWIG_fail;
8592 temp1 = true;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 wxLogError((wxString const &)*arg1);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 Py_INCREF(Py_None); resultobj = Py_None;
8602 {
8603 if (temp1)
8604 delete arg1;
8605 }
8606 return resultobj;
8607 fail:
8608 {
8609 if (temp1)
8610 delete arg1;
8611 }
8612 return NULL;
8613 }
8614
8615
8616 static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
8617 PyObject *resultobj;
8618 wxString *arg1 = 0 ;
8619 bool temp1 = false ;
8620 PyObject * obj0 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "msg", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8626 {
8627 arg1 = wxString_in_helper(obj0);
8628 if (arg1 == NULL) SWIG_fail;
8629 temp1 = true;
8630 }
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 wxLogWarning((wxString const &)*arg1);
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 Py_INCREF(Py_None); resultobj = Py_None;
8639 {
8640 if (temp1)
8641 delete arg1;
8642 }
8643 return resultobj;
8644 fail:
8645 {
8646 if (temp1)
8647 delete arg1;
8648 }
8649 return NULL;
8650 }
8651
8652
8653 static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxString *arg1 = 0 ;
8656 bool temp1 = false ;
8657 PyObject * obj0 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "msg", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8663 {
8664 arg1 = wxString_in_helper(obj0);
8665 if (arg1 == NULL) SWIG_fail;
8666 temp1 = true;
8667 }
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 wxLogMessage((wxString const &)*arg1);
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 Py_INCREF(Py_None); resultobj = Py_None;
8676 {
8677 if (temp1)
8678 delete arg1;
8679 }
8680 return resultobj;
8681 fail:
8682 {
8683 if (temp1)
8684 delete arg1;
8685 }
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxString *arg1 = 0 ;
8693 bool temp1 = false ;
8694 PyObject * obj0 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "msg", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8700 {
8701 arg1 = wxString_in_helper(obj0);
8702 if (arg1 == NULL) SWIG_fail;
8703 temp1 = true;
8704 }
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 wxLogInfo((wxString const &)*arg1);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 {
8714 if (temp1)
8715 delete arg1;
8716 }
8717 return resultobj;
8718 fail:
8719 {
8720 if (temp1)
8721 delete arg1;
8722 }
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxString *arg1 = 0 ;
8730 bool temp1 = false ;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "msg", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8737 {
8738 arg1 = wxString_in_helper(obj0);
8739 if (arg1 == NULL) SWIG_fail;
8740 temp1 = true;
8741 }
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 wxLogDebug((wxString const &)*arg1);
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 Py_INCREF(Py_None); resultobj = Py_None;
8750 {
8751 if (temp1)
8752 delete arg1;
8753 }
8754 return resultobj;
8755 fail:
8756 {
8757 if (temp1)
8758 delete arg1;
8759 }
8760 return NULL;
8761 }
8762
8763
8764 static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxString *arg1 = 0 ;
8767 bool temp1 = false ;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "msg", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8774 {
8775 arg1 = wxString_in_helper(obj0);
8776 if (arg1 == NULL) SWIG_fail;
8777 temp1 = true;
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 wxLogVerbose((wxString const &)*arg1);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 {
8788 if (temp1)
8789 delete arg1;
8790 }
8791 return resultobj;
8792 fail:
8793 {
8794 if (temp1)
8795 delete arg1;
8796 }
8797 return NULL;
8798 }
8799
8800
8801 static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8802 PyObject *resultobj;
8803 wxString *arg1 = 0 ;
8804 bool temp1 = false ;
8805 PyObject * obj0 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "msg", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8811 {
8812 arg1 = wxString_in_helper(obj0);
8813 if (arg1 == NULL) SWIG_fail;
8814 temp1 = true;
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 wxLogStatus((wxString const &)*arg1);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 {
8825 if (temp1)
8826 delete arg1;
8827 }
8828 return resultobj;
8829 fail:
8830 {
8831 if (temp1)
8832 delete arg1;
8833 }
8834 return NULL;
8835 }
8836
8837
8838 static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxFrame *arg1 = (wxFrame *) 0 ;
8841 wxString *arg2 = 0 ;
8842 bool temp2 = false ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "pFrame",(char *) "msg", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8852 {
8853 arg2 = wxString_in_helper(obj1);
8854 if (arg2 == NULL) SWIG_fail;
8855 temp2 = true;
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 wxLogStatus(arg1,(wxString const &)*arg2);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 {
8866 if (temp2)
8867 delete arg2;
8868 }
8869 return resultobj;
8870 fail:
8871 {
8872 if (temp2)
8873 delete arg2;
8874 }
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxString *arg1 = 0 ;
8882 bool temp1 = false ;
8883 PyObject * obj0 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "msg", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8889 {
8890 arg1 = wxString_in_helper(obj0);
8891 if (arg1 == NULL) SWIG_fail;
8892 temp1 = true;
8893 }
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 wxLogSysError((wxString const &)*arg1);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 {
8903 if (temp1)
8904 delete arg1;
8905 }
8906 return resultobj;
8907 fail:
8908 {
8909 if (temp1)
8910 delete arg1;
8911 }
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
8917 PyObject *resultobj;
8918 unsigned long arg1 ;
8919 wxString *arg2 = 0 ;
8920 bool temp2 = false ;
8921 PyObject * obj0 = 0 ;
8922 PyObject * obj1 = 0 ;
8923
8924 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8925 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 {
8928 arg2 = wxString_in_helper(obj1);
8929 if (arg2 == NULL) SWIG_fail;
8930 temp2 = true;
8931 }
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 wxLogTrace(arg1,(wxString const &)*arg2);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
8939 Py_INCREF(Py_None); resultobj = Py_None;
8940 {
8941 if (temp2)
8942 delete arg2;
8943 }
8944 return resultobj;
8945 fail:
8946 {
8947 if (temp2)
8948 delete arg2;
8949 }
8950 return NULL;
8951 }
8952
8953
8954 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
8955 PyObject *resultobj;
8956 wxString *arg1 = 0 ;
8957 wxString *arg2 = 0 ;
8958 bool temp1 = false ;
8959 bool temp2 = false ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962
8963 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8964 {
8965 arg1 = wxString_in_helper(obj0);
8966 if (arg1 == NULL) SWIG_fail;
8967 temp1 = true;
8968 }
8969 {
8970 arg2 = wxString_in_helper(obj1);
8971 if (arg2 == NULL) SWIG_fail;
8972 temp2 = true;
8973 }
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 Py_INCREF(Py_None); resultobj = Py_None;
8982 {
8983 if (temp1)
8984 delete arg1;
8985 }
8986 {
8987 if (temp2)
8988 delete arg2;
8989 }
8990 return resultobj;
8991 fail:
8992 {
8993 if (temp1)
8994 delete arg1;
8995 }
8996 {
8997 if (temp2)
8998 delete arg2;
8999 }
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
9005 int argc;
9006 PyObject *argv[3];
9007 int ii;
9008
9009 argc = PyObject_Length(args);
9010 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
9011 argv[ii] = PyTuple_GetItem(args,ii);
9012 }
9013 if (argc == 2) {
9014 int _v;
9015 {
9016 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
9017 }
9018 if (_v) {
9019 {
9020 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9021 }
9022 if (_v) {
9023 return _wrap_LogTrace__SWIG_1(self,args);
9024 }
9025 }
9026 }
9027 if (argc == 2) {
9028 int _v;
9029 _v = SWIG_Check_unsigned_SS_long(argv[0]);
9030 if (_v) {
9031 {
9032 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9033 }
9034 if (_v) {
9035 return _wrap_LogTrace__SWIG_0(self,args);
9036 }
9037 }
9038 }
9039
9040 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
9041 return NULL;
9042 }
9043
9044
9045 static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 unsigned long arg1 ;
9048 wxString *arg2 = 0 ;
9049 bool temp2 = false ;
9050 PyObject * obj0 = 0 ;
9051 PyObject * obj1 = 0 ;
9052 char *kwnames[] = {
9053 (char *) "level",(char *) "msg", NULL
9054 };
9055
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
9057 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 {
9060 arg2 = wxString_in_helper(obj1);
9061 if (arg2 == NULL) SWIG_fail;
9062 temp2 = true;
9063 }
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 wxLogGeneric(arg1,(wxString const &)*arg2);
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 Py_INCREF(Py_None); resultobj = Py_None;
9072 {
9073 if (temp2)
9074 delete arg2;
9075 }
9076 return resultobj;
9077 fail:
9078 {
9079 if (temp2)
9080 delete arg2;
9081 }
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxString *arg1 = 0 ;
9089 wxString *arg2 = 0 ;
9090 bool temp1 = false ;
9091 bool temp2 = false ;
9092 PyObject * obj0 = 0 ;
9093 PyObject * obj1 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "title",(char *) "text", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
9099 {
9100 arg1 = wxString_in_helper(obj0);
9101 if (arg1 == NULL) SWIG_fail;
9102 temp1 = true;
9103 }
9104 {
9105 arg2 = wxString_in_helper(obj1);
9106 if (arg2 == NULL) SWIG_fail;
9107 temp2 = true;
9108 }
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 Py_INCREF(Py_None); resultobj = Py_None;
9117 {
9118 if (temp1)
9119 delete arg1;
9120 }
9121 {
9122 if (temp2)
9123 delete arg2;
9124 }
9125 return resultobj;
9126 fail:
9127 {
9128 if (temp1)
9129 delete arg1;
9130 }
9131 {
9132 if (temp2)
9133 delete arg2;
9134 }
9135 return NULL;
9136 }
9137
9138
9139 static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
9140 PyObject *resultobj;
9141 wxLogNull *result;
9142 char *kwnames[] = {
9143 NULL
9144 };
9145
9146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = (wxLogNull *)new wxLogNull();
9150
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj;
9163 wxLogNull *arg1 = (wxLogNull *) 0 ;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 delete arg1;
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
9187 PyObject *obj;
9188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9189 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
9190 Py_INCREF(obj);
9191 return Py_BuildValue((char *)"");
9192 }
9193 static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxPyLog *result;
9196 char *kwnames[] = {
9197 NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 result = (wxPyLog *)new wxPyLog();
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
9209 return resultobj;
9210 fail:
9211 return NULL;
9212 }
9213
9214
9215 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9216 PyObject *resultobj;
9217 wxPyLog *arg1 = (wxPyLog *) 0 ;
9218 PyObject *arg2 = (PyObject *) 0 ;
9219 PyObject *arg3 = (PyObject *) 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 PyObject * obj2 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self",(char *) "self",(char *) "_class", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
9229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9230 arg2 = obj1;
9231 arg3 = obj2;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->_setCallbackInfo(arg2,arg3);
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
9247 PyObject *obj;
9248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9249 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
9250 Py_INCREF(obj);
9251 return Py_BuildValue((char *)"");
9252 }
9253 static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
9254 PyObject *resultobj;
9255 int arg1 ;
9256 int arg2 = (int) wxSIGTERM ;
9257 int result;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 char *kwnames[] = {
9261 (char *) "pid",(char *) "sig", NULL
9262 };
9263
9264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
9265 arg1 = (int)SWIG_As_int(obj0);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 if (obj1) {
9268 arg2 = (int)SWIG_As_int(obj1);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 resultobj = SWIG_From_int((int)result);
9279 return resultobj;
9280 fail:
9281 return NULL;
9282 }
9283
9284
9285 static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 int arg1 ;
9288 bool result;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "pid", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9295 arg1 = (int)SWIG_As_int(obj0);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (bool)wxPyProcess::Exists(arg1);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 {
9305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9306 }
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxString *arg1 = 0 ;
9316 int arg2 = (int) wxEXEC_ASYNC ;
9317 wxPyProcess *result;
9318 bool temp1 = false ;
9319 PyObject * obj0 = 0 ;
9320 PyObject * obj1 = 0 ;
9321 char *kwnames[] = {
9322 (char *) "cmd",(char *) "flags", NULL
9323 };
9324
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9326 {
9327 arg1 = wxString_in_helper(obj0);
9328 if (arg1 == NULL) SWIG_fail;
9329 temp1 = true;
9330 }
9331 if (obj1) {
9332 arg2 = (int)SWIG_As_int(obj1);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9343 {
9344 if (temp1)
9345 delete arg1;
9346 }
9347 return resultobj;
9348 fail:
9349 {
9350 if (temp1)
9351 delete arg1;
9352 }
9353 return NULL;
9354 }
9355
9356
9357 static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9360 int arg2 = (int) -1 ;
9361 wxPyProcess *result;
9362 PyObject * obj0 = 0 ;
9363 PyObject * obj1 = 0 ;
9364 char *kwnames[] = {
9365 (char *) "parent",(char *) "id", NULL
9366 };
9367
9368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9369 if (obj0) {
9370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9372 }
9373 if (obj1) {
9374 arg2 = (int)SWIG_As_int(obj1);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 {
9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
9379 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9380
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
9384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9385 return resultobj;
9386 fail:
9387 return NULL;
9388 }
9389
9390
9391 static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9392 PyObject *resultobj;
9393 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9394 PyObject *arg2 = (PyObject *) 0 ;
9395 PyObject *arg3 = (PyObject *) 0 ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "self",(char *) "_class", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9406 arg2 = obj1;
9407 arg3 = obj2;
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 (arg1)->_setCallbackInfo(arg2,arg3);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 Py_INCREF(Py_None); resultobj = Py_None;
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9425 int arg2 ;
9426 int arg3 ;
9427 PyObject * obj0 = 0 ;
9428 PyObject * obj1 = 0 ;
9429 PyObject * obj2 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self",(char *) "pid",(char *) "status", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9437 arg2 = (int)SWIG_As_int(obj1);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 arg3 = (int)SWIG_As_int(obj2);
9440 if (PyErr_Occurred()) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 (arg1)->base_OnTerminate(arg2,arg3);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 Py_INCREF(Py_None); resultobj = Py_None;
9449 return resultobj;
9450 fail:
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->Redirect();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 Py_INCREF(Py_None); resultobj = Py_None;
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9483 bool result;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (bool)(arg1)->IsRedirected();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 {
9500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9501 }
9502 return resultobj;
9503 fail:
9504 return NULL;
9505 }
9506
9507
9508 static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
9509 PyObject *resultobj;
9510 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9511 PyObject * obj0 = 0 ;
9512 char *kwnames[] = {
9513 (char *) "self", NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 (arg1)->Detach();
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 Py_INCREF(Py_None); resultobj = Py_None;
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9536 wxInputStream *result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (wxInputStream *)(arg1)->GetInputStream();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 {
9553 wxPyInputStream * _ptr = NULL;
9554
9555 if (result) {
9556 _ptr = new wxPyInputStream(result);
9557 }
9558 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
9559 }
9560 return resultobj;
9561 fail:
9562 return NULL;
9563 }
9564
9565
9566 static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9569 wxInputStream *result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (wxInputStream *)(arg1)->GetErrorStream();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 wxPyInputStream * _ptr = NULL;
9587
9588 if (result) {
9589 _ptr = new wxPyInputStream(result);
9590 }
9591 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
9592 }
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9602 wxOutputStream *result;
9603 PyObject * obj0 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 result = (wxOutputStream *)(arg1)->GetOutputStream();
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->CloseOutput();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9653 bool result;
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 {
9670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9671 }
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9681 bool result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9699 }
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9709 bool result;
9710 PyObject * obj0 = 0 ;
9711 char *kwnames[] = {
9712 (char *) "self", NULL
9713 };
9714
9715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9721
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 {
9726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9727 }
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject * Process_swigregister(PyObject *, PyObject *args) {
9735 PyObject *obj;
9736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9737 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9738 Py_INCREF(obj);
9739 return Py_BuildValue((char *)"");
9740 }
9741 static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 int arg1 = (int) 0 ;
9744 int arg2 = (int) 0 ;
9745 int arg3 = (int) 0 ;
9746 wxProcessEvent *result;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj1 = 0 ;
9749 PyObject * obj2 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9755 if (obj0) {
9756 arg1 = (int)SWIG_As_int(obj0);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 if (obj1) {
9760 arg2 = (int)SWIG_As_int(obj1);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 if (obj2) {
9764 arg3 = (int)SWIG_As_int(obj2);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 {
9768 PyThreadState* __tstate = wxPyBeginAllowThreads();
9769 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9770
9771 wxPyEndAllowThreads(__tstate);
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
9774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9775 return resultobj;
9776 fail:
9777 return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9784 int result;
9785 PyObject * obj0 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (int)(arg1)->GetPid();
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 resultobj = SWIG_From_int((int)result);
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9810 int result;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (int)(arg1)->GetExitCode();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_From_int((int)result);
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9836 int arg2 ;
9837 PyObject * obj0 = 0 ;
9838 PyObject * obj1 = 0 ;
9839 char *kwnames[] = {
9840 (char *) "self",(char *) "m_pid", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9846 arg2 = (int)SWIG_As_int(obj1);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 if (arg1) (arg1)->m_pid = arg2;
9849
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9860 int result;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9869 result = (int) ((arg1)->m_pid);
9870
9871 resultobj = SWIG_From_int((int)result);
9872 return resultobj;
9873 fail:
9874 return NULL;
9875 }
9876
9877
9878 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9881 int arg2 ;
9882 PyObject * obj0 = 0 ;
9883 PyObject * obj1 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "self",(char *) "m_exitcode", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9891 arg2 = (int)SWIG_As_int(obj1);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 if (arg1) (arg1)->m_exitcode = arg2;
9894
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9905 int result;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 result = (int) ((arg1)->m_exitcode);
9915
9916 resultobj = SWIG_From_int((int)result);
9917 return resultobj;
9918 fail:
9919 return NULL;
9920 }
9921
9922
9923 static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
9924 PyObject *obj;
9925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9927 Py_INCREF(obj);
9928 return Py_BuildValue((char *)"");
9929 }
9930 static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxString *arg1 = 0 ;
9933 int arg2 = (int) wxEXEC_ASYNC ;
9934 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9935 long result;
9936 bool temp1 = false ;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 PyObject * obj2 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "command",(char *) "flags",(char *) "process", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9945 {
9946 arg1 = wxString_in_helper(obj0);
9947 if (arg1 == NULL) SWIG_fail;
9948 temp1 = true;
9949 }
9950 if (obj1) {
9951 arg2 = (int)SWIG_As_int(obj1);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 if (obj2) {
9955 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9957 }
9958 {
9959 if (!wxPyCheckForApp()) SWIG_fail;
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = SWIG_From_long((long)result);
9967 {
9968 if (temp1)
9969 delete arg1;
9970 }
9971 return resultobj;
9972 fail:
9973 {
9974 if (temp1)
9975 delete arg1;
9976 }
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 int arg1 = (int) wxJOYSTICK1 ;
9984 wxJoystick *result;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "joystick", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9991 if (obj0) {
9992 arg1 = (int)SWIG_As_int(obj0);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 {
9996 if (!wxPyCheckForApp()) SWIG_fail;
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (wxJoystick *)new wxJoystick(arg1);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
10004 return resultobj;
10005 fail:
10006 return NULL;
10007 }
10008
10009
10010 static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxJoystick *arg1 = (wxJoystick *) 0 ;
10013 PyObject * obj0 = 0 ;
10014 char *kwnames[] = {
10015 (char *) "self", NULL
10016 };
10017
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
10019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 delete arg1;
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 Py_INCREF(Py_None); resultobj = Py_None;
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxJoystick *arg1 = (wxJoystick *) 0 ;
10038 wxPoint result;
10039 PyObject * obj0 = 0 ;
10040 char *kwnames[] = {
10041 (char *) "self", NULL
10042 };
10043
10044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
10045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (arg1)->GetPosition();
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 {
10055 wxPoint * resultptr;
10056 resultptr = new wxPoint((wxPoint &) result);
10057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10058 }
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxJoystick *arg1 = (wxJoystick *) 0 ;
10068 int result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (int)(arg1)->GetZPosition();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 resultobj = SWIG_From_int((int)result);
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxJoystick *arg1 = (wxJoystick *) 0 ;
10094 int result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)(arg1)->GetButtonState();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_From_int((int)result);
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxJoystick *arg1 = (wxJoystick *) 0 ;
10120 int result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)(arg1)->GetPOVPosition();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_From_int((int)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxJoystick *arg1 = (wxJoystick *) 0 ;
10146 int result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (int)(arg1)->GetPOVCTSPosition();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_From_int((int)result);
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj;
10171 wxJoystick *arg1 = (wxJoystick *) 0 ;
10172 int result;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = (int)(arg1)->GetRudderPosition();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = SWIG_From_int((int)result);
10189 return resultobj;
10190 fail:
10191 return NULL;
10192 }
10193
10194
10195 static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxJoystick *arg1 = (wxJoystick *) 0 ;
10198 int result;
10199 PyObject * obj0 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (int)(arg1)->GetUPosition();
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_From_int((int)result);
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxJoystick *arg1 = (wxJoystick *) 0 ;
10224 int result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (int)(arg1)->GetVPosition();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 resultobj = SWIG_From_int((int)result);
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxJoystick *arg1 = (wxJoystick *) 0 ;
10250 int result;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
10257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (int)(arg1)->GetMovementThreshold();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 resultobj = SWIG_From_int((int)result);
10267 return resultobj;
10268 fail:
10269 return NULL;
10270 }
10271
10272
10273 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxJoystick *arg1 = (wxJoystick *) 0 ;
10276 int arg2 ;
10277 PyObject * obj0 = 0 ;
10278 PyObject * obj1 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self",(char *) "threshold", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10286 arg2 = (int)SWIG_As_int(obj1);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 {
10289 PyThreadState* __tstate = wxPyBeginAllowThreads();
10290 (arg1)->SetMovementThreshold(arg2);
10291
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 Py_INCREF(Py_None); resultobj = Py_None;
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj;
10304 wxJoystick *arg1 = (wxJoystick *) 0 ;
10305 bool result;
10306 PyObject * obj0 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (bool)(arg1)->IsOk();
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 {
10322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10323 }
10324 return resultobj;
10325 fail:
10326 return NULL;
10327 }
10328
10329
10330 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
10331 PyObject *resultobj;
10332 wxJoystick *arg1 = (wxJoystick *) 0 ;
10333 int result;
10334 PyObject * obj0 = 0 ;
10335 char *kwnames[] = {
10336 (char *) "self", NULL
10337 };
10338
10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)(arg1)->GetNumberJoysticks();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = SWIG_From_int((int)result);
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxJoystick *arg1 = (wxJoystick *) 0 ;
10359 int result;
10360 PyObject * obj0 = 0 ;
10361 char *kwnames[] = {
10362 (char *) "self", NULL
10363 };
10364
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 result = (int)(arg1)->GetManufacturerId();
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 resultobj = SWIG_From_int((int)result);
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxJoystick *arg1 = (wxJoystick *) 0 ;
10385 int result;
10386 PyObject * obj0 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (int)(arg1)->GetProductId();
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 resultobj = SWIG_From_int((int)result);
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxJoystick *arg1 = (wxJoystick *) 0 ;
10411 wxString result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10420 {
10421 PyThreadState* __tstate = wxPyBeginAllowThreads();
10422 result = (arg1)->GetProductName();
10423
10424 wxPyEndAllowThreads(__tstate);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 }
10427 {
10428 #if wxUSE_UNICODE
10429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10430 #else
10431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10432 #endif
10433 }
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxJoystick *arg1 = (wxJoystick *) 0 ;
10443 int result;
10444 PyObject * obj0 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 result = (int)(arg1)->GetXMin();
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 resultobj = SWIG_From_int((int)result);
10460 return resultobj;
10461 fail:
10462 return NULL;
10463 }
10464
10465
10466 static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj;
10468 wxJoystick *arg1 = (wxJoystick *) 0 ;
10469 int result;
10470 PyObject * obj0 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 result = (int)(arg1)->GetYMin();
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 }
10485 resultobj = SWIG_From_int((int)result);
10486 return resultobj;
10487 fail:
10488 return NULL;
10489 }
10490
10491
10492 static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
10493 PyObject *resultobj;
10494 wxJoystick *arg1 = (wxJoystick *) 0 ;
10495 int result;
10496 PyObject * obj0 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (int)(arg1)->GetZMin();
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 resultobj = SWIG_From_int((int)result);
10512 return resultobj;
10513 fail:
10514 return NULL;
10515 }
10516
10517
10518 static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxJoystick *arg1 = (wxJoystick *) 0 ;
10521 int result;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (int)(arg1)->GetXMax();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 resultobj = SWIG_From_int((int)result);
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxJoystick *arg1 = (wxJoystick *) 0 ;
10547 int result;
10548 PyObject * obj0 = 0 ;
10549 char *kwnames[] = {
10550 (char *) "self", NULL
10551 };
10552
10553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (int)(arg1)->GetYMax();
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 resultobj = SWIG_From_int((int)result);
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxJoystick *arg1 = (wxJoystick *) 0 ;
10573 int result;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (int)(arg1)->GetZMax();
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 resultobj = SWIG_From_int((int)result);
10590 return resultobj;
10591 fail:
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxJoystick *arg1 = (wxJoystick *) 0 ;
10599 int result;
10600 PyObject * obj0 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 result = (int)(arg1)->GetNumberButtons();
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 resultobj = SWIG_From_int((int)result);
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj;
10624 wxJoystick *arg1 = (wxJoystick *) 0 ;
10625 int result;
10626 PyObject * obj0 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 result = (int)(arg1)->GetNumberAxes();
10637
10638 wxPyEndAllowThreads(__tstate);
10639 if (PyErr_Occurred()) SWIG_fail;
10640 }
10641 resultobj = SWIG_From_int((int)result);
10642 return resultobj;
10643 fail:
10644 return NULL;
10645 }
10646
10647
10648 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj;
10650 wxJoystick *arg1 = (wxJoystick *) 0 ;
10651 int result;
10652 PyObject * obj0 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)(arg1)->GetMaxButtons();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_From_int((int)result);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxJoystick *arg1 = (wxJoystick *) 0 ;
10677 int result;
10678 PyObject * obj0 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (int)(arg1)->GetMaxAxes();
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = SWIG_From_int((int)result);
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxJoystick *arg1 = (wxJoystick *) 0 ;
10703 int result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",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 = (int)(arg1)->GetPollingMin();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_From_int((int)result);
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxJoystick *arg1 = (wxJoystick *) 0 ;
10729 int result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (int)(arg1)->GetPollingMax();
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 resultobj = SWIG_From_int((int)result);
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxJoystick *arg1 = (wxJoystick *) 0 ;
10755 int result;
10756 PyObject * obj0 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 result = (int)(arg1)->GetRudderMin();
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) SWIG_fail;
10770 }
10771 resultobj = SWIG_From_int((int)result);
10772 return resultobj;
10773 fail:
10774 return NULL;
10775 }
10776
10777
10778 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxJoystick *arg1 = (wxJoystick *) 0 ;
10781 int result;
10782 PyObject * obj0 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 result = (int)(arg1)->GetRudderMax();
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 resultobj = SWIG_From_int((int)result);
10798 return resultobj;
10799 fail:
10800 return NULL;
10801 }
10802
10803
10804 static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj;
10806 wxJoystick *arg1 = (wxJoystick *) 0 ;
10807 int result;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 result = (int)(arg1)->GetUMin();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 resultobj = SWIG_From_int((int)result);
10824 return resultobj;
10825 fail:
10826 return NULL;
10827 }
10828
10829
10830 static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxJoystick *arg1 = (wxJoystick *) 0 ;
10833 int result;
10834 PyObject * obj0 = 0 ;
10835 char *kwnames[] = {
10836 (char *) "self", NULL
10837 };
10838
10839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (int)(arg1)->GetUMax();
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 resultobj = SWIG_From_int((int)result);
10850 return resultobj;
10851 fail:
10852 return NULL;
10853 }
10854
10855
10856 static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
10857 PyObject *resultobj;
10858 wxJoystick *arg1 = (wxJoystick *) 0 ;
10859 int result;
10860 PyObject * obj0 = 0 ;
10861 char *kwnames[] = {
10862 (char *) "self", NULL
10863 };
10864
10865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (int)(arg1)->GetVMin();
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_From_int((int)result);
10876 return resultobj;
10877 fail:
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxJoystick *arg1 = (wxJoystick *) 0 ;
10885 int result;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 result = (int)(arg1)->GetVMax();
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 resultobj = SWIG_From_int((int)result);
10902 return resultobj;
10903 fail:
10904 return NULL;
10905 }
10906
10907
10908 static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj;
10910 wxJoystick *arg1 = (wxJoystick *) 0 ;
10911 bool result;
10912 PyObject * obj0 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "self", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = (bool)(arg1)->HasRudder();
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10929 }
10930 return resultobj;
10931 fail:
10932 return NULL;
10933 }
10934
10935
10936 static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
10937 PyObject *resultobj;
10938 wxJoystick *arg1 = (wxJoystick *) 0 ;
10939 bool result;
10940 PyObject * obj0 = 0 ;
10941 char *kwnames[] = {
10942 (char *) "self", NULL
10943 };
10944
10945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (bool)(arg1)->HasZ();
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 {
10956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10957 }
10958 return resultobj;
10959 fail:
10960 return NULL;
10961 }
10962
10963
10964 static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
10965 PyObject *resultobj;
10966 wxJoystick *arg1 = (wxJoystick *) 0 ;
10967 bool result;
10968 PyObject * obj0 = 0 ;
10969 char *kwnames[] = {
10970 (char *) "self", NULL
10971 };
10972
10973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = (bool)(arg1)->HasU();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 {
10984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10985 }
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxJoystick *arg1 = (wxJoystick *) 0 ;
10995 bool result;
10996 PyObject * obj0 = 0 ;
10997 char *kwnames[] = {
10998 (char *) "self", NULL
10999 };
11000
11001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
11002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (bool)(arg1)->HasV();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 {
11012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11013 }
11014 return resultobj;
11015 fail:
11016 return NULL;
11017 }
11018
11019
11020 static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
11021 PyObject *resultobj;
11022 wxJoystick *arg1 = (wxJoystick *) 0 ;
11023 bool result;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
11030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (bool)(arg1)->HasPOV();
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 {
11040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11041 }
11042 return resultobj;
11043 fail:
11044 return NULL;
11045 }
11046
11047
11048 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
11049 PyObject *resultobj;
11050 wxJoystick *arg1 = (wxJoystick *) 0 ;
11051 bool result;
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)(arg1)->HasPOV4Dir();
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
11077 PyObject *resultobj;
11078 wxJoystick *arg1 = (wxJoystick *) 0 ;
11079 bool result;
11080 PyObject * obj0 = 0 ;
11081 char *kwnames[] = {
11082 (char *) "self", NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
11086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (bool)(arg1)->HasPOVCTS();
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 {
11096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11097 }
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj;
11106 wxJoystick *arg1 = (wxJoystick *) 0 ;
11107 wxWindow *arg2 = (wxWindow *) 0 ;
11108 int arg3 = (int) 0 ;
11109 bool result;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 PyObject * obj2 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11115 };
11116
11117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
11118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11122 if (obj2) {
11123 arg3 = (int)SWIG_As_int(obj2);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (bool)(arg1)->SetCapture(arg2,arg3);
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 {
11134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11135 }
11136 return resultobj;
11137 fail:
11138 return NULL;
11139 }
11140
11141
11142 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
11143 PyObject *resultobj;
11144 wxJoystick *arg1 = (wxJoystick *) 0 ;
11145 bool result;
11146 PyObject * obj0 = 0 ;
11147 char *kwnames[] = {
11148 (char *) "self", NULL
11149 };
11150
11151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
11152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 result = (bool)(arg1)->ReleaseCapture();
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 {
11162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11163 }
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
11171 PyObject *obj;
11172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11173 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
11174 Py_INCREF(obj);
11175 return Py_BuildValue((char *)"");
11176 }
11177 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
11178 PyObject *resultobj;
11179 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11180 wxPoint *arg2 = (wxPoint *) 0 ;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "self",(char *) "m_pos", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
11188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11190 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
11191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11192 if (arg1) (arg1)->m_pos = *arg2;
11193
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198 }
11199
11200
11201 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
11202 PyObject *resultobj;
11203 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11204 wxPoint *result;
11205 PyObject * obj0 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 result = (wxPoint *)& ((arg1)->m_pos);
11214
11215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11225 int arg2 ;
11226 PyObject * obj0 = 0 ;
11227 PyObject * obj1 = 0 ;
11228 char *kwnames[] = {
11229 (char *) "self",(char *) "m_zPosition", NULL
11230 };
11231
11232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
11233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11235 arg2 = (int)SWIG_As_int(obj1);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 if (arg1) (arg1)->m_zPosition = arg2;
11238
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 return resultobj;
11241 fail:
11242 return NULL;
11243 }
11244
11245
11246 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11249 int result;
11250 PyObject * obj0 = 0 ;
11251 char *kwnames[] = {
11252 (char *) "self", NULL
11253 };
11254
11255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
11256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11258 result = (int) ((arg1)->m_zPosition);
11259
11260 resultobj = SWIG_From_int((int)result);
11261 return resultobj;
11262 fail:
11263 return NULL;
11264 }
11265
11266
11267 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
11268 PyObject *resultobj;
11269 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11270 int arg2 ;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self",(char *) "m_buttonChange", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11280 arg2 = (int)SWIG_As_int(obj1);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 if (arg1) (arg1)->m_buttonChange = arg2;
11283
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11294 int result;
11295 PyObject * obj0 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "self", NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11303 result = (int) ((arg1)->m_buttonChange);
11304
11305 resultobj = SWIG_From_int((int)result);
11306 return resultobj;
11307 fail:
11308 return NULL;
11309 }
11310
11311
11312 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
11313 PyObject *resultobj;
11314 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11315 int arg2 ;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "m_buttonState", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11325 arg2 = (int)SWIG_As_int(obj1);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 if (arg1) (arg1)->m_buttonState = arg2;
11328
11329 Py_INCREF(Py_None); resultobj = Py_None;
11330 return resultobj;
11331 fail:
11332 return NULL;
11333 }
11334
11335
11336 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
11337 PyObject *resultobj;
11338 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11339 int result;
11340 PyObject * obj0 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11348 result = (int) ((arg1)->m_buttonState);
11349
11350 resultobj = SWIG_From_int((int)result);
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11360 int arg2 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "m_joyStick", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11370 arg2 = (int)SWIG_As_int(obj1);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 if (arg1) (arg1)->m_joyStick = arg2;
11373
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11384 int result;
11385 PyObject * obj0 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11393 result = (int) ((arg1)->m_joyStick);
11394
11395 resultobj = SWIG_From_int((int)result);
11396 return resultobj;
11397 fail:
11398 return NULL;
11399 }
11400
11401
11402 static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11405 int arg2 = (int) 0 ;
11406 int arg3 = (int) wxJOYSTICK1 ;
11407 int arg4 = (int) 0 ;
11408 wxJoystickEvent *result;
11409 PyObject * obj0 = 0 ;
11410 PyObject * obj1 = 0 ;
11411 PyObject * obj2 = 0 ;
11412 PyObject * obj3 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11418 if (obj0) {
11419 arg1 = (wxEventType)SWIG_As_int(obj0);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 if (obj1) {
11423 arg2 = (int)SWIG_As_int(obj1);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 if (obj2) {
11427 arg3 = (int)SWIG_As_int(obj2);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 if (obj3) {
11431 arg4 = (int)SWIG_As_int(obj3);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 }
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11442 return resultobj;
11443 fail:
11444 return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11451 wxPoint result;
11452 PyObject * obj0 = 0 ;
11453 char *kwnames[] = {
11454 (char *) "self", NULL
11455 };
11456
11457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11460 {
11461 PyThreadState* __tstate = wxPyBeginAllowThreads();
11462 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11463
11464 wxPyEndAllowThreads(__tstate);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 {
11468 wxPoint * resultptr;
11469 resultptr = new wxPoint((wxPoint &) result);
11470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11471 }
11472 return resultobj;
11473 fail:
11474 return NULL;
11475 }
11476
11477
11478 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11481 int result;
11482 PyObject * obj0 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "self", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 resultobj = SWIG_From_int((int)result);
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj;
11506 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11507 int result;
11508 PyObject * obj0 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 resultobj = SWIG_From_int((int)result);
11524 return resultobj;
11525 fail:
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11533 int result;
11534 PyObject * obj0 = 0 ;
11535 char *kwnames[] = {
11536 (char *) "self", NULL
11537 };
11538
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 resultobj = SWIG_From_int((int)result);
11550 return resultobj;
11551 fail:
11552 return NULL;
11553 }
11554
11555
11556 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11557 PyObject *resultobj;
11558 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11559 int result;
11560 PyObject * obj0 = 0 ;
11561 char *kwnames[] = {
11562 (char *) "self", NULL
11563 };
11564
11565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11568 {
11569 PyThreadState* __tstate = wxPyBeginAllowThreads();
11570 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11571
11572 wxPyEndAllowThreads(__tstate);
11573 if (PyErr_Occurred()) SWIG_fail;
11574 }
11575 resultobj = SWIG_From_int((int)result);
11576 return resultobj;
11577 fail:
11578 return NULL;
11579 }
11580
11581
11582 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj;
11584 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11585 int arg2 ;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self",(char *) "stick", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11595 arg2 = (int)SWIG_As_int(obj1);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 (arg1)->SetJoystick(arg2);
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 Py_INCREF(Py_None); resultobj = Py_None;
11605 return resultobj;
11606 fail:
11607 return NULL;
11608 }
11609
11610
11611 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj;
11613 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11614 int arg2 ;
11615 PyObject * obj0 = 0 ;
11616 PyObject * obj1 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self",(char *) "state", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11624 arg2 = (int)SWIG_As_int(obj1);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 (arg1)->SetButtonState(arg2);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 Py_INCREF(Py_None); resultobj = Py_None;
11634 return resultobj;
11635 fail:
11636 return NULL;
11637 }
11638
11639
11640 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11641 PyObject *resultobj;
11642 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11643 int arg2 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "change", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11653 arg2 = (int)SWIG_As_int(obj1);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 (arg1)->SetButtonChange(arg2);
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 Py_INCREF(Py_None); resultobj = Py_None;
11663 return resultobj;
11664 fail:
11665 return NULL;
11666 }
11667
11668
11669 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj;
11671 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11672 wxPoint *arg2 = 0 ;
11673 wxPoint temp2 ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self",(char *) "pos", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11683 {
11684 arg2 = &temp2;
11685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11686 }
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->SetPosition((wxPoint const &)*arg2);
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 Py_INCREF(Py_None); resultobj = Py_None;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698 }
11699
11700
11701 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11704 int arg2 ;
11705 PyObject * obj0 = 0 ;
11706 PyObject * obj1 = 0 ;
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "zPos", NULL
11709 };
11710
11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11714 arg2 = (int)SWIG_As_int(obj1);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 (arg1)->SetZPosition(arg2);
11719
11720 wxPyEndAllowThreads(__tstate);
11721 if (PyErr_Occurred()) SWIG_fail;
11722 }
11723 Py_INCREF(Py_None); resultobj = Py_None;
11724 return resultobj;
11725 fail:
11726 return NULL;
11727 }
11728
11729
11730 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
11731 PyObject *resultobj;
11732 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11733 bool result;
11734 PyObject * obj0 = 0 ;
11735 char *kwnames[] = {
11736 (char *) "self", NULL
11737 };
11738
11739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11745
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 {
11750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11751 }
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11761 bool result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 {
11778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11779 }
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11789 bool result;
11790 PyObject * obj0 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 {
11806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11807 }
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11817 int arg2 = (int) wxJOY_BUTTON_ANY ;
11818 bool result;
11819 PyObject * obj0 = 0 ;
11820 PyObject * obj1 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self",(char *) "but", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11828 if (obj1) {
11829 arg2 = (int)SWIG_As_int(obj1);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 {
11840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11841 }
11842 return resultobj;
11843 fail:
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11851 int arg2 = (int) wxJOY_BUTTON_ANY ;
11852 bool result;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self",(char *) "but", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11862 if (obj1) {
11863 arg2 = (int)SWIG_As_int(obj1);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 PyThreadState* __tstate = wxPyBeginAllowThreads();
11868 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11869
11870 wxPyEndAllowThreads(__tstate);
11871 if (PyErr_Occurred()) SWIG_fail;
11872 }
11873 {
11874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11875 }
11876 return resultobj;
11877 fail:
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11885 int arg2 = (int) wxJOY_BUTTON_ANY ;
11886 bool result;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "self",(char *) "but", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11896 if (obj1) {
11897 arg2 = (int)SWIG_As_int(obj1);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 {
11908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
11917 PyObject *obj;
11918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11920 Py_INCREF(obj);
11921 return Py_BuildValue((char *)"");
11922 }
11923 static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11924 PyObject *resultobj;
11925 wxString const &arg1_defvalue = wxPyEmptyString ;
11926 wxString *arg1 = (wxString *) &arg1_defvalue ;
11927 wxSound *result;
11928 bool temp1 = false ;
11929 PyObject * obj0 = 0 ;
11930 char *kwnames[] = {
11931 (char *) "fileName", NULL
11932 };
11933
11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11935 if (obj0) {
11936 {
11937 arg1 = wxString_in_helper(obj0);
11938 if (arg1 == NULL) SWIG_fail;
11939 temp1 = true;
11940 }
11941 }
11942 {
11943 if (!wxPyCheckForApp()) SWIG_fail;
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (wxSound *)new_wxSound((wxString const &)*arg1);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11951 {
11952 if (temp1)
11953 delete arg1;
11954 }
11955 return resultobj;
11956 fail:
11957 {
11958 if (temp1)
11959 delete arg1;
11960 }
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 PyObject *arg1 = (PyObject *) 0 ;
11968 wxSound *result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "data", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11975 arg1 = obj0;
11976 {
11977 if (!wxPyCheckForApp()) SWIG_fail;
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (wxSound *)new_wxSound(arg1);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11985 return resultobj;
11986 fail:
11987 return NULL;
11988 }
11989
11990
11991 static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxSound *arg1 = (wxSound *) 0 ;
11994 PyObject * obj0 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
12000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 delete arg1;
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 Py_INCREF(Py_None); resultobj = Py_None;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013 }
12014
12015
12016 static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12017 PyObject *resultobj;
12018 wxSound *arg1 = (wxSound *) 0 ;
12019 wxString *arg2 = 0 ;
12020 bool result;
12021 bool temp2 = false ;
12022 PyObject * obj0 = 0 ;
12023 PyObject * obj1 = 0 ;
12024 char *kwnames[] = {
12025 (char *) "self",(char *) "fileName", NULL
12026 };
12027
12028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
12029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12031 {
12032 arg2 = wxString_in_helper(obj1);
12033 if (arg2 == NULL) SWIG_fail;
12034 temp2 = true;
12035 }
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 result = (bool)(arg1)->Create((wxString const &)*arg2);
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 {
12044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12045 }
12046 {
12047 if (temp2)
12048 delete arg2;
12049 }
12050 return resultobj;
12051 fail:
12052 {
12053 if (temp2)
12054 delete arg2;
12055 }
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxSound *arg1 = (wxSound *) 0 ;
12063 PyObject *arg2 = (PyObject *) 0 ;
12064 bool result;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self",(char *) "data", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
12072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12074 arg2 = obj1;
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (bool)wxSound_CreateFromData(arg1,arg2);
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 {
12083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12084 }
12085 return resultobj;
12086 fail:
12087 return NULL;
12088 }
12089
12090
12091 static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12092 PyObject *resultobj;
12093 wxSound *arg1 = (wxSound *) 0 ;
12094 bool result;
12095 PyObject * obj0 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
12101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (bool)(arg1)->IsOk();
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 {
12111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12112 }
12113 return resultobj;
12114 fail:
12115 return NULL;
12116 }
12117
12118
12119 static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
12120 PyObject *resultobj;
12121 wxSound *arg1 = (wxSound *) 0 ;
12122 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12123 bool result;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "flags", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 if (obj1) {
12134 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 {
12138 if (!wxPyCheckForApp()) SWIG_fail;
12139 PyThreadState* __tstate = wxPyBeginAllowThreads();
12140 result = (bool)((wxSound const *)arg1)->Play(arg2);
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_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
12155 PyObject *resultobj;
12156 wxString *arg1 = 0 ;
12157 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12158 bool result;
12159 bool temp1 = false ;
12160 PyObject * obj0 = 0 ;
12161 PyObject * obj1 = 0 ;
12162 char *kwnames[] = {
12163 (char *) "filename",(char *) "flags", NULL
12164 };
12165
12166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
12167 {
12168 arg1 = wxString_in_helper(obj0);
12169 if (arg1 == NULL) SWIG_fail;
12170 temp1 = true;
12171 }
12172 if (obj1) {
12173 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 {
12177 if (!wxPyCheckForApp()) SWIG_fail;
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12186 }
12187 {
12188 if (temp1)
12189 delete arg1;
12190 }
12191 return resultobj;
12192 fail:
12193 {
12194 if (temp1)
12195 delete arg1;
12196 }
12197 return NULL;
12198 }
12199
12200
12201 static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
12202 PyObject *resultobj;
12203 char *kwnames[] = {
12204 NULL
12205 };
12206
12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
12208 {
12209 if (!wxPyCheckForApp()) SWIG_fail;
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 wxSound::Stop();
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
12224 PyObject *obj;
12225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12226 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
12227 Py_INCREF(obj);
12228 return Py_BuildValue((char *)"");
12229 }
12230 static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj;
12232 wxString *arg1 = 0 ;
12233 wxString *arg2 = 0 ;
12234 wxString *arg3 = 0 ;
12235 wxString *arg4 = 0 ;
12236 wxFileTypeInfo *result;
12237 bool temp1 = false ;
12238 bool temp2 = false ;
12239 bool temp3 = false ;
12240 bool temp4 = false ;
12241 PyObject * obj0 = 0 ;
12242 PyObject * obj1 = 0 ;
12243 PyObject * obj2 = 0 ;
12244 PyObject * obj3 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12250 {
12251 arg1 = wxString_in_helper(obj0);
12252 if (arg1 == NULL) SWIG_fail;
12253 temp1 = true;
12254 }
12255 {
12256 arg2 = wxString_in_helper(obj1);
12257 if (arg2 == NULL) SWIG_fail;
12258 temp2 = true;
12259 }
12260 {
12261 arg3 = wxString_in_helper(obj2);
12262 if (arg3 == NULL) SWIG_fail;
12263 temp3 = true;
12264 }
12265 {
12266 arg4 = wxString_in_helper(obj3);
12267 if (arg4 == NULL) SWIG_fail;
12268 temp4 = true;
12269 }
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12278 {
12279 if (temp1)
12280 delete arg1;
12281 }
12282 {
12283 if (temp2)
12284 delete arg2;
12285 }
12286 {
12287 if (temp3)
12288 delete arg3;
12289 }
12290 {
12291 if (temp4)
12292 delete arg4;
12293 }
12294 return resultobj;
12295 fail:
12296 {
12297 if (temp1)
12298 delete arg1;
12299 }
12300 {
12301 if (temp2)
12302 delete arg2;
12303 }
12304 {
12305 if (temp3)
12306 delete arg3;
12307 }
12308 {
12309 if (temp4)
12310 delete arg4;
12311 }
12312 return NULL;
12313 }
12314
12315
12316 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxArrayString *arg1 = 0 ;
12319 wxFileTypeInfo *result;
12320 bool temp1 = false ;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "sArray", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12327 {
12328 if (! PySequence_Check(obj0)) {
12329 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12330 SWIG_fail;
12331 }
12332 arg1 = new wxArrayString;
12333 temp1 = true;
12334 int i, len=PySequence_Length(obj0);
12335 for (i=0; i<len; i++) {
12336 PyObject* item = PySequence_GetItem(obj0, i);
12337 #if wxUSE_UNICODE
12338 PyObject* str = PyObject_Unicode(item);
12339 #else
12340 PyObject* str = PyObject_Str(item);
12341 #endif
12342 if (PyErr_Occurred()) SWIG_fail;
12343 arg1->Add(Py2wxString(str));
12344 Py_DECREF(item);
12345 Py_DECREF(str);
12346 }
12347 }
12348 {
12349 PyThreadState* __tstate = wxPyBeginAllowThreads();
12350 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12351
12352 wxPyEndAllowThreads(__tstate);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12356 {
12357 if (temp1) delete arg1;
12358 }
12359 return resultobj;
12360 fail:
12361 {
12362 if (temp1) delete arg1;
12363 }
12364 return NULL;
12365 }
12366
12367
12368 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxFileTypeInfo *result;
12371 char *kwnames[] = {
12372 NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12384 return resultobj;
12385 fail:
12386 return NULL;
12387 }
12388
12389
12390 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
12391 PyObject *resultobj;
12392 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12393 bool result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 {
12410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12411 }
12412 return resultobj;
12413 fail:
12414 return NULL;
12415 }
12416
12417
12418 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12419 PyObject *resultobj;
12420 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12421 wxString *arg2 = 0 ;
12422 int arg3 = (int) 0 ;
12423 bool temp2 = false ;
12424 PyObject * obj0 = 0 ;
12425 PyObject * obj1 = 0 ;
12426 PyObject * obj2 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12434 {
12435 arg2 = wxString_in_helper(obj1);
12436 if (arg2 == NULL) SWIG_fail;
12437 temp2 = true;
12438 }
12439 if (obj2) {
12440 arg3 = (int)SWIG_As_int(obj2);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 Py_INCREF(Py_None); resultobj = Py_None;
12451 {
12452 if (temp2)
12453 delete arg2;
12454 }
12455 return resultobj;
12456 fail:
12457 {
12458 if (temp2)
12459 delete arg2;
12460 }
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12468 wxString *arg2 = 0 ;
12469 bool temp2 = false ;
12470 PyObject * obj0 = 0 ;
12471 PyObject * obj1 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self",(char *) "shortDesc", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12479 {
12480 arg2 = wxString_in_helper(obj1);
12481 if (arg2 == NULL) SWIG_fail;
12482 temp2 = true;
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 (arg1)->SetShortDesc((wxString const &)*arg2);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 Py_INCREF(Py_None); resultobj = Py_None;
12492 {
12493 if (temp2)
12494 delete arg2;
12495 }
12496 return resultobj;
12497 fail:
12498 {
12499 if (temp2)
12500 delete arg2;
12501 }
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12509 wxString *result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 {
12521 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12522 result = (wxString *) &_result_ref;
12523 }
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 {
12529 #if wxUSE_UNICODE
12530 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12531 #else
12532 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12533 #endif
12534 }
12535 return resultobj;
12536 fail:
12537 return NULL;
12538 }
12539
12540
12541 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12544 wxString *result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 {
12556 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12557 result = (wxString *) &_result_ref;
12558 }
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 {
12564 #if wxUSE_UNICODE
12565 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12566 #else
12567 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12568 #endif
12569 }
12570 return resultobj;
12571 fail:
12572 return NULL;
12573 }
12574
12575
12576 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj;
12578 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12579 wxString *result;
12580 PyObject * obj0 = 0 ;
12581 char *kwnames[] = {
12582 (char *) "self", NULL
12583 };
12584
12585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 {
12591 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12592 result = (wxString *) &_result_ref;
12593 }
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 #if wxUSE_UNICODE
12600 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12601 #else
12602 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12603 #endif
12604 }
12605 return resultobj;
12606 fail:
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12614 wxString *result;
12615 PyObject * obj0 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 {
12626 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12627 result = (wxString *) &_result_ref;
12628 }
12629
12630 wxPyEndAllowThreads(__tstate);
12631 if (PyErr_Occurred()) SWIG_fail;
12632 }
12633 {
12634 #if wxUSE_UNICODE
12635 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12636 #else
12637 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12638 #endif
12639 }
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12649 wxString *result;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 {
12661 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12662 result = (wxString *) &_result_ref;
12663 }
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 {
12669 #if wxUSE_UNICODE
12670 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12671 #else
12672 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12673 #endif
12674 }
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12684 wxArrayString *result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 {
12696 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12697 result = (wxArrayString *) &_result_ref;
12698 }
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 {
12704 resultobj = wxArrayString2PyList_helper(*result);
12705 }
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12715 int result;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = SWIG_From_int((int)result);
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12741 wxString *result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 {
12753 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12754 result = (wxString *) &_result_ref;
12755 }
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 {
12761 #if wxUSE_UNICODE
12762 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12763 #else
12764 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12765 #endif
12766 }
12767 return resultobj;
12768 fail:
12769 return NULL;
12770 }
12771
12772
12773 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12774 PyObject *resultobj;
12775 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12776 int result;
12777 PyObject * obj0 = 0 ;
12778 char *kwnames[] = {
12779 (char *) "self", NULL
12780 };
12781
12782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12785 {
12786 PyThreadState* __tstate = wxPyBeginAllowThreads();
12787 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12788
12789 wxPyEndAllowThreads(__tstate);
12790 if (PyErr_Occurred()) SWIG_fail;
12791 }
12792 resultobj = SWIG_From_int((int)result);
12793 return resultobj;
12794 fail:
12795 return NULL;
12796 }
12797
12798
12799 static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
12800 PyObject *obj;
12801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12802 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12803 Py_INCREF(obj);
12804 return Py_BuildValue((char *)"");
12805 }
12806 static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxFileTypeInfo *arg1 = 0 ;
12809 wxFileType *result;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "ftInfo", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12817 SWIG_POINTER_EXCEPTION | 0)) == -1)
12818 SWIG_fail;
12819 if (arg1 == NULL) {
12820 PyErr_SetString(PyExc_TypeError,"null reference");
12821 SWIG_fail;
12822 }
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12831 return resultobj;
12832 fail:
12833 return NULL;
12834 }
12835
12836
12837 static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxFileType *arg1 = (wxFileType *) 0 ;
12840 PyObject * obj0 = 0 ;
12841 char *kwnames[] = {
12842 (char *) "self", NULL
12843 };
12844
12845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 delete arg1;
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 Py_INCREF(Py_None); resultobj = Py_None;
12856 return resultobj;
12857 fail:
12858 return NULL;
12859 }
12860
12861
12862 static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxFileType *arg1 = (wxFileType *) 0 ;
12865 PyObject *result;
12866 PyObject * obj0 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (PyObject *)wxFileType_GetMimeType(arg1);
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = result;
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxFileType *arg1 = (wxFileType *) 0 ;
12891 PyObject *result;
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 resultobj = result;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxFileType *arg1 = (wxFileType *) 0 ;
12917 PyObject *result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (PyObject *)wxFileType_GetExtensions(arg1);
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
12933 resultobj = result;
12934 return resultobj;
12935 fail:
12936 return NULL;
12937 }
12938
12939
12940 static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxFileType *arg1 = (wxFileType *) 0 ;
12943 wxIcon *result;
12944 PyObject * obj0 = 0 ;
12945 char *kwnames[] = {
12946 (char *) "self", NULL
12947 };
12948
12949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (wxIcon *)wxFileType_GetIcon(arg1);
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxFileType *arg1 = (wxFileType *) 0 ;
12969 PyObject *result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 resultobj = result;
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxFileType *arg1 = (wxFileType *) 0 ;
12995 PyObject *result;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (PyObject *)wxFileType_GetDescription(arg1);
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 resultobj = result;
13012 return resultobj;
13013 fail:
13014 return NULL;
13015 }
13016
13017
13018 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxFileType *arg1 = (wxFileType *) 0 ;
13021 wxString *arg2 = 0 ;
13022 wxString const &arg3_defvalue = wxPyEmptyString ;
13023 wxString *arg3 = (wxString *) &arg3_defvalue ;
13024 PyObject *result;
13025 bool temp2 = false ;
13026 bool temp3 = false ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13037 {
13038 arg2 = wxString_in_helper(obj1);
13039 if (arg2 == NULL) SWIG_fail;
13040 temp2 = true;
13041 }
13042 if (obj2) {
13043 {
13044 arg3 = wxString_in_helper(obj2);
13045 if (arg3 == NULL) SWIG_fail;
13046 temp3 = true;
13047 }
13048 }
13049 {
13050 PyThreadState* __tstate = wxPyBeginAllowThreads();
13051 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13052
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 resultobj = result;
13057 {
13058 if (temp2)
13059 delete arg2;
13060 }
13061 {
13062 if (temp3)
13063 delete arg3;
13064 }
13065 return resultobj;
13066 fail:
13067 {
13068 if (temp2)
13069 delete arg2;
13070 }
13071 {
13072 if (temp3)
13073 delete arg3;
13074 }
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxFileType *arg1 = (wxFileType *) 0 ;
13082 wxString *arg2 = 0 ;
13083 wxString const &arg3_defvalue = wxPyEmptyString ;
13084 wxString *arg3 = (wxString *) &arg3_defvalue ;
13085 PyObject *result;
13086 bool temp2 = false ;
13087 bool temp3 = false ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 PyObject * obj2 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13098 {
13099 arg2 = wxString_in_helper(obj1);
13100 if (arg2 == NULL) SWIG_fail;
13101 temp2 = true;
13102 }
13103 if (obj2) {
13104 {
13105 arg3 = wxString_in_helper(obj2);
13106 if (arg3 == NULL) SWIG_fail;
13107 temp3 = true;
13108 }
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 resultobj = result;
13118 {
13119 if (temp2)
13120 delete arg2;
13121 }
13122 {
13123 if (temp3)
13124 delete arg3;
13125 }
13126 return resultobj;
13127 fail:
13128 {
13129 if (temp2)
13130 delete arg2;
13131 }
13132 {
13133 if (temp3)
13134 delete arg3;
13135 }
13136 return NULL;
13137 }
13138
13139
13140 static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj;
13142 wxFileType *arg1 = (wxFileType *) 0 ;
13143 wxString *arg2 = 0 ;
13144 wxString const &arg3_defvalue = wxPyEmptyString ;
13145 wxString *arg3 = (wxString *) &arg3_defvalue ;
13146 PyObject *result;
13147 bool temp2 = false ;
13148 bool temp3 = false ;
13149 PyObject * obj0 = 0 ;
13150 PyObject * obj1 = 0 ;
13151 PyObject * obj2 = 0 ;
13152 char *kwnames[] = {
13153 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13154 };
13155
13156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
13157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13159 {
13160 arg2 = wxString_in_helper(obj1);
13161 if (arg2 == NULL) SWIG_fail;
13162 temp2 = true;
13163 }
13164 if (obj2) {
13165 {
13166 arg3 = wxString_in_helper(obj2);
13167 if (arg3 == NULL) SWIG_fail;
13168 temp3 = true;
13169 }
13170 }
13171 {
13172 PyThreadState* __tstate = wxPyBeginAllowThreads();
13173 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13174
13175 wxPyEndAllowThreads(__tstate);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 }
13178 resultobj = result;
13179 {
13180 if (temp2)
13181 delete arg2;
13182 }
13183 {
13184 if (temp3)
13185 delete arg3;
13186 }
13187 return resultobj;
13188 fail:
13189 {
13190 if (temp2)
13191 delete arg2;
13192 }
13193 {
13194 if (temp3)
13195 delete arg3;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxFileType *arg1 = (wxFileType *) 0 ;
13204 wxString *arg2 = 0 ;
13205 wxString *arg3 = 0 ;
13206 bool arg4 = (bool) true ;
13207 bool result;
13208 bool temp2 = false ;
13209 bool temp3 = false ;
13210 PyObject * obj0 = 0 ;
13211 PyObject * obj1 = 0 ;
13212 PyObject * obj2 = 0 ;
13213 PyObject * obj3 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13221 {
13222 arg2 = wxString_in_helper(obj1);
13223 if (arg2 == NULL) SWIG_fail;
13224 temp2 = true;
13225 }
13226 {
13227 arg3 = wxString_in_helper(obj2);
13228 if (arg3 == NULL) SWIG_fail;
13229 temp3 = true;
13230 }
13231 if (obj3) {
13232 arg4 = (bool)SWIG_As_bool(obj3);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 {
13243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13244 }
13245 {
13246 if (temp2)
13247 delete arg2;
13248 }
13249 {
13250 if (temp3)
13251 delete arg3;
13252 }
13253 return resultobj;
13254 fail:
13255 {
13256 if (temp2)
13257 delete arg2;
13258 }
13259 {
13260 if (temp3)
13261 delete arg3;
13262 }
13263 return NULL;
13264 }
13265
13266
13267 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13268 PyObject *resultobj;
13269 wxFileType *arg1 = (wxFileType *) 0 ;
13270 wxString const &arg2_defvalue = wxPyEmptyString ;
13271 wxString *arg2 = (wxString *) &arg2_defvalue ;
13272 int arg3 = (int) 0 ;
13273 bool result;
13274 bool temp2 = false ;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 PyObject * obj2 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self",(char *) "cmd",(char *) "index", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13285 if (obj1) {
13286 {
13287 arg2 = wxString_in_helper(obj1);
13288 if (arg2 == NULL) SWIG_fail;
13289 temp2 = true;
13290 }
13291 }
13292 if (obj2) {
13293 arg3 = (int)SWIG_As_int(obj2);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 {
13304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13305 }
13306 {
13307 if (temp2)
13308 delete arg2;
13309 }
13310 return resultobj;
13311 fail:
13312 {
13313 if (temp2)
13314 delete arg2;
13315 }
13316 return NULL;
13317 }
13318
13319
13320 static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13321 PyObject *resultobj;
13322 wxFileType *arg1 = (wxFileType *) 0 ;
13323 bool result;
13324 PyObject * obj0 = 0 ;
13325 char *kwnames[] = {
13326 (char *) "self", NULL
13327 };
13328
13329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (bool)(arg1)->Unassociate();
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13341 }
13342 return resultobj;
13343 fail:
13344 return NULL;
13345 }
13346
13347
13348 static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj;
13350 wxString *arg1 = 0 ;
13351 wxString *arg2 = 0 ;
13352 wxString const &arg3_defvalue = wxPyEmptyString ;
13353 wxString *arg3 = (wxString *) &arg3_defvalue ;
13354 wxString result;
13355 bool temp1 = false ;
13356 bool temp2 = false ;
13357 bool temp3 = false ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 PyObject * obj2 = 0 ;
13361 char *kwnames[] = {
13362 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13363 };
13364
13365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13366 {
13367 arg1 = wxString_in_helper(obj0);
13368 if (arg1 == NULL) SWIG_fail;
13369 temp1 = true;
13370 }
13371 {
13372 arg2 = wxString_in_helper(obj1);
13373 if (arg2 == NULL) SWIG_fail;
13374 temp2 = true;
13375 }
13376 if (obj2) {
13377 {
13378 arg3 = wxString_in_helper(obj2);
13379 if (arg3 == NULL) SWIG_fail;
13380 temp3 = true;
13381 }
13382 }
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 {
13391 #if wxUSE_UNICODE
13392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13393 #else
13394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13395 #endif
13396 }
13397 {
13398 if (temp1)
13399 delete arg1;
13400 }
13401 {
13402 if (temp2)
13403 delete arg2;
13404 }
13405 {
13406 if (temp3)
13407 delete arg3;
13408 }
13409 return resultobj;
13410 fail:
13411 {
13412 if (temp1)
13413 delete arg1;
13414 }
13415 {
13416 if (temp2)
13417 delete arg2;
13418 }
13419 {
13420 if (temp3)
13421 delete arg3;
13422 }
13423 return NULL;
13424 }
13425
13426
13427 static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
13428 PyObject *obj;
13429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13430 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13431 Py_INCREF(obj);
13432 return Py_BuildValue((char *)"");
13433 }
13434 static int _wrap_TheMimeTypesManager_set(PyObject *) {
13435 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13436 return 1;
13437 }
13438
13439
13440 static PyObject *_wrap_TheMimeTypesManager_get() {
13441 PyObject *pyobj;
13442
13443 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13444 return pyobj;
13445 }
13446
13447
13448 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxString *arg1 = 0 ;
13451 wxString *arg2 = 0 ;
13452 bool result;
13453 bool temp1 = false ;
13454 bool temp2 = false ;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "mimeType",(char *) "wildcard", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13462 {
13463 arg1 = wxString_in_helper(obj0);
13464 if (arg1 == NULL) SWIG_fail;
13465 temp1 = true;
13466 }
13467 {
13468 arg2 = wxString_in_helper(obj1);
13469 if (arg2 == NULL) SWIG_fail;
13470 temp2 = true;
13471 }
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13481 }
13482 {
13483 if (temp1)
13484 delete arg1;
13485 }
13486 {
13487 if (temp2)
13488 delete arg2;
13489 }
13490 return resultobj;
13491 fail:
13492 {
13493 if (temp1)
13494 delete arg1;
13495 }
13496 {
13497 if (temp2)
13498 delete arg2;
13499 }
13500 return NULL;
13501 }
13502
13503
13504 static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj;
13506 wxMimeTypesManager *result;
13507 char *kwnames[] = {
13508 NULL
13509 };
13510
13511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13515
13516 wxPyEndAllowThreads(__tstate);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 }
13519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13520 return resultobj;
13521 fail:
13522 return NULL;
13523 }
13524
13525
13526 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
13527 PyObject *resultobj;
13528 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13529 int arg2 = (int) wxMAILCAP_ALL ;
13530 wxString const &arg3_defvalue = wxPyEmptyString ;
13531 wxString *arg3 = (wxString *) &arg3_defvalue ;
13532 bool temp3 = false ;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 PyObject * obj2 = 0 ;
13536 char *kwnames[] = {
13537 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13538 };
13539
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13543 if (obj1) {
13544 arg2 = (int)SWIG_As_int(obj1);
13545 if (PyErr_Occurred()) SWIG_fail;
13546 }
13547 if (obj2) {
13548 {
13549 arg3 = wxString_in_helper(obj2);
13550 if (arg3 == NULL) SWIG_fail;
13551 temp3 = true;
13552 }
13553 }
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 Py_INCREF(Py_None); resultobj = Py_None;
13562 {
13563 if (temp3)
13564 delete arg3;
13565 }
13566 return resultobj;
13567 fail:
13568 {
13569 if (temp3)
13570 delete arg3;
13571 }
13572 return NULL;
13573 }
13574
13575
13576 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj;
13578 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13579 PyObject * obj0 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 (arg1)->ClearData();
13590
13591 wxPyEndAllowThreads(__tstate);
13592 if (PyErr_Occurred()) SWIG_fail;
13593 }
13594 Py_INCREF(Py_None); resultobj = Py_None;
13595 return resultobj;
13596 fail:
13597 return NULL;
13598 }
13599
13600
13601 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
13602 PyObject *resultobj;
13603 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13604 wxString *arg2 = 0 ;
13605 wxFileType *result;
13606 bool temp2 = false ;
13607 PyObject * obj0 = 0 ;
13608 PyObject * obj1 = 0 ;
13609 char *kwnames[] = {
13610 (char *) "self",(char *) "ext", NULL
13611 };
13612
13613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13616 {
13617 arg2 = wxString_in_helper(obj1);
13618 if (arg2 == NULL) SWIG_fail;
13619 temp2 = true;
13620 }
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
13628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13629 {
13630 if (temp2)
13631 delete arg2;
13632 }
13633 return resultobj;
13634 fail:
13635 {
13636 if (temp2)
13637 delete arg2;
13638 }
13639 return NULL;
13640 }
13641
13642
13643 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj;
13645 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13646 wxString *arg2 = 0 ;
13647 wxFileType *result;
13648 bool temp2 = false ;
13649 PyObject * obj0 = 0 ;
13650 PyObject * obj1 = 0 ;
13651 char *kwnames[] = {
13652 (char *) "self",(char *) "mimeType", NULL
13653 };
13654
13655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13658 {
13659 arg2 = wxString_in_helper(obj1);
13660 if (arg2 == NULL) SWIG_fail;
13661 temp2 = true;
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13671 {
13672 if (temp2)
13673 delete arg2;
13674 }
13675 return resultobj;
13676 fail:
13677 {
13678 if (temp2)
13679 delete arg2;
13680 }
13681 return NULL;
13682 }
13683
13684
13685 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13688 wxString *arg2 = 0 ;
13689 bool arg3 = (bool) false ;
13690 bool result;
13691 bool temp2 = false ;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
13694 PyObject * obj2 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13697 };
13698
13699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13702 {
13703 arg2 = wxString_in_helper(obj1);
13704 if (arg2 == NULL) SWIG_fail;
13705 temp2 = true;
13706 }
13707 if (obj2) {
13708 arg3 = (bool)SWIG_As_bool(obj2);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13720 }
13721 {
13722 if (temp2)
13723 delete arg2;
13724 }
13725 return resultobj;
13726 fail:
13727 {
13728 if (temp2)
13729 delete arg2;
13730 }
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13738 wxString *arg2 = 0 ;
13739 bool result;
13740 bool temp2 = false ;
13741 PyObject * obj0 = 0 ;
13742 PyObject * obj1 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self",(char *) "filename", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13750 {
13751 arg2 = wxString_in_helper(obj1);
13752 if (arg2 == NULL) SWIG_fail;
13753 temp2 = true;
13754 }
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
13762 {
13763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13764 }
13765 {
13766 if (temp2)
13767 delete arg2;
13768 }
13769 return resultobj;
13770 fail:
13771 {
13772 if (temp2)
13773 delete arg2;
13774 }
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13782 PyObject *result;
13783 PyObject * obj0 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 resultobj = result;
13799 return resultobj;
13800 fail:
13801 return NULL;
13802 }
13803
13804
13805 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13808 wxFileTypeInfo *arg2 = 0 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "ft", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13819 SWIG_POINTER_EXCEPTION | 0)) == -1)
13820 SWIG_fail;
13821 if (arg2 == NULL) {
13822 PyErr_SetString(PyExc_TypeError,"null reference");
13823 SWIG_fail;
13824 }
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13828
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 Py_INCREF(Py_None); resultobj = Py_None;
13833 return resultobj;
13834 fail:
13835 return NULL;
13836 }
13837
13838
13839 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13842 wxFileTypeInfo *arg2 = 0 ;
13843 wxFileType *result;
13844 PyObject * obj0 = 0 ;
13845 PyObject * obj1 = 0 ;
13846 char *kwnames[] = {
13847 (char *) "self",(char *) "ftInfo", NULL
13848 };
13849
13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13853 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13854 SWIG_POINTER_EXCEPTION | 0)) == -1)
13855 SWIG_fail;
13856 if (arg2 == NULL) {
13857 PyErr_SetString(PyExc_TypeError,"null reference");
13858 SWIG_fail;
13859 }
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13868 return resultobj;
13869 fail:
13870 return NULL;
13871 }
13872
13873
13874 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13877 wxFileType *arg2 = (wxFileType *) 0 ;
13878 bool result;
13879 PyObject * obj0 = 0 ;
13880 PyObject * obj1 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self",(char *) "ft", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13890 {
13891 PyThreadState* __tstate = wxPyBeginAllowThreads();
13892 result = (bool)(arg1)->Unassociate(arg2);
13893
13894 wxPyEndAllowThreads(__tstate);
13895 if (PyErr_Occurred()) SWIG_fail;
13896 }
13897 {
13898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13899 }
13900 return resultobj;
13901 fail:
13902 return NULL;
13903 }
13904
13905
13906 static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13907 PyObject *resultobj;
13908 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13909 PyObject * obj0 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 delete arg1;
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
13924 Py_INCREF(Py_None); resultobj = Py_None;
13925 return resultobj;
13926 fail:
13927 return NULL;
13928 }
13929
13930
13931 static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
13932 PyObject *obj;
13933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13934 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13935 Py_INCREF(obj);
13936 return Py_BuildValue((char *)"");
13937 }
13938 static int _wrap_ART_TOOLBAR_set(PyObject *) {
13939 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13940 return 1;
13941 }
13942
13943
13944 static PyObject *_wrap_ART_TOOLBAR_get() {
13945 PyObject *pyobj;
13946
13947 {
13948 #if wxUSE_UNICODE
13949 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13950 #else
13951 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13952 #endif
13953 }
13954 return pyobj;
13955 }
13956
13957
13958 static int _wrap_ART_MENU_set(PyObject *) {
13959 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13960 return 1;
13961 }
13962
13963
13964 static PyObject *_wrap_ART_MENU_get() {
13965 PyObject *pyobj;
13966
13967 {
13968 #if wxUSE_UNICODE
13969 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13970 #else
13971 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13972 #endif
13973 }
13974 return pyobj;
13975 }
13976
13977
13978 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
13979 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13980 return 1;
13981 }
13982
13983
13984 static PyObject *_wrap_ART_FRAME_ICON_get() {
13985 PyObject *pyobj;
13986
13987 {
13988 #if wxUSE_UNICODE
13989 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13990 #else
13991 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13992 #endif
13993 }
13994 return pyobj;
13995 }
13996
13997
13998 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
13999 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
14000 return 1;
14001 }
14002
14003
14004 static PyObject *_wrap_ART_CMN_DIALOG_get() {
14005 PyObject *pyobj;
14006
14007 {
14008 #if wxUSE_UNICODE
14009 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14010 #else
14011 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14012 #endif
14013 }
14014 return pyobj;
14015 }
14016
14017
14018 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
14019 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
14020 return 1;
14021 }
14022
14023
14024 static PyObject *_wrap_ART_HELP_BROWSER_get() {
14025 PyObject *pyobj;
14026
14027 {
14028 #if wxUSE_UNICODE
14029 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14030 #else
14031 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14032 #endif
14033 }
14034 return pyobj;
14035 }
14036
14037
14038 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
14039 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
14040 return 1;
14041 }
14042
14043
14044 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
14045 PyObject *pyobj;
14046
14047 {
14048 #if wxUSE_UNICODE
14049 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14050 #else
14051 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14052 #endif
14053 }
14054 return pyobj;
14055 }
14056
14057
14058 static int _wrap_ART_BUTTON_set(PyObject *) {
14059 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
14060 return 1;
14061 }
14062
14063
14064 static PyObject *_wrap_ART_BUTTON_get() {
14065 PyObject *pyobj;
14066
14067 {
14068 #if wxUSE_UNICODE
14069 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14070 #else
14071 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14072 #endif
14073 }
14074 return pyobj;
14075 }
14076
14077
14078 static int _wrap_ART_OTHER_set(PyObject *) {
14079 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
14080 return 1;
14081 }
14082
14083
14084 static PyObject *_wrap_ART_OTHER_get() {
14085 PyObject *pyobj;
14086
14087 {
14088 #if wxUSE_UNICODE
14089 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14090 #else
14091 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14092 #endif
14093 }
14094 return pyobj;
14095 }
14096
14097
14098 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
14099 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
14100 return 1;
14101 }
14102
14103
14104 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
14105 PyObject *pyobj;
14106
14107 {
14108 #if wxUSE_UNICODE
14109 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14110 #else
14111 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14112 #endif
14113 }
14114 return pyobj;
14115 }
14116
14117
14118 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
14119 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
14120 return 1;
14121 }
14122
14123
14124 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
14125 PyObject *pyobj;
14126
14127 {
14128 #if wxUSE_UNICODE
14129 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14130 #else
14131 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14132 #endif
14133 }
14134 return pyobj;
14135 }
14136
14137
14138 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
14139 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
14140 return 1;
14141 }
14142
14143
14144 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
14145 PyObject *pyobj;
14146
14147 {
14148 #if wxUSE_UNICODE
14149 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14150 #else
14151 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14152 #endif
14153 }
14154 return pyobj;
14155 }
14156
14157
14158 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
14159 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
14160 return 1;
14161 }
14162
14163
14164 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
14165 PyObject *pyobj;
14166
14167 {
14168 #if wxUSE_UNICODE
14169 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14170 #else
14171 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14172 #endif
14173 }
14174 return pyobj;
14175 }
14176
14177
14178 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
14179 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
14180 return 1;
14181 }
14182
14183
14184 static PyObject *_wrap_ART_HELP_BOOK_get() {
14185 PyObject *pyobj;
14186
14187 {
14188 #if wxUSE_UNICODE
14189 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14190 #else
14191 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14192 #endif
14193 }
14194 return pyobj;
14195 }
14196
14197
14198 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
14199 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
14200 return 1;
14201 }
14202
14203
14204 static PyObject *_wrap_ART_HELP_FOLDER_get() {
14205 PyObject *pyobj;
14206
14207 {
14208 #if wxUSE_UNICODE
14209 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14210 #else
14211 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14212 #endif
14213 }
14214 return pyobj;
14215 }
14216
14217
14218 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
14219 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
14220 return 1;
14221 }
14222
14223
14224 static PyObject *_wrap_ART_HELP_PAGE_get() {
14225 PyObject *pyobj;
14226
14227 {
14228 #if wxUSE_UNICODE
14229 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14230 #else
14231 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14232 #endif
14233 }
14234 return pyobj;
14235 }
14236
14237
14238 static int _wrap_ART_GO_BACK_set(PyObject *) {
14239 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
14240 return 1;
14241 }
14242
14243
14244 static PyObject *_wrap_ART_GO_BACK_get() {
14245 PyObject *pyobj;
14246
14247 {
14248 #if wxUSE_UNICODE
14249 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14250 #else
14251 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14252 #endif
14253 }
14254 return pyobj;
14255 }
14256
14257
14258 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
14259 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
14260 return 1;
14261 }
14262
14263
14264 static PyObject *_wrap_ART_GO_FORWARD_get() {
14265 PyObject *pyobj;
14266
14267 {
14268 #if wxUSE_UNICODE
14269 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14270 #else
14271 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14272 #endif
14273 }
14274 return pyobj;
14275 }
14276
14277
14278 static int _wrap_ART_GO_UP_set(PyObject *) {
14279 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14280 return 1;
14281 }
14282
14283
14284 static PyObject *_wrap_ART_GO_UP_get() {
14285 PyObject *pyobj;
14286
14287 {
14288 #if wxUSE_UNICODE
14289 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14290 #else
14291 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14292 #endif
14293 }
14294 return pyobj;
14295 }
14296
14297
14298 static int _wrap_ART_GO_DOWN_set(PyObject *) {
14299 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14300 return 1;
14301 }
14302
14303
14304 static PyObject *_wrap_ART_GO_DOWN_get() {
14305 PyObject *pyobj;
14306
14307 {
14308 #if wxUSE_UNICODE
14309 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14310 #else
14311 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14312 #endif
14313 }
14314 return pyobj;
14315 }
14316
14317
14318 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
14319 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14320 return 1;
14321 }
14322
14323
14324 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14325 PyObject *pyobj;
14326
14327 {
14328 #if wxUSE_UNICODE
14329 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14330 #else
14331 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14332 #endif
14333 }
14334 return pyobj;
14335 }
14336
14337
14338 static int _wrap_ART_GO_HOME_set(PyObject *) {
14339 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14340 return 1;
14341 }
14342
14343
14344 static PyObject *_wrap_ART_GO_HOME_get() {
14345 PyObject *pyobj;
14346
14347 {
14348 #if wxUSE_UNICODE
14349 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14350 #else
14351 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14352 #endif
14353 }
14354 return pyobj;
14355 }
14356
14357
14358 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
14359 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14360 return 1;
14361 }
14362
14363
14364 static PyObject *_wrap_ART_FILE_OPEN_get() {
14365 PyObject *pyobj;
14366
14367 {
14368 #if wxUSE_UNICODE
14369 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14370 #else
14371 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14372 #endif
14373 }
14374 return pyobj;
14375 }
14376
14377
14378 static int _wrap_ART_PRINT_set(PyObject *) {
14379 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14380 return 1;
14381 }
14382
14383
14384 static PyObject *_wrap_ART_PRINT_get() {
14385 PyObject *pyobj;
14386
14387 {
14388 #if wxUSE_UNICODE
14389 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14390 #else
14391 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14392 #endif
14393 }
14394 return pyobj;
14395 }
14396
14397
14398 static int _wrap_ART_HELP_set(PyObject *) {
14399 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14400 return 1;
14401 }
14402
14403
14404 static PyObject *_wrap_ART_HELP_get() {
14405 PyObject *pyobj;
14406
14407 {
14408 #if wxUSE_UNICODE
14409 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14410 #else
14411 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14412 #endif
14413 }
14414 return pyobj;
14415 }
14416
14417
14418 static int _wrap_ART_TIP_set(PyObject *) {
14419 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14420 return 1;
14421 }
14422
14423
14424 static PyObject *_wrap_ART_TIP_get() {
14425 PyObject *pyobj;
14426
14427 {
14428 #if wxUSE_UNICODE
14429 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14430 #else
14431 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14432 #endif
14433 }
14434 return pyobj;
14435 }
14436
14437
14438 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
14439 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14440 return 1;
14441 }
14442
14443
14444 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14445 PyObject *pyobj;
14446
14447 {
14448 #if wxUSE_UNICODE
14449 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14450 #else
14451 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14452 #endif
14453 }
14454 return pyobj;
14455 }
14456
14457
14458 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
14459 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14460 return 1;
14461 }
14462
14463
14464 static PyObject *_wrap_ART_LIST_VIEW_get() {
14465 PyObject *pyobj;
14466
14467 {
14468 #if wxUSE_UNICODE
14469 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14470 #else
14471 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14472 #endif
14473 }
14474 return pyobj;
14475 }
14476
14477
14478 static int _wrap_ART_NEW_DIR_set(PyObject *) {
14479 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14480 return 1;
14481 }
14482
14483
14484 static PyObject *_wrap_ART_NEW_DIR_get() {
14485 PyObject *pyobj;
14486
14487 {
14488 #if wxUSE_UNICODE
14489 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14490 #else
14491 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14492 #endif
14493 }
14494 return pyobj;
14495 }
14496
14497
14498 static int _wrap_ART_FOLDER_set(PyObject *) {
14499 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14500 return 1;
14501 }
14502
14503
14504 static PyObject *_wrap_ART_FOLDER_get() {
14505 PyObject *pyobj;
14506
14507 {
14508 #if wxUSE_UNICODE
14509 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14510 #else
14511 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14512 #endif
14513 }
14514 return pyobj;
14515 }
14516
14517
14518 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
14519 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14520 return 1;
14521 }
14522
14523
14524 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14525 PyObject *pyobj;
14526
14527 {
14528 #if wxUSE_UNICODE
14529 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14530 #else
14531 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14532 #endif
14533 }
14534 return pyobj;
14535 }
14536
14537
14538 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
14539 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14540 return 1;
14541 }
14542
14543
14544 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14545 PyObject *pyobj;
14546
14547 {
14548 #if wxUSE_UNICODE
14549 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14550 #else
14551 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14552 #endif
14553 }
14554 return pyobj;
14555 }
14556
14557
14558 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
14559 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14560 return 1;
14561 }
14562
14563
14564 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14565 PyObject *pyobj;
14566
14567 {
14568 #if wxUSE_UNICODE
14569 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14570 #else
14571 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14572 #endif
14573 }
14574 return pyobj;
14575 }
14576
14577
14578 static int _wrap_ART_TICK_MARK_set(PyObject *) {
14579 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14580 return 1;
14581 }
14582
14583
14584 static PyObject *_wrap_ART_TICK_MARK_get() {
14585 PyObject *pyobj;
14586
14587 {
14588 #if wxUSE_UNICODE
14589 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14590 #else
14591 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14592 #endif
14593 }
14594 return pyobj;
14595 }
14596
14597
14598 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
14599 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14600 return 1;
14601 }
14602
14603
14604 static PyObject *_wrap_ART_CROSS_MARK_get() {
14605 PyObject *pyobj;
14606
14607 {
14608 #if wxUSE_UNICODE
14609 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14610 #else
14611 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14612 #endif
14613 }
14614 return pyobj;
14615 }
14616
14617
14618 static int _wrap_ART_ERROR_set(PyObject *) {
14619 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14620 return 1;
14621 }
14622
14623
14624 static PyObject *_wrap_ART_ERROR_get() {
14625 PyObject *pyobj;
14626
14627 {
14628 #if wxUSE_UNICODE
14629 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14630 #else
14631 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14632 #endif
14633 }
14634 return pyobj;
14635 }
14636
14637
14638 static int _wrap_ART_QUESTION_set(PyObject *) {
14639 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14640 return 1;
14641 }
14642
14643
14644 static PyObject *_wrap_ART_QUESTION_get() {
14645 PyObject *pyobj;
14646
14647 {
14648 #if wxUSE_UNICODE
14649 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14650 #else
14651 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14652 #endif
14653 }
14654 return pyobj;
14655 }
14656
14657
14658 static int _wrap_ART_WARNING_set(PyObject *) {
14659 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14660 return 1;
14661 }
14662
14663
14664 static PyObject *_wrap_ART_WARNING_get() {
14665 PyObject *pyobj;
14666
14667 {
14668 #if wxUSE_UNICODE
14669 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14670 #else
14671 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14672 #endif
14673 }
14674 return pyobj;
14675 }
14676
14677
14678 static int _wrap_ART_INFORMATION_set(PyObject *) {
14679 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14680 return 1;
14681 }
14682
14683
14684 static PyObject *_wrap_ART_INFORMATION_get() {
14685 PyObject *pyobj;
14686
14687 {
14688 #if wxUSE_UNICODE
14689 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14690 #else
14691 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14692 #endif
14693 }
14694 return pyobj;
14695 }
14696
14697
14698 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
14699 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14700 return 1;
14701 }
14702
14703
14704 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14705 PyObject *pyobj;
14706
14707 {
14708 #if wxUSE_UNICODE
14709 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14710 #else
14711 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14712 #endif
14713 }
14714 return pyobj;
14715 }
14716
14717
14718 static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxPyArtProvider *result;
14721 char *kwnames[] = {
14722 NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14726 {
14727 if (!wxPyCheckForApp()) SWIG_fail;
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (wxPyArtProvider *)new wxPyArtProvider();
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14744 PyObject *arg2 = (PyObject *) 0 ;
14745 PyObject *arg3 = (PyObject *) 0 ;
14746 PyObject * obj0 = 0 ;
14747 PyObject * obj1 = 0 ;
14748 PyObject * obj2 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self",(char *) "self",(char *) "_class", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14756 arg2 = obj1;
14757 arg3 = obj2;
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 (arg1)->_setCallbackInfo(arg2,arg3);
14761
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 Py_INCREF(Py_None); resultobj = Py_None;
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj;
14774 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14775 PyObject * obj0 = 0 ;
14776 char *kwnames[] = {
14777 (char *) "provider", NULL
14778 };
14779
14780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 wxPyArtProvider::PushProvider(arg1);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 Py_INCREF(Py_None); resultobj = Py_None;
14791 return resultobj;
14792 fail:
14793 return NULL;
14794 }
14795
14796
14797 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 bool result;
14800 char *kwnames[] = {
14801 NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (bool)wxPyArtProvider::PopProvider();
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 {
14813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14814 }
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14824 bool result;
14825 PyObject * obj0 = 0 ;
14826 char *kwnames[] = {
14827 (char *) "provider", NULL
14828 };
14829
14830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 {
14841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14842 }
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxString *arg1 = 0 ;
14852 wxString const &arg2_defvalue = wxPyART_OTHER ;
14853 wxString *arg2 = (wxString *) &arg2_defvalue ;
14854 wxSize const &arg3_defvalue = wxDefaultSize ;
14855 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14856 wxBitmap result;
14857 bool temp1 = false ;
14858 bool temp2 = false ;
14859 wxSize temp3 ;
14860 PyObject * obj0 = 0 ;
14861 PyObject * obj1 = 0 ;
14862 PyObject * obj2 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "id",(char *) "client",(char *) "size", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14868 {
14869 arg1 = wxString_in_helper(obj0);
14870 if (arg1 == NULL) SWIG_fail;
14871 temp1 = true;
14872 }
14873 if (obj1) {
14874 {
14875 arg2 = wxString_in_helper(obj1);
14876 if (arg2 == NULL) SWIG_fail;
14877 temp2 = true;
14878 }
14879 }
14880 if (obj2) {
14881 {
14882 arg3 = &temp3;
14883 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14884 }
14885 }
14886 {
14887 if (!wxPyCheckForApp()) SWIG_fail;
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 {
14895 wxBitmap * resultptr;
14896 resultptr = new wxBitmap((wxBitmap &) result);
14897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14898 }
14899 {
14900 if (temp1)
14901 delete arg1;
14902 }
14903 {
14904 if (temp2)
14905 delete arg2;
14906 }
14907 return resultobj;
14908 fail:
14909 {
14910 if (temp1)
14911 delete arg1;
14912 }
14913 {
14914 if (temp2)
14915 delete arg2;
14916 }
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxString *arg1 = 0 ;
14924 wxString const &arg2_defvalue = wxPyART_OTHER ;
14925 wxString *arg2 = (wxString *) &arg2_defvalue ;
14926 wxSize const &arg3_defvalue = wxDefaultSize ;
14927 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14928 wxIcon result;
14929 bool temp1 = false ;
14930 bool temp2 = false ;
14931 wxSize temp3 ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj1 = 0 ;
14934 PyObject * obj2 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "id",(char *) "client",(char *) "size", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14940 {
14941 arg1 = wxString_in_helper(obj0);
14942 if (arg1 == NULL) SWIG_fail;
14943 temp1 = true;
14944 }
14945 if (obj1) {
14946 {
14947 arg2 = wxString_in_helper(obj1);
14948 if (arg2 == NULL) SWIG_fail;
14949 temp2 = true;
14950 }
14951 }
14952 if (obj2) {
14953 {
14954 arg3 = &temp3;
14955 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14956 }
14957 }
14958 {
14959 if (!wxPyCheckForApp()) SWIG_fail;
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14962
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 {
14967 wxIcon * resultptr;
14968 resultptr = new wxIcon((wxIcon &) result);
14969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14970 }
14971 {
14972 if (temp1)
14973 delete arg1;
14974 }
14975 {
14976 if (temp2)
14977 delete arg2;
14978 }
14979 return resultobj;
14980 fail:
14981 {
14982 if (temp1)
14983 delete arg1;
14984 }
14985 {
14986 if (temp2)
14987 delete arg2;
14988 }
14989 return NULL;
14990 }
14991
14992
14993 static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
14994 PyObject *resultobj;
14995 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 wxPyArtProvider_Destroy(arg1);
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 Py_INCREF(Py_None); resultobj = Py_None;
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
15019 PyObject *obj;
15020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
15022 Py_INCREF(obj);
15023 return Py_BuildValue((char *)"");
15024 }
15025 static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15028 PyObject * obj0 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 delete arg1;
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 Py_INCREF(Py_None); resultobj = Py_None;
15044 return resultobj;
15045 fail:
15046 return NULL;
15047 }
15048
15049
15050 static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15053 wxConfigBase *result;
15054 PyObject * obj0 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "config", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (wxConfigBase *)wxConfigBase::Set(arg1);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 bool arg1 = (bool) true ;
15079 wxConfigBase *result;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "createOnDemand", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
15086 if (obj0) {
15087 arg1 = (bool)SWIG_As_bool(obj0);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 result = (wxConfigBase *)wxConfigBase::Get(arg1);
15093
15094 wxPyEndAllowThreads(__tstate);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 }
15097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15098 return resultobj;
15099 fail:
15100 return NULL;
15101 }
15102
15103
15104 static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxConfigBase *result;
15107 char *kwnames[] = {
15108 NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (wxConfigBase *)wxConfigBase::Create();
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
15119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15120 return resultobj;
15121 fail:
15122 return NULL;
15123 }
15124
15125
15126 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 char *kwnames[] = {
15129 NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 wxConfigBase::DontCreateOnDemand();
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15150 wxString *arg2 = 0 ;
15151 bool temp2 = false ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "path", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15161 {
15162 arg2 = wxString_in_helper(obj1);
15163 if (arg2 == NULL) SWIG_fail;
15164 temp2 = true;
15165 }
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 (arg1)->SetPath((wxString const &)*arg2);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 Py_INCREF(Py_None); resultobj = Py_None;
15174 {
15175 if (temp2)
15176 delete arg2;
15177 }
15178 return resultobj;
15179 fail:
15180 {
15181 if (temp2)
15182 delete arg2;
15183 }
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15191 wxString *result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
15198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 {
15203 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
15204 result = (wxString *) &_result_ref;
15205 }
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 #if wxUSE_UNICODE
15212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15213 #else
15214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15215 #endif
15216 }
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15226 PyObject *result;
15227 PyObject * obj0 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
15233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = result;
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15252 long arg2 ;
15253 PyObject *result;
15254 PyObject * obj0 = 0 ;
15255 PyObject * obj1 = 0 ;
15256 char *kwnames[] = {
15257 (char *) "self",(char *) "index", NULL
15258 };
15259
15260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
15261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15263 arg2 = (long)SWIG_As_long(obj1);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = result;
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj;
15281 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15282 PyObject *result;
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = result;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15308 long arg2 ;
15309 PyObject *result;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self",(char *) "index", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15319 arg2 = (long)SWIG_As_long(obj1);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 resultobj = result;
15329 return resultobj;
15330 fail:
15331 return NULL;
15332 }
15333
15334
15335 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
15336 PyObject *resultobj;
15337 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15338 bool arg2 = (bool) false ;
15339 size_t result;
15340 PyObject * obj0 = 0 ;
15341 PyObject * obj1 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self",(char *) "recursive", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15349 if (obj1) {
15350 arg2 = (bool)SWIG_As_bool(obj1);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
15361 return resultobj;
15362 fail:
15363 return NULL;
15364 }
15365
15366
15367 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
15368 PyObject *resultobj;
15369 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15370 bool arg2 = (bool) false ;
15371 size_t result;
15372 PyObject * obj0 = 0 ;
15373 PyObject * obj1 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self",(char *) "recursive", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15381 if (obj1) {
15382 arg2 = (bool)SWIG_As_bool(obj1);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15388
15389 wxPyEndAllowThreads(__tstate);
15390 if (PyErr_Occurred()) SWIG_fail;
15391 }
15392 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15402 wxString *arg2 = 0 ;
15403 bool result;
15404 bool temp2 = false ;
15405 PyObject * obj0 = 0 ;
15406 PyObject * obj1 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self",(char *) "name", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15414 {
15415 arg2 = wxString_in_helper(obj1);
15416 if (arg2 == NULL) SWIG_fail;
15417 temp2 = true;
15418 }
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 {
15427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15428 }
15429 {
15430 if (temp2)
15431 delete arg2;
15432 }
15433 return resultobj;
15434 fail:
15435 {
15436 if (temp2)
15437 delete arg2;
15438 }
15439 return NULL;
15440 }
15441
15442
15443 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15444 PyObject *resultobj;
15445 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15446 wxString *arg2 = 0 ;
15447 bool result;
15448 bool temp2 = false ;
15449 PyObject * obj0 = 0 ;
15450 PyObject * obj1 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self",(char *) "name", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15458 {
15459 arg2 = wxString_in_helper(obj1);
15460 if (arg2 == NULL) SWIG_fail;
15461 temp2 = true;
15462 }
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 {
15471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15472 }
15473 {
15474 if (temp2)
15475 delete arg2;
15476 }
15477 return resultobj;
15478 fail:
15479 {
15480 if (temp2)
15481 delete arg2;
15482 }
15483 return NULL;
15484 }
15485
15486
15487 static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj;
15489 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15490 wxString *arg2 = 0 ;
15491 bool result;
15492 bool temp2 = false ;
15493 PyObject * obj0 = 0 ;
15494 PyObject * obj1 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self",(char *) "name", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15502 {
15503 arg2 = wxString_in_helper(obj1);
15504 if (arg2 == NULL) SWIG_fail;
15505 temp2 = true;
15506 }
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 {
15515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15516 }
15517 {
15518 if (temp2)
15519 delete arg2;
15520 }
15521 return resultobj;
15522 fail:
15523 {
15524 if (temp2)
15525 delete arg2;
15526 }
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15534 wxString *arg2 = 0 ;
15535 int result;
15536 bool temp2 = false ;
15537 PyObject * obj0 = 0 ;
15538 PyObject * obj1 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self",(char *) "name", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15546 {
15547 arg2 = wxString_in_helper(obj1);
15548 if (arg2 == NULL) SWIG_fail;
15549 temp2 = true;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 resultobj = SWIG_From_int((int)result);
15559 {
15560 if (temp2)
15561 delete arg2;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 return NULL;
15570 }
15571
15572
15573 static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15576 wxString *arg2 = 0 ;
15577 wxString const &arg3_defvalue = wxPyEmptyString ;
15578 wxString *arg3 = (wxString *) &arg3_defvalue ;
15579 wxString result;
15580 bool temp2 = false ;
15581 bool temp3 = false ;
15582 PyObject * obj0 = 0 ;
15583 PyObject * obj1 = 0 ;
15584 PyObject * obj2 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15592 {
15593 arg2 = wxString_in_helper(obj1);
15594 if (arg2 == NULL) SWIG_fail;
15595 temp2 = true;
15596 }
15597 if (obj2) {
15598 {
15599 arg3 = wxString_in_helper(obj2);
15600 if (arg3 == NULL) SWIG_fail;
15601 temp3 = true;
15602 }
15603 }
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 {
15612 #if wxUSE_UNICODE
15613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15614 #else
15615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15616 #endif
15617 }
15618 {
15619 if (temp2)
15620 delete arg2;
15621 }
15622 {
15623 if (temp3)
15624 delete arg3;
15625 }
15626 return resultobj;
15627 fail:
15628 {
15629 if (temp2)
15630 delete arg2;
15631 }
15632 {
15633 if (temp3)
15634 delete arg3;
15635 }
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15643 wxString *arg2 = 0 ;
15644 long arg3 = (long) 0 ;
15645 long result;
15646 bool temp2 = false ;
15647 PyObject * obj0 = 0 ;
15648 PyObject * obj1 = 0 ;
15649 PyObject * obj2 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15657 {
15658 arg2 = wxString_in_helper(obj1);
15659 if (arg2 == NULL) SWIG_fail;
15660 temp2 = true;
15661 }
15662 if (obj2) {
15663 arg3 = (long)SWIG_As_long(obj2);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 resultobj = SWIG_From_long((long)result);
15674 {
15675 if (temp2)
15676 delete arg2;
15677 }
15678 return resultobj;
15679 fail:
15680 {
15681 if (temp2)
15682 delete arg2;
15683 }
15684 return NULL;
15685 }
15686
15687
15688 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15691 wxString *arg2 = 0 ;
15692 double arg3 = (double) 0.0 ;
15693 double result;
15694 bool temp2 = false ;
15695 PyObject * obj0 = 0 ;
15696 PyObject * obj1 = 0 ;
15697 PyObject * obj2 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15700 };
15701
15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15705 {
15706 arg2 = wxString_in_helper(obj1);
15707 if (arg2 == NULL) SWIG_fail;
15708 temp2 = true;
15709 }
15710 if (obj2) {
15711 arg3 = (double)SWIG_As_double(obj2);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = SWIG_From_double((double)result);
15722 {
15723 if (temp2)
15724 delete arg2;
15725 }
15726 return resultobj;
15727 fail:
15728 {
15729 if (temp2)
15730 delete arg2;
15731 }
15732 return NULL;
15733 }
15734
15735
15736 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj;
15738 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15739 wxString *arg2 = 0 ;
15740 bool arg3 = (bool) false ;
15741 bool result;
15742 bool temp2 = false ;
15743 PyObject * obj0 = 0 ;
15744 PyObject * obj1 = 0 ;
15745 PyObject * obj2 = 0 ;
15746 char *kwnames[] = {
15747 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15748 };
15749
15750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15753 {
15754 arg2 = wxString_in_helper(obj1);
15755 if (arg2 == NULL) SWIG_fail;
15756 temp2 = true;
15757 }
15758 if (obj2) {
15759 arg3 = (bool)SWIG_As_bool(obj2);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 {
15770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15771 }
15772 {
15773 if (temp2)
15774 delete arg2;
15775 }
15776 return resultobj;
15777 fail:
15778 {
15779 if (temp2)
15780 delete arg2;
15781 }
15782 return NULL;
15783 }
15784
15785
15786 static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15789 wxString *arg2 = 0 ;
15790 wxString *arg3 = 0 ;
15791 bool result;
15792 bool temp2 = false ;
15793 bool temp3 = false ;
15794 PyObject * obj0 = 0 ;
15795 PyObject * obj1 = 0 ;
15796 PyObject * obj2 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "key",(char *) "value", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15804 {
15805 arg2 = wxString_in_helper(obj1);
15806 if (arg2 == NULL) SWIG_fail;
15807 temp2 = true;
15808 }
15809 {
15810 arg3 = wxString_in_helper(obj2);
15811 if (arg3 == NULL) SWIG_fail;
15812 temp3 = true;
15813 }
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 {
15822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15823 }
15824 {
15825 if (temp2)
15826 delete arg2;
15827 }
15828 {
15829 if (temp3)
15830 delete arg3;
15831 }
15832 return resultobj;
15833 fail:
15834 {
15835 if (temp2)
15836 delete arg2;
15837 }
15838 {
15839 if (temp3)
15840 delete arg3;
15841 }
15842 return NULL;
15843 }
15844
15845
15846 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
15847 PyObject *resultobj;
15848 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15849 wxString *arg2 = 0 ;
15850 long arg3 ;
15851 bool result;
15852 bool temp2 = false ;
15853 PyObject * obj0 = 0 ;
15854 PyObject * obj1 = 0 ;
15855 PyObject * obj2 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self",(char *) "key",(char *) "value", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15863 {
15864 arg2 = wxString_in_helper(obj1);
15865 if (arg2 == NULL) SWIG_fail;
15866 temp2 = true;
15867 }
15868 arg3 = (long)SWIG_As_long(obj2);
15869 if (PyErr_Occurred()) SWIG_fail;
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 {
15878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15879 }
15880 {
15881 if (temp2)
15882 delete arg2;
15883 }
15884 return resultobj;
15885 fail:
15886 {
15887 if (temp2)
15888 delete arg2;
15889 }
15890 return NULL;
15891 }
15892
15893
15894 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15897 wxString *arg2 = 0 ;
15898 double arg3 ;
15899 bool result;
15900 bool temp2 = false ;
15901 PyObject * obj0 = 0 ;
15902 PyObject * obj1 = 0 ;
15903 PyObject * obj2 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "key",(char *) "value", NULL
15906 };
15907
15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15911 {
15912 arg2 = wxString_in_helper(obj1);
15913 if (arg2 == NULL) SWIG_fail;
15914 temp2 = true;
15915 }
15916 arg3 = (double)SWIG_As_double(obj2);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15921
15922 wxPyEndAllowThreads(__tstate);
15923 if (PyErr_Occurred()) SWIG_fail;
15924 }
15925 {
15926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15927 }
15928 {
15929 if (temp2)
15930 delete arg2;
15931 }
15932 return resultobj;
15933 fail:
15934 {
15935 if (temp2)
15936 delete arg2;
15937 }
15938 return NULL;
15939 }
15940
15941
15942 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
15943 PyObject *resultobj;
15944 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15945 wxString *arg2 = 0 ;
15946 bool arg3 ;
15947 bool result;
15948 bool temp2 = false ;
15949 PyObject * obj0 = 0 ;
15950 PyObject * obj1 = 0 ;
15951 PyObject * obj2 = 0 ;
15952 char *kwnames[] = {
15953 (char *) "self",(char *) "key",(char *) "value", NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15959 {
15960 arg2 = wxString_in_helper(obj1);
15961 if (arg2 == NULL) SWIG_fail;
15962 temp2 = true;
15963 }
15964 arg3 = (bool)SWIG_As_bool(obj2);
15965 if (PyErr_Occurred()) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15975 }
15976 {
15977 if (temp2)
15978 delete arg2;
15979 }
15980 return resultobj;
15981 fail:
15982 {
15983 if (temp2)
15984 delete arg2;
15985 }
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15993 bool arg2 = (bool) false ;
15994 bool result;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "currentOnly", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16004 if (obj1) {
16005 arg2 = (bool)SWIG_As_bool(obj1);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 {
16009 PyThreadState* __tstate = wxPyBeginAllowThreads();
16010 result = (bool)(arg1)->Flush(arg2);
16011
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 {
16016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16017 }
16018 return resultobj;
16019 fail:
16020 return NULL;
16021 }
16022
16023
16024 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
16025 PyObject *resultobj;
16026 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16027 wxString *arg2 = 0 ;
16028 wxString *arg3 = 0 ;
16029 bool result;
16030 bool temp2 = false ;
16031 bool temp3 = false ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 PyObject * obj2 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16042 {
16043 arg2 = wxString_in_helper(obj1);
16044 if (arg2 == NULL) SWIG_fail;
16045 temp2 = true;
16046 }
16047 {
16048 arg3 = wxString_in_helper(obj2);
16049 if (arg3 == NULL) SWIG_fail;
16050 temp3 = true;
16051 }
16052 {
16053 PyThreadState* __tstate = wxPyBeginAllowThreads();
16054 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
16055
16056 wxPyEndAllowThreads(__tstate);
16057 if (PyErr_Occurred()) SWIG_fail;
16058 }
16059 {
16060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16061 }
16062 {
16063 if (temp2)
16064 delete arg2;
16065 }
16066 {
16067 if (temp3)
16068 delete arg3;
16069 }
16070 return resultobj;
16071 fail:
16072 {
16073 if (temp2)
16074 delete arg2;
16075 }
16076 {
16077 if (temp3)
16078 delete arg3;
16079 }
16080 return NULL;
16081 }
16082
16083
16084 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16087 wxString *arg2 = 0 ;
16088 wxString *arg3 = 0 ;
16089 bool result;
16090 bool temp2 = false ;
16091 bool temp3 = false ;
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 PyObject * obj2 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
16100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16102 {
16103 arg2 = wxString_in_helper(obj1);
16104 if (arg2 == NULL) SWIG_fail;
16105 temp2 = true;
16106 }
16107 {
16108 arg3 = wxString_in_helper(obj2);
16109 if (arg3 == NULL) SWIG_fail;
16110 temp3 = true;
16111 }
16112 {
16113 PyThreadState* __tstate = wxPyBeginAllowThreads();
16114 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
16115
16116 wxPyEndAllowThreads(__tstate);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 {
16120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16121 }
16122 {
16123 if (temp2)
16124 delete arg2;
16125 }
16126 {
16127 if (temp3)
16128 delete arg3;
16129 }
16130 return resultobj;
16131 fail:
16132 {
16133 if (temp2)
16134 delete arg2;
16135 }
16136 {
16137 if (temp3)
16138 delete arg3;
16139 }
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16147 wxString *arg2 = 0 ;
16148 bool arg3 = (bool) true ;
16149 bool result;
16150 bool temp2 = false ;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 PyObject * obj2 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16161 {
16162 arg2 = wxString_in_helper(obj1);
16163 if (arg2 == NULL) SWIG_fail;
16164 temp2 = true;
16165 }
16166 if (obj2) {
16167 arg3 = (bool)SWIG_As_bool(obj2);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
16173
16174 wxPyEndAllowThreads(__tstate);
16175 if (PyErr_Occurred()) SWIG_fail;
16176 }
16177 {
16178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16179 }
16180 {
16181 if (temp2)
16182 delete arg2;
16183 }
16184 return resultobj;
16185 fail:
16186 {
16187 if (temp2)
16188 delete arg2;
16189 }
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16197 wxString *arg2 = 0 ;
16198 bool result;
16199 bool temp2 = false ;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self",(char *) "key", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16209 {
16210 arg2 = wxString_in_helper(obj1);
16211 if (arg2 == NULL) SWIG_fail;
16212 temp2 = true;
16213 }
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 {
16222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16223 }
16224 {
16225 if (temp2)
16226 delete arg2;
16227 }
16228 return resultobj;
16229 fail:
16230 {
16231 if (temp2)
16232 delete arg2;
16233 }
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16241 bool result;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (bool)(arg1)->DeleteAll();
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16259 }
16260 return resultobj;
16261 fail:
16262 return NULL;
16263 }
16264
16265
16266 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16267 PyObject *resultobj;
16268 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16269 bool arg2 = (bool) true ;
16270 PyObject * obj0 = 0 ;
16271 PyObject * obj1 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self",(char *) "doIt", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16279 if (obj1) {
16280 arg2 = (bool)SWIG_As_bool(obj1);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 (arg1)->SetExpandEnvVars(arg2);
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
16290 Py_INCREF(Py_None); resultobj = Py_None;
16291 return resultobj;
16292 fail:
16293 return NULL;
16294 }
16295
16296
16297 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16300 bool result;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16309 {
16310 PyThreadState* __tstate = wxPyBeginAllowThreads();
16311 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16312
16313 wxPyEndAllowThreads(__tstate);
16314 if (PyErr_Occurred()) SWIG_fail;
16315 }
16316 {
16317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16318 }
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16328 bool arg2 = (bool) true ;
16329 PyObject * obj0 = 0 ;
16330 PyObject * obj1 = 0 ;
16331 char *kwnames[] = {
16332 (char *) "self",(char *) "doIt", NULL
16333 };
16334
16335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16338 if (obj1) {
16339 arg2 = (bool)SWIG_As_bool(obj1);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 (arg1)->SetRecordDefaults(arg2);
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 Py_INCREF(Py_None); resultobj = Py_None;
16350 return resultobj;
16351 fail:
16352 return NULL;
16353 }
16354
16355
16356 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16359 bool result;
16360 PyObject * obj0 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16368 {
16369 PyThreadState* __tstate = wxPyBeginAllowThreads();
16370 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16371
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 {
16376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16377 }
16378 return resultobj;
16379 fail:
16380 return NULL;
16381 }
16382
16383
16384 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16387 wxString *arg2 = 0 ;
16388 wxString result;
16389 bool temp2 = false ;
16390 PyObject * obj0 = 0 ;
16391 PyObject * obj1 = 0 ;
16392 char *kwnames[] = {
16393 (char *) "self",(char *) "str", NULL
16394 };
16395
16396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16399 {
16400 arg2 = wxString_in_helper(obj1);
16401 if (arg2 == NULL) SWIG_fail;
16402 temp2 = true;
16403 }
16404 {
16405 PyThreadState* __tstate = wxPyBeginAllowThreads();
16406 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16407
16408 wxPyEndAllowThreads(__tstate);
16409 if (PyErr_Occurred()) SWIG_fail;
16410 }
16411 {
16412 #if wxUSE_UNICODE
16413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16414 #else
16415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16416 #endif
16417 }
16418 {
16419 if (temp2)
16420 delete arg2;
16421 }
16422 return resultobj;
16423 fail:
16424 {
16425 if (temp2)
16426 delete arg2;
16427 }
16428 return NULL;
16429 }
16430
16431
16432 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16433 PyObject *resultobj;
16434 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16435 wxString result;
16436 PyObject * obj0 = 0 ;
16437 char *kwnames[] = {
16438 (char *) "self", NULL
16439 };
16440
16441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = ((wxConfigBase const *)arg1)->GetAppName();
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
16451 {
16452 #if wxUSE_UNICODE
16453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16454 #else
16455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16456 #endif
16457 }
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16467 wxString result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = ((wxConfigBase const *)arg1)->GetVendorName();
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 {
16484 #if wxUSE_UNICODE
16485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16486 #else
16487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16488 #endif
16489 }
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16499 wxString *arg2 = 0 ;
16500 bool temp2 = false ;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "appName", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 {
16511 arg2 = wxString_in_helper(obj1);
16512 if (arg2 == NULL) SWIG_fail;
16513 temp2 = true;
16514 }
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetAppName((wxString const &)*arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 {
16524 if (temp2)
16525 delete arg2;
16526 }
16527 return resultobj;
16528 fail:
16529 {
16530 if (temp2)
16531 delete arg2;
16532 }
16533 return NULL;
16534 }
16535
16536
16537 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16538 PyObject *resultobj;
16539 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16540 wxString *arg2 = 0 ;
16541 bool temp2 = false ;
16542 PyObject * obj0 = 0 ;
16543 PyObject * obj1 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self",(char *) "vendorName", NULL
16546 };
16547
16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16551 {
16552 arg2 = wxString_in_helper(obj1);
16553 if (arg2 == NULL) SWIG_fail;
16554 temp2 = true;
16555 }
16556 {
16557 PyThreadState* __tstate = wxPyBeginAllowThreads();
16558 (arg1)->SetVendorName((wxString const &)*arg2);
16559
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 Py_INCREF(Py_None); resultobj = Py_None;
16564 {
16565 if (temp2)
16566 delete arg2;
16567 }
16568 return resultobj;
16569 fail:
16570 {
16571 if (temp2)
16572 delete arg2;
16573 }
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16581 long arg2 ;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self",(char *) "style", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16591 arg2 = (long)SWIG_As_long(obj1);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 {
16594 PyThreadState* __tstate = wxPyBeginAllowThreads();
16595 (arg1)->SetStyle(arg2);
16596
16597 wxPyEndAllowThreads(__tstate);
16598 if (PyErr_Occurred()) SWIG_fail;
16599 }
16600 Py_INCREF(Py_None); resultobj = Py_None;
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16610 long result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_From_long((long)result);
16627 return resultobj;
16628 fail:
16629 return NULL;
16630 }
16631
16632
16633 static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
16634 PyObject *obj;
16635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16636 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16637 Py_INCREF(obj);
16638 return Py_BuildValue((char *)"");
16639 }
16640 static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxString const &arg1_defvalue = wxPyEmptyString ;
16643 wxString *arg1 = (wxString *) &arg1_defvalue ;
16644 wxString const &arg2_defvalue = wxPyEmptyString ;
16645 wxString *arg2 = (wxString *) &arg2_defvalue ;
16646 wxString const &arg3_defvalue = wxPyEmptyString ;
16647 wxString *arg3 = (wxString *) &arg3_defvalue ;
16648 wxString const &arg4_defvalue = wxPyEmptyString ;
16649 wxString *arg4 = (wxString *) &arg4_defvalue ;
16650 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16651 wxConfig *result;
16652 bool temp1 = false ;
16653 bool temp2 = false ;
16654 bool temp3 = false ;
16655 bool temp4 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 PyObject * obj3 = 0 ;
16660 PyObject * obj4 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16666 if (obj0) {
16667 {
16668 arg1 = wxString_in_helper(obj0);
16669 if (arg1 == NULL) SWIG_fail;
16670 temp1 = true;
16671 }
16672 }
16673 if (obj1) {
16674 {
16675 arg2 = wxString_in_helper(obj1);
16676 if (arg2 == NULL) SWIG_fail;
16677 temp2 = true;
16678 }
16679 }
16680 if (obj2) {
16681 {
16682 arg3 = wxString_in_helper(obj2);
16683 if (arg3 == NULL) SWIG_fail;
16684 temp3 = true;
16685 }
16686 }
16687 if (obj3) {
16688 {
16689 arg4 = wxString_in_helper(obj3);
16690 if (arg4 == NULL) SWIG_fail;
16691 temp4 = true;
16692 }
16693 }
16694 if (obj4) {
16695 arg5 = (long)SWIG_As_long(obj4);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 }
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16706 {
16707 if (temp1)
16708 delete arg1;
16709 }
16710 {
16711 if (temp2)
16712 delete arg2;
16713 }
16714 {
16715 if (temp3)
16716 delete arg3;
16717 }
16718 {
16719 if (temp4)
16720 delete arg4;
16721 }
16722 return resultobj;
16723 fail:
16724 {
16725 if (temp1)
16726 delete arg1;
16727 }
16728 {
16729 if (temp2)
16730 delete arg2;
16731 }
16732 {
16733 if (temp3)
16734 delete arg3;
16735 }
16736 {
16737 if (temp4)
16738 delete arg4;
16739 }
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxConfig *arg1 = (wxConfig *) 0 ;
16747 PyObject * obj0 = 0 ;
16748 char *kwnames[] = {
16749 (char *) "self", NULL
16750 };
16751
16752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 delete arg1;
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 Py_INCREF(Py_None); resultobj = Py_None;
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject * Config_swigregister(PyObject *, PyObject *args) {
16770 PyObject *obj;
16771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16772 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16773 Py_INCREF(obj);
16774 return Py_BuildValue((char *)"");
16775 }
16776 static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj;
16778 wxString const &arg1_defvalue = wxPyEmptyString ;
16779 wxString *arg1 = (wxString *) &arg1_defvalue ;
16780 wxString const &arg2_defvalue = wxPyEmptyString ;
16781 wxString *arg2 = (wxString *) &arg2_defvalue ;
16782 wxString const &arg3_defvalue = wxPyEmptyString ;
16783 wxString *arg3 = (wxString *) &arg3_defvalue ;
16784 wxString const &arg4_defvalue = wxPyEmptyString ;
16785 wxString *arg4 = (wxString *) &arg4_defvalue ;
16786 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16787 wxFileConfig *result;
16788 bool temp1 = false ;
16789 bool temp2 = false ;
16790 bool temp3 = false ;
16791 bool temp4 = false ;
16792 PyObject * obj0 = 0 ;
16793 PyObject * obj1 = 0 ;
16794 PyObject * obj2 = 0 ;
16795 PyObject * obj3 = 0 ;
16796 PyObject * obj4 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16802 if (obj0) {
16803 {
16804 arg1 = wxString_in_helper(obj0);
16805 if (arg1 == NULL) SWIG_fail;
16806 temp1 = true;
16807 }
16808 }
16809 if (obj1) {
16810 {
16811 arg2 = wxString_in_helper(obj1);
16812 if (arg2 == NULL) SWIG_fail;
16813 temp2 = true;
16814 }
16815 }
16816 if (obj2) {
16817 {
16818 arg3 = wxString_in_helper(obj2);
16819 if (arg3 == NULL) SWIG_fail;
16820 temp3 = true;
16821 }
16822 }
16823 if (obj3) {
16824 {
16825 arg4 = wxString_in_helper(obj3);
16826 if (arg4 == NULL) SWIG_fail;
16827 temp4 = true;
16828 }
16829 }
16830 if (obj4) {
16831 arg5 = (long)SWIG_As_long(obj4);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16837
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16842 {
16843 if (temp1)
16844 delete arg1;
16845 }
16846 {
16847 if (temp2)
16848 delete arg2;
16849 }
16850 {
16851 if (temp3)
16852 delete arg3;
16853 }
16854 {
16855 if (temp4)
16856 delete arg4;
16857 }
16858 return resultobj;
16859 fail:
16860 {
16861 if (temp1)
16862 delete arg1;
16863 }
16864 {
16865 if (temp2)
16866 delete arg2;
16867 }
16868 {
16869 if (temp3)
16870 delete arg3;
16871 }
16872 {
16873 if (temp4)
16874 delete arg4;
16875 }
16876 return NULL;
16877 }
16878
16879
16880 static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16881 PyObject *resultobj;
16882 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16891 {
16892 PyThreadState* __tstate = wxPyBeginAllowThreads();
16893 delete arg1;
16894
16895 wxPyEndAllowThreads(__tstate);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 Py_INCREF(Py_None); resultobj = Py_None;
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
16906 PyObject *obj;
16907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16908 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16909 Py_INCREF(obj);
16910 return Py_BuildValue((char *)"");
16911 }
16912 static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16915 wxString *arg2 = 0 ;
16916 wxConfigPathChanger *result;
16917 bool temp2 = false ;
16918 PyObject * obj0 = 0 ;
16919 PyObject * obj1 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "config",(char *) "entry", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16927 {
16928 arg2 = wxString_in_helper(obj1);
16929 if (arg2 == NULL) SWIG_fail;
16930 temp2 = true;
16931 }
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16940 {
16941 if (temp2)
16942 delete arg2;
16943 }
16944 return resultobj;
16945 fail:
16946 {
16947 if (temp2)
16948 delete arg2;
16949 }
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 delete arg1;
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16982 wxString *result;
16983 PyObject * obj0 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16991 {
16992 PyThreadState* __tstate = wxPyBeginAllowThreads();
16993 {
16994 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16995 result = (wxString *) &_result_ref;
16996 }
16997
16998 wxPyEndAllowThreads(__tstate);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 }
17001 {
17002 #if wxUSE_UNICODE
17003 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17004 #else
17005 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17006 #endif
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
17015 PyObject *obj;
17016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17017 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
17018 Py_INCREF(obj);
17019 return Py_BuildValue((char *)"");
17020 }
17021 static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxString *arg1 = 0 ;
17024 wxString result;
17025 bool temp1 = false ;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "sz", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
17032 {
17033 arg1 = wxString_in_helper(obj0);
17034 if (arg1 == NULL) SWIG_fail;
17035 temp1 = true;
17036 }
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = wxExpandEnvVars((wxString const &)*arg1);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 {
17045 #if wxUSE_UNICODE
17046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17047 #else
17048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17049 #endif
17050 }
17051 {
17052 if (temp1)
17053 delete arg1;
17054 }
17055 return resultobj;
17056 fail:
17057 {
17058 if (temp1)
17059 delete arg1;
17060 }
17061 return NULL;
17062 }
17063
17064
17065 static int _wrap_DateFormatStr_set(PyObject *) {
17066 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
17067 return 1;
17068 }
17069
17070
17071 static PyObject *_wrap_DateFormatStr_get() {
17072 PyObject *pyobj;
17073
17074 {
17075 #if wxUSE_UNICODE
17076 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17077 #else
17078 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17079 #endif
17080 }
17081 return pyobj;
17082 }
17083
17084
17085 static int _wrap_TimeSpanFormatStr_set(PyObject *) {
17086 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
17087 return 1;
17088 }
17089
17090
17091 static PyObject *_wrap_TimeSpanFormatStr_get() {
17092 PyObject *pyobj;
17093
17094 {
17095 #if wxUSE_UNICODE
17096 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17097 #else
17098 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17099 #endif
17100 }
17101 return pyobj;
17102 }
17103
17104
17105 static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17106 PyObject *resultobj;
17107 int arg1 ;
17108 PyObject * obj0 = 0 ;
17109 char *kwnames[] = {
17110 (char *) "country", NULL
17111 };
17112
17113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
17114 arg1 = (int)SWIG_As_int(obj0);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 wxDateTime::SetCountry((wxDateTime::Country )arg1);
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 Py_INCREF(Py_None); resultobj = Py_None;
17124 return resultobj;
17125 fail:
17126 return NULL;
17127 }
17128
17129
17130 static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 int result;
17133 char *kwnames[] = {
17134 NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 result = (int)wxDateTime::GetCountry();
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 resultobj = SWIG_From_int((int)result);
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 int arg1 = (int) wxDateTime::Country_Default ;
17155 bool result;
17156 PyObject * obj0 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "country", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
17162 if (obj0) {
17163 arg1 = (int)SWIG_As_int(obj0);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 {
17174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17175 }
17176 return resultobj;
17177 fail:
17178 return NULL;
17179 }
17180
17181
17182 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
17183 PyObject *resultobj;
17184 int arg1 = (int) wxDateTime::Gregorian ;
17185 int result;
17186 PyObject * obj0 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "cal", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
17192 if (obj0) {
17193 arg1 = (int)SWIG_As_int(obj0);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 resultobj = SWIG_From_int((int)result);
17204 return resultobj;
17205 fail:
17206 return NULL;
17207 }
17208
17209
17210 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 int arg1 ;
17213 int result;
17214 PyObject * obj0 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "year", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
17220 arg1 = (int)SWIG_As_int(obj0);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 result = (int)wxDateTime::ConvertYearToBC(arg1);
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 resultobj = SWIG_From_int((int)result);
17230 return resultobj;
17231 fail:
17232 return NULL;
17233 }
17234
17235
17236 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 int arg1 = (int) wxDateTime::Gregorian ;
17239 int result;
17240 PyObject * obj0 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "cal", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
17246 if (obj0) {
17247 arg1 = (int)SWIG_As_int(obj0);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 resultobj = SWIG_From_int((int)result);
17258 return resultobj;
17259 fail:
17260 return NULL;
17261 }
17262
17263
17264 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
17265 PyObject *resultobj;
17266 int arg1 = (int) wxDateTime::Inv_Year ;
17267 int arg2 = (int) wxDateTime::Gregorian ;
17268 bool result;
17269 PyObject * obj0 = 0 ;
17270 PyObject * obj1 = 0 ;
17271 char *kwnames[] = {
17272 (char *) "year",(char *) "cal", NULL
17273 };
17274
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17276 if (obj0) {
17277 arg1 = (int)SWIG_As_int(obj0);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 if (obj1) {
17281 arg2 = (int)SWIG_As_int(obj1);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 {
17292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17293 }
17294 return resultobj;
17295 fail:
17296 return NULL;
17297 }
17298
17299
17300 static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj;
17302 int arg1 = (int) wxDateTime::Inv_Year ;
17303 int result;
17304 PyObject * obj0 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "year", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17310 if (obj0) {
17311 arg1 = (int)SWIG_As_int(obj0);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (int)wxDateTime::GetCentury(arg1);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = SWIG_From_int((int)result);
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 int arg1 ;
17331 int arg2 = (int) wxDateTime::Gregorian ;
17332 int result;
17333 PyObject * obj0 = 0 ;
17334 PyObject * obj1 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "year",(char *) "cal", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17340 arg1 = (int)SWIG_As_int(obj0);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 if (obj1) {
17343 arg2 = (int)SWIG_As_int(obj1);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 resultobj = SWIG_From_int((int)result);
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 int arg1 ;
17363 int arg2 = (int) wxDateTime::Inv_Year ;
17364 int arg3 = (int) wxDateTime::Gregorian ;
17365 int result;
17366 PyObject * obj0 = 0 ;
17367 PyObject * obj1 = 0 ;
17368 PyObject * obj2 = 0 ;
17369 char *kwnames[] = {
17370 (char *) "month",(char *) "year",(char *) "cal", NULL
17371 };
17372
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17374 arg1 = (int)SWIG_As_int(obj0);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 if (obj1) {
17377 arg2 = (int)SWIG_As_int(obj1);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 if (obj2) {
17381 arg3 = (int)SWIG_As_int(obj2);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
17391 resultobj = SWIG_From_int((int)result);
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 int arg1 ;
17401 int arg2 = (int) wxDateTime::Name_Full ;
17402 wxString result;
17403 PyObject * obj0 = 0 ;
17404 PyObject * obj1 = 0 ;
17405 char *kwnames[] = {
17406 (char *) "month",(char *) "flags", NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17410 arg1 = (int)SWIG_As_int(obj0);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 if (obj1) {
17413 arg2 = (int)SWIG_As_int(obj1);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 #if wxUSE_UNICODE
17425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17426 #else
17427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17428 #endif
17429 }
17430 return resultobj;
17431 fail:
17432 return NULL;
17433 }
17434
17435
17436 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
17437 PyObject *resultobj;
17438 int arg1 ;
17439 int arg2 = (int) wxDateTime::Name_Full ;
17440 wxString result;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 char *kwnames[] = {
17444 (char *) "weekday",(char *) "flags", NULL
17445 };
17446
17447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17448 arg1 = (int)SWIG_As_int(obj0);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 if (obj1) {
17451 arg2 = (int)SWIG_As_int(obj1);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 {
17455 PyThreadState* __tstate = wxPyBeginAllowThreads();
17456 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17457
17458 wxPyEndAllowThreads(__tstate);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 {
17462 #if wxUSE_UNICODE
17463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17464 #else
17465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17466 #endif
17467 }
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxString *arg1 = (wxString *) 0 ;
17477 wxString *arg2 = (wxString *) 0 ;
17478 bool temp1 = false ;
17479 bool temp2 = false ;
17480 PyObject * obj0 = 0 ;
17481 PyObject * obj1 = 0 ;
17482 char *kwnames[] = {
17483 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17484 };
17485
17486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17487 {
17488 arg1 = wxString_in_helper(obj0);
17489 if (arg1 == NULL) SWIG_fail;
17490 temp1 = true;
17491 }
17492 {
17493 arg2 = wxString_in_helper(obj1);
17494 if (arg2 == NULL) SWIG_fail;
17495 temp2 = true;
17496 }
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 wxDateTime::GetAmPmStrings(arg1,arg2);
17500
17501 wxPyEndAllowThreads(__tstate);
17502 if (PyErr_Occurred()) SWIG_fail;
17503 }
17504 Py_INCREF(Py_None); resultobj = Py_None;
17505 {
17506 if (temp1)
17507 delete arg1;
17508 }
17509 {
17510 if (temp2)
17511 delete arg2;
17512 }
17513 return resultobj;
17514 fail:
17515 {
17516 if (temp1)
17517 delete arg1;
17518 }
17519 {
17520 if (temp2)
17521 delete arg2;
17522 }
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 int arg1 = (int) wxDateTime::Inv_Year ;
17530 int arg2 = (int) wxDateTime::Country_Default ;
17531 bool result;
17532 PyObject * obj0 = 0 ;
17533 PyObject * obj1 = 0 ;
17534 char *kwnames[] = {
17535 (char *) "year",(char *) "country", NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17539 if (obj0) {
17540 arg1 = (int)SWIG_As_int(obj0);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 if (obj1) {
17544 arg2 = (int)SWIG_As_int(obj1);
17545 if (PyErr_Occurred()) SWIG_fail;
17546 }
17547 {
17548 PyThreadState* __tstate = wxPyBeginAllowThreads();
17549 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17550
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 {
17555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17556 }
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 int arg1 = (int) wxDateTime::Inv_Year ;
17566 int arg2 = (int) wxDateTime::Country_Default ;
17567 wxDateTime result;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "year",(char *) "country", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17575 if (obj0) {
17576 arg1 = (int)SWIG_As_int(obj0);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 if (obj1) {
17580 arg2 = (int)SWIG_As_int(obj1);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 {
17591 wxDateTime * resultptr;
17592 resultptr = new wxDateTime((wxDateTime &) result);
17593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17594 }
17595 return resultobj;
17596 fail:
17597 return NULL;
17598 }
17599
17600
17601 static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
17602 PyObject *resultobj;
17603 int arg1 = (int) wxDateTime::Inv_Year ;
17604 int arg2 = (int) wxDateTime::Country_Default ;
17605 wxDateTime result;
17606 PyObject * obj0 = 0 ;
17607 PyObject * obj1 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "year",(char *) "country", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17613 if (obj0) {
17614 arg1 = (int)SWIG_As_int(obj0);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 if (obj1) {
17618 arg2 = (int)SWIG_As_int(obj1);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 {
17622 PyThreadState* __tstate = wxPyBeginAllowThreads();
17623 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17624
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 {
17629 wxDateTime * resultptr;
17630 resultptr = new wxDateTime((wxDateTime &) result);
17631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17632 }
17633 return resultobj;
17634 fail:
17635 return NULL;
17636 }
17637
17638
17639 static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
17640 PyObject *resultobj;
17641 wxDateTime result;
17642 char *kwnames[] = {
17643 NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = wxDateTime::Now();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 {
17655 wxDateTime * resultptr;
17656 resultptr = new wxDateTime((wxDateTime &) result);
17657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17658 }
17659 return resultobj;
17660 fail:
17661 return NULL;
17662 }
17663
17664
17665 static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
17666 PyObject *resultobj;
17667 wxDateTime result;
17668 char *kwnames[] = {
17669 NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = wxDateTime::UNow();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 {
17681 wxDateTime * resultptr;
17682 resultptr = new wxDateTime((wxDateTime &) result);
17683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17684 }
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxDateTime result;
17694 char *kwnames[] = {
17695 NULL
17696 };
17697
17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = wxDateTime::Today();
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 {
17707 wxDateTime * resultptr;
17708 resultptr = new wxDateTime((wxDateTime &) result);
17709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17710 }
17711 return resultobj;
17712 fail:
17713 return NULL;
17714 }
17715
17716
17717 static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17718 PyObject *resultobj;
17719 wxDateTime *result;
17720 char *kwnames[] = {
17721 NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 result = (wxDateTime *)new wxDateTime();
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17733 return resultobj;
17734 fail:
17735 return NULL;
17736 }
17737
17738
17739 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17740 PyObject *resultobj;
17741 time_t arg1 ;
17742 wxDateTime *result;
17743 PyObject * obj0 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "timet", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17749 arg1 = (time_t)SWIG_As_unsigned_SS_int(obj0);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 result = (wxDateTime *)new wxDateTime(arg1);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 double arg1 ;
17768 wxDateTime *result;
17769 PyObject * obj0 = 0 ;
17770 char *kwnames[] = {
17771 (char *) "jdn", NULL
17772 };
17773
17774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17775 arg1 = (double)SWIG_As_double(obj0);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 result = (wxDateTime *)new wxDateTime(arg1);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17785 return resultobj;
17786 fail:
17787 return NULL;
17788 }
17789
17790
17791 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17792 PyObject *resultobj;
17793 int arg1 ;
17794 int arg2 = (int) 0 ;
17795 int arg3 = (int) 0 ;
17796 int arg4 = (int) 0 ;
17797 wxDateTime *result;
17798 PyObject * obj0 = 0 ;
17799 PyObject * obj1 = 0 ;
17800 PyObject * obj2 = 0 ;
17801 PyObject * obj3 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17807 arg1 = (int)SWIG_As_int(obj0);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 if (obj1) {
17810 arg2 = (int)SWIG_As_int(obj1);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 if (obj2) {
17814 arg3 = (int)SWIG_As_int(obj2);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 if (obj3) {
17818 arg4 = (int)SWIG_As_int(obj3);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17829 return resultobj;
17830 fail:
17831 return NULL;
17832 }
17833
17834
17835 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
17836 PyObject *resultobj;
17837 int arg1 ;
17838 int arg2 = (int) wxDateTime::Inv_Month ;
17839 int arg3 = (int) wxDateTime::Inv_Year ;
17840 int arg4 = (int) 0 ;
17841 int arg5 = (int) 0 ;
17842 int arg6 = (int) 0 ;
17843 int arg7 = (int) 0 ;
17844 wxDateTime *result;
17845 PyObject * obj0 = 0 ;
17846 PyObject * obj1 = 0 ;
17847 PyObject * obj2 = 0 ;
17848 PyObject * obj3 = 0 ;
17849 PyObject * obj4 = 0 ;
17850 PyObject * obj5 = 0 ;
17851 PyObject * obj6 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17857 arg1 = (int)SWIG_As_int(obj0);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 if (obj1) {
17860 arg2 = (int)SWIG_As_int(obj1);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 if (obj2) {
17864 arg3 = (int)SWIG_As_int(obj2);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 if (obj3) {
17868 arg4 = (int)SWIG_As_int(obj3);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 if (obj4) {
17872 arg5 = (int)SWIG_As_int(obj4);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 if (obj5) {
17876 arg6 = (int)SWIG_As_int(obj5);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 if (obj6) {
17880 arg7 = (int)SWIG_As_int(obj6);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884 PyThreadState* __tstate = wxPyBeginAllowThreads();
17885 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17886
17887 wxPyEndAllowThreads(__tstate);
17888 if (PyErr_Occurred()) SWIG_fail;
17889 }
17890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17891 return resultobj;
17892 fail:
17893 return NULL;
17894 }
17895
17896
17897 static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17898 PyObject *resultobj;
17899 wxDateTime *arg1 = (wxDateTime *) 0 ;
17900 PyObject * obj0 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 delete arg1;
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 Py_INCREF(Py_None); resultobj = Py_None;
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxDateTime *arg1 = (wxDateTime *) 0 ;
17925 wxDateTime *result;
17926 PyObject * obj0 = 0 ;
17927 char *kwnames[] = {
17928 (char *) "self", NULL
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 {
17937 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17938 result = (wxDateTime *) &_result_ref;
17939 }
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxDateTime *arg1 = (wxDateTime *) 0 ;
17954 time_t arg2 ;
17955 wxDateTime *result;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self",(char *) "timet", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17965 arg2 = (time_t)SWIG_As_unsigned_SS_int(obj1);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 {
17970 wxDateTime &_result_ref = (arg1)->Set(arg2);
17971 result = (wxDateTime *) &_result_ref;
17972 }
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17978 return resultobj;
17979 fail:
17980 return NULL;
17981 }
17982
17983
17984 static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxDateTime *arg1 = (wxDateTime *) 0 ;
17987 double arg2 ;
17988 wxDateTime *result;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "self",(char *) "jdn", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17998 arg2 = (double)SWIG_As_double(obj1);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 {
18003 wxDateTime &_result_ref = (arg1)->Set(arg2);
18004 result = (wxDateTime *) &_result_ref;
18005 }
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014 }
18015
18016
18017 static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxDateTime *arg1 = (wxDateTime *) 0 ;
18020 int arg2 ;
18021 int arg3 = (int) 0 ;
18022 int arg4 = (int) 0 ;
18023 int arg5 = (int) 0 ;
18024 wxDateTime *result;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 PyObject * obj2 = 0 ;
18028 PyObject * obj3 = 0 ;
18029 PyObject * obj4 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18037 arg2 = (int)SWIG_As_int(obj1);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 if (obj2) {
18040 arg3 = (int)SWIG_As_int(obj2);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 if (obj3) {
18044 arg4 = (int)SWIG_As_int(obj3);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 if (obj4) {
18048 arg5 = (int)SWIG_As_int(obj4);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 {
18054 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
18055 result = (wxDateTime *) &_result_ref;
18056 }
18057
18058 wxPyEndAllowThreads(__tstate);
18059 if (PyErr_Occurred()) SWIG_fail;
18060 }
18061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18062 return resultobj;
18063 fail:
18064 return NULL;
18065 }
18066
18067
18068 static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
18069 PyObject *resultobj;
18070 wxDateTime *arg1 = (wxDateTime *) 0 ;
18071 int arg2 ;
18072 int arg3 = (int) wxDateTime::Inv_Month ;
18073 int arg4 = (int) wxDateTime::Inv_Year ;
18074 int arg5 = (int) 0 ;
18075 int arg6 = (int) 0 ;
18076 int arg7 = (int) 0 ;
18077 int arg8 = (int) 0 ;
18078 wxDateTime *result;
18079 PyObject * obj0 = 0 ;
18080 PyObject * obj1 = 0 ;
18081 PyObject * obj2 = 0 ;
18082 PyObject * obj3 = 0 ;
18083 PyObject * obj4 = 0 ;
18084 PyObject * obj5 = 0 ;
18085 PyObject * obj6 = 0 ;
18086 PyObject * obj7 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
18092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18094 arg2 = (int)SWIG_As_int(obj1);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 if (obj2) {
18097 arg3 = (int)SWIG_As_int(obj2);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 if (obj3) {
18101 arg4 = (int)SWIG_As_int(obj3);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 if (obj4) {
18105 arg5 = (int)SWIG_As_int(obj4);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 if (obj5) {
18109 arg6 = (int)SWIG_As_int(obj5);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 if (obj6) {
18113 arg7 = (int)SWIG_As_int(obj6);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 if (obj7) {
18117 arg8 = (int)SWIG_As_int(obj7);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 {
18123 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
18124 result = (wxDateTime *) &_result_ref;
18125 }
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxDateTime *arg1 = (wxDateTime *) 0 ;
18140 wxDateTime *result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 {
18152 wxDateTime &_result_ref = (arg1)->ResetTime();
18153 result = (wxDateTime *) &_result_ref;
18154 }
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxDateTime *arg1 = (wxDateTime *) 0 ;
18169 int arg2 ;
18170 wxDateTime *result;
18171 PyObject * obj0 = 0 ;
18172 PyObject * obj1 = 0 ;
18173 char *kwnames[] = {
18174 (char *) "self",(char *) "year", NULL
18175 };
18176
18177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
18178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18180 arg2 = (int)SWIG_As_int(obj1);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 {
18185 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
18186 result = (wxDateTime *) &_result_ref;
18187 }
18188
18189 wxPyEndAllowThreads(__tstate);
18190 if (PyErr_Occurred()) SWIG_fail;
18191 }
18192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18193 return resultobj;
18194 fail:
18195 return NULL;
18196 }
18197
18198
18199 static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
18200 PyObject *resultobj;
18201 wxDateTime *arg1 = (wxDateTime *) 0 ;
18202 int arg2 ;
18203 wxDateTime *result;
18204 PyObject * obj0 = 0 ;
18205 PyObject * obj1 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self",(char *) "month", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
18211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18213 arg2 = (int)SWIG_As_int(obj1);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 {
18218 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
18219 result = (wxDateTime *) &_result_ref;
18220 }
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18226 return resultobj;
18227 fail:
18228 return NULL;
18229 }
18230
18231
18232 static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
18233 PyObject *resultobj;
18234 wxDateTime *arg1 = (wxDateTime *) 0 ;
18235 int arg2 ;
18236 wxDateTime *result;
18237 PyObject * obj0 = 0 ;
18238 PyObject * obj1 = 0 ;
18239 char *kwnames[] = {
18240 (char *) "self",(char *) "day", NULL
18241 };
18242
18243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
18244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18246 arg2 = (int)SWIG_As_int(obj1);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 {
18251 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
18252 result = (wxDateTime *) &_result_ref;
18253 }
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18259 return resultobj;
18260 fail:
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxDateTime *arg1 = (wxDateTime *) 0 ;
18268 int arg2 ;
18269 wxDateTime *result;
18270 PyObject * obj0 = 0 ;
18271 PyObject * obj1 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "hour", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 arg2 = (int)SWIG_As_int(obj1);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 {
18284 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18285 result = (wxDateTime *) &_result_ref;
18286 }
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18292 return resultobj;
18293 fail:
18294 return NULL;
18295 }
18296
18297
18298 static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxDateTime *arg1 = (wxDateTime *) 0 ;
18301 int arg2 ;
18302 wxDateTime *result;
18303 PyObject * obj0 = 0 ;
18304 PyObject * obj1 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "self",(char *) "minute", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18312 arg2 = (int)SWIG_As_int(obj1);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 {
18317 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18318 result = (wxDateTime *) &_result_ref;
18319 }
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18325 return resultobj;
18326 fail:
18327 return NULL;
18328 }
18329
18330
18331 static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj;
18333 wxDateTime *arg1 = (wxDateTime *) 0 ;
18334 int arg2 ;
18335 wxDateTime *result;
18336 PyObject * obj0 = 0 ;
18337 PyObject * obj1 = 0 ;
18338 char *kwnames[] = {
18339 (char *) "self",(char *) "second", NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18345 arg2 = (int)SWIG_As_int(obj1);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 {
18350 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18351 result = (wxDateTime *) &_result_ref;
18352 }
18353
18354 wxPyEndAllowThreads(__tstate);
18355 if (PyErr_Occurred()) SWIG_fail;
18356 }
18357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18358 return resultobj;
18359 fail:
18360 return NULL;
18361 }
18362
18363
18364 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
18365 PyObject *resultobj;
18366 wxDateTime *arg1 = (wxDateTime *) 0 ;
18367 int arg2 ;
18368 wxDateTime *result;
18369 PyObject * obj0 = 0 ;
18370 PyObject * obj1 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "millisecond", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18378 arg2 = (int)SWIG_As_int(obj1);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 {
18381 PyThreadState* __tstate = wxPyBeginAllowThreads();
18382 {
18383 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18384 result = (wxDateTime *) &_result_ref;
18385 }
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18391 return resultobj;
18392 fail:
18393 return NULL;
18394 }
18395
18396
18397 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxDateTime *arg1 = (wxDateTime *) 0 ;
18400 int arg2 ;
18401 int arg3 = (int) wxDateTime::Monday_First ;
18402 wxDateTime *result;
18403 PyObject * obj0 = 0 ;
18404 PyObject * obj1 = 0 ;
18405 PyObject * obj2 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18413 arg2 = (int)SWIG_As_int(obj1);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 if (obj2) {
18416 arg3 = (int)SWIG_As_int(obj2);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 {
18422 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18423 result = (wxDateTime *) &_result_ref;
18424 }
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxDateTime *arg1 = (wxDateTime *) 0 ;
18439 int arg2 ;
18440 int arg3 = (int) wxDateTime::Monday_First ;
18441 wxDateTime result;
18442 PyObject * obj0 = 0 ;
18443 PyObject * obj1 = 0 ;
18444 PyObject * obj2 = 0 ;
18445 char *kwnames[] = {
18446 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18447 };
18448
18449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18452 arg2 = (int)SWIG_As_int(obj1);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 if (obj2) {
18455 arg3 = (int)SWIG_As_int(obj2);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 {
18466 wxDateTime * resultptr;
18467 resultptr = new wxDateTime((wxDateTime &) result);
18468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18469 }
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxDateTime *arg1 = (wxDateTime *) 0 ;
18479 int arg2 ;
18480 wxDateTime *result;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self",(char *) "weekday", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18490 arg2 = (int)SWIG_As_int(obj1);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 {
18493 PyThreadState* __tstate = wxPyBeginAllowThreads();
18494 {
18495 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18496 result = (wxDateTime *) &_result_ref;
18497 }
18498
18499 wxPyEndAllowThreads(__tstate);
18500 if (PyErr_Occurred()) SWIG_fail;
18501 }
18502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18503 return resultobj;
18504 fail:
18505 return NULL;
18506 }
18507
18508
18509 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18510 PyObject *resultobj;
18511 wxDateTime *arg1 = (wxDateTime *) 0 ;
18512 int arg2 ;
18513 wxDateTime result;
18514 PyObject * obj0 = 0 ;
18515 PyObject * obj1 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self",(char *) "weekday", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18523 arg2 = (int)SWIG_As_int(obj1);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 {
18533 wxDateTime * resultptr;
18534 resultptr = new wxDateTime((wxDateTime &) result);
18535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18536 }
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18544 PyObject *resultobj;
18545 wxDateTime *arg1 = (wxDateTime *) 0 ;
18546 int arg2 ;
18547 wxDateTime *result;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self",(char *) "weekday", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18557 arg2 = (int)SWIG_As_int(obj1);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 {
18560 PyThreadState* __tstate = wxPyBeginAllowThreads();
18561 {
18562 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18563 result = (wxDateTime *) &_result_ref;
18564 }
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxDateTime *arg1 = (wxDateTime *) 0 ;
18579 int arg2 ;
18580 wxDateTime result;
18581 PyObject * obj0 = 0 ;
18582 PyObject * obj1 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "weekday", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18590 arg2 = (int)SWIG_As_int(obj1);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 {
18600 wxDateTime * resultptr;
18601 resultptr = new wxDateTime((wxDateTime &) result);
18602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18603 }
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxDateTime *arg1 = (wxDateTime *) 0 ;
18613 int arg2 ;
18614 int arg3 = (int) 1 ;
18615 int arg4 = (int) wxDateTime::Inv_Month ;
18616 int arg5 = (int) wxDateTime::Inv_Year ;
18617 bool result;
18618 PyObject * obj0 = 0 ;
18619 PyObject * obj1 = 0 ;
18620 PyObject * obj2 = 0 ;
18621 PyObject * obj3 = 0 ;
18622 PyObject * obj4 = 0 ;
18623 char *kwnames[] = {
18624 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18625 };
18626
18627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18630 arg2 = (int)SWIG_As_int(obj1);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 if (obj2) {
18633 arg3 = (int)SWIG_As_int(obj2);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 if (obj3) {
18637 arg4 = (int)SWIG_As_int(obj3);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 if (obj4) {
18641 arg5 = (int)SWIG_As_int(obj4);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 {
18652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18653 }
18654 return resultobj;
18655 fail:
18656 return NULL;
18657 }
18658
18659
18660 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxDateTime *arg1 = (wxDateTime *) 0 ;
18663 int arg2 ;
18664 int arg3 = (int) wxDateTime::Inv_Month ;
18665 int arg4 = (int) wxDateTime::Inv_Year ;
18666 bool result;
18667 PyObject * obj0 = 0 ;
18668 PyObject * obj1 = 0 ;
18669 PyObject * obj2 = 0 ;
18670 PyObject * obj3 = 0 ;
18671 char *kwnames[] = {
18672 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18673 };
18674
18675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18678 arg2 = (int)SWIG_As_int(obj1);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 if (obj2) {
18681 arg3 = (int)SWIG_As_int(obj2);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 if (obj3) {
18685 arg4 = (int)SWIG_As_int(obj3);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 {
18696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18697 }
18698 return resultobj;
18699 fail:
18700 return NULL;
18701 }
18702
18703
18704 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18705 PyObject *resultobj;
18706 wxDateTime *arg1 = (wxDateTime *) 0 ;
18707 int arg2 ;
18708 int arg3 = (int) wxDateTime::Inv_Month ;
18709 int arg4 = (int) wxDateTime::Inv_Year ;
18710 wxDateTime result;
18711 PyObject * obj0 = 0 ;
18712 PyObject * obj1 = 0 ;
18713 PyObject * obj2 = 0 ;
18714 PyObject * obj3 = 0 ;
18715 char *kwnames[] = {
18716 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18717 };
18718
18719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18722 arg2 = (int)SWIG_As_int(obj1);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 if (obj2) {
18725 arg3 = (int)SWIG_As_int(obj2);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 if (obj3) {
18729 arg4 = (int)SWIG_As_int(obj3);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 {
18740 wxDateTime * resultptr;
18741 resultptr = new wxDateTime((wxDateTime &) result);
18742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18743 }
18744 return resultobj;
18745 fail:
18746 return NULL;
18747 }
18748
18749
18750 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18751 PyObject *resultobj;
18752 wxDateTime *arg1 = (wxDateTime *) 0 ;
18753 int arg2 ;
18754 int arg3 = (int) wxDateTime::Mon ;
18755 int arg4 = (int) wxDateTime::Monday_First ;
18756 bool result;
18757 PyObject * obj0 = 0 ;
18758 PyObject * obj1 = 0 ;
18759 PyObject * obj2 = 0 ;
18760 PyObject * obj3 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 arg2 = (int)SWIG_As_int(obj1);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 if (obj2) {
18771 arg3 = (int)SWIG_As_int(obj2);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 if (obj3) {
18775 arg4 = (int)SWIG_As_int(obj3);
18776 if (PyErr_Occurred()) SWIG_fail;
18777 }
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18781
18782 wxPyEndAllowThreads(__tstate);
18783 if (PyErr_Occurred()) SWIG_fail;
18784 }
18785 {
18786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18787 }
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxDateTime *arg1 = (wxDateTime *) 0 ;
18797 int arg2 ;
18798 int arg3 = (int) wxDateTime::Mon ;
18799 int arg4 = (int) wxDateTime::Monday_First ;
18800 wxDateTime result;
18801 PyObject * obj0 = 0 ;
18802 PyObject * obj1 = 0 ;
18803 PyObject * obj2 = 0 ;
18804 PyObject * obj3 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18812 arg2 = (int)SWIG_As_int(obj1);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 if (obj2) {
18815 arg3 = (int)SWIG_As_int(obj2);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 if (obj3) {
18819 arg4 = (int)SWIG_As_int(obj3);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 {
18823 PyThreadState* __tstate = wxPyBeginAllowThreads();
18824 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18825
18826 wxPyEndAllowThreads(__tstate);
18827 if (PyErr_Occurred()) SWIG_fail;
18828 }
18829 {
18830 wxDateTime * resultptr;
18831 resultptr = new wxDateTime((wxDateTime &) result);
18832 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18833 }
18834 return resultobj;
18835 fail:
18836 return NULL;
18837 }
18838
18839
18840 static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
18841 PyObject *resultobj;
18842 int arg1 ;
18843 int arg2 ;
18844 int arg3 = (int) wxDateTime::Mon ;
18845 wxDateTime result;
18846 PyObject * obj0 = 0 ;
18847 PyObject * obj1 = 0 ;
18848 PyObject * obj2 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
18854 arg1 = (int)SWIG_As_int(obj0);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 arg2 = (int)SWIG_As_int(obj1);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 if (obj2) {
18859 arg3 = (int)SWIG_As_int(obj2);
18860 if (PyErr_Occurred()) SWIG_fail;
18861 }
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
18865
18866 wxPyEndAllowThreads(__tstate);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 wxDateTime * resultptr;
18871 resultptr = new wxDateTime((wxDateTime &) result);
18872 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18873 }
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxDateTime *arg1 = (wxDateTime *) 0 ;
18883 int arg2 = (int) wxDateTime::Inv_Month ;
18884 int arg3 = (int) wxDateTime::Inv_Year ;
18885 wxDateTime *result;
18886 PyObject * obj0 = 0 ;
18887 PyObject * obj1 = 0 ;
18888 PyObject * obj2 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "month",(char *) "year", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18896 if (obj1) {
18897 arg2 = (int)SWIG_As_int(obj1);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 if (obj2) {
18901 arg3 = (int)SWIG_As_int(obj2);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 {
18907 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18908 result = (wxDateTime *) &_result_ref;
18909 }
18910
18911 wxPyEndAllowThreads(__tstate);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18915 return resultobj;
18916 fail:
18917 return NULL;
18918 }
18919
18920
18921 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18922 PyObject *resultobj;
18923 wxDateTime *arg1 = (wxDateTime *) 0 ;
18924 int arg2 = (int) wxDateTime::Inv_Month ;
18925 int arg3 = (int) wxDateTime::Inv_Year ;
18926 wxDateTime result;
18927 PyObject * obj0 = 0 ;
18928 PyObject * obj1 = 0 ;
18929 PyObject * obj2 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self",(char *) "month",(char *) "year", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18937 if (obj1) {
18938 arg2 = (int)SWIG_As_int(obj1);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 if (obj2) {
18942 arg3 = (int)SWIG_As_int(obj2);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 {
18953 wxDateTime * resultptr;
18954 resultptr = new wxDateTime((wxDateTime &) result);
18955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18956 }
18957 return resultobj;
18958 fail:
18959 return NULL;
18960 }
18961
18962
18963 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18964 PyObject *resultobj;
18965 wxDateTime *arg1 = (wxDateTime *) 0 ;
18966 int arg2 ;
18967 wxDateTime *result;
18968 PyObject * obj0 = 0 ;
18969 PyObject * obj1 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self",(char *) "yday", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18977 arg2 = (int)SWIG_As_int(obj1);
18978 if (PyErr_Occurred()) SWIG_fail;
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 {
18982 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18983 result = (wxDateTime *) &_result_ref;
18984 }
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxDateTime *arg1 = (wxDateTime *) 0 ;
18999 int arg2 ;
19000 wxDateTime result;
19001 PyObject * obj0 = 0 ;
19002 PyObject * obj1 = 0 ;
19003 char *kwnames[] = {
19004 (char *) "self",(char *) "yday", NULL
19005 };
19006
19007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
19008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19010 arg2 = (int)SWIG_As_int(obj1);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 {
19013 PyThreadState* __tstate = wxPyBeginAllowThreads();
19014 result = (arg1)->GetYearDay(arg2);
19015
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 {
19020 wxDateTime * resultptr;
19021 resultptr = new wxDateTime((wxDateTime &) result);
19022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19023 }
19024 return resultobj;
19025 fail:
19026 return NULL;
19027 }
19028
19029
19030 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
19031 PyObject *resultobj;
19032 wxDateTime *arg1 = (wxDateTime *) 0 ;
19033 double result;
19034 PyObject * obj0 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19042 {
19043 PyThreadState* __tstate = wxPyBeginAllowThreads();
19044 result = (double)(arg1)->GetJulianDayNumber();
19045
19046 wxPyEndAllowThreads(__tstate);
19047 if (PyErr_Occurred()) SWIG_fail;
19048 }
19049 resultobj = SWIG_From_double((double)result);
19050 return resultobj;
19051 fail:
19052 return NULL;
19053 }
19054
19055
19056 static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
19057 PyObject *resultobj;
19058 wxDateTime *arg1 = (wxDateTime *) 0 ;
19059 double result;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
19066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19068 {
19069 PyThreadState* __tstate = wxPyBeginAllowThreads();
19070 result = (double)(arg1)->GetJDN();
19071
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 resultobj = SWIG_From_double((double)result);
19076 return resultobj;
19077 fail:
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxDateTime *arg1 = (wxDateTime *) 0 ;
19085 double result;
19086 PyObject * obj0 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = SWIG_From_double((double)result);
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxDateTime *arg1 = (wxDateTime *) 0 ;
19111 double result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 result = (double)(arg1)->GetMJD();
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 resultobj = SWIG_From_double((double)result);
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxDateTime *arg1 = (wxDateTime *) 0 ;
19137 double result;
19138 PyObject * obj0 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19146 {
19147 PyThreadState* __tstate = wxPyBeginAllowThreads();
19148 result = (double)(arg1)->GetRataDie();
19149
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 resultobj = SWIG_From_double((double)result);
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxDateTime *arg1 = (wxDateTime *) 0 ;
19163 wxDateTime::TimeZone *arg2 = 0 ;
19164 bool arg3 = (bool) false ;
19165 wxDateTime result;
19166 bool temp2 = false ;
19167 PyObject * obj0 = 0 ;
19168 PyObject * obj1 = 0 ;
19169 PyObject * obj2 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19177 {
19178 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19179 temp2 = true;
19180 }
19181 if (obj2) {
19182 arg3 = (bool)SWIG_As_bool(obj2);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 {
19193 wxDateTime * resultptr;
19194 resultptr = new wxDateTime((wxDateTime &) result);
19195 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19196 }
19197 {
19198 if (temp2) delete arg2;
19199 }
19200 return resultobj;
19201 fail:
19202 {
19203 if (temp2) delete arg2;
19204 }
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxDateTime *arg1 = (wxDateTime *) 0 ;
19212 wxDateTime::TimeZone *arg2 = 0 ;
19213 bool arg3 = (bool) false ;
19214 wxDateTime *result;
19215 bool temp2 = false ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 PyObject * obj2 = 0 ;
19219 char *kwnames[] = {
19220 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19221 };
19222
19223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19226 {
19227 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19228 temp2 = true;
19229 }
19230 if (obj2) {
19231 arg3 = (bool)SWIG_As_bool(obj2);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 {
19237 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19238 result = (wxDateTime *) &_result_ref;
19239 }
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19245 {
19246 if (temp2) delete arg2;
19247 }
19248 return resultobj;
19249 fail:
19250 {
19251 if (temp2) delete arg2;
19252 }
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxDateTime *arg1 = (wxDateTime *) 0 ;
19260 bool arg2 = (bool) false ;
19261 wxDateTime result;
19262 PyObject * obj0 = 0 ;
19263 PyObject * obj1 = 0 ;
19264 char *kwnames[] = {
19265 (char *) "self",(char *) "noDST", NULL
19266 };
19267
19268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
19269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19271 if (obj1) {
19272 arg2 = (bool)SWIG_As_bool(obj1);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 result = (arg1)->ToGMT(arg2);
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 {
19283 wxDateTime * resultptr;
19284 resultptr = new wxDateTime((wxDateTime &) result);
19285 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19286 }
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxDateTime *arg1 = (wxDateTime *) 0 ;
19296 bool arg2 = (bool) false ;
19297 wxDateTime *result;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self",(char *) "noDST", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19307 if (obj1) {
19308 arg2 = (bool)SWIG_As_bool(obj1);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 {
19314 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19315 result = (wxDateTime *) &_result_ref;
19316 }
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19322 return resultobj;
19323 fail:
19324 return NULL;
19325 }
19326
19327
19328 static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxDateTime *arg1 = (wxDateTime *) 0 ;
19331 int arg2 = (int) wxDateTime::Country_Default ;
19332 int result;
19333 PyObject * obj0 = 0 ;
19334 PyObject * obj1 = 0 ;
19335 char *kwnames[] = {
19336 (char *) "self",(char *) "country", NULL
19337 };
19338
19339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19342 if (obj1) {
19343 arg2 = (int)SWIG_As_int(obj1);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 {
19347 PyThreadState* __tstate = wxPyBeginAllowThreads();
19348 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 resultobj = SWIG_From_int((int)result);
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxDateTime *arg1 = (wxDateTime *) 0 ;
19363 bool result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 result = (bool)((wxDateTime const *)arg1)->IsValid();
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 {
19380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19381 }
19382 return resultobj;
19383 fail:
19384 return NULL;
19385 }
19386
19387
19388 static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxDateTime *arg1 = (wxDateTime *) 0 ;
19391 time_t result;
19392 PyObject * obj0 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
19407 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
19408 return resultobj;
19409 fail:
19410 return NULL;
19411 }
19412
19413
19414 static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
19415 PyObject *resultobj;
19416 wxDateTime *arg1 = (wxDateTime *) 0 ;
19417 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19418 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19419 int result;
19420 bool temp2 = false ;
19421 PyObject * obj0 = 0 ;
19422 PyObject * obj1 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self",(char *) "tz", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19430 if (obj1) {
19431 {
19432 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19433 temp2 = true;
19434 }
19435 }
19436 {
19437 PyThreadState* __tstate = wxPyBeginAllowThreads();
19438 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19439
19440 wxPyEndAllowThreads(__tstate);
19441 if (PyErr_Occurred()) SWIG_fail;
19442 }
19443 resultobj = SWIG_From_int((int)result);
19444 {
19445 if (temp2) delete arg2;
19446 }
19447 return resultobj;
19448 fail:
19449 {
19450 if (temp2) delete arg2;
19451 }
19452 return NULL;
19453 }
19454
19455
19456 static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxDateTime *arg1 = (wxDateTime *) 0 ;
19459 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19460 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19461 int result;
19462 bool temp2 = false ;
19463 PyObject * obj0 = 0 ;
19464 PyObject * obj1 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self",(char *) "tz", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19472 if (obj1) {
19473 {
19474 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19475 temp2 = true;
19476 }
19477 }
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 resultobj = SWIG_From_int((int)result);
19486 {
19487 if (temp2) delete arg2;
19488 }
19489 return resultobj;
19490 fail:
19491 {
19492 if (temp2) delete arg2;
19493 }
19494 return NULL;
19495 }
19496
19497
19498 static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj;
19500 wxDateTime *arg1 = (wxDateTime *) 0 ;
19501 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19502 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19503 int result;
19504 bool temp2 = false ;
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self",(char *) "tz", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19514 if (obj1) {
19515 {
19516 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19517 temp2 = true;
19518 }
19519 }
19520 {
19521 PyThreadState* __tstate = wxPyBeginAllowThreads();
19522 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19523
19524 wxPyEndAllowThreads(__tstate);
19525 if (PyErr_Occurred()) SWIG_fail;
19526 }
19527 resultobj = SWIG_From_int((int)result);
19528 {
19529 if (temp2) delete arg2;
19530 }
19531 return resultobj;
19532 fail:
19533 {
19534 if (temp2) delete arg2;
19535 }
19536 return NULL;
19537 }
19538
19539
19540 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
19541 PyObject *resultobj;
19542 wxDateTime *arg1 = (wxDateTime *) 0 ;
19543 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19544 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19545 int result;
19546 bool temp2 = false ;
19547 PyObject * obj0 = 0 ;
19548 PyObject * obj1 = 0 ;
19549 char *kwnames[] = {
19550 (char *) "self",(char *) "tz", NULL
19551 };
19552
19553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19556 if (obj1) {
19557 {
19558 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19559 temp2 = true;
19560 }
19561 }
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 resultobj = SWIG_From_int((int)result);
19570 {
19571 if (temp2) delete arg2;
19572 }
19573 return resultobj;
19574 fail:
19575 {
19576 if (temp2) delete arg2;
19577 }
19578 return NULL;
19579 }
19580
19581
19582 static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxDateTime *arg1 = (wxDateTime *) 0 ;
19585 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19586 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19587 int result;
19588 bool temp2 = false ;
19589 PyObject * obj0 = 0 ;
19590 PyObject * obj1 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "tz", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19598 if (obj1) {
19599 {
19600 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19601 temp2 = true;
19602 }
19603 }
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 resultobj = SWIG_From_int((int)result);
19612 {
19613 if (temp2) delete arg2;
19614 }
19615 return resultobj;
19616 fail:
19617 {
19618 if (temp2) delete arg2;
19619 }
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxDateTime *arg1 = (wxDateTime *) 0 ;
19627 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19628 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19629 int result;
19630 bool temp2 = false ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self",(char *) "tz", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19640 if (obj1) {
19641 {
19642 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19643 temp2 = true;
19644 }
19645 }
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 resultobj = SWIG_From_int((int)result);
19654 {
19655 if (temp2) delete arg2;
19656 }
19657 return resultobj;
19658 fail:
19659 {
19660 if (temp2) delete arg2;
19661 }
19662 return NULL;
19663 }
19664
19665
19666 static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxDateTime *arg1 = (wxDateTime *) 0 ;
19669 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19670 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19671 int result;
19672 bool temp2 = false ;
19673 PyObject * obj0 = 0 ;
19674 PyObject * obj1 = 0 ;
19675 char *kwnames[] = {
19676 (char *) "self",(char *) "tz", NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19682 if (obj1) {
19683 {
19684 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19685 temp2 = true;
19686 }
19687 }
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 resultobj = SWIG_From_int((int)result);
19696 {
19697 if (temp2) delete arg2;
19698 }
19699 return resultobj;
19700 fail:
19701 {
19702 if (temp2) delete arg2;
19703 }
19704 return NULL;
19705 }
19706
19707
19708 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxDateTime *arg1 = (wxDateTime *) 0 ;
19711 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19712 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19713 int result;
19714 bool temp2 = false ;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 char *kwnames[] = {
19718 (char *) "self",(char *) "tz", NULL
19719 };
19720
19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19724 if (obj1) {
19725 {
19726 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19727 temp2 = true;
19728 }
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = SWIG_From_int((int)result);
19738 {
19739 if (temp2) delete arg2;
19740 }
19741 return resultobj;
19742 fail:
19743 {
19744 if (temp2) delete arg2;
19745 }
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxDateTime *arg1 = (wxDateTime *) 0 ;
19753 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19754 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19755 int result;
19756 bool temp2 = false ;
19757 PyObject * obj0 = 0 ;
19758 PyObject * obj1 = 0 ;
19759 char *kwnames[] = {
19760 (char *) "self",(char *) "tz", NULL
19761 };
19762
19763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19766 if (obj1) {
19767 {
19768 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19769 temp2 = true;
19770 }
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19775
19776 wxPyEndAllowThreads(__tstate);
19777 if (PyErr_Occurred()) SWIG_fail;
19778 }
19779 resultobj = SWIG_From_int((int)result);
19780 {
19781 if (temp2) delete arg2;
19782 }
19783 return resultobj;
19784 fail:
19785 {
19786 if (temp2) delete arg2;
19787 }
19788 return NULL;
19789 }
19790
19791
19792 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxDateTime *arg1 = (wxDateTime *) 0 ;
19795 int arg2 = (int) wxDateTime::Monday_First ;
19796 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19797 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19798 int result;
19799 bool temp3 = false ;
19800 PyObject * obj0 = 0 ;
19801 PyObject * obj1 = 0 ;
19802 PyObject * obj2 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "flags",(char *) "tz", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19810 if (obj1) {
19811 arg2 = (int)SWIG_As_int(obj1);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 if (obj2) {
19815 {
19816 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19817 temp3 = true;
19818 }
19819 }
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = SWIG_From_int((int)result);
19828 {
19829 if (temp3) delete arg3;
19830 }
19831 return resultobj;
19832 fail:
19833 {
19834 if (temp3) delete arg3;
19835 }
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxDateTime *arg1 = (wxDateTime *) 0 ;
19843 int arg2 = (int) wxDateTime::Monday_First ;
19844 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19845 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19846 int result;
19847 bool temp3 = false ;
19848 PyObject * obj0 = 0 ;
19849 PyObject * obj1 = 0 ;
19850 PyObject * obj2 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self",(char *) "flags",(char *) "tz", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 if (obj1) {
19859 arg2 = (int)SWIG_As_int(obj1);
19860 if (PyErr_Occurred()) SWIG_fail;
19861 }
19862 if (obj2) {
19863 {
19864 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19865 temp3 = true;
19866 }
19867 }
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_From_int((int)result);
19876 {
19877 if (temp3) delete arg3;
19878 }
19879 return resultobj;
19880 fail:
19881 {
19882 if (temp3) delete arg3;
19883 }
19884 return NULL;
19885 }
19886
19887
19888 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
19889 PyObject *resultobj;
19890 wxDateTime *arg1 = (wxDateTime *) 0 ;
19891 int arg2 = (int) wxDateTime::Country_Default ;
19892 bool result;
19893 PyObject * obj0 = 0 ;
19894 PyObject * obj1 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self",(char *) "country", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19902 if (obj1) {
19903 arg2 = (int)SWIG_As_int(obj1);
19904 if (PyErr_Occurred()) SWIG_fail;
19905 }
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 {
19914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj;
19924 wxDateTime *arg1 = (wxDateTime *) 0 ;
19925 wxDateTime *arg2 = 0 ;
19926 bool result;
19927 PyObject * obj0 = 0 ;
19928 PyObject * obj1 = 0 ;
19929 char *kwnames[] = {
19930 (char *) "self",(char *) "datetime", NULL
19931 };
19932
19933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19937 SWIG_POINTER_EXCEPTION | 0)) == -1)
19938 SWIG_fail;
19939 if (arg2 == NULL) {
19940 PyErr_SetString(PyExc_TypeError,"null reference");
19941 SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxDateTime *arg1 = (wxDateTime *) 0 ;
19962 wxDateTime *arg2 = 0 ;
19963 bool result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "datetime", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",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_wxDateTime,
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 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 {
19988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19989 }
19990 return resultobj;
19991 fail:
19992 return NULL;
19993 }
19994
19995
19996 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxDateTime *arg1 = (wxDateTime *) 0 ;
19999 wxDateTime *arg2 = 0 ;
20000 bool result;
20001 PyObject * obj0 = 0 ;
20002 PyObject * obj1 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "datetime", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1)
20012 SWIG_fail;
20013 if (arg2 == NULL) {
20014 PyErr_SetString(PyExc_TypeError,"null reference");
20015 SWIG_fail;
20016 }
20017 {
20018 PyThreadState* __tstate = wxPyBeginAllowThreads();
20019 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
20020
20021 wxPyEndAllowThreads(__tstate);
20022 if (PyErr_Occurred()) SWIG_fail;
20023 }
20024 {
20025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20026 }
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxDateTime *arg1 = (wxDateTime *) 0 ;
20036 wxDateTime *arg2 = 0 ;
20037 wxDateTime *arg3 = 0 ;
20038 bool result;
20039 PyObject * obj0 = 0 ;
20040 PyObject * obj1 = 0 ;
20041 PyObject * obj2 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self",(char *) "t1",(char *) "t2", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) 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_wxDateTime,
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 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20057 SWIG_POINTER_EXCEPTION | 0)) == -1)
20058 SWIG_fail;
20059 if (arg3 == NULL) {
20060 PyErr_SetString(PyExc_TypeError,"null reference");
20061 SWIG_fail;
20062 }
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 {
20071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20072 }
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxDateTime *arg1 = (wxDateTime *) 0 ;
20082 wxDateTime *arg2 = 0 ;
20083 wxDateTime *arg3 = 0 ;
20084 bool result;
20085 PyObject * obj0 = 0 ;
20086 PyObject * obj1 = 0 ;
20087 PyObject * obj2 = 0 ;
20088 char *kwnames[] = {
20089 (char *) "self",(char *) "t1",(char *) "t2", NULL
20090 };
20091
20092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
20093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20096 SWIG_POINTER_EXCEPTION | 0)) == -1)
20097 SWIG_fail;
20098 if (arg2 == NULL) {
20099 PyErr_SetString(PyExc_TypeError,"null reference");
20100 SWIG_fail;
20101 }
20102 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1)
20104 SWIG_fail;
20105 if (arg3 == NULL) {
20106 PyErr_SetString(PyExc_TypeError,"null reference");
20107 SWIG_fail;
20108 }
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 {
20117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20118 }
20119 return resultobj;
20120 fail:
20121 return NULL;
20122 }
20123
20124
20125 static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
20126 PyObject *resultobj;
20127 wxDateTime *arg1 = (wxDateTime *) 0 ;
20128 wxDateTime *arg2 = 0 ;
20129 bool result;
20130 PyObject * obj0 = 0 ;
20131 PyObject * obj1 = 0 ;
20132 char *kwnames[] = {
20133 (char *) "self",(char *) "dt", NULL
20134 };
20135
20136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
20137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20140 SWIG_POINTER_EXCEPTION | 0)) == -1)
20141 SWIG_fail;
20142 if (arg2 == NULL) {
20143 PyErr_SetString(PyExc_TypeError,"null reference");
20144 SWIG_fail;
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxDateTime *arg1 = (wxDateTime *) 0 ;
20165 wxDateTime *arg2 = 0 ;
20166 bool result;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "dt", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
20174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20177 SWIG_POINTER_EXCEPTION | 0)) == -1)
20178 SWIG_fail;
20179 if (arg2 == NULL) {
20180 PyErr_SetString(PyExc_TypeError,"null reference");
20181 SWIG_fail;
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 {
20191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20192 }
20193 return resultobj;
20194 fail:
20195 return NULL;
20196 }
20197
20198
20199 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
20200 PyObject *resultobj;
20201 wxDateTime *arg1 = (wxDateTime *) 0 ;
20202 wxDateTime *arg2 = 0 ;
20203 wxTimeSpan *arg3 = 0 ;
20204 bool result;
20205 PyObject * obj0 = 0 ;
20206 PyObject * obj1 = 0 ;
20207 PyObject * obj2 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "dt",(char *) "ts", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20216 SWIG_POINTER_EXCEPTION | 0)) == -1)
20217 SWIG_fail;
20218 if (arg2 == NULL) {
20219 PyErr_SetString(PyExc_TypeError,"null reference");
20220 SWIG_fail;
20221 }
20222 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
20223 SWIG_POINTER_EXCEPTION | 0)) == -1)
20224 SWIG_fail;
20225 if (arg3 == NULL) {
20226 PyErr_SetString(PyExc_TypeError,"null reference");
20227 SWIG_fail;
20228 }
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 {
20237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20238 }
20239 return resultobj;
20240 fail:
20241 return NULL;
20242 }
20243
20244
20245 static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
20246 PyObject *resultobj;
20247 wxDateTime *arg1 = (wxDateTime *) 0 ;
20248 wxTimeSpan *arg2 = 0 ;
20249 wxDateTime *result;
20250 PyObject * obj0 = 0 ;
20251 PyObject * obj1 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "diff", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
20257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20259 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20260 SWIG_POINTER_EXCEPTION | 0)) == -1)
20261 SWIG_fail;
20262 if (arg2 == NULL) {
20263 PyErr_SetString(PyExc_TypeError,"null reference");
20264 SWIG_fail;
20265 }
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 {
20269 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
20270 result = (wxDateTime *) &_result_ref;
20271 }
20272
20273 wxPyEndAllowThreads(__tstate);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20277 return resultobj;
20278 fail:
20279 return NULL;
20280 }
20281
20282
20283 static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
20284 PyObject *resultobj;
20285 wxDateTime *arg1 = (wxDateTime *) 0 ;
20286 wxDateSpan *arg2 = 0 ;
20287 wxDateTime *result;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self",(char *) "diff", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
20295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1)
20299 SWIG_fail;
20300 if (arg2 == NULL) {
20301 PyErr_SetString(PyExc_TypeError,"null reference");
20302 SWIG_fail;
20303 }
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 {
20307 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20308 result = (wxDateTime *) &_result_ref;
20309 }
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxDateTime *arg1 = (wxDateTime *) 0 ;
20324 wxTimeSpan *arg2 = 0 ;
20325 wxDateTime *result;
20326 PyObject * obj0 = 0 ;
20327 PyObject * obj1 = 0 ;
20328 char *kwnames[] = {
20329 (char *) "self",(char *) "diff", NULL
20330 };
20331
20332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20336 SWIG_POINTER_EXCEPTION | 0)) == -1)
20337 SWIG_fail;
20338 if (arg2 == NULL) {
20339 PyErr_SetString(PyExc_TypeError,"null reference");
20340 SWIG_fail;
20341 }
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 {
20345 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20346 result = (wxDateTime *) &_result_ref;
20347 }
20348
20349 wxPyEndAllowThreads(__tstate);
20350 if (PyErr_Occurred()) SWIG_fail;
20351 }
20352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20353 return resultobj;
20354 fail:
20355 return NULL;
20356 }
20357
20358
20359 static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxDateTime *arg1 = (wxDateTime *) 0 ;
20362 wxDateSpan *arg2 = 0 ;
20363 wxDateTime *result;
20364 PyObject * obj0 = 0 ;
20365 PyObject * obj1 = 0 ;
20366 char *kwnames[] = {
20367 (char *) "self",(char *) "diff", NULL
20368 };
20369
20370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20374 SWIG_POINTER_EXCEPTION | 0)) == -1)
20375 SWIG_fail;
20376 if (arg2 == NULL) {
20377 PyErr_SetString(PyExc_TypeError,"null reference");
20378 SWIG_fail;
20379 }
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 {
20383 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20384 result = (wxDateTime *) &_result_ref;
20385 }
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20391 return resultobj;
20392 fail:
20393 return NULL;
20394 }
20395
20396
20397 static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxDateTime *arg1 = (wxDateTime *) 0 ;
20400 wxDateTime *arg2 = 0 ;
20401 wxTimeSpan result;
20402 PyObject * obj0 = 0 ;
20403 PyObject * obj1 = 0 ;
20404 char *kwnames[] = {
20405 (char *) "self",(char *) "dt", NULL
20406 };
20407
20408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20412 SWIG_POINTER_EXCEPTION | 0)) == -1)
20413 SWIG_fail;
20414 if (arg2 == NULL) {
20415 PyErr_SetString(PyExc_TypeError,"null reference");
20416 SWIG_fail;
20417 }
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20421
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 {
20426 wxTimeSpan * resultptr;
20427 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20429 }
20430 return resultobj;
20431 fail:
20432 return NULL;
20433 }
20434
20435
20436 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
20437 PyObject *resultobj;
20438 wxDateTime *arg1 = (wxDateTime *) 0 ;
20439 wxTimeSpan *arg2 = 0 ;
20440 wxDateTime *result;
20441 PyObject * obj0 = 0 ;
20442 PyObject * obj1 = 0 ;
20443
20444 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20446 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20448 SWIG_POINTER_EXCEPTION | 0)) == -1)
20449 SWIG_fail;
20450 if (arg2 == NULL) {
20451 PyErr_SetString(PyExc_TypeError,"null reference");
20452 SWIG_fail;
20453 }
20454 {
20455 PyThreadState* __tstate = wxPyBeginAllowThreads();
20456 {
20457 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20458 result = (wxDateTime *) &_result_ref;
20459 }
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20465 return resultobj;
20466 fail:
20467 return NULL;
20468 }
20469
20470
20471 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
20472 PyObject *resultobj;
20473 wxDateTime *arg1 = (wxDateTime *) 0 ;
20474 wxDateSpan *arg2 = 0 ;
20475 wxDateTime *result;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478
20479 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20481 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20483 SWIG_POINTER_EXCEPTION | 0)) == -1)
20484 SWIG_fail;
20485 if (arg2 == NULL) {
20486 PyErr_SetString(PyExc_TypeError,"null reference");
20487 SWIG_fail;
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 {
20492 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20493 result = (wxDateTime *) &_result_ref;
20494 }
20495
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20507 int argc;
20508 PyObject *argv[3];
20509 int ii;
20510
20511 argc = PyObject_Length(args);
20512 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20513 argv[ii] = PyTuple_GetItem(args,ii);
20514 }
20515 if (argc == 2) {
20516 int _v;
20517 {
20518 void *ptr;
20519 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20520 _v = 0;
20521 PyErr_Clear();
20522 } else {
20523 _v = 1;
20524 }
20525 }
20526 if (_v) {
20527 {
20528 void *ptr;
20529 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20530 _v = 0;
20531 PyErr_Clear();
20532 } else {
20533 _v = 1;
20534 }
20535 }
20536 if (_v) {
20537 return _wrap_DateTime___iadd____SWIG_0(self,args);
20538 }
20539 }
20540 }
20541 if (argc == 2) {
20542 int _v;
20543 {
20544 void *ptr;
20545 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20546 _v = 0;
20547 PyErr_Clear();
20548 } else {
20549 _v = 1;
20550 }
20551 }
20552 if (_v) {
20553 {
20554 void *ptr;
20555 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20556 _v = 0;
20557 PyErr_Clear();
20558 } else {
20559 _v = 1;
20560 }
20561 }
20562 if (_v) {
20563 return _wrap_DateTime___iadd____SWIG_1(self,args);
20564 }
20565 }
20566 }
20567
20568 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
20574 PyObject *resultobj;
20575 wxDateTime *arg1 = (wxDateTime *) 0 ;
20576 wxTimeSpan *arg2 = 0 ;
20577 wxDateTime *result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580
20581 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20583 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1)
20586 SWIG_fail;
20587 if (arg2 == NULL) {
20588 PyErr_SetString(PyExc_TypeError,"null reference");
20589 SWIG_fail;
20590 }
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 {
20594 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20595 result = (wxDateTime *) &_result_ref;
20596 }
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
20609 PyObject *resultobj;
20610 wxDateTime *arg1 = (wxDateTime *) 0 ;
20611 wxDateSpan *arg2 = 0 ;
20612 wxDateTime *result;
20613 PyObject * obj0 = 0 ;
20614 PyObject * obj1 = 0 ;
20615
20616 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20618 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20620 SWIG_POINTER_EXCEPTION | 0)) == -1)
20621 SWIG_fail;
20622 if (arg2 == NULL) {
20623 PyErr_SetString(PyExc_TypeError,"null reference");
20624 SWIG_fail;
20625 }
20626 {
20627 PyThreadState* __tstate = wxPyBeginAllowThreads();
20628 {
20629 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20630 result = (wxDateTime *) &_result_ref;
20631 }
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20637 return resultobj;
20638 fail:
20639 return NULL;
20640 }
20641
20642
20643 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20644 int argc;
20645 PyObject *argv[3];
20646 int ii;
20647
20648 argc = PyObject_Length(args);
20649 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20650 argv[ii] = PyTuple_GetItem(args,ii);
20651 }
20652 if (argc == 2) {
20653 int _v;
20654 {
20655 void *ptr;
20656 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20657 _v = 0;
20658 PyErr_Clear();
20659 } else {
20660 _v = 1;
20661 }
20662 }
20663 if (_v) {
20664 {
20665 void *ptr;
20666 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20667 _v = 0;
20668 PyErr_Clear();
20669 } else {
20670 _v = 1;
20671 }
20672 }
20673 if (_v) {
20674 return _wrap_DateTime___isub____SWIG_0(self,args);
20675 }
20676 }
20677 }
20678 if (argc == 2) {
20679 int _v;
20680 {
20681 void *ptr;
20682 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20683 _v = 0;
20684 PyErr_Clear();
20685 } else {
20686 _v = 1;
20687 }
20688 }
20689 if (_v) {
20690 {
20691 void *ptr;
20692 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20693 _v = 0;
20694 PyErr_Clear();
20695 } else {
20696 _v = 1;
20697 }
20698 }
20699 if (_v) {
20700 return _wrap_DateTime___isub____SWIG_1(self,args);
20701 }
20702 }
20703 }
20704
20705 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20706 return NULL;
20707 }
20708
20709
20710 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
20711 PyObject *resultobj;
20712 wxDateTime *arg1 = (wxDateTime *) 0 ;
20713 wxTimeSpan *arg2 = 0 ;
20714 wxDateTime result;
20715 PyObject * obj0 = 0 ;
20716 PyObject * obj1 = 0 ;
20717
20718 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20722 SWIG_POINTER_EXCEPTION | 0)) == -1)
20723 SWIG_fail;
20724 if (arg2 == NULL) {
20725 PyErr_SetString(PyExc_TypeError,"null reference");
20726 SWIG_fail;
20727 }
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20731
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 {
20736 wxDateTime * resultptr;
20737 resultptr = new wxDateTime((wxDateTime &) result);
20738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20739 }
20740 return resultobj;
20741 fail:
20742 return NULL;
20743 }
20744
20745
20746 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
20747 PyObject *resultobj;
20748 wxDateTime *arg1 = (wxDateTime *) 0 ;
20749 wxDateSpan *arg2 = 0 ;
20750 wxDateTime result;
20751 PyObject * obj0 = 0 ;
20752 PyObject * obj1 = 0 ;
20753
20754 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20758 SWIG_POINTER_EXCEPTION | 0)) == -1)
20759 SWIG_fail;
20760 if (arg2 == NULL) {
20761 PyErr_SetString(PyExc_TypeError,"null reference");
20762 SWIG_fail;
20763 }
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 {
20772 wxDateTime * resultptr;
20773 resultptr = new wxDateTime((wxDateTime &) result);
20774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20775 }
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20783 int argc;
20784 PyObject *argv[3];
20785 int ii;
20786
20787 argc = PyObject_Length(args);
20788 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20789 argv[ii] = PyTuple_GetItem(args,ii);
20790 }
20791 if (argc == 2) {
20792 int _v;
20793 {
20794 void *ptr;
20795 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20796 _v = 0;
20797 PyErr_Clear();
20798 } else {
20799 _v = 1;
20800 }
20801 }
20802 if (_v) {
20803 {
20804 void *ptr;
20805 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20806 _v = 0;
20807 PyErr_Clear();
20808 } else {
20809 _v = 1;
20810 }
20811 }
20812 if (_v) {
20813 return _wrap_DateTime___add____SWIG_0(self,args);
20814 }
20815 }
20816 }
20817 if (argc == 2) {
20818 int _v;
20819 {
20820 void *ptr;
20821 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20822 _v = 0;
20823 PyErr_Clear();
20824 } else {
20825 _v = 1;
20826 }
20827 }
20828 if (_v) {
20829 {
20830 void *ptr;
20831 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20832 _v = 0;
20833 PyErr_Clear();
20834 } else {
20835 _v = 1;
20836 }
20837 }
20838 if (_v) {
20839 return _wrap_DateTime___add____SWIG_1(self,args);
20840 }
20841 }
20842 }
20843
20844 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
20850 PyObject *resultobj;
20851 wxDateTime *arg1 = (wxDateTime *) 0 ;
20852 wxDateTime *arg2 = 0 ;
20853 wxTimeSpan result;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856
20857 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20861 SWIG_POINTER_EXCEPTION | 0)) == -1)
20862 SWIG_fail;
20863 if (arg2 == NULL) {
20864 PyErr_SetString(PyExc_TypeError,"null reference");
20865 SWIG_fail;
20866 }
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 {
20875 wxTimeSpan * resultptr;
20876 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20878 }
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
20886 PyObject *resultobj;
20887 wxDateTime *arg1 = (wxDateTime *) 0 ;
20888 wxTimeSpan *arg2 = 0 ;
20889 wxDateTime result;
20890 PyObject * obj0 = 0 ;
20891 PyObject * obj1 = 0 ;
20892
20893 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20897 SWIG_POINTER_EXCEPTION | 0)) == -1)
20898 SWIG_fail;
20899 if (arg2 == NULL) {
20900 PyErr_SetString(PyExc_TypeError,"null reference");
20901 SWIG_fail;
20902 }
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 {
20911 wxDateTime * resultptr;
20912 resultptr = new wxDateTime((wxDateTime &) result);
20913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20914 }
20915 return resultobj;
20916 fail:
20917 return NULL;
20918 }
20919
20920
20921 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
20922 PyObject *resultobj;
20923 wxDateTime *arg1 = (wxDateTime *) 0 ;
20924 wxDateSpan *arg2 = 0 ;
20925 wxDateTime result;
20926 PyObject * obj0 = 0 ;
20927 PyObject * obj1 = 0 ;
20928
20929 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20933 SWIG_POINTER_EXCEPTION | 0)) == -1)
20934 SWIG_fail;
20935 if (arg2 == NULL) {
20936 PyErr_SetString(PyExc_TypeError,"null reference");
20937 SWIG_fail;
20938 }
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 {
20947 wxDateTime * resultptr;
20948 resultptr = new wxDateTime((wxDateTime &) result);
20949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20950 }
20951 return resultobj;
20952 fail:
20953 return NULL;
20954 }
20955
20956
20957 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20958 int argc;
20959 PyObject *argv[3];
20960 int ii;
20961
20962 argc = PyObject_Length(args);
20963 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20964 argv[ii] = PyTuple_GetItem(args,ii);
20965 }
20966 if (argc == 2) {
20967 int _v;
20968 {
20969 void *ptr;
20970 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20971 _v = 0;
20972 PyErr_Clear();
20973 } else {
20974 _v = 1;
20975 }
20976 }
20977 if (_v) {
20978 {
20979 void *ptr;
20980 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20981 _v = 0;
20982 PyErr_Clear();
20983 } else {
20984 _v = 1;
20985 }
20986 }
20987 if (_v) {
20988 return _wrap_DateTime___sub____SWIG_0(self,args);
20989 }
20990 }
20991 }
20992 if (argc == 2) {
20993 int _v;
20994 {
20995 void *ptr;
20996 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20997 _v = 0;
20998 PyErr_Clear();
20999 } else {
21000 _v = 1;
21001 }
21002 }
21003 if (_v) {
21004 {
21005 void *ptr;
21006 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
21007 _v = 0;
21008 PyErr_Clear();
21009 } else {
21010 _v = 1;
21011 }
21012 }
21013 if (_v) {
21014 return _wrap_DateTime___sub____SWIG_1(self,args);
21015 }
21016 }
21017 }
21018 if (argc == 2) {
21019 int _v;
21020 {
21021 void *ptr;
21022 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21023 _v = 0;
21024 PyErr_Clear();
21025 } else {
21026 _v = 1;
21027 }
21028 }
21029 if (_v) {
21030 {
21031 void *ptr;
21032 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
21033 _v = 0;
21034 PyErr_Clear();
21035 } else {
21036 _v = 1;
21037 }
21038 }
21039 if (_v) {
21040 return _wrap_DateTime___sub____SWIG_2(self,args);
21041 }
21042 }
21043 }
21044
21045 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
21051 PyObject *resultobj;
21052 wxDateTime *arg1 = (wxDateTime *) 0 ;
21053 wxDateTime *arg2 = (wxDateTime *) 0 ;
21054 bool result;
21055 PyObject * obj0 = 0 ;
21056 PyObject * obj1 = 0 ;
21057
21058 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 {
21071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21072 }
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
21080 PyObject *resultobj;
21081 wxDateTime *arg1 = (wxDateTime *) 0 ;
21082 wxDateTime *arg2 = (wxDateTime *) 0 ;
21083 bool result;
21084 PyObject * obj0 = 0 ;
21085 PyObject * obj1 = 0 ;
21086
21087 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 {
21100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21101 }
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
21109 PyObject *resultobj;
21110 wxDateTime *arg1 = (wxDateTime *) 0 ;
21111 wxDateTime *arg2 = (wxDateTime *) 0 ;
21112 bool result;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115
21116 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21119 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21130 }
21131 return resultobj;
21132 fail:
21133 return NULL;
21134 }
21135
21136
21137 static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
21138 PyObject *resultobj;
21139 wxDateTime *arg1 = (wxDateTime *) 0 ;
21140 wxDateTime *arg2 = (wxDateTime *) 0 ;
21141 bool result;
21142 PyObject * obj0 = 0 ;
21143 PyObject * obj1 = 0 ;
21144
21145 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21148 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21159 }
21160 return resultobj;
21161 fail:
21162 return NULL;
21163 }
21164
21165
21166 static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
21167 PyObject *resultobj;
21168 wxDateTime *arg1 = (wxDateTime *) 0 ;
21169 wxDateTime *arg2 = (wxDateTime *) 0 ;
21170 bool result;
21171 PyObject * obj0 = 0 ;
21172 PyObject * obj1 = 0 ;
21173
21174 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
21175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 {
21187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21188 }
21189 return resultobj;
21190 fail:
21191 return NULL;
21192 }
21193
21194
21195 static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
21196 PyObject *resultobj;
21197 wxDateTime *arg1 = (wxDateTime *) 0 ;
21198 wxDateTime *arg2 = (wxDateTime *) 0 ;
21199 bool result;
21200 PyObject * obj0 = 0 ;
21201 PyObject * obj1 = 0 ;
21202
21203 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
21204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21208 {
21209 PyThreadState* __tstate = wxPyBeginAllowThreads();
21210 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
21211
21212 wxPyEndAllowThreads(__tstate);
21213 if (PyErr_Occurred()) SWIG_fail;
21214 }
21215 {
21216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21217 }
21218 return resultobj;
21219 fail:
21220 return NULL;
21221 }
21222
21223
21224 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxDateTime *arg1 = (wxDateTime *) 0 ;
21227 wxString *arg2 = 0 ;
21228 int result;
21229 bool temp2 = false ;
21230 PyObject * obj0 = 0 ;
21231 PyObject * obj1 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self",(char *) "date", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21239 {
21240 arg2 = wxString_in_helper(obj1);
21241 if (arg2 == NULL) SWIG_fail;
21242 temp2 = true;
21243 }
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 resultobj = SWIG_From_int((int)result);
21252 {
21253 if (temp2)
21254 delete arg2;
21255 }
21256 return resultobj;
21257 fail:
21258 {
21259 if (temp2)
21260 delete arg2;
21261 }
21262 return NULL;
21263 }
21264
21265
21266 static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj;
21268 wxDateTime *arg1 = (wxDateTime *) 0 ;
21269 wxString *arg2 = 0 ;
21270 wxString const &arg3_defvalue = wxPyDateFormatStr ;
21271 wxString *arg3 = (wxString *) &arg3_defvalue ;
21272 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
21273 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
21274 int result;
21275 bool temp2 = false ;
21276 bool temp3 = false ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 PyObject * obj2 = 0 ;
21280 PyObject * obj3 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21288 {
21289 arg2 = wxString_in_helper(obj1);
21290 if (arg2 == NULL) SWIG_fail;
21291 temp2 = true;
21292 }
21293 if (obj2) {
21294 {
21295 arg3 = wxString_in_helper(obj2);
21296 if (arg3 == NULL) SWIG_fail;
21297 temp3 = true;
21298 }
21299 }
21300 if (obj3) {
21301 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
21302 SWIG_POINTER_EXCEPTION | 0)) == -1)
21303 SWIG_fail;
21304 if (arg4 == NULL) {
21305 PyErr_SetString(PyExc_TypeError,"null reference");
21306 SWIG_fail;
21307 }
21308 }
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21312
21313 wxPyEndAllowThreads(__tstate);
21314 if (PyErr_Occurred()) SWIG_fail;
21315 }
21316 resultobj = SWIG_From_int((int)result);
21317 {
21318 if (temp2)
21319 delete arg2;
21320 }
21321 {
21322 if (temp3)
21323 delete arg3;
21324 }
21325 return resultobj;
21326 fail:
21327 {
21328 if (temp2)
21329 delete arg2;
21330 }
21331 {
21332 if (temp3)
21333 delete arg3;
21334 }
21335 return NULL;
21336 }
21337
21338
21339 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj;
21341 wxDateTime *arg1 = (wxDateTime *) 0 ;
21342 wxString *arg2 = 0 ;
21343 int result;
21344 bool temp2 = false ;
21345 PyObject * obj0 = 0 ;
21346 PyObject * obj1 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self",(char *) "datetime", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21354 {
21355 arg2 = wxString_in_helper(obj1);
21356 if (arg2 == NULL) SWIG_fail;
21357 temp2 = true;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 resultobj = SWIG_From_int((int)result);
21367 {
21368 if (temp2)
21369 delete arg2;
21370 }
21371 return resultobj;
21372 fail:
21373 {
21374 if (temp2)
21375 delete arg2;
21376 }
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxDateTime *arg1 = (wxDateTime *) 0 ;
21384 wxString *arg2 = 0 ;
21385 int result;
21386 bool temp2 = false ;
21387 PyObject * obj0 = 0 ;
21388 PyObject * obj1 = 0 ;
21389 char *kwnames[] = {
21390 (char *) "self",(char *) "date", NULL
21391 };
21392
21393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21396 {
21397 arg2 = wxString_in_helper(obj1);
21398 if (arg2 == NULL) SWIG_fail;
21399 temp2 = true;
21400 }
21401 {
21402 PyThreadState* __tstate = wxPyBeginAllowThreads();
21403 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21404
21405 wxPyEndAllowThreads(__tstate);
21406 if (PyErr_Occurred()) SWIG_fail;
21407 }
21408 resultobj = SWIG_From_int((int)result);
21409 {
21410 if (temp2)
21411 delete arg2;
21412 }
21413 return resultobj;
21414 fail:
21415 {
21416 if (temp2)
21417 delete arg2;
21418 }
21419 return NULL;
21420 }
21421
21422
21423 static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
21424 PyObject *resultobj;
21425 wxDateTime *arg1 = (wxDateTime *) 0 ;
21426 wxString *arg2 = 0 ;
21427 int result;
21428 bool temp2 = false ;
21429 PyObject * obj0 = 0 ;
21430 PyObject * obj1 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self",(char *) "time", NULL
21433 };
21434
21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21438 {
21439 arg2 = wxString_in_helper(obj1);
21440 if (arg2 == NULL) SWIG_fail;
21441 temp2 = true;
21442 }
21443 {
21444 PyThreadState* __tstate = wxPyBeginAllowThreads();
21445 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21446
21447 wxPyEndAllowThreads(__tstate);
21448 if (PyErr_Occurred()) SWIG_fail;
21449 }
21450 resultobj = SWIG_From_int((int)result);
21451 {
21452 if (temp2)
21453 delete arg2;
21454 }
21455 return resultobj;
21456 fail:
21457 {
21458 if (temp2)
21459 delete arg2;
21460 }
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxDateTime *arg1 = (wxDateTime *) 0 ;
21468 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21469 wxString *arg2 = (wxString *) &arg2_defvalue ;
21470 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21471 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21472 wxString result;
21473 bool temp2 = false ;
21474 bool temp3 = false ;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj1 = 0 ;
21477 PyObject * obj2 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "self",(char *) "format",(char *) "tz", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21485 if (obj1) {
21486 {
21487 arg2 = wxString_in_helper(obj1);
21488 if (arg2 == NULL) SWIG_fail;
21489 temp2 = true;
21490 }
21491 }
21492 if (obj2) {
21493 {
21494 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21495 temp3 = true;
21496 }
21497 }
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
21505 {
21506 #if wxUSE_UNICODE
21507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21508 #else
21509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21510 #endif
21511 }
21512 {
21513 if (temp2)
21514 delete arg2;
21515 }
21516 {
21517 if (temp3) delete arg3;
21518 }
21519 return resultobj;
21520 fail:
21521 {
21522 if (temp2)
21523 delete arg2;
21524 }
21525 {
21526 if (temp3) delete arg3;
21527 }
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxDateTime *arg1 = (wxDateTime *) 0 ;
21535 wxString result;
21536 PyObject * obj0 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21544 {
21545 PyThreadState* __tstate = wxPyBeginAllowThreads();
21546 result = ((wxDateTime const *)arg1)->FormatDate();
21547
21548 wxPyEndAllowThreads(__tstate);
21549 if (PyErr_Occurred()) SWIG_fail;
21550 }
21551 {
21552 #if wxUSE_UNICODE
21553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21554 #else
21555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21556 #endif
21557 }
21558 return resultobj;
21559 fail:
21560 return NULL;
21561 }
21562
21563
21564 static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
21565 PyObject *resultobj;
21566 wxDateTime *arg1 = (wxDateTime *) 0 ;
21567 wxString result;
21568 PyObject * obj0 = 0 ;
21569 char *kwnames[] = {
21570 (char *) "self", NULL
21571 };
21572
21573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21576 {
21577 PyThreadState* __tstate = wxPyBeginAllowThreads();
21578 result = ((wxDateTime const *)arg1)->FormatTime();
21579
21580 wxPyEndAllowThreads(__tstate);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 {
21584 #if wxUSE_UNICODE
21585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21586 #else
21587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21588 #endif
21589 }
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxDateTime *arg1 = (wxDateTime *) 0 ;
21599 wxString result;
21600 PyObject * obj0 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21608 {
21609 PyThreadState* __tstate = wxPyBeginAllowThreads();
21610 result = ((wxDateTime const *)arg1)->FormatISODate();
21611
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 {
21616 #if wxUSE_UNICODE
21617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21618 #else
21619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21620 #endif
21621 }
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
21629 PyObject *resultobj;
21630 wxDateTime *arg1 = (wxDateTime *) 0 ;
21631 wxString result;
21632 PyObject * obj0 = 0 ;
21633 char *kwnames[] = {
21634 (char *) "self", NULL
21635 };
21636
21637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21640 {
21641 PyThreadState* __tstate = wxPyBeginAllowThreads();
21642 result = ((wxDateTime const *)arg1)->FormatISOTime();
21643
21644 wxPyEndAllowThreads(__tstate);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 {
21648 #if wxUSE_UNICODE
21649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21650 #else
21651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21652 #endif
21653 }
21654 return resultobj;
21655 fail:
21656 return NULL;
21657 }
21658
21659
21660 static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
21661 PyObject *obj;
21662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21663 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21664 Py_INCREF(obj);
21665 return Py_BuildValue((char *)"");
21666 }
21667 static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
21668 PyObject *resultobj;
21669 long arg1 ;
21670 wxTimeSpan result;
21671 PyObject * obj0 = 0 ;
21672 char *kwnames[] = {
21673 (char *) "sec", NULL
21674 };
21675
21676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21677 arg1 = (long)SWIG_As_long(obj0);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 {
21680 PyThreadState* __tstate = wxPyBeginAllowThreads();
21681 result = wxTimeSpan::Seconds(arg1);
21682
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 {
21687 wxTimeSpan * resultptr;
21688 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21689 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21690 }
21691 return resultobj;
21692 fail:
21693 return NULL;
21694 }
21695
21696
21697 static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
21698 PyObject *resultobj;
21699 wxTimeSpan result;
21700 char *kwnames[] = {
21701 NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 result = wxTimeSpan::Second();
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 {
21713 wxTimeSpan * resultptr;
21714 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21716 }
21717 return resultobj;
21718 fail:
21719 return NULL;
21720 }
21721
21722
21723 static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 long arg1 ;
21726 wxTimeSpan result;
21727 PyObject * obj0 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "min", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21733 arg1 = (long)SWIG_As_long(obj0);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = wxTimeSpan::Minutes(arg1);
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 {
21743 wxTimeSpan * resultptr;
21744 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21746 }
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxTimeSpan result;
21756 char *kwnames[] = {
21757 NULL
21758 };
21759
21760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21761 {
21762 PyThreadState* __tstate = wxPyBeginAllowThreads();
21763 result = wxTimeSpan::Minute();
21764
21765 wxPyEndAllowThreads(__tstate);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 {
21769 wxTimeSpan * resultptr;
21770 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21772 }
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 long arg1 ;
21782 wxTimeSpan result;
21783 PyObject * obj0 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "hours", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21789 arg1 = (long)SWIG_As_long(obj0);
21790 if (PyErr_Occurred()) SWIG_fail;
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = wxTimeSpan::Hours(arg1);
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 wxTimeSpan * resultptr;
21800 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21802 }
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxTimeSpan result;
21812 char *kwnames[] = {
21813 NULL
21814 };
21815
21816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 result = wxTimeSpan::Hour();
21820
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 {
21825 wxTimeSpan * resultptr;
21826 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21828 }
21829 return resultobj;
21830 fail:
21831 return NULL;
21832 }
21833
21834
21835 static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
21836 PyObject *resultobj;
21837 long arg1 ;
21838 wxTimeSpan result;
21839 PyObject * obj0 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "days", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21845 arg1 = (long)SWIG_As_long(obj0);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 {
21848 PyThreadState* __tstate = wxPyBeginAllowThreads();
21849 result = wxTimeSpan::Days(arg1);
21850
21851 wxPyEndAllowThreads(__tstate);
21852 if (PyErr_Occurred()) SWIG_fail;
21853 }
21854 {
21855 wxTimeSpan * resultptr;
21856 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21858 }
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxTimeSpan result;
21868 char *kwnames[] = {
21869 NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 result = wxTimeSpan::Day();
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 wxTimeSpan * resultptr;
21882 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21884 }
21885 return resultobj;
21886 fail:
21887 return NULL;
21888 }
21889
21890
21891 static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 long arg1 ;
21894 wxTimeSpan result;
21895 PyObject * obj0 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "days", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21901 arg1 = (long)SWIG_As_long(obj0);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = wxTimeSpan::Weeks(arg1);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 {
21911 wxTimeSpan * resultptr;
21912 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21914 }
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxTimeSpan result;
21924 char *kwnames[] = {
21925 NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = wxTimeSpan::Week();
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 wxTimeSpan * resultptr;
21938 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21940 }
21941 return resultobj;
21942 fail:
21943 return NULL;
21944 }
21945
21946
21947 static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21948 PyObject *resultobj;
21949 long arg1 = (long) 0 ;
21950 long arg2 = (long) 0 ;
21951 long arg3 = (long) 0 ;
21952 long arg4 = (long) 0 ;
21953 wxTimeSpan *result;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 PyObject * obj3 = 0 ;
21958 char *kwnames[] = {
21959 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21960 };
21961
21962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21963 if (obj0) {
21964 arg1 = (long)SWIG_As_long(obj0);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 if (obj1) {
21968 arg2 = (long)SWIG_As_long(obj1);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 if (obj2) {
21972 arg3 = (long)SWIG_As_long(obj2);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 if (obj3) {
21976 arg4 = (long)SWIG_As_long(obj3);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21996 PyObject * obj0 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 delete arg1;
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 Py_INCREF(Py_None); resultobj = Py_None;
22012 return resultobj;
22013 fail:
22014 return NULL;
22015 }
22016
22017
22018 static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22021 wxTimeSpan *arg2 = 0 ;
22022 wxTimeSpan *result;
22023 PyObject * obj0 = 0 ;
22024 PyObject * obj1 = 0 ;
22025 char *kwnames[] = {
22026 (char *) "self",(char *) "diff", NULL
22027 };
22028
22029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22033 SWIG_POINTER_EXCEPTION | 0)) == -1)
22034 SWIG_fail;
22035 if (arg2 == NULL) {
22036 PyErr_SetString(PyExc_TypeError,"null reference");
22037 SWIG_fail;
22038 }
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 {
22042 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22043 result = (wxTimeSpan *) &_result_ref;
22044 }
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22050 return resultobj;
22051 fail:
22052 return NULL;
22053 }
22054
22055
22056 static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22059 wxTimeSpan *arg2 = 0 ;
22060 wxTimeSpan *result;
22061 PyObject * obj0 = 0 ;
22062 PyObject * obj1 = 0 ;
22063 char *kwnames[] = {
22064 (char *) "self",(char *) "diff", NULL
22065 };
22066
22067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22070 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1)
22072 SWIG_fail;
22073 if (arg2 == NULL) {
22074 PyErr_SetString(PyExc_TypeError,"null reference");
22075 SWIG_fail;
22076 }
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 {
22080 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22081 result = (wxTimeSpan *) &_result_ref;
22082 }
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22097 int arg2 ;
22098 wxTimeSpan *result;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "n", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22108 arg2 = (int)SWIG_As_int(obj1);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 {
22113 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
22114 result = (wxTimeSpan *) &_result_ref;
22115 }
22116
22117 wxPyEndAllowThreads(__tstate);
22118 if (PyErr_Occurred()) SWIG_fail;
22119 }
22120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22121 return resultobj;
22122 fail:
22123 return NULL;
22124 }
22125
22126
22127 static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj;
22129 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22130 wxTimeSpan *result;
22131 PyObject * obj0 = 0 ;
22132 char *kwnames[] = {
22133 (char *) "self", NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
22137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22139 {
22140 PyThreadState* __tstate = wxPyBeginAllowThreads();
22141 {
22142 wxTimeSpan &_result_ref = (arg1)->Neg();
22143 result = (wxTimeSpan *) &_result_ref;
22144 }
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22159 wxTimeSpan result;
22160 PyObject * obj0 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
22166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = ((wxTimeSpan const *)arg1)->Abs();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 {
22176 wxTimeSpan * resultptr;
22177 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22189 wxTimeSpan *arg2 = 0 ;
22190 wxTimeSpan *result;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self",(char *) "diff", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22199 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22200 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22201 SWIG_POINTER_EXCEPTION | 0)) == -1)
22202 SWIG_fail;
22203 if (arg2 == NULL) {
22204 PyErr_SetString(PyExc_TypeError,"null reference");
22205 SWIG_fail;
22206 }
22207 {
22208 PyThreadState* __tstate = wxPyBeginAllowThreads();
22209 {
22210 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22211 result = (wxTimeSpan *) &_result_ref;
22212 }
22213
22214 wxPyEndAllowThreads(__tstate);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22227 wxTimeSpan *arg2 = 0 ;
22228 wxTimeSpan *result;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self",(char *) "diff", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22237 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22239 SWIG_POINTER_EXCEPTION | 0)) == -1)
22240 SWIG_fail;
22241 if (arg2 == NULL) {
22242 PyErr_SetString(PyExc_TypeError,"null reference");
22243 SWIG_fail;
22244 }
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 {
22248 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22249 result = (wxTimeSpan *) &_result_ref;
22250 }
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22265 int arg2 ;
22266 wxTimeSpan *result;
22267 PyObject * obj0 = 0 ;
22268 PyObject * obj1 = 0 ;
22269 char *kwnames[] = {
22270 (char *) "self",(char *) "n", NULL
22271 };
22272
22273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
22274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22275 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22276 arg2 = (int)SWIG_As_int(obj1);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 {
22279 PyThreadState* __tstate = wxPyBeginAllowThreads();
22280 {
22281 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
22282 result = (wxTimeSpan *) &_result_ref;
22283 }
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22298 wxTimeSpan *result;
22299 PyObject * obj0 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 {
22310 wxTimeSpan &_result_ref = (arg1)->operator -();
22311 result = (wxTimeSpan *) &_result_ref;
22312 }
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22318 return resultobj;
22319 fail:
22320 return NULL;
22321 }
22322
22323
22324 static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22327 wxTimeSpan *arg2 = 0 ;
22328 wxTimeSpan result;
22329 PyObject * obj0 = 0 ;
22330 PyObject * obj1 = 0 ;
22331 char *kwnames[] = {
22332 (char *) "self",(char *) "other", NULL
22333 };
22334
22335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22339 SWIG_POINTER_EXCEPTION | 0)) == -1)
22340 SWIG_fail;
22341 if (arg2 == NULL) {
22342 PyErr_SetString(PyExc_TypeError,"null reference");
22343 SWIG_fail;
22344 }
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 {
22353 wxTimeSpan * resultptr;
22354 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22356 }
22357 return resultobj;
22358 fail:
22359 return NULL;
22360 }
22361
22362
22363 static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
22364 PyObject *resultobj;
22365 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22366 wxTimeSpan *arg2 = 0 ;
22367 wxTimeSpan result;
22368 PyObject * obj0 = 0 ;
22369 PyObject * obj1 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "self",(char *) "other", NULL
22372 };
22373
22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22378 SWIG_POINTER_EXCEPTION | 0)) == -1)
22379 SWIG_fail;
22380 if (arg2 == NULL) {
22381 PyErr_SetString(PyExc_TypeError,"null reference");
22382 SWIG_fail;
22383 }
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22387
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
22391 {
22392 wxTimeSpan * resultptr;
22393 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22395 }
22396 return resultobj;
22397 fail:
22398 return NULL;
22399 }
22400
22401
22402 static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj;
22404 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22405 int arg2 ;
22406 wxTimeSpan result;
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "n", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 arg2 = (int)SWIG_As_int(obj1);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = wxTimeSpan___mul__(arg1,arg2);
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 {
22426 wxTimeSpan * resultptr;
22427 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22429 }
22430 return resultobj;
22431 fail:
22432 return NULL;
22433 }
22434
22435
22436 static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
22437 PyObject *resultobj;
22438 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22439 int arg2 ;
22440 wxTimeSpan result;
22441 PyObject * obj0 = 0 ;
22442 PyObject * obj1 = 0 ;
22443 char *kwnames[] = {
22444 (char *) "self",(char *) "n", NULL
22445 };
22446
22447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22450 arg2 = (int)SWIG_As_int(obj1);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 result = wxTimeSpan___rmul__(arg1,arg2);
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 {
22460 wxTimeSpan * resultptr;
22461 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22463 }
22464 return resultobj;
22465 fail:
22466 return NULL;
22467 }
22468
22469
22470 static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
22471 PyObject *resultobj;
22472 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22473 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22474 bool result;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char *kwnames[] = {
22478 (char *) "self",(char *) "other", NULL
22479 };
22480
22481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22486 {
22487 PyThreadState* __tstate = wxPyBeginAllowThreads();
22488 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22489
22490 wxPyEndAllowThreads(__tstate);
22491 if (PyErr_Occurred()) SWIG_fail;
22492 }
22493 {
22494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22495 }
22496 return resultobj;
22497 fail:
22498 return NULL;
22499 }
22500
22501
22502 static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
22503 PyObject *resultobj;
22504 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22505 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22506 bool result;
22507 PyObject * obj0 = 0 ;
22508 PyObject * obj1 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "other", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 {
22526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22527 }
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22537 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22538 bool result;
22539 PyObject * obj0 = 0 ;
22540 PyObject * obj1 = 0 ;
22541 char *kwnames[] = {
22542 (char *) "self",(char *) "other", NULL
22543 };
22544
22545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 {
22558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22559 }
22560 return resultobj;
22561 fail:
22562 return NULL;
22563 }
22564
22565
22566 static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
22567 PyObject *resultobj;
22568 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22569 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22570 bool result;
22571 PyObject * obj0 = 0 ;
22572 PyObject * obj1 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self",(char *) "other", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 {
22590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22591 }
22592 return resultobj;
22593 fail:
22594 return NULL;
22595 }
22596
22597
22598 static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22601 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22602 bool result;
22603 PyObject * obj0 = 0 ;
22604 PyObject * obj1 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "other", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 {
22615 PyThreadState* __tstate = wxPyBeginAllowThreads();
22616 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 {
22622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22623 }
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22633 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22634 bool result;
22635 PyObject * obj0 = 0 ;
22636 PyObject * obj1 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "other", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 {
22654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22655 }
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22665 bool result;
22666 PyObject * obj0 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22677
22678 wxPyEndAllowThreads(__tstate);
22679 if (PyErr_Occurred()) SWIG_fail;
22680 }
22681 {
22682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687 }
22688
22689
22690 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
22691 PyObject *resultobj;
22692 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22693 bool result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22711 }
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22721 bool result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 {
22738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22739 }
22740 return resultobj;
22741 fail:
22742 return NULL;
22743 }
22744
22745
22746 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22749 wxTimeSpan *arg2 = 0 ;
22750 bool result;
22751 PyObject * obj0 = 0 ;
22752 PyObject * obj1 = 0 ;
22753 char *kwnames[] = {
22754 (char *) "self",(char *) "ts", NULL
22755 };
22756
22757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22761 SWIG_POINTER_EXCEPTION | 0)) == -1)
22762 SWIG_fail;
22763 if (arg2 == NULL) {
22764 PyErr_SetString(PyExc_TypeError,"null reference");
22765 SWIG_fail;
22766 }
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 {
22775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22776 }
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22786 wxTimeSpan *arg2 = 0 ;
22787 bool result;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "ts", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22798 SWIG_POINTER_EXCEPTION | 0)) == -1)
22799 SWIG_fail;
22800 if (arg2 == NULL) {
22801 PyErr_SetString(PyExc_TypeError,"null reference");
22802 SWIG_fail;
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 {
22812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22813 }
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22823 wxTimeSpan *arg2 = 0 ;
22824 bool result;
22825 PyObject * obj0 = 0 ;
22826 PyObject * obj1 = 0 ;
22827 char *kwnames[] = {
22828 (char *) "self",(char *) "t", NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22835 SWIG_POINTER_EXCEPTION | 0)) == -1)
22836 SWIG_fail;
22837 if (arg2 == NULL) {
22838 PyErr_SetString(PyExc_TypeError,"null reference");
22839 SWIG_fail;
22840 }
22841 {
22842 PyThreadState* __tstate = wxPyBeginAllowThreads();
22843 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 {
22849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22850 }
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22860 int result;
22861 PyObject * obj0 = 0 ;
22862 char *kwnames[] = {
22863 (char *) "self", NULL
22864 };
22865
22866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 resultobj = SWIG_From_int((int)result);
22877 return resultobj;
22878 fail:
22879 return NULL;
22880 }
22881
22882
22883 static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22886 int result;
22887 PyObject * obj0 = 0 ;
22888 char *kwnames[] = {
22889 (char *) "self", NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 resultobj = SWIG_From_int((int)result);
22903 return resultobj;
22904 fail:
22905 return NULL;
22906 }
22907
22908
22909 static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22912 int result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 resultobj = SWIG_From_int((int)result);
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22938 int result;
22939 PyObject * obj0 = 0 ;
22940 char *kwnames[] = {
22941 (char *) "self", NULL
22942 };
22943
22944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 resultobj = SWIG_From_int((int)result);
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj;
22963 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22964 wxLongLong result;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 {
22981 PyObject *hi, *lo, *shifter, *shifted;
22982 hi = PyLong_FromLong( (&result)->GetHi() );
22983 lo = PyLong_FromLong( (&result)->GetLo() );
22984 shifter = PyLong_FromLong(32);
22985 shifted = PyNumber_Lshift(hi, shifter);
22986 resultobj = PyNumber_Or(shifted, lo);
22987 Py_DECREF(hi);
22988 Py_DECREF(lo);
22989 Py_DECREF(shifter);
22990 Py_DECREF(shifted);
22991 }
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23001 wxLongLong result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 {
23018 PyObject *hi, *lo, *shifter, *shifted;
23019 hi = PyLong_FromLong( (&result)->GetHi() );
23020 lo = PyLong_FromLong( (&result)->GetLo() );
23021 shifter = PyLong_FromLong(32);
23022 shifted = PyNumber_Lshift(hi, shifter);
23023 resultobj = PyNumber_Or(shifted, lo);
23024 Py_DECREF(hi);
23025 Py_DECREF(lo);
23026 Py_DECREF(shifter);
23027 Py_DECREF(shifted);
23028 }
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23038 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
23039 wxString *arg2 = (wxString *) &arg2_defvalue ;
23040 wxString result;
23041 bool temp2 = false ;
23042 PyObject * obj0 = 0 ;
23043 PyObject * obj1 = 0 ;
23044 char *kwnames[] = {
23045 (char *) "self",(char *) "format", NULL
23046 };
23047
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 if (obj1) {
23052 {
23053 arg2 = wxString_in_helper(obj1);
23054 if (arg2 == NULL) SWIG_fail;
23055 temp2 = true;
23056 }
23057 }
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
23065 {
23066 #if wxUSE_UNICODE
23067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23068 #else
23069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23070 #endif
23071 }
23072 {
23073 if (temp2)
23074 delete arg2;
23075 }
23076 return resultobj;
23077 fail:
23078 {
23079 if (temp2)
23080 delete arg2;
23081 }
23082 return NULL;
23083 }
23084
23085
23086 static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
23087 PyObject *obj;
23088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23089 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
23090 Py_INCREF(obj);
23091 return Py_BuildValue((char *)"");
23092 }
23093 static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
23094 PyObject *resultobj;
23095 int arg1 = (int) 0 ;
23096 int arg2 = (int) 0 ;
23097 int arg3 = (int) 0 ;
23098 int arg4 = (int) 0 ;
23099 wxDateSpan *result;
23100 PyObject * obj0 = 0 ;
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 PyObject * obj3 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23109 if (obj0) {
23110 arg1 = (int)SWIG_As_int(obj0);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 if (obj1) {
23114 arg2 = (int)SWIG_As_int(obj1);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 if (obj2) {
23118 arg3 = (int)SWIG_As_int(obj2);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 if (obj3) {
23122 arg4 = (int)SWIG_As_int(obj3);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23142 PyObject * obj0 = 0 ;
23143 char *kwnames[] = {
23144 (char *) "self", NULL
23145 };
23146
23147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
23148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 delete arg1;
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 int arg1 ;
23167 wxDateSpan result;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "days", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
23174 arg1 = (int)SWIG_As_int(obj0);
23175 if (PyErr_Occurred()) SWIG_fail;
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 result = wxDateSpan::Days(arg1);
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 {
23184 wxDateSpan * resultptr;
23185 resultptr = new wxDateSpan((wxDateSpan &) result);
23186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23187 }
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj;
23196 wxDateSpan result;
23197 char *kwnames[] = {
23198 NULL
23199 };
23200
23201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 result = wxDateSpan::Day();
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 {
23210 wxDateSpan * resultptr;
23211 resultptr = new wxDateSpan((wxDateSpan &) result);
23212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23213 }
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 int arg1 ;
23223 wxDateSpan result;
23224 PyObject * obj0 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "weeks", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
23230 arg1 = (int)SWIG_As_int(obj0);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = wxDateSpan::Weeks(arg1);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 {
23240 wxDateSpan * resultptr;
23241 resultptr = new wxDateSpan((wxDateSpan &) result);
23242 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23243 }
23244 return resultobj;
23245 fail:
23246 return NULL;
23247 }
23248
23249
23250 static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj;
23252 wxDateSpan result;
23253 char *kwnames[] = {
23254 NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 result = wxDateSpan::Week();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 {
23266 wxDateSpan * resultptr;
23267 resultptr = new wxDateSpan((wxDateSpan &) result);
23268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23269 }
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 int arg1 ;
23279 wxDateSpan result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "mon", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
23286 arg1 = (int)SWIG_As_int(obj0);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = wxDateSpan::Months(arg1);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 {
23296 wxDateSpan * resultptr;
23297 resultptr = new wxDateSpan((wxDateSpan &) result);
23298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23299 }
23300 return resultobj;
23301 fail:
23302 return NULL;
23303 }
23304
23305
23306 static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxDateSpan result;
23309 char *kwnames[] = {
23310 NULL
23311 };
23312
23313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = wxDateSpan::Month();
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 {
23322 wxDateSpan * resultptr;
23323 resultptr = new wxDateSpan((wxDateSpan &) result);
23324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23325 }
23326 return resultobj;
23327 fail:
23328 return NULL;
23329 }
23330
23331
23332 static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 int arg1 ;
23335 wxDateSpan result;
23336 PyObject * obj0 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "years", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23342 arg1 = (int)SWIG_As_int(obj0);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = wxDateSpan::Years(arg1);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 {
23352 wxDateSpan * resultptr;
23353 resultptr = new wxDateSpan((wxDateSpan &) result);
23354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23355 }
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxDateSpan result;
23365 char *kwnames[] = {
23366 NULL
23367 };
23368
23369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = wxDateSpan::Year();
23373
23374 wxPyEndAllowThreads(__tstate);
23375 if (PyErr_Occurred()) SWIG_fail;
23376 }
23377 {
23378 wxDateSpan * resultptr;
23379 resultptr = new wxDateSpan((wxDateSpan &) result);
23380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23381 }
23382 return resultobj;
23383 fail:
23384 return NULL;
23385 }
23386
23387
23388 static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23389 PyObject *resultobj;
23390 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23391 int arg2 ;
23392 wxDateSpan *result;
23393 PyObject * obj0 = 0 ;
23394 PyObject * obj1 = 0 ;
23395 char *kwnames[] = {
23396 (char *) "self",(char *) "n", NULL
23397 };
23398
23399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23402 arg2 = (int)SWIG_As_int(obj1);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 {
23405 PyThreadState* __tstate = wxPyBeginAllowThreads();
23406 {
23407 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23408 result = (wxDateSpan *) &_result_ref;
23409 }
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23415 return resultobj;
23416 fail:
23417 return NULL;
23418 }
23419
23420
23421 static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23424 int arg2 ;
23425 wxDateSpan *result;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self",(char *) "n", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23435 arg2 = (int)SWIG_As_int(obj1);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 {
23438 PyThreadState* __tstate = wxPyBeginAllowThreads();
23439 {
23440 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23441 result = (wxDateSpan *) &_result_ref;
23442 }
23443
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23457 int arg2 ;
23458 wxDateSpan *result;
23459 PyObject * obj0 = 0 ;
23460 PyObject * obj1 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self",(char *) "n", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23468 arg2 = (int)SWIG_As_int(obj1);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 {
23473 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23474 result = (wxDateSpan *) &_result_ref;
23475 }
23476
23477 wxPyEndAllowThreads(__tstate);
23478 if (PyErr_Occurred()) SWIG_fail;
23479 }
23480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23481 return resultobj;
23482 fail:
23483 return NULL;
23484 }
23485
23486
23487 static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23490 int arg2 ;
23491 wxDateSpan *result;
23492 PyObject * obj0 = 0 ;
23493 PyObject * obj1 = 0 ;
23494 char *kwnames[] = {
23495 (char *) "self",(char *) "n", NULL
23496 };
23497
23498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23501 arg2 = (int)SWIG_As_int(obj1);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 {
23506 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23507 result = (wxDateSpan *) &_result_ref;
23508 }
23509
23510 wxPyEndAllowThreads(__tstate);
23511 if (PyErr_Occurred()) SWIG_fail;
23512 }
23513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23514 return resultobj;
23515 fail:
23516 return NULL;
23517 }
23518
23519
23520 static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23523 int result;
23524 PyObject * obj0 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 result = (int)((wxDateSpan const *)arg1)->GetYears();
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 resultobj = SWIG_From_int((int)result);
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23549 int result;
23550 PyObject * obj0 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self", NULL
23553 };
23554
23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23558 {
23559 PyThreadState* __tstate = wxPyBeginAllowThreads();
23560 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23561
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = SWIG_From_int((int)result);
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23573 PyObject *resultobj;
23574 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23575 int result;
23576 PyObject * obj0 = 0 ;
23577 char *kwnames[] = {
23578 (char *) "self", NULL
23579 };
23580
23581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23584 {
23585 PyThreadState* __tstate = wxPyBeginAllowThreads();
23586 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23587
23588 wxPyEndAllowThreads(__tstate);
23589 if (PyErr_Occurred()) SWIG_fail;
23590 }
23591 resultobj = SWIG_From_int((int)result);
23592 return resultobj;
23593 fail:
23594 return NULL;
23595 }
23596
23597
23598 static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23599 PyObject *resultobj;
23600 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23601 int result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (int)((wxDateSpan const *)arg1)->GetDays();
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 resultobj = SWIG_From_int((int)result);
23618 return resultobj;
23619 fail:
23620 return NULL;
23621 }
23622
23623
23624 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23627 int result;
23628 PyObject * obj0 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23636 {
23637 PyThreadState* __tstate = wxPyBeginAllowThreads();
23638 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23639
23640 wxPyEndAllowThreads(__tstate);
23641 if (PyErr_Occurred()) SWIG_fail;
23642 }
23643 resultobj = SWIG_From_int((int)result);
23644 return resultobj;
23645 fail:
23646 return NULL;
23647 }
23648
23649
23650 static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
23651 PyObject *resultobj;
23652 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23653 wxDateSpan *arg2 = 0 ;
23654 wxDateSpan *result;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "other", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1)
23666 SWIG_fail;
23667 if (arg2 == NULL) {
23668 PyErr_SetString(PyExc_TypeError,"null reference");
23669 SWIG_fail;
23670 }
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 {
23674 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23675 result = (wxDateSpan *) &_result_ref;
23676 }
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23691 wxDateSpan *arg2 = 0 ;
23692 wxDateSpan *result;
23693 PyObject * obj0 = 0 ;
23694 PyObject * obj1 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "other", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23703 SWIG_POINTER_EXCEPTION | 0)) == -1)
23704 SWIG_fail;
23705 if (arg2 == NULL) {
23706 PyErr_SetString(PyExc_TypeError,"null reference");
23707 SWIG_fail;
23708 }
23709 {
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 {
23712 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23713 result = (wxDateSpan *) &_result_ref;
23714 }
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23729 wxDateSpan *result;
23730 PyObject * obj0 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 {
23741 wxDateSpan &_result_ref = (arg1)->Neg();
23742 result = (wxDateSpan *) &_result_ref;
23743 }
23744
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23758 int arg2 ;
23759 wxDateSpan *result;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self",(char *) "factor", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23769 arg2 = (int)SWIG_As_int(obj1);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 {
23774 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23775 result = (wxDateSpan *) &_result_ref;
23776 }
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23782 return resultobj;
23783 fail:
23784 return NULL;
23785 }
23786
23787
23788 static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23791 wxDateSpan *arg2 = 0 ;
23792 wxDateSpan *result;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj1 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self",(char *) "other", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23801 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23803 SWIG_POINTER_EXCEPTION | 0)) == -1)
23804 SWIG_fail;
23805 if (arg2 == NULL) {
23806 PyErr_SetString(PyExc_TypeError,"null reference");
23807 SWIG_fail;
23808 }
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 {
23812 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23813 result = (wxDateSpan *) &_result_ref;
23814 }
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23829 wxDateSpan *arg2 = 0 ;
23830 wxDateSpan *result;
23831 PyObject * obj0 = 0 ;
23832 PyObject * obj1 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self",(char *) "other", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23839 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23841 SWIG_POINTER_EXCEPTION | 0)) == -1)
23842 SWIG_fail;
23843 if (arg2 == NULL) {
23844 PyErr_SetString(PyExc_TypeError,"null reference");
23845 SWIG_fail;
23846 }
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 {
23850 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23851 result = (wxDateSpan *) &_result_ref;
23852 }
23853
23854 wxPyEndAllowThreads(__tstate);
23855 if (PyErr_Occurred()) SWIG_fail;
23856 }
23857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23858 return resultobj;
23859 fail:
23860 return NULL;
23861 }
23862
23863
23864 static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
23865 PyObject *resultobj;
23866 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23867 wxDateSpan *result;
23868 PyObject * obj0 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 {
23879 wxDateSpan &_result_ref = (arg1)->operator -();
23880 result = (wxDateSpan *) &_result_ref;
23881 }
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj;
23895 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23896 int arg2 ;
23897 wxDateSpan *result;
23898 PyObject * obj0 = 0 ;
23899 PyObject * obj1 = 0 ;
23900 char *kwnames[] = {
23901 (char *) "self",(char *) "factor", NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23906 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23907 arg2 = (int)SWIG_As_int(obj1);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 {
23910 PyThreadState* __tstate = wxPyBeginAllowThreads();
23911 {
23912 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23913 result = (wxDateSpan *) &_result_ref;
23914 }
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23920 return resultobj;
23921 fail:
23922 return NULL;
23923 }
23924
23925
23926 static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj;
23928 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23929 wxDateSpan *arg2 = 0 ;
23930 wxDateSpan result;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
23933 char *kwnames[] = {
23934 (char *) "self",(char *) "other", NULL
23935 };
23936
23937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23941 SWIG_POINTER_EXCEPTION | 0)) == -1)
23942 SWIG_fail;
23943 if (arg2 == NULL) {
23944 PyErr_SetString(PyExc_TypeError,"null reference");
23945 SWIG_fail;
23946 }
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 {
23955 wxDateSpan * resultptr;
23956 resultptr = new wxDateSpan((wxDateSpan &) result);
23957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23958 }
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23968 wxDateSpan *arg2 = 0 ;
23969 wxDateSpan result;
23970 PyObject * obj0 = 0 ;
23971 PyObject * obj1 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "other", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1)
23981 SWIG_fail;
23982 if (arg2 == NULL) {
23983 PyErr_SetString(PyExc_TypeError,"null reference");
23984 SWIG_fail;
23985 }
23986 {
23987 PyThreadState* __tstate = wxPyBeginAllowThreads();
23988 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23989
23990 wxPyEndAllowThreads(__tstate);
23991 if (PyErr_Occurred()) SWIG_fail;
23992 }
23993 {
23994 wxDateSpan * resultptr;
23995 resultptr = new wxDateSpan((wxDateSpan &) result);
23996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23997 }
23998 return resultobj;
23999 fail:
24000 return NULL;
24001 }
24002
24003
24004 static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24007 int arg2 ;
24008 wxDateSpan result;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 char *kwnames[] = {
24012 (char *) "self",(char *) "n", NULL
24013 };
24014
24015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
24016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24018 arg2 = (int)SWIG_As_int(obj1);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 result = wxDateSpan___mul__(arg1,arg2);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 wxDateSpan * resultptr;
24029 resultptr = new wxDateSpan((wxDateSpan &) result);
24030 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24031 }
24032 return resultobj;
24033 fail:
24034 return NULL;
24035 }
24036
24037
24038 static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
24039 PyObject *resultobj;
24040 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24041 int arg2 ;
24042 wxDateSpan result;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 char *kwnames[] = {
24046 (char *) "self",(char *) "n", NULL
24047 };
24048
24049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
24050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24052 arg2 = (int)SWIG_As_int(obj1);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = wxDateSpan___rmul__(arg1,arg2);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 {
24062 wxDateSpan * resultptr;
24063 resultptr = new wxDateSpan((wxDateSpan &) result);
24064 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24065 }
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24073 PyObject *resultobj;
24074 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24075 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24076 bool result;
24077 PyObject * obj0 = 0 ;
24078 PyObject * obj1 = 0 ;
24079 char *kwnames[] = {
24080 (char *) "self",(char *) "other", NULL
24081 };
24082
24083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
24084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24088 {
24089 PyThreadState* __tstate = wxPyBeginAllowThreads();
24090 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
24091
24092 wxPyEndAllowThreads(__tstate);
24093 if (PyErr_Occurred()) SWIG_fail;
24094 }
24095 {
24096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24097 }
24098 return resultobj;
24099 fail:
24100 return NULL;
24101 }
24102
24103
24104 static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24105 PyObject *resultobj;
24106 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24107 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24108 bool result;
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self",(char *) "other", NULL
24113 };
24114
24115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
24116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
24123
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 {
24128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24129 }
24130 return resultobj;
24131 fail:
24132 return NULL;
24133 }
24134
24135
24136 static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
24137 PyObject *obj;
24138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24139 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
24140 Py_INCREF(obj);
24141 return Py_BuildValue((char *)"");
24142 }
24143 static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 long result;
24146 char *kwnames[] = {
24147 NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
24151 {
24152 PyThreadState* __tstate = wxPyBeginAllowThreads();
24153 result = (long)wxGetLocalTime();
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = SWIG_From_long((long)result);
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 long result;
24168 char *kwnames[] = {
24169 NULL
24170 };
24171
24172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
24173 {
24174 PyThreadState* __tstate = wxPyBeginAllowThreads();
24175 result = (long)wxGetUTCTime();
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 resultobj = SWIG_From_long((long)result);
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 long result;
24190 char *kwnames[] = {
24191 NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (long)wxGetCurrentTime();
24198
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 resultobj = SWIG_From_long((long)result);
24203 return resultobj;
24204 fail:
24205 return NULL;
24206 }
24207
24208
24209 static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxLongLong result;
24212 char *kwnames[] = {
24213 NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = wxGetLocalTimeMillis();
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 {
24225 PyObject *hi, *lo, *shifter, *shifted;
24226 hi = PyLong_FromLong( (&result)->GetHi() );
24227 lo = PyLong_FromLong( (&result)->GetLo() );
24228 shifter = PyLong_FromLong(32);
24229 shifted = PyNumber_Lshift(hi, shifter);
24230 resultobj = PyNumber_Or(shifted, lo);
24231 Py_DECREF(hi);
24232 Py_DECREF(lo);
24233 Py_DECREF(shifter);
24234 Py_DECREF(shifted);
24235 }
24236 return resultobj;
24237 fail:
24238 return NULL;
24239 }
24240
24241
24242 static int _wrap_DefaultDateTime_set(PyObject *) {
24243 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
24244 return 1;
24245 }
24246
24247
24248 static PyObject *_wrap_DefaultDateTime_get() {
24249 PyObject *pyobj;
24250
24251 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
24252 return pyobj;
24253 }
24254
24255
24256 static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24257 PyObject *resultobj;
24258 int arg1 ;
24259 wxDataFormat *result;
24260 PyObject * obj0 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "type", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
24266 arg1 = (int)SWIG_As_int(obj0);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
24271
24272 wxPyEndAllowThreads(__tstate);
24273 if (PyErr_Occurred()) SWIG_fail;
24274 }
24275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24276 return resultobj;
24277 fail:
24278 return NULL;
24279 }
24280
24281
24282 static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24283 PyObject *resultobj;
24284 wxString *arg1 = 0 ;
24285 wxDataFormat *result;
24286 bool temp1 = false ;
24287 PyObject * obj0 = 0 ;
24288 char *kwnames[] = {
24289 (char *) "format", NULL
24290 };
24291
24292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
24293 {
24294 arg1 = wxString_in_helper(obj0);
24295 if (arg1 == NULL) SWIG_fail;
24296 temp1 = true;
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24306 {
24307 if (temp1)
24308 delete arg1;
24309 }
24310 return resultobj;
24311 fail:
24312 {
24313 if (temp1)
24314 delete arg1;
24315 }
24316 return NULL;
24317 }
24318
24319
24320 static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj;
24322 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24323 PyObject * obj0 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 delete arg1;
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 Py_INCREF(Py_None); resultobj = Py_None;
24339 return resultobj;
24340 fail:
24341 return NULL;
24342 }
24343
24344
24345 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
24346 PyObject *resultobj;
24347 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24348 int arg2 ;
24349 bool result;
24350 PyObject * obj0 = 0 ;
24351 PyObject * obj1 = 0 ;
24352
24353 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24356 arg2 = (int)SWIG_As_int(obj1);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 {
24366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
24375 PyObject *resultobj;
24376 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24377 int arg2 ;
24378 bool result;
24379 PyObject * obj0 = 0 ;
24380 PyObject * obj1 = 0 ;
24381
24382 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24385 arg2 = (int)SWIG_As_int(obj1);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 {
24395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24396 }
24397 return resultobj;
24398 fail:
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
24404 PyObject *resultobj;
24405 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24406 wxDataFormat *arg2 = 0 ;
24407 bool result;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410
24411 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1)
24416 SWIG_fail;
24417 if (arg2 == NULL) {
24418 PyErr_SetString(PyExc_TypeError,"null reference");
24419 SWIG_fail;
24420 }
24421 {
24422 PyThreadState* __tstate = wxPyBeginAllowThreads();
24423 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24424
24425 wxPyEndAllowThreads(__tstate);
24426 if (PyErr_Occurred()) SWIG_fail;
24427 }
24428 {
24429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24430 }
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24438 int argc;
24439 PyObject *argv[3];
24440 int ii;
24441
24442 argc = PyObject_Length(args);
24443 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24444 argv[ii] = PyTuple_GetItem(args,ii);
24445 }
24446 if (argc == 2) {
24447 int _v;
24448 {
24449 void *ptr;
24450 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24451 _v = 0;
24452 PyErr_Clear();
24453 } else {
24454 _v = 1;
24455 }
24456 }
24457 if (_v) {
24458 {
24459 void *ptr;
24460 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24461 _v = 0;
24462 PyErr_Clear();
24463 } else {
24464 _v = 1;
24465 }
24466 }
24467 if (_v) {
24468 return _wrap_DataFormat___eq____SWIG_1(self,args);
24469 }
24470 }
24471 }
24472 if (argc == 2) {
24473 int _v;
24474 {
24475 void *ptr;
24476 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24477 _v = 0;
24478 PyErr_Clear();
24479 } else {
24480 _v = 1;
24481 }
24482 }
24483 if (_v) {
24484 _v = SWIG_Check_int(argv[1]);
24485 if (_v) {
24486 return _wrap_DataFormat___eq____SWIG_0(self,args);
24487 }
24488 }
24489 }
24490
24491 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24492 return NULL;
24493 }
24494
24495
24496 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
24497 PyObject *resultobj;
24498 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24499 wxDataFormat *arg2 = 0 ;
24500 bool result;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503
24504 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24508 SWIG_POINTER_EXCEPTION | 0)) == -1)
24509 SWIG_fail;
24510 if (arg2 == NULL) {
24511 PyErr_SetString(PyExc_TypeError,"null reference");
24512 SWIG_fail;
24513 }
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24517
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 {
24522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24523 }
24524 return resultobj;
24525 fail:
24526 return NULL;
24527 }
24528
24529
24530 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24531 int argc;
24532 PyObject *argv[3];
24533 int ii;
24534
24535 argc = PyObject_Length(args);
24536 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24537 argv[ii] = PyTuple_GetItem(args,ii);
24538 }
24539 if (argc == 2) {
24540 int _v;
24541 {
24542 void *ptr;
24543 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24544 _v = 0;
24545 PyErr_Clear();
24546 } else {
24547 _v = 1;
24548 }
24549 }
24550 if (_v) {
24551 {
24552 void *ptr;
24553 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24554 _v = 0;
24555 PyErr_Clear();
24556 } else {
24557 _v = 1;
24558 }
24559 }
24560 if (_v) {
24561 return _wrap_DataFormat___ne____SWIG_1(self,args);
24562 }
24563 }
24564 }
24565 if (argc == 2) {
24566 int _v;
24567 {
24568 void *ptr;
24569 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24570 _v = 0;
24571 PyErr_Clear();
24572 } else {
24573 _v = 1;
24574 }
24575 }
24576 if (_v) {
24577 _v = SWIG_Check_int(argv[1]);
24578 if (_v) {
24579 return _wrap_DataFormat___ne____SWIG_0(self,args);
24580 }
24581 }
24582 }
24583
24584 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24585 return NULL;
24586 }
24587
24588
24589 static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24592 int arg2 ;
24593 PyObject * obj0 = 0 ;
24594 PyObject * obj1 = 0 ;
24595 char *kwnames[] = {
24596 (char *) "self",(char *) "format", NULL
24597 };
24598
24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24602 arg2 = (int)SWIG_As_int(obj1);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 (arg1)->SetType((wxDataFormatId )arg2);
24607
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 Py_INCREF(Py_None); resultobj = Py_None;
24612 return resultobj;
24613 fail:
24614 return NULL;
24615 }
24616
24617
24618 static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj;
24620 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24621 int result;
24622 PyObject * obj0 = 0 ;
24623 char *kwnames[] = {
24624 (char *) "self", NULL
24625 };
24626
24627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 result = (int)((wxDataFormat const *)arg1)->GetType();
24633
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 resultobj = SWIG_From_int((int)result);
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24647 wxString result;
24648 PyObject * obj0 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 result = ((wxDataFormat const *)arg1)->GetId();
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 {
24664 #if wxUSE_UNICODE
24665 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24666 #else
24667 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24668 #endif
24669 }
24670 return resultobj;
24671 fail:
24672 return NULL;
24673 }
24674
24675
24676 static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24679 wxString *arg2 = 0 ;
24680 bool temp2 = false ;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "format", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24690 {
24691 arg2 = wxString_in_helper(obj1);
24692 if (arg2 == NULL) SWIG_fail;
24693 temp2 = true;
24694 }
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 (arg1)->SetId((wxString const &)*arg2);
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 Py_INCREF(Py_None); resultobj = Py_None;
24703 {
24704 if (temp2)
24705 delete arg2;
24706 }
24707 return resultobj;
24708 fail:
24709 {
24710 if (temp2)
24711 delete arg2;
24712 }
24713 return NULL;
24714 }
24715
24716
24717 static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
24718 PyObject *obj;
24719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24720 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24721 Py_INCREF(obj);
24722 return Py_BuildValue((char *)"");
24723 }
24724 static int _wrap_FormatInvalid_set(PyObject *) {
24725 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24726 return 1;
24727 }
24728
24729
24730 static PyObject *_wrap_FormatInvalid_get() {
24731 PyObject *pyobj;
24732
24733 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24734 return pyobj;
24735 }
24736
24737
24738 static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj;
24740 wxDataObject *arg1 = (wxDataObject *) 0 ;
24741 PyObject * obj0 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 delete arg1;
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 Py_INCREF(Py_None); resultobj = Py_None;
24757 return resultobj;
24758 fail:
24759 return NULL;
24760 }
24761
24762
24763 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj;
24765 wxDataObject *arg1 = (wxDataObject *) 0 ;
24766 int arg2 = (int) wxDataObject::Get ;
24767 SwigValueWrapper< wxDataFormat > result;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 char *kwnames[] = {
24771 (char *) "self",(char *) "dir", NULL
24772 };
24773
24774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24777 if (obj1) {
24778 arg2 = (int)SWIG_As_int(obj1);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 {
24789 wxDataFormat * resultptr;
24790 resultptr = new wxDataFormat((wxDataFormat &) result);
24791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24792 }
24793 return resultobj;
24794 fail:
24795 return NULL;
24796 }
24797
24798
24799 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
24800 PyObject *resultobj;
24801 wxDataObject *arg1 = (wxDataObject *) 0 ;
24802 int arg2 = (int) wxDataObject::Get ;
24803 size_t result;
24804 PyObject * obj0 = 0 ;
24805 PyObject * obj1 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self",(char *) "dir", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24813 if (obj1) {
24814 arg2 = (int)SWIG_As_int(obj1);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
24825 return resultobj;
24826 fail:
24827 return NULL;
24828 }
24829
24830
24831 static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj;
24833 wxDataObject *arg1 = (wxDataObject *) 0 ;
24834 wxDataFormat *arg2 = 0 ;
24835 int arg3 = (int) wxDataObject::Get ;
24836 bool result;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 PyObject * obj2 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self",(char *) "format",(char *) "dir", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24847 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24848 SWIG_POINTER_EXCEPTION | 0)) == -1)
24849 SWIG_fail;
24850 if (arg2 == NULL) {
24851 PyErr_SetString(PyExc_TypeError,"null reference");
24852 SWIG_fail;
24853 }
24854 if (obj2) {
24855 arg3 = (int)SWIG_As_int(obj2);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 {
24859 PyThreadState* __tstate = wxPyBeginAllowThreads();
24860 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24861
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 {
24866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24867 }
24868 return resultobj;
24869 fail:
24870 return NULL;
24871 }
24872
24873
24874 static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
24875 PyObject *resultobj;
24876 wxDataObject *arg1 = (wxDataObject *) 0 ;
24877 wxDataFormat *arg2 = 0 ;
24878 size_t result;
24879 PyObject * obj0 = 0 ;
24880 PyObject * obj1 = 0 ;
24881 char *kwnames[] = {
24882 (char *) "self",(char *) "format", NULL
24883 };
24884
24885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24889 SWIG_POINTER_EXCEPTION | 0)) == -1)
24890 SWIG_fail;
24891 if (arg2 == NULL) {
24892 PyErr_SetString(PyExc_TypeError,"null reference");
24893 SWIG_fail;
24894 }
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24898
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
24903 return resultobj;
24904 fail:
24905 return NULL;
24906 }
24907
24908
24909 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
24910 PyObject *resultobj;
24911 wxDataObject *arg1 = (wxDataObject *) 0 ;
24912 int arg2 = (int) wxDataObject::Get ;
24913 PyObject *result;
24914 PyObject * obj0 = 0 ;
24915 PyObject * obj1 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self",(char *) "dir", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
24921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24923 if (obj1) {
24924 arg2 = (int)SWIG_As_int(obj1);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
24930
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 resultobj = result;
24935 return resultobj;
24936 fail:
24937 return NULL;
24938 }
24939
24940
24941 static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
24942 PyObject *resultobj;
24943 wxDataObject *arg1 = (wxDataObject *) 0 ;
24944 wxDataFormat *arg2 = 0 ;
24945 PyObject *result;
24946 PyObject * obj0 = 0 ;
24947 PyObject * obj1 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "self",(char *) "format", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
24953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24956 SWIG_POINTER_EXCEPTION | 0)) == -1)
24957 SWIG_fail;
24958 if (arg2 == NULL) {
24959 PyErr_SetString(PyExc_TypeError,"null reference");
24960 SWIG_fail;
24961 }
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 resultobj = result;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxDataObject *arg1 = (wxDataObject *) 0 ;
24979 wxDataFormat *arg2 = 0 ;
24980 PyObject *arg3 = (PyObject *) 0 ;
24981 bool result;
24982 PyObject * obj0 = 0 ;
24983 PyObject * obj1 = 0 ;
24984 PyObject * obj2 = 0 ;
24985 char *kwnames[] = {
24986 (char *) "self",(char *) "format",(char *) "data", NULL
24987 };
24988
24989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24993 SWIG_POINTER_EXCEPTION | 0)) == -1)
24994 SWIG_fail;
24995 if (arg2 == NULL) {
24996 PyErr_SetString(PyExc_TypeError,"null reference");
24997 SWIG_fail;
24998 }
24999 arg3 = obj2;
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
25003
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 {
25008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25009 }
25010 return resultobj;
25011 fail:
25012 return NULL;
25013 }
25014
25015
25016 static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
25017 PyObject *obj;
25018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25019 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
25020 Py_INCREF(obj);
25021 return Py_BuildValue((char *)"");
25022 }
25023 static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj;
25025 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25026 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25027 wxDataObjectSimple *result;
25028 PyObject * obj0 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "format", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
25034 if (obj0) {
25035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25036 SWIG_POINTER_EXCEPTION | 0)) == -1)
25037 SWIG_fail;
25038 if (arg1 == NULL) {
25039 PyErr_SetString(PyExc_TypeError,"null reference");
25040 SWIG_fail;
25041 }
25042 }
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25060 wxDataFormat *result;
25061 PyObject * obj0 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "self", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
25067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 {
25072 wxDataFormat const &_result_ref = (arg1)->GetFormat();
25073 result = (wxDataFormat *) &_result_ref;
25074 }
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
25087 PyObject *resultobj;
25088 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25089 wxDataFormat *arg2 = 0 ;
25090 PyObject * obj0 = 0 ;
25091 PyObject * obj1 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "format", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
25097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1)
25101 SWIG_fail;
25102 if (arg2 == NULL) {
25103 PyErr_SetString(PyExc_TypeError,"null reference");
25104 SWIG_fail;
25105 }
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 (arg1)->SetFormat((wxDataFormat const &)*arg2);
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 Py_INCREF(Py_None); resultobj = Py_None;
25114 return resultobj;
25115 fail:
25116 return NULL;
25117 }
25118
25119
25120 static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
25121 PyObject *resultobj;
25122 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25123 size_t result;
25124 PyObject * obj0 = 0 ;
25125 char *kwnames[] = {
25126 (char *) "self", NULL
25127 };
25128
25129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
25130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25132 {
25133 PyThreadState* __tstate = wxPyBeginAllowThreads();
25134 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
25135
25136 wxPyEndAllowThreads(__tstate);
25137 if (PyErr_Occurred()) SWIG_fail;
25138 }
25139 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
25147 PyObject *resultobj;
25148 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25149 PyObject *result;
25150 PyObject * obj0 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = result;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25175 PyObject *arg2 = (PyObject *) 0 ;
25176 bool result;
25177 PyObject * obj0 = 0 ;
25178 PyObject * obj1 = 0 ;
25179 char *kwnames[] = {
25180 (char *) "self",(char *) "data", NULL
25181 };
25182
25183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
25184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25186 arg2 = obj1;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 {
25195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25196 }
25197 return resultobj;
25198 fail:
25199 return NULL;
25200 }
25201
25202
25203 static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
25204 PyObject *obj;
25205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25206 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
25207 Py_INCREF(obj);
25208 return Py_BuildValue((char *)"");
25209 }
25210 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
25211 PyObject *resultobj;
25212 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25213 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25214 wxPyDataObjectSimple *result;
25215 PyObject * obj0 = 0 ;
25216 char *kwnames[] = {
25217 (char *) "format", NULL
25218 };
25219
25220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
25221 if (obj0) {
25222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25223 SWIG_POINTER_EXCEPTION | 0)) == -1)
25224 SWIG_fail;
25225 if (arg1 == NULL) {
25226 PyErr_SetString(PyExc_TypeError,"null reference");
25227 SWIG_fail;
25228 }
25229 }
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
25232 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
25233
25234 wxPyEndAllowThreads(__tstate);
25235 if (PyErr_Occurred()) SWIG_fail;
25236 }
25237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
25238 return resultobj;
25239 fail:
25240 return NULL;
25241 }
25242
25243
25244 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25245 PyObject *resultobj;
25246 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
25247 PyObject *arg2 = (PyObject *) 0 ;
25248 PyObject *arg3 = (PyObject *) 0 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 PyObject * obj2 = 0 ;
25252 char *kwnames[] = {
25253 (char *) "self",(char *) "self",(char *) "_class", NULL
25254 };
25255
25256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
25258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25259 arg2 = obj1;
25260 arg3 = obj2;
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 (arg1)->_setCallbackInfo(arg2,arg3);
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 Py_INCREF(Py_None); resultobj = Py_None;
25269 return resultobj;
25270 fail:
25271 return NULL;
25272 }
25273
25274
25275 static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
25276 PyObject *obj;
25277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25278 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
25279 Py_INCREF(obj);
25280 return Py_BuildValue((char *)"");
25281 }
25282 static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
25283 PyObject *resultobj;
25284 wxDataObjectComposite *result;
25285 char *kwnames[] = {
25286 NULL
25287 };
25288
25289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = (wxDataObjectComposite *)new wxDataObjectComposite();
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
25297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
25298 return resultobj;
25299 fail:
25300 return NULL;
25301 }
25302
25303
25304 static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
25305 PyObject *resultobj;
25306 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
25307 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
25308 bool arg3 = (bool) false ;
25309 PyObject * obj0 = 0 ;
25310 PyObject * obj1 = 0 ;
25311 PyObject * obj2 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
25317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25319 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25320 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25321 if (obj2) {
25322 arg3 = (bool)SWIG_As_bool(obj2);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 (arg1)->Add(arg2,arg3);
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 Py_INCREF(Py_None); resultobj = Py_None;
25333 return resultobj;
25334 fail:
25335 return NULL;
25336 }
25337
25338
25339 static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
25340 PyObject *obj;
25341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25343 Py_INCREF(obj);
25344 return Py_BuildValue((char *)"");
25345 }
25346 static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxString const &arg1_defvalue = wxPyEmptyString ;
25349 wxString *arg1 = (wxString *) &arg1_defvalue ;
25350 wxTextDataObject *result;
25351 bool temp1 = false ;
25352 PyObject * obj0 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "text", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25358 if (obj0) {
25359 {
25360 arg1 = wxString_in_helper(obj0);
25361 if (arg1 == NULL) SWIG_fail;
25362 temp1 = true;
25363 }
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25368
25369 wxPyEndAllowThreads(__tstate);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25373 {
25374 if (temp1)
25375 delete arg1;
25376 }
25377 return resultobj;
25378 fail:
25379 {
25380 if (temp1)
25381 delete arg1;
25382 }
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25390 size_t result;
25391 PyObject * obj0 = 0 ;
25392 char *kwnames[] = {
25393 (char *) "self", NULL
25394 };
25395
25396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (size_t)(arg1)->GetTextLength();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj;
25415 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25416 wxString result;
25417 PyObject * obj0 = 0 ;
25418 char *kwnames[] = {
25419 (char *) "self", NULL
25420 };
25421
25422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25425 {
25426 PyThreadState* __tstate = wxPyBeginAllowThreads();
25427 result = (arg1)->GetText();
25428
25429 wxPyEndAllowThreads(__tstate);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 {
25433 #if wxUSE_UNICODE
25434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25435 #else
25436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25437 #endif
25438 }
25439 return resultobj;
25440 fail:
25441 return NULL;
25442 }
25443
25444
25445 static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj;
25447 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25448 wxString *arg2 = 0 ;
25449 bool temp2 = false ;
25450 PyObject * obj0 = 0 ;
25451 PyObject * obj1 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "text", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25459 {
25460 arg2 = wxString_in_helper(obj1);
25461 if (arg2 == NULL) SWIG_fail;
25462 temp2 = true;
25463 }
25464 {
25465 PyThreadState* __tstate = wxPyBeginAllowThreads();
25466 (arg1)->SetText((wxString const &)*arg2);
25467
25468 wxPyEndAllowThreads(__tstate);
25469 if (PyErr_Occurred()) SWIG_fail;
25470 }
25471 Py_INCREF(Py_None); resultobj = Py_None;
25472 {
25473 if (temp2)
25474 delete arg2;
25475 }
25476 return resultobj;
25477 fail:
25478 {
25479 if (temp2)
25480 delete arg2;
25481 }
25482 return NULL;
25483 }
25484
25485
25486 static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
25487 PyObject *obj;
25488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25489 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25490 Py_INCREF(obj);
25491 return Py_BuildValue((char *)"");
25492 }
25493 static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25494 PyObject *resultobj;
25495 wxString const &arg1_defvalue = wxPyEmptyString ;
25496 wxString *arg1 = (wxString *) &arg1_defvalue ;
25497 wxPyTextDataObject *result;
25498 bool temp1 = false ;
25499 PyObject * obj0 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "text", NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25505 if (obj0) {
25506 {
25507 arg1 = wxString_in_helper(obj0);
25508 if (arg1 == NULL) SWIG_fail;
25509 temp1 = true;
25510 }
25511 }
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25520 {
25521 if (temp1)
25522 delete arg1;
25523 }
25524 return resultobj;
25525 fail:
25526 {
25527 if (temp1)
25528 delete arg1;
25529 }
25530 return NULL;
25531 }
25532
25533
25534 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25535 PyObject *resultobj;
25536 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25537 PyObject *arg2 = (PyObject *) 0 ;
25538 PyObject *arg3 = (PyObject *) 0 ;
25539 PyObject * obj0 = 0 ;
25540 PyObject * obj1 = 0 ;
25541 PyObject * obj2 = 0 ;
25542 char *kwnames[] = {
25543 (char *) "self",(char *) "self",(char *) "_class", NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25549 arg2 = obj1;
25550 arg3 = obj2;
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 (arg1)->_setCallbackInfo(arg2,arg3);
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 Py_INCREF(Py_None); resultobj = Py_None;
25559 return resultobj;
25560 fail:
25561 return NULL;
25562 }
25563
25564
25565 static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
25566 PyObject *obj;
25567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25568 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25569 Py_INCREF(obj);
25570 return Py_BuildValue((char *)"");
25571 }
25572 static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25573 PyObject *resultobj;
25574 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25575 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25576 wxBitmapDataObject *result;
25577 PyObject * obj0 = 0 ;
25578 char *kwnames[] = {
25579 (char *) "bitmap", NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25583 if (obj0) {
25584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25585 SWIG_POINTER_EXCEPTION | 0)) == -1)
25586 SWIG_fail;
25587 if (arg1 == NULL) {
25588 PyErr_SetString(PyExc_TypeError,"null reference");
25589 SWIG_fail;
25590 }
25591 }
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25595
25596 wxPyEndAllowThreads(__tstate);
25597 if (PyErr_Occurred()) SWIG_fail;
25598 }
25599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25600 return resultobj;
25601 fail:
25602 return NULL;
25603 }
25604
25605
25606 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25607 PyObject *resultobj;
25608 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25609 wxBitmap result;
25610 PyObject * obj0 = 0 ;
25611 char *kwnames[] = {
25612 (char *) "self", NULL
25613 };
25614
25615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25618 {
25619 PyThreadState* __tstate = wxPyBeginAllowThreads();
25620 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25621
25622 wxPyEndAllowThreads(__tstate);
25623 if (PyErr_Occurred()) SWIG_fail;
25624 }
25625 {
25626 wxBitmap * resultptr;
25627 resultptr = new wxBitmap((wxBitmap &) result);
25628 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25629 }
25630 return resultobj;
25631 fail:
25632 return NULL;
25633 }
25634
25635
25636 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25637 PyObject *resultobj;
25638 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25639 wxBitmap *arg2 = 0 ;
25640 PyObject * obj0 = 0 ;
25641 PyObject * obj1 = 0 ;
25642 char *kwnames[] = {
25643 (char *) "self",(char *) "bitmap", NULL
25644 };
25645
25646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25649 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25650 SWIG_POINTER_EXCEPTION | 0)) == -1)
25651 SWIG_fail;
25652 if (arg2 == NULL) {
25653 PyErr_SetString(PyExc_TypeError,"null reference");
25654 SWIG_fail;
25655 }
25656 {
25657 PyThreadState* __tstate = wxPyBeginAllowThreads();
25658 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25659
25660 wxPyEndAllowThreads(__tstate);
25661 if (PyErr_Occurred()) SWIG_fail;
25662 }
25663 Py_INCREF(Py_None); resultobj = Py_None;
25664 return resultobj;
25665 fail:
25666 return NULL;
25667 }
25668
25669
25670 static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
25671 PyObject *obj;
25672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25673 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25674 Py_INCREF(obj);
25675 return Py_BuildValue((char *)"");
25676 }
25677 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25680 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25681 wxPyBitmapDataObject *result;
25682 PyObject * obj0 = 0 ;
25683 char *kwnames[] = {
25684 (char *) "bitmap", NULL
25685 };
25686
25687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25688 if (obj0) {
25689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25690 SWIG_POINTER_EXCEPTION | 0)) == -1)
25691 SWIG_fail;
25692 if (arg1 == NULL) {
25693 PyErr_SetString(PyExc_TypeError,"null reference");
25694 SWIG_fail;
25695 }
25696 }
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
25704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25705 return resultobj;
25706 fail:
25707 return NULL;
25708 }
25709
25710
25711 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25712 PyObject *resultobj;
25713 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25714 PyObject *arg2 = (PyObject *) 0 ;
25715 PyObject *arg3 = (PyObject *) 0 ;
25716 PyObject * obj0 = 0 ;
25717 PyObject * obj1 = 0 ;
25718 PyObject * obj2 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "self",(char *) "_class", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25726 arg2 = obj1;
25727 arg3 = obj2;
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 (arg1)->_setCallbackInfo(arg2,arg3);
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 Py_INCREF(Py_None); resultobj = Py_None;
25736 return resultobj;
25737 fail:
25738 return NULL;
25739 }
25740
25741
25742 static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
25743 PyObject *obj;
25744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25745 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25746 Py_INCREF(obj);
25747 return Py_BuildValue((char *)"");
25748 }
25749 static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25750 PyObject *resultobj;
25751 wxFileDataObject *result;
25752 char *kwnames[] = {
25753 NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (wxFileDataObject *)new wxFileDataObject();
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25765 return resultobj;
25766 fail:
25767 return NULL;
25768 }
25769
25770
25771 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
25772 PyObject *resultobj;
25773 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25774 wxArrayString *result;
25775 PyObject * obj0 = 0 ;
25776 char *kwnames[] = {
25777 (char *) "self", NULL
25778 };
25779
25780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25783 {
25784 PyThreadState* __tstate = wxPyBeginAllowThreads();
25785 {
25786 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25787 result = (wxArrayString *) &_result_ref;
25788 }
25789
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 {
25794 resultobj = wxArrayString2PyList_helper(*result);
25795 }
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj;
25804 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25805 wxString *arg2 = 0 ;
25806 bool temp2 = false ;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "self",(char *) "filename", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25816 {
25817 arg2 = wxString_in_helper(obj1);
25818 if (arg2 == NULL) SWIG_fail;
25819 temp2 = true;
25820 }
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 (arg1)->AddFile((wxString const &)*arg2);
25824
25825 wxPyEndAllowThreads(__tstate);
25826 if (PyErr_Occurred()) SWIG_fail;
25827 }
25828 Py_INCREF(Py_None); resultobj = Py_None;
25829 {
25830 if (temp2)
25831 delete arg2;
25832 }
25833 return resultobj;
25834 fail:
25835 {
25836 if (temp2)
25837 delete arg2;
25838 }
25839 return NULL;
25840 }
25841
25842
25843 static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
25844 PyObject *obj;
25845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25846 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25847 Py_INCREF(obj);
25848 return Py_BuildValue((char *)"");
25849 }
25850 static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25851 PyObject *resultobj;
25852 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25853 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25854 wxCustomDataObject *result;
25855 PyObject * obj0 = 0 ;
25856 char *kwnames[] = {
25857 (char *) "format", NULL
25858 };
25859
25860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25861 if (obj0) {
25862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25863 SWIG_POINTER_EXCEPTION | 0)) == -1)
25864 SWIG_fail;
25865 if (arg1 == NULL) {
25866 PyErr_SetString(PyExc_TypeError,"null reference");
25867 SWIG_fail;
25868 }
25869 }
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25878 return resultobj;
25879 fail:
25880 return NULL;
25881 }
25882
25883
25884 static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25887 PyObject *arg2 = (PyObject *) 0 ;
25888 bool result;
25889 PyObject * obj0 = 0 ;
25890 PyObject * obj1 = 0 ;
25891 char *kwnames[] = {
25892 (char *) "self",(char *) "data", NULL
25893 };
25894
25895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25898 arg2 = obj1;
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 {
25907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25908 }
25909 return resultobj;
25910 fail:
25911 return NULL;
25912 }
25913
25914
25915 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
25916 PyObject *resultobj;
25917 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25918 size_t result;
25919 PyObject * obj0 = 0 ;
25920 char *kwnames[] = {
25921 (char *) "self", NULL
25922 };
25923
25924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25927 {
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 result = (size_t)(arg1)->GetSize();
25930
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25935 return resultobj;
25936 fail:
25937 return NULL;
25938 }
25939
25940
25941 static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
25942 PyObject *resultobj;
25943 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25944 PyObject *result;
25945 PyObject * obj0 = 0 ;
25946 char *kwnames[] = {
25947 (char *) "self", NULL
25948 };
25949
25950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25956
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 resultobj = result;
25961 return resultobj;
25962 fail:
25963 return NULL;
25964 }
25965
25966
25967 static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
25968 PyObject *obj;
25969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25970 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25971 Py_INCREF(obj);
25972 return Py_BuildValue((char *)"");
25973 }
25974 static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25975 PyObject *resultobj;
25976 wxURLDataObject *result;
25977 char *kwnames[] = {
25978 NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (wxURLDataObject *)new wxURLDataObject();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25990 return resultobj;
25991 fail:
25992 return NULL;
25993 }
25994
25995
25996 static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25999 wxString result;
26000 PyObject * obj0 = 0 ;
26001 char *kwnames[] = {
26002 (char *) "self", NULL
26003 };
26004
26005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
26006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26008 {
26009 PyThreadState* __tstate = wxPyBeginAllowThreads();
26010 result = (arg1)->GetURL();
26011
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 {
26016 #if wxUSE_UNICODE
26017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26018 #else
26019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26020 #endif
26021 }
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26031 wxString *arg2 = 0 ;
26032 bool temp2 = false ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 char *kwnames[] = {
26036 (char *) "self",(char *) "url", NULL
26037 };
26038
26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
26040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26042 {
26043 arg2 = wxString_in_helper(obj1);
26044 if (arg2 == NULL) SWIG_fail;
26045 temp2 = true;
26046 }
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 (arg1)->SetURL((wxString const &)*arg2);
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
26054 Py_INCREF(Py_None); resultobj = Py_None;
26055 {
26056 if (temp2)
26057 delete arg2;
26058 }
26059 return resultobj;
26060 fail:
26061 {
26062 if (temp2)
26063 delete arg2;
26064 }
26065 return NULL;
26066 }
26067
26068
26069 static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
26070 PyObject *obj;
26071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26072 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
26073 Py_INCREF(obj);
26074 return Py_BuildValue((char *)"");
26075 }
26076 static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26077 PyObject *resultobj;
26078 wxMetafileDataObject *result;
26079 char *kwnames[] = {
26080 NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
26084 {
26085 PyThreadState* __tstate = wxPyBeginAllowThreads();
26086 result = (wxMetafileDataObject *)new wxMetafileDataObject();
26087
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
26091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
26092 return resultobj;
26093 fail:
26094 return NULL;
26095 }
26096
26097
26098 static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
26099 PyObject *obj;
26100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26101 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
26102 Py_INCREF(obj);
26103 return Py_BuildValue((char *)"");
26104 }
26105 static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
26106 PyObject *resultobj;
26107 int arg1 ;
26108 bool result;
26109 PyObject * obj0 = 0 ;
26110 char *kwnames[] = {
26111 (char *) "res", NULL
26112 };
26113
26114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
26115 arg1 = (int)SWIG_As_int(obj0);
26116 if (PyErr_Occurred()) SWIG_fail;
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 {
26125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26126 }
26127 return resultobj;
26128 fail:
26129 return NULL;
26130 }
26131
26132
26133 static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
26134 PyObject *resultobj;
26135 wxWindow *arg1 = (wxWindow *) 0 ;
26136 wxIcon const &arg2_defvalue = wxNullIcon ;
26137 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
26138 wxIcon const &arg3_defvalue = wxNullIcon ;
26139 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
26140 wxIcon const &arg4_defvalue = wxNullIcon ;
26141 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
26142 wxPyDropSource *result;
26143 PyObject * obj0 = 0 ;
26144 PyObject * obj1 = 0 ;
26145 PyObject * obj2 = 0 ;
26146 PyObject * obj3 = 0 ;
26147 char *kwnames[] = {
26148 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26149 };
26150
26151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26154 if (obj1) {
26155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1)
26157 SWIG_fail;
26158 if (arg2 == NULL) {
26159 PyErr_SetString(PyExc_TypeError,"null reference");
26160 SWIG_fail;
26161 }
26162 }
26163 if (obj2) {
26164 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIcon,
26165 SWIG_POINTER_EXCEPTION | 0)) == -1)
26166 SWIG_fail;
26167 if (arg3 == NULL) {
26168 PyErr_SetString(PyExc_TypeError,"null reference");
26169 SWIG_fail;
26170 }
26171 }
26172 if (obj3) {
26173 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxIcon,
26174 SWIG_POINTER_EXCEPTION | 0)) == -1)
26175 SWIG_fail;
26176 if (arg4 == NULL) {
26177 PyErr_SetString(PyExc_TypeError,"null reference");
26178 SWIG_fail;
26179 }
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
26189 return resultobj;
26190 fail:
26191 return NULL;
26192 }
26193
26194
26195 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj;
26197 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26198 PyObject *arg2 = (PyObject *) 0 ;
26199 PyObject *arg3 = (PyObject *) 0 ;
26200 int arg4 ;
26201 PyObject * obj0 = 0 ;
26202 PyObject * obj1 = 0 ;
26203 PyObject * obj2 = 0 ;
26204 PyObject * obj3 = 0 ;
26205 char *kwnames[] = {
26206 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26207 };
26208
26209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26212 arg2 = obj1;
26213 arg3 = obj2;
26214 arg4 = (int)SWIG_As_int(obj3);
26215 if (PyErr_Occurred()) SWIG_fail;
26216 {
26217 PyThreadState* __tstate = wxPyBeginAllowThreads();
26218 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
26219
26220 wxPyEndAllowThreads(__tstate);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 Py_INCREF(Py_None); resultobj = Py_None;
26224 return resultobj;
26225 fail:
26226 return NULL;
26227 }
26228
26229
26230 static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
26231 PyObject *resultobj;
26232 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26233 PyObject * obj0 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
26239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26241 {
26242 PyThreadState* __tstate = wxPyBeginAllowThreads();
26243 delete arg1;
26244
26245 wxPyEndAllowThreads(__tstate);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 }
26248 Py_INCREF(Py_None); resultobj = Py_None;
26249 return resultobj;
26250 fail:
26251 return NULL;
26252 }
26253
26254
26255 static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj;
26257 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26258 wxDataObject *arg2 = 0 ;
26259 PyObject * obj0 = 0 ;
26260 PyObject * obj1 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self",(char *) "data", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
26266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26269 SWIG_POINTER_EXCEPTION | 0)) == -1)
26270 SWIG_fail;
26271 if (arg2 == NULL) {
26272 PyErr_SetString(PyExc_TypeError,"null reference");
26273 SWIG_fail;
26274 }
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 (arg1)->SetData(*arg2);
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 Py_INCREF(Py_None); resultobj = Py_None;
26283 return resultobj;
26284 fail:
26285 return NULL;
26286 }
26287
26288
26289 static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26290 PyObject *resultobj;
26291 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26292 wxDataObject *result;
26293 PyObject * obj0 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self", NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 result = (wxDataObject *)(arg1)->GetDataObject();
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26309 return resultobj;
26310 fail:
26311 return NULL;
26312 }
26313
26314
26315 static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
26316 PyObject *resultobj;
26317 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26318 int arg2 ;
26319 wxCursor *arg3 = 0 ;
26320 PyObject * obj0 = 0 ;
26321 PyObject * obj1 = 0 ;
26322 PyObject * obj2 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "res",(char *) "cursor", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26330 arg2 = (int)SWIG_As_int(obj1);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26333 SWIG_POINTER_EXCEPTION | 0)) == -1)
26334 SWIG_fail;
26335 if (arg3 == NULL) {
26336 PyErr_SetString(PyExc_TypeError,"null reference");
26337 SWIG_fail;
26338 }
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26342
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 Py_INCREF(Py_None); resultobj = Py_None;
26347 return resultobj;
26348 fail:
26349 return NULL;
26350 }
26351
26352
26353 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26354 PyObject *resultobj;
26355 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26356 int arg2 = (int) wxDrag_CopyOnly ;
26357 int result;
26358 PyObject * obj0 = 0 ;
26359 PyObject * obj1 = 0 ;
26360 char *kwnames[] = {
26361 (char *) "self",(char *) "flags", NULL
26362 };
26363
26364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26367 if (obj1) {
26368 arg2 = (int)SWIG_As_int(obj1);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 {
26372 PyThreadState* __tstate = wxPyBeginAllowThreads();
26373 result = (int)(arg1)->DoDragDrop(arg2);
26374
26375 wxPyEndAllowThreads(__tstate);
26376 if (PyErr_Occurred()) SWIG_fail;
26377 }
26378 resultobj = SWIG_From_int((int)result);
26379 return resultobj;
26380 fail:
26381 return NULL;
26382 }
26383
26384
26385 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
26386 PyObject *resultobj;
26387 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26388 int arg2 ;
26389 bool result;
26390 PyObject * obj0 = 0 ;
26391 PyObject * obj1 = 0 ;
26392 char *kwnames[] = {
26393 (char *) "self",(char *) "effect", NULL
26394 };
26395
26396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26399 arg2 = (int)SWIG_As_int(obj1);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 {
26402 PyThreadState* __tstate = wxPyBeginAllowThreads();
26403 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26404
26405 wxPyEndAllowThreads(__tstate);
26406 if (PyErr_Occurred()) SWIG_fail;
26407 }
26408 {
26409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26410 }
26411 return resultobj;
26412 fail:
26413 return NULL;
26414 }
26415
26416
26417 static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
26418 PyObject *obj;
26419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26420 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26421 Py_INCREF(obj);
26422 return Py_BuildValue((char *)"");
26423 }
26424 static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26425 PyObject *resultobj;
26426 wxDataObject *arg1 = (wxDataObject *) NULL ;
26427 wxPyDropTarget *result;
26428 PyObject * obj0 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "dataObject", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26434 if (obj0) {
26435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26436 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26437 }
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26446 return resultobj;
26447 fail:
26448 return NULL;
26449 }
26450
26451
26452 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj;
26454 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26455 PyObject *arg2 = (PyObject *) 0 ;
26456 PyObject *arg3 = (PyObject *) 0 ;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 PyObject * obj2 = 0 ;
26460 char *kwnames[] = {
26461 (char *) "self",(char *) "self",(char *) "_class", NULL
26462 };
26463
26464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26467 arg2 = obj1;
26468 arg3 = obj2;
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 (arg1)->_setCallbackInfo(arg2,arg3);
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 Py_INCREF(Py_None); resultobj = Py_None;
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26484 PyObject *resultobj;
26485 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26486 PyObject * obj0 = 0 ;
26487 char *kwnames[] = {
26488 (char *) "self", NULL
26489 };
26490
26491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26494 {
26495 PyThreadState* __tstate = wxPyBeginAllowThreads();
26496 delete arg1;
26497
26498 wxPyEndAllowThreads(__tstate);
26499 if (PyErr_Occurred()) SWIG_fail;
26500 }
26501 Py_INCREF(Py_None); resultobj = Py_None;
26502 return resultobj;
26503 fail:
26504 return NULL;
26505 }
26506
26507
26508 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26511 wxDataObject *result;
26512 PyObject * obj0 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26520 {
26521 PyThreadState* __tstate = wxPyBeginAllowThreads();
26522 result = (wxDataObject *)(arg1)->GetDataObject();
26523
26524 wxPyEndAllowThreads(__tstate);
26525 if (PyErr_Occurred()) SWIG_fail;
26526 }
26527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26528 return resultobj;
26529 fail:
26530 return NULL;
26531 }
26532
26533
26534 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26535 PyObject *resultobj;
26536 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26537 wxDataObject *arg2 = (wxDataObject *) 0 ;
26538 PyObject * obj0 = 0 ;
26539 PyObject * obj1 = 0 ;
26540 char *kwnames[] = {
26541 (char *) "self",(char *) "dataObject", NULL
26542 };
26543
26544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26547 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26548 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26549 {
26550 PyThreadState* __tstate = wxPyBeginAllowThreads();
26551 (arg1)->SetDataObject(arg2);
26552
26553 wxPyEndAllowThreads(__tstate);
26554 if (PyErr_Occurred()) SWIG_fail;
26555 }
26556 Py_INCREF(Py_None); resultobj = Py_None;
26557 return resultobj;
26558 fail:
26559 return NULL;
26560 }
26561
26562
26563 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26564 PyObject *resultobj;
26565 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26566 int arg2 ;
26567 int arg3 ;
26568 int arg4 ;
26569 int result;
26570 PyObject * obj0 = 0 ;
26571 PyObject * obj1 = 0 ;
26572 PyObject * obj2 = 0 ;
26573 PyObject * obj3 = 0 ;
26574 char *kwnames[] = {
26575 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26576 };
26577
26578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26581 arg2 = (int)SWIG_As_int(obj1);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 arg3 = (int)SWIG_As_int(obj2);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 arg4 = (int)SWIG_As_int(obj3);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 resultobj = SWIG_From_int((int)result);
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxPyDropTarget *arg1 = (wxPyDropTarget *) 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:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26619 arg2 = (int)SWIG_As_int(obj1);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 arg3 = (int)SWIG_As_int(obj2);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 arg4 = (int)SWIG_As_int(obj3);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 {
26626 PyThreadState* __tstate = wxPyBeginAllowThreads();
26627 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26628
26629 wxPyEndAllowThreads(__tstate);
26630 if (PyErr_Occurred()) SWIG_fail;
26631 }
26632 resultobj = SWIG_From_int((int)result);
26633 return resultobj;
26634 fail:
26635 return NULL;
26636 }
26637
26638
26639 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26640 PyObject *resultobj;
26641 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26642 PyObject * obj0 = 0 ;
26643 char *kwnames[] = {
26644 (char *) "self", NULL
26645 };
26646
26647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 (arg1)->base_OnLeave();
26653
26654 wxPyEndAllowThreads(__tstate);
26655 if (PyErr_Occurred()) SWIG_fail;
26656 }
26657 Py_INCREF(Py_None); resultobj = Py_None;
26658 return resultobj;
26659 fail:
26660 return NULL;
26661 }
26662
26663
26664 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26665 PyObject *resultobj;
26666 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26667 int arg2 ;
26668 int arg3 ;
26669 bool result;
26670 PyObject * obj0 = 0 ;
26671 PyObject * obj1 = 0 ;
26672 PyObject * obj2 = 0 ;
26673 char *kwnames[] = {
26674 (char *) "self",(char *) "x",(char *) "y", NULL
26675 };
26676
26677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26680 arg2 = (int)SWIG_As_int(obj1);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 arg3 = (int)SWIG_As_int(obj2);
26683 if (PyErr_Occurred()) SWIG_fail;
26684 {
26685 PyThreadState* __tstate = wxPyBeginAllowThreads();
26686 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26687
26688 wxPyEndAllowThreads(__tstate);
26689 if (PyErr_Occurred()) SWIG_fail;
26690 }
26691 {
26692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26693 }
26694 return resultobj;
26695 fail:
26696 return NULL;
26697 }
26698
26699
26700 static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26701 PyObject *resultobj;
26702 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26703 bool result;
26704 PyObject * obj0 = 0 ;
26705 char *kwnames[] = {
26706 (char *) "self", NULL
26707 };
26708
26709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26712 {
26713 PyThreadState* __tstate = wxPyBeginAllowThreads();
26714 result = (bool)(arg1)->GetData();
26715
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 {
26720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26721 }
26722 return resultobj;
26723 fail:
26724 return NULL;
26725 }
26726
26727
26728 static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
26729 PyObject *obj;
26730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26731 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26732 Py_INCREF(obj);
26733 return Py_BuildValue((char *)"");
26734 }
26735 static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxPyTextDropTarget *result;
26738 char *kwnames[] = {
26739 NULL
26740 };
26741
26742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26743 {
26744 PyThreadState* __tstate = wxPyBeginAllowThreads();
26745 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26746
26747 wxPyEndAllowThreads(__tstate);
26748 if (PyErr_Occurred()) SWIG_fail;
26749 }
26750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26751 return resultobj;
26752 fail:
26753 return NULL;
26754 }
26755
26756
26757 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26758 PyObject *resultobj;
26759 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26760 PyObject *arg2 = (PyObject *) 0 ;
26761 PyObject *arg3 = (PyObject *) 0 ;
26762 PyObject * obj0 = 0 ;
26763 PyObject * obj1 = 0 ;
26764 PyObject * obj2 = 0 ;
26765 char *kwnames[] = {
26766 (char *) "self",(char *) "self",(char *) "_class", NULL
26767 };
26768
26769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26772 arg2 = obj1;
26773 arg3 = obj2;
26774 {
26775 PyThreadState* __tstate = wxPyBeginAllowThreads();
26776 (arg1)->_setCallbackInfo(arg2,arg3);
26777
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 Py_INCREF(Py_None); resultobj = Py_None;
26782 return resultobj;
26783 fail:
26784 return NULL;
26785 }
26786
26787
26788 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj;
26790 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26791 int arg2 ;
26792 int arg3 ;
26793 int arg4 ;
26794 int result;
26795 PyObject * obj0 = 0 ;
26796 PyObject * obj1 = 0 ;
26797 PyObject * obj2 = 0 ;
26798 PyObject * obj3 = 0 ;
26799 char *kwnames[] = {
26800 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26801 };
26802
26803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26806 arg2 = (int)SWIG_As_int(obj1);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 arg3 = (int)SWIG_As_int(obj2);
26809 if (PyErr_Occurred()) SWIG_fail;
26810 arg4 = (int)SWIG_As_int(obj3);
26811 if (PyErr_Occurred()) SWIG_fail;
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26815
26816 wxPyEndAllowThreads(__tstate);
26817 if (PyErr_Occurred()) SWIG_fail;
26818 }
26819 resultobj = SWIG_From_int((int)result);
26820 return resultobj;
26821 fail:
26822 return NULL;
26823 }
26824
26825
26826 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26827 PyObject *resultobj;
26828 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26829 int arg2 ;
26830 int arg3 ;
26831 int arg4 ;
26832 int result;
26833 PyObject * obj0 = 0 ;
26834 PyObject * obj1 = 0 ;
26835 PyObject * obj2 = 0 ;
26836 PyObject * obj3 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26844 arg2 = (int)SWIG_As_int(obj1);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 arg3 = (int)SWIG_As_int(obj2);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 arg4 = (int)SWIG_As_int(obj3);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = SWIG_From_int((int)result);
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26867 PyObject * obj0 = 0 ;
26868 char *kwnames[] = {
26869 (char *) "self", NULL
26870 };
26871
26872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 (arg1)->base_OnLeave();
26878
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 Py_INCREF(Py_None); resultobj = Py_None;
26883 return resultobj;
26884 fail:
26885 return NULL;
26886 }
26887
26888
26889 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26890 PyObject *resultobj;
26891 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26892 int arg2 ;
26893 int arg3 ;
26894 bool result;
26895 PyObject * obj0 = 0 ;
26896 PyObject * obj1 = 0 ;
26897 PyObject * obj2 = 0 ;
26898 char *kwnames[] = {
26899 (char *) "self",(char *) "x",(char *) "y", NULL
26900 };
26901
26902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26905 arg2 = (int)SWIG_As_int(obj1);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 arg3 = (int)SWIG_As_int(obj2);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26912
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
26916 {
26917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26918 }
26919 return resultobj;
26920 fail:
26921 return NULL;
26922 }
26923
26924
26925 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26926 PyObject *resultobj;
26927 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26928 int arg2 ;
26929 int arg3 ;
26930 int arg4 ;
26931 int result;
26932 PyObject * obj0 = 0 ;
26933 PyObject * obj1 = 0 ;
26934 PyObject * obj2 = 0 ;
26935 PyObject * obj3 = 0 ;
26936 char *kwnames[] = {
26937 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26938 };
26939
26940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26943 arg2 = (int)SWIG_As_int(obj1);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 arg3 = (int)SWIG_As_int(obj2);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 arg4 = (int)SWIG_As_int(obj3);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = SWIG_From_int((int)result);
26957 return resultobj;
26958 fail:
26959 return NULL;
26960 }
26961
26962
26963 static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
26964 PyObject *obj;
26965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26966 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26967 Py_INCREF(obj);
26968 return Py_BuildValue((char *)"");
26969 }
26970 static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj;
26972 wxPyFileDropTarget *result;
26973 char *kwnames[] = {
26974 NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26986 return resultobj;
26987 fail:
26988 return NULL;
26989 }
26990
26991
26992 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26993 PyObject *resultobj;
26994 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26995 PyObject *arg2 = (PyObject *) 0 ;
26996 PyObject *arg3 = (PyObject *) 0 ;
26997 PyObject * obj0 = 0 ;
26998 PyObject * obj1 = 0 ;
26999 PyObject * obj2 = 0 ;
27000 char *kwnames[] = {
27001 (char *) "self",(char *) "self",(char *) "_class", NULL
27002 };
27003
27004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27007 arg2 = obj1;
27008 arg3 = obj2;
27009 {
27010 PyThreadState* __tstate = wxPyBeginAllowThreads();
27011 (arg1)->_setCallbackInfo(arg2,arg3);
27012
27013 wxPyEndAllowThreads(__tstate);
27014 if (PyErr_Occurred()) SWIG_fail;
27015 }
27016 Py_INCREF(Py_None); resultobj = Py_None;
27017 return resultobj;
27018 fail:
27019 return NULL;
27020 }
27021
27022
27023 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
27024 PyObject *resultobj;
27025 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27026 int arg2 ;
27027 int arg3 ;
27028 int arg4 ;
27029 int result;
27030 PyObject * obj0 = 0 ;
27031 PyObject * obj1 = 0 ;
27032 PyObject * obj2 = 0 ;
27033 PyObject * obj3 = 0 ;
27034 char *kwnames[] = {
27035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27036 };
27037
27038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27041 arg2 = (int)SWIG_As_int(obj1);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 arg3 = (int)SWIG_As_int(obj2);
27044 if (PyErr_Occurred()) SWIG_fail;
27045 arg4 = (int)SWIG_As_int(obj3);
27046 if (PyErr_Occurred()) SWIG_fail;
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
27050
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 resultobj = SWIG_From_int((int)result);
27055 return resultobj;
27056 fail:
27057 return NULL;
27058 }
27059
27060
27061 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27064 int arg2 ;
27065 int arg3 ;
27066 int arg4 ;
27067 int result;
27068 PyObject * obj0 = 0 ;
27069 PyObject * obj1 = 0 ;
27070 PyObject * obj2 = 0 ;
27071 PyObject * obj3 = 0 ;
27072 char *kwnames[] = {
27073 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27074 };
27075
27076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27079 arg2 = (int)SWIG_As_int(obj1);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 arg3 = (int)SWIG_As_int(obj2);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 arg4 = (int)SWIG_As_int(obj3);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 resultobj = SWIG_From_int((int)result);
27093 return resultobj;
27094 fail:
27095 return NULL;
27096 }
27097
27098
27099 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
27100 PyObject *resultobj;
27101 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27102 PyObject * obj0 = 0 ;
27103 char *kwnames[] = {
27104 (char *) "self", NULL
27105 };
27106
27107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
27108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27110 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 (arg1)->base_OnLeave();
27113
27114 wxPyEndAllowThreads(__tstate);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 Py_INCREF(Py_None); resultobj = Py_None;
27118 return resultobj;
27119 fail:
27120 return NULL;
27121 }
27122
27123
27124 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
27125 PyObject *resultobj;
27126 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27127 int arg2 ;
27128 int arg3 ;
27129 bool result;
27130 PyObject * obj0 = 0 ;
27131 PyObject * obj1 = 0 ;
27132 PyObject * obj2 = 0 ;
27133 char *kwnames[] = {
27134 (char *) "self",(char *) "x",(char *) "y", NULL
27135 };
27136
27137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27140 arg2 = (int)SWIG_As_int(obj1);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 arg3 = (int)SWIG_As_int(obj2);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 {
27145 PyThreadState* __tstate = wxPyBeginAllowThreads();
27146 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27147
27148 wxPyEndAllowThreads(__tstate);
27149 if (PyErr_Occurred()) SWIG_fail;
27150 }
27151 {
27152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27153 }
27154 return resultobj;
27155 fail:
27156 return NULL;
27157 }
27158
27159
27160 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
27161 PyObject *resultobj;
27162 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27163 int arg2 ;
27164 int arg3 ;
27165 int arg4 ;
27166 int result;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 PyObject * obj2 = 0 ;
27170 PyObject * obj3 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27178 arg2 = (int)SWIG_As_int(obj1);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 arg3 = (int)SWIG_As_int(obj2);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 arg4 = (int)SWIG_As_int(obj3);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 {
27185 PyThreadState* __tstate = wxPyBeginAllowThreads();
27186 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
27187
27188 wxPyEndAllowThreads(__tstate);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 resultobj = SWIG_From_int((int)result);
27192 return resultobj;
27193 fail:
27194 return NULL;
27195 }
27196
27197
27198 static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
27199 PyObject *obj;
27200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27201 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
27202 Py_INCREF(obj);
27203 return Py_BuildValue((char *)"");
27204 }
27205 static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
27206 PyObject *resultobj;
27207 wxClipboard *result;
27208 char *kwnames[] = {
27209 NULL
27210 };
27211
27212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (wxClipboard *)new wxClipboard();
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
27221 return resultobj;
27222 fail:
27223 return NULL;
27224 }
27225
27226
27227 static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 wxClipboard *arg1 = (wxClipboard *) 0 ;
27230 PyObject * obj0 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
27236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27238 {
27239 PyThreadState* __tstate = wxPyBeginAllowThreads();
27240 delete arg1;
27241
27242 wxPyEndAllowThreads(__tstate);
27243 if (PyErr_Occurred()) SWIG_fail;
27244 }
27245 Py_INCREF(Py_None); resultobj = Py_None;
27246 return resultobj;
27247 fail:
27248 return NULL;
27249 }
27250
27251
27252 static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
27253 PyObject *resultobj;
27254 wxClipboard *arg1 = (wxClipboard *) 0 ;
27255 bool result;
27256 PyObject * obj0 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
27262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 result = (bool)(arg1)->Open();
27267
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 {
27272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27273 }
27274 return resultobj;
27275 fail:
27276 return NULL;
27277 }
27278
27279
27280 static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj;
27282 wxClipboard *arg1 = (wxClipboard *) 0 ;
27283 PyObject * obj0 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
27289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27291 {
27292 PyThreadState* __tstate = wxPyBeginAllowThreads();
27293 (arg1)->Close();
27294
27295 wxPyEndAllowThreads(__tstate);
27296 if (PyErr_Occurred()) SWIG_fail;
27297 }
27298 Py_INCREF(Py_None); resultobj = Py_None;
27299 return resultobj;
27300 fail:
27301 return NULL;
27302 }
27303
27304
27305 static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxClipboard *arg1 = (wxClipboard *) 0 ;
27308 bool result;
27309 PyObject * obj0 = 0 ;
27310 char *kwnames[] = {
27311 (char *) "self", NULL
27312 };
27313
27314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27317 {
27318 PyThreadState* __tstate = wxPyBeginAllowThreads();
27319 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27320
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 {
27325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27326 }
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
27334 PyObject *resultobj;
27335 wxClipboard *arg1 = (wxClipboard *) 0 ;
27336 wxDataObject *arg2 = (wxDataObject *) 0 ;
27337 bool result;
27338 PyObject * obj0 = 0 ;
27339 PyObject * obj1 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self",(char *) "data", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27348 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = (bool)(arg1)->AddData(arg2);
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 {
27357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27358 }
27359 return resultobj;
27360 fail:
27361 return NULL;
27362 }
27363
27364
27365 static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27366 PyObject *resultobj;
27367 wxClipboard *arg1 = (wxClipboard *) 0 ;
27368 wxDataObject *arg2 = (wxDataObject *) 0 ;
27369 bool result;
27370 PyObject * obj0 = 0 ;
27371 PyObject * obj1 = 0 ;
27372 char *kwnames[] = {
27373 (char *) "self",(char *) "data", NULL
27374 };
27375
27376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27380 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27381 {
27382 PyThreadState* __tstate = wxPyBeginAllowThreads();
27383 result = (bool)(arg1)->SetData(arg2);
27384
27385 wxPyEndAllowThreads(__tstate);
27386 if (PyErr_Occurred()) SWIG_fail;
27387 }
27388 {
27389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27390 }
27391 return resultobj;
27392 fail:
27393 return NULL;
27394 }
27395
27396
27397 static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
27398 PyObject *resultobj;
27399 wxClipboard *arg1 = (wxClipboard *) 0 ;
27400 wxDataFormat *arg2 = 0 ;
27401 bool result;
27402 PyObject * obj0 = 0 ;
27403 PyObject * obj1 = 0 ;
27404 char *kwnames[] = {
27405 (char *) "self",(char *) "format", NULL
27406 };
27407
27408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27412 SWIG_POINTER_EXCEPTION | 0)) == -1)
27413 SWIG_fail;
27414 if (arg2 == NULL) {
27415 PyErr_SetString(PyExc_TypeError,"null reference");
27416 SWIG_fail;
27417 }
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27421
27422 wxPyEndAllowThreads(__tstate);
27423 if (PyErr_Occurred()) SWIG_fail;
27424 }
27425 {
27426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27427 }
27428 return resultobj;
27429 fail:
27430 return NULL;
27431 }
27432
27433
27434 static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27435 PyObject *resultobj;
27436 wxClipboard *arg1 = (wxClipboard *) 0 ;
27437 wxDataObject *arg2 = 0 ;
27438 bool result;
27439 PyObject * obj0 = 0 ;
27440 PyObject * obj1 = 0 ;
27441 char *kwnames[] = {
27442 (char *) "self",(char *) "data", NULL
27443 };
27444
27445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27449 SWIG_POINTER_EXCEPTION | 0)) == -1)
27450 SWIG_fail;
27451 if (arg2 == NULL) {
27452 PyErr_SetString(PyExc_TypeError,"null reference");
27453 SWIG_fail;
27454 }
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 result = (bool)(arg1)->GetData(*arg2);
27458
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 {
27463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27464 }
27465 return resultobj;
27466 fail:
27467 return NULL;
27468 }
27469
27470
27471 static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
27472 PyObject *resultobj;
27473 wxClipboard *arg1 = (wxClipboard *) 0 ;
27474 PyObject * obj0 = 0 ;
27475 char *kwnames[] = {
27476 (char *) "self", NULL
27477 };
27478
27479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27482 {
27483 PyThreadState* __tstate = wxPyBeginAllowThreads();
27484 (arg1)->Clear();
27485
27486 wxPyEndAllowThreads(__tstate);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 Py_INCREF(Py_None); resultobj = Py_None;
27490 return resultobj;
27491 fail:
27492 return NULL;
27493 }
27494
27495
27496 static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
27497 PyObject *resultobj;
27498 wxClipboard *arg1 = (wxClipboard *) 0 ;
27499 bool result;
27500 PyObject * obj0 = 0 ;
27501 char *kwnames[] = {
27502 (char *) "self", NULL
27503 };
27504
27505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (bool)(arg1)->Flush();
27511
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 {
27516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27517 }
27518 return resultobj;
27519 fail:
27520 return NULL;
27521 }
27522
27523
27524 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
27525 PyObject *resultobj;
27526 wxClipboard *arg1 = (wxClipboard *) 0 ;
27527 bool arg2 = (bool) true ;
27528 PyObject * obj0 = 0 ;
27529 PyObject * obj1 = 0 ;
27530 char *kwnames[] = {
27531 (char *) "self",(char *) "primary", NULL
27532 };
27533
27534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27537 if (obj1) {
27538 arg2 = (bool)SWIG_As_bool(obj1);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
27543 (arg1)->UsePrimarySelection(arg2);
27544
27545 wxPyEndAllowThreads(__tstate);
27546 if (PyErr_Occurred()) SWIG_fail;
27547 }
27548 Py_INCREF(Py_None); resultobj = Py_None;
27549 return resultobj;
27550 fail:
27551 return NULL;
27552 }
27553
27554
27555 static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
27556 PyObject *resultobj;
27557 wxClipboard *result;
27558 char *kwnames[] = {
27559 NULL
27560 };
27561
27562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 result = (wxClipboard *)wxClipboard::Get();
27566
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27571 return resultobj;
27572 fail:
27573 return NULL;
27574 }
27575
27576
27577 static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
27578 PyObject *obj;
27579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27580 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27581 Py_INCREF(obj);
27582 return Py_BuildValue((char *)"");
27583 }
27584 static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27585 PyObject *resultobj;
27586 wxClipboard *arg1 = (wxClipboard *) NULL ;
27587 wxClipboardLocker *result;
27588 PyObject * obj0 = 0 ;
27589 char *kwnames[] = {
27590 (char *) "clipboard", NULL
27591 };
27592
27593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27594 if (obj0) {
27595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27597 }
27598 {
27599 PyThreadState* __tstate = wxPyBeginAllowThreads();
27600 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27601
27602 wxPyEndAllowThreads(__tstate);
27603 if (PyErr_Occurred()) SWIG_fail;
27604 }
27605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27606 return resultobj;
27607 fail:
27608 return NULL;
27609 }
27610
27611
27612 static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27613 PyObject *resultobj;
27614 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27615 PyObject * obj0 = 0 ;
27616 char *kwnames[] = {
27617 (char *) "self", NULL
27618 };
27619
27620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27623 {
27624 PyThreadState* __tstate = wxPyBeginAllowThreads();
27625 delete arg1;
27626
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 Py_INCREF(Py_None); resultobj = Py_None;
27631 return resultobj;
27632 fail:
27633 return NULL;
27634 }
27635
27636
27637 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
27638 PyObject *resultobj;
27639 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27640 bool result;
27641 PyObject * obj0 = 0 ;
27642 char *kwnames[] = {
27643 (char *) "self", NULL
27644 };
27645
27646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27649 {
27650 PyThreadState* __tstate = wxPyBeginAllowThreads();
27651 result = (bool)wxClipboardLocker___nonzero__(arg1);
27652
27653 wxPyEndAllowThreads(__tstate);
27654 if (PyErr_Occurred()) SWIG_fail;
27655 }
27656 {
27657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27658 }
27659 return resultobj;
27660 fail:
27661 return NULL;
27662 }
27663
27664
27665 static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
27666 PyObject *obj;
27667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27668 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27669 Py_INCREF(obj);
27670 return Py_BuildValue((char *)"");
27671 }
27672 static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27673 PyObject *resultobj;
27674 int arg1 = (int) 0 ;
27675 int arg2 = (int) 0 ;
27676 int arg3 = (int) 0 ;
27677 int arg4 = (int) 0 ;
27678 wxVideoMode *result;
27679 PyObject * obj0 = 0 ;
27680 PyObject * obj1 = 0 ;
27681 PyObject * obj2 = 0 ;
27682 PyObject * obj3 = 0 ;
27683 char *kwnames[] = {
27684 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27685 };
27686
27687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27688 if (obj0) {
27689 arg1 = (int)SWIG_As_int(obj0);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 if (obj1) {
27693 arg2 = (int)SWIG_As_int(obj1);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 if (obj2) {
27697 arg3 = (int)SWIG_As_int(obj2);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 if (obj3) {
27701 arg4 = (int)SWIG_As_int(obj3);
27702 if (PyErr_Occurred()) SWIG_fail;
27703 }
27704 {
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27707
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27712 return resultobj;
27713 fail:
27714 return NULL;
27715 }
27716
27717
27718 static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27719 PyObject *resultobj;
27720 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27721 PyObject * obj0 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27729 {
27730 PyThreadState* __tstate = wxPyBeginAllowThreads();
27731 delete arg1;
27732
27733 wxPyEndAllowThreads(__tstate);
27734 if (PyErr_Occurred()) SWIG_fail;
27735 }
27736 Py_INCREF(Py_None); resultobj = Py_None;
27737 return resultobj;
27738 fail:
27739 return NULL;
27740 }
27741
27742
27743 static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27746 wxVideoMode *arg2 = 0 ;
27747 bool result;
27748 PyObject * obj0 = 0 ;
27749 PyObject * obj1 = 0 ;
27750 char *kwnames[] = {
27751 (char *) "self",(char *) "other", NULL
27752 };
27753
27754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27758 SWIG_POINTER_EXCEPTION | 0)) == -1)
27759 SWIG_fail;
27760 if (arg2 == NULL) {
27761 PyErr_SetString(PyExc_TypeError,"null reference");
27762 SWIG_fail;
27763 }
27764 {
27765 PyThreadState* __tstate = wxPyBeginAllowThreads();
27766 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27767
27768 wxPyEndAllowThreads(__tstate);
27769 if (PyErr_Occurred()) SWIG_fail;
27770 }
27771 {
27772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27773 }
27774 return resultobj;
27775 fail:
27776 return NULL;
27777 }
27778
27779
27780 static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27781 PyObject *resultobj;
27782 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27783 int result;
27784 PyObject * obj0 = 0 ;
27785 char *kwnames[] = {
27786 (char *) "self", NULL
27787 };
27788
27789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27792 {
27793 PyThreadState* __tstate = wxPyBeginAllowThreads();
27794 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27795
27796 wxPyEndAllowThreads(__tstate);
27797 if (PyErr_Occurred()) SWIG_fail;
27798 }
27799 resultobj = SWIG_From_int((int)result);
27800 return resultobj;
27801 fail:
27802 return NULL;
27803 }
27804
27805
27806 static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27807 PyObject *resultobj;
27808 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27809 int result;
27810 PyObject * obj0 = 0 ;
27811 char *kwnames[] = {
27812 (char *) "self", NULL
27813 };
27814
27815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27818 {
27819 PyThreadState* __tstate = wxPyBeginAllowThreads();
27820 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27821
27822 wxPyEndAllowThreads(__tstate);
27823 if (PyErr_Occurred()) SWIG_fail;
27824 }
27825 resultobj = SWIG_From_int((int)result);
27826 return resultobj;
27827 fail:
27828 return NULL;
27829 }
27830
27831
27832 static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
27833 PyObject *resultobj;
27834 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27835 int result;
27836 PyObject * obj0 = 0 ;
27837 char *kwnames[] = {
27838 (char *) "self", NULL
27839 };
27840
27841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27847
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
27851 resultobj = SWIG_From_int((int)result);
27852 return resultobj;
27853 fail:
27854 return NULL;
27855 }
27856
27857
27858 static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27859 PyObject *resultobj;
27860 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27861 bool result;
27862 PyObject * obj0 = 0 ;
27863 char *kwnames[] = {
27864 (char *) "self", NULL
27865 };
27866
27867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27870 {
27871 PyThreadState* __tstate = wxPyBeginAllowThreads();
27872 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27873
27874 wxPyEndAllowThreads(__tstate);
27875 if (PyErr_Occurred()) SWIG_fail;
27876 }
27877 {
27878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27879 }
27880 return resultobj;
27881 fail:
27882 return NULL;
27883 }
27884
27885
27886 static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27887 PyObject *resultobj;
27888 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27889 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27890 bool result;
27891 PyObject * obj0 = 0 ;
27892 PyObject * obj1 = 0 ;
27893 char *kwnames[] = {
27894 (char *) "self",(char *) "other", NULL
27895 };
27896
27897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27905
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 {
27910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27911 }
27912 return resultobj;
27913 fail:
27914 return NULL;
27915 }
27916
27917
27918 static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj;
27920 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27921 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27922 bool result;
27923 PyObject * obj0 = 0 ;
27924 PyObject * obj1 = 0 ;
27925 char *kwnames[] = {
27926 (char *) "self",(char *) "other", NULL
27927 };
27928
27929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27934 {
27935 PyThreadState* __tstate = wxPyBeginAllowThreads();
27936 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27937
27938 wxPyEndAllowThreads(__tstate);
27939 if (PyErr_Occurred()) SWIG_fail;
27940 }
27941 {
27942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27943 }
27944 return resultobj;
27945 fail:
27946 return NULL;
27947 }
27948
27949
27950 static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
27951 PyObject *resultobj;
27952 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27953 int arg2 ;
27954 PyObject * obj0 = 0 ;
27955 PyObject * obj1 = 0 ;
27956 char *kwnames[] = {
27957 (char *) "self",(char *) "w", NULL
27958 };
27959
27960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27963 arg2 = (int)SWIG_As_int(obj1);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 if (arg1) (arg1)->w = arg2;
27966
27967 Py_INCREF(Py_None); resultobj = Py_None;
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
27975 PyObject *resultobj;
27976 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27977 int result;
27978 PyObject * obj0 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self", NULL
27981 };
27982
27983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27986 result = (int) ((arg1)->w);
27987
27988 resultobj = SWIG_From_int((int)result);
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
27996 PyObject *resultobj;
27997 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27998 int arg2 ;
27999 PyObject * obj0 = 0 ;
28000 PyObject * obj1 = 0 ;
28001 char *kwnames[] = {
28002 (char *) "self",(char *) "h", NULL
28003 };
28004
28005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
28006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28008 arg2 = (int)SWIG_As_int(obj1);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 if (arg1) (arg1)->h = arg2;
28011
28012 Py_INCREF(Py_None); resultobj = Py_None;
28013 return resultobj;
28014 fail:
28015 return NULL;
28016 }
28017
28018
28019 static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
28020 PyObject *resultobj;
28021 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28022 int result;
28023 PyObject * obj0 = 0 ;
28024 char *kwnames[] = {
28025 (char *) "self", NULL
28026 };
28027
28028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
28029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28031 result = (int) ((arg1)->h);
28032
28033 resultobj = SWIG_From_int((int)result);
28034 return resultobj;
28035 fail:
28036 return NULL;
28037 }
28038
28039
28040 static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
28041 PyObject *resultobj;
28042 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28043 int arg2 ;
28044 PyObject * obj0 = 0 ;
28045 PyObject * obj1 = 0 ;
28046 char *kwnames[] = {
28047 (char *) "self",(char *) "bpp", NULL
28048 };
28049
28050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
28051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28053 arg2 = (int)SWIG_As_int(obj1);
28054 if (PyErr_Occurred()) SWIG_fail;
28055 if (arg1) (arg1)->bpp = arg2;
28056
28057 Py_INCREF(Py_None); resultobj = Py_None;
28058 return resultobj;
28059 fail:
28060 return NULL;
28061 }
28062
28063
28064 static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
28065 PyObject *resultobj;
28066 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28067 int result;
28068 PyObject * obj0 = 0 ;
28069 char *kwnames[] = {
28070 (char *) "self", NULL
28071 };
28072
28073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
28074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28076 result = (int) ((arg1)->bpp);
28077
28078 resultobj = SWIG_From_int((int)result);
28079 return resultobj;
28080 fail:
28081 return NULL;
28082 }
28083
28084
28085 static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
28086 PyObject *resultobj;
28087 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28088 int arg2 ;
28089 PyObject * obj0 = 0 ;
28090 PyObject * obj1 = 0 ;
28091 char *kwnames[] = {
28092 (char *) "self",(char *) "refresh", NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
28096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28098 arg2 = (int)SWIG_As_int(obj1);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 if (arg1) (arg1)->refresh = arg2;
28101
28102 Py_INCREF(Py_None); resultobj = Py_None;
28103 return resultobj;
28104 fail:
28105 return NULL;
28106 }
28107
28108
28109 static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
28110 PyObject *resultobj;
28111 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28112 int result;
28113 PyObject * obj0 = 0 ;
28114 char *kwnames[] = {
28115 (char *) "self", NULL
28116 };
28117
28118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
28119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28121 result = (int) ((arg1)->refresh);
28122
28123 resultobj = SWIG_From_int((int)result);
28124 return resultobj;
28125 fail:
28126 return NULL;
28127 }
28128
28129
28130 static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
28131 PyObject *obj;
28132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28133 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
28134 Py_INCREF(obj);
28135 return Py_BuildValue((char *)"");
28136 }
28137 static int _wrap_DefaultVideoMode_set(PyObject *) {
28138 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
28139 return 1;
28140 }
28141
28142
28143 static PyObject *_wrap_DefaultVideoMode_get() {
28144 PyObject *pyobj;
28145
28146 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
28147 return pyobj;
28148 }
28149
28150
28151 static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
28152 PyObject *resultobj;
28153 size_t arg1 = (size_t) 0 ;
28154 wxDisplay *result;
28155 PyObject * obj0 = 0 ;
28156 char *kwnames[] = {
28157 (char *) "index", NULL
28158 };
28159
28160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
28161 if (obj0) {
28162 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 result = (wxDisplay *)new wxDisplay(arg1);
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj;
28181 wxDisplay *arg1 = (wxDisplay *) 0 ;
28182 PyObject * obj0 = 0 ;
28183 char *kwnames[] = {
28184 (char *) "self", NULL
28185 };
28186
28187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
28188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 delete arg1;
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
28197 Py_INCREF(Py_None); resultobj = Py_None;
28198 return resultobj;
28199 fail:
28200 return NULL;
28201 }
28202
28203
28204 static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28205 PyObject *resultobj;
28206 size_t result;
28207 char *kwnames[] = {
28208 NULL
28209 };
28210
28211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
28212 {
28213 PyThreadState* __tstate = wxPyBeginAllowThreads();
28214 result = (size_t)wxDisplay::GetCount();
28215
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
28220 return resultobj;
28221 fail:
28222 return NULL;
28223 }
28224
28225
28226 static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28227 PyObject *resultobj;
28228 wxPoint *arg1 = 0 ;
28229 int result;
28230 wxPoint temp1 ;
28231 PyObject * obj0 = 0 ;
28232 char *kwnames[] = {
28233 (char *) "pt", NULL
28234 };
28235
28236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
28237 {
28238 arg1 = &temp1;
28239 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
28240 }
28241 {
28242 PyThreadState* __tstate = wxPyBeginAllowThreads();
28243 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
28244
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 resultobj = SWIG_From_int((int)result);
28249 return resultobj;
28250 fail:
28251 return NULL;
28252 }
28253
28254
28255 static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28256 PyObject *resultobj;
28257 wxWindow *arg1 = (wxWindow *) 0 ;
28258 int result;
28259 PyObject * obj0 = 0 ;
28260 char *kwnames[] = {
28261 (char *) "window", NULL
28262 };
28263
28264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
28265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28267 {
28268 PyThreadState* __tstate = wxPyBeginAllowThreads();
28269 result = (int)Display_GetFromWindow(arg1);
28270
28271 wxPyEndAllowThreads(__tstate);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 }
28274 resultobj = SWIG_From_int((int)result);
28275 return resultobj;
28276 fail:
28277 return NULL;
28278 }
28279
28280
28281 static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
28282 PyObject *resultobj;
28283 wxDisplay *arg1 = (wxDisplay *) 0 ;
28284 bool result;
28285 PyObject * obj0 = 0 ;
28286 char *kwnames[] = {
28287 (char *) "self", NULL
28288 };
28289
28290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28293 {
28294 PyThreadState* __tstate = wxPyBeginAllowThreads();
28295 result = (bool)((wxDisplay const *)arg1)->IsOk();
28296
28297 wxPyEndAllowThreads(__tstate);
28298 if (PyErr_Occurred()) SWIG_fail;
28299 }
28300 {
28301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28302 }
28303 return resultobj;
28304 fail:
28305 return NULL;
28306 }
28307
28308
28309 static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
28310 PyObject *resultobj;
28311 wxDisplay *arg1 = (wxDisplay *) 0 ;
28312 wxRect result;
28313 PyObject * obj0 = 0 ;
28314 char *kwnames[] = {
28315 (char *) "self", NULL
28316 };
28317
28318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28321 {
28322 PyThreadState* __tstate = wxPyBeginAllowThreads();
28323 result = ((wxDisplay const *)arg1)->GetGeometry();
28324
28325 wxPyEndAllowThreads(__tstate);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 {
28329 wxRect * resultptr;
28330 resultptr = new wxRect((wxRect &) result);
28331 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28332 }
28333 return resultobj;
28334 fail:
28335 return NULL;
28336 }
28337
28338
28339 static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
28340 PyObject *resultobj;
28341 wxDisplay *arg1 = (wxDisplay *) 0 ;
28342 wxString result;
28343 PyObject * obj0 = 0 ;
28344 char *kwnames[] = {
28345 (char *) "self", NULL
28346 };
28347
28348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28351 {
28352 PyThreadState* __tstate = wxPyBeginAllowThreads();
28353 result = ((wxDisplay const *)arg1)->GetName();
28354
28355 wxPyEndAllowThreads(__tstate);
28356 if (PyErr_Occurred()) SWIG_fail;
28357 }
28358 {
28359 #if wxUSE_UNICODE
28360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28361 #else
28362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28363 #endif
28364 }
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
28372 PyObject *resultobj;
28373 wxDisplay *arg1 = (wxDisplay *) 0 ;
28374 bool result;
28375 PyObject * obj0 = 0 ;
28376 char *kwnames[] = {
28377 (char *) "self", NULL
28378 };
28379
28380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 {
28391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28392 }
28393 return resultobj;
28394 fail:
28395 return NULL;
28396 }
28397
28398
28399 static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
28400 PyObject *resultobj;
28401 wxDisplay *arg1 = (wxDisplay *) 0 ;
28402 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28403 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28404 PyObject *result;
28405 PyObject * obj0 = 0 ;
28406 PyObject * obj1 = 0 ;
28407 char *kwnames[] = {
28408 (char *) "self",(char *) "mode", NULL
28409 };
28410
28411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28414 if (obj1) {
28415 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28416 SWIG_POINTER_EXCEPTION | 0)) == -1)
28417 SWIG_fail;
28418 if (arg2 == NULL) {
28419 PyErr_SetString(PyExc_TypeError,"null reference");
28420 SWIG_fail;
28421 }
28422 }
28423 {
28424 PyThreadState* __tstate = wxPyBeginAllowThreads();
28425 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28426
28427 wxPyEndAllowThreads(__tstate);
28428 if (PyErr_Occurred()) SWIG_fail;
28429 }
28430 resultobj = result;
28431 return resultobj;
28432 fail:
28433 return NULL;
28434 }
28435
28436
28437 static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
28438 PyObject *resultobj;
28439 wxDisplay *arg1 = (wxDisplay *) 0 ;
28440 wxVideoMode result;
28441 PyObject * obj0 = 0 ;
28442 char *kwnames[] = {
28443 (char *) "self", NULL
28444 };
28445
28446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 {
28457 wxVideoMode * resultptr;
28458 resultptr = new wxVideoMode((wxVideoMode &) result);
28459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28460 }
28461 return resultobj;
28462 fail:
28463 return NULL;
28464 }
28465
28466
28467 static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxDisplay *arg1 = (wxDisplay *) 0 ;
28470 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28471 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28472 bool result;
28473 PyObject * obj0 = 0 ;
28474 PyObject * obj1 = 0 ;
28475 char *kwnames[] = {
28476 (char *) "self",(char *) "mode", NULL
28477 };
28478
28479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28482 if (obj1) {
28483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28484 SWIG_POINTER_EXCEPTION | 0)) == -1)
28485 SWIG_fail;
28486 if (arg2 == NULL) {
28487 PyErr_SetString(PyExc_TypeError,"null reference");
28488 SWIG_fail;
28489 }
28490 }
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28494
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 {
28499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28500 }
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj;
28509 wxDisplay *arg1 = (wxDisplay *) 0 ;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "self", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 (arg1)->ResetMode();
28521
28522 wxPyEndAllowThreads(__tstate);
28523 if (PyErr_Occurred()) SWIG_fail;
28524 }
28525 Py_INCREF(Py_None); resultobj = Py_None;
28526 return resultobj;
28527 fail:
28528 return NULL;
28529 }
28530
28531
28532 static PyObject * Display_swigregister(PyObject *, PyObject *args) {
28533 PyObject *obj;
28534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28535 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28536 Py_INCREF(obj);
28537 return Py_BuildValue((char *)"");
28538 }
28539 static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
28540 PyObject *resultobj;
28541 wxStandardPaths *result;
28542 char *kwnames[] = {
28543 NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 {
28550 wxStandardPaths &_result_ref = wxStandardPaths::Get();
28551 result = (wxStandardPaths *) &_result_ref;
28552 }
28553
28554 wxPyEndAllowThreads(__tstate);
28555 if (PyErr_Occurred()) SWIG_fail;
28556 }
28557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
28558 return resultobj;
28559 fail:
28560 return NULL;
28561 }
28562
28563
28564 static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
28565 PyObject *resultobj;
28566 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28567 wxString result;
28568 PyObject * obj0 = 0 ;
28569 char *kwnames[] = {
28570 (char *) "self", NULL
28571 };
28572
28573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
28574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28576 {
28577 PyThreadState* __tstate = wxPyBeginAllowThreads();
28578 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
28579
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 {
28584 #if wxUSE_UNICODE
28585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28586 #else
28587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28588 #endif
28589 }
28590 return resultobj;
28591 fail:
28592 return NULL;
28593 }
28594
28595
28596 static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
28597 PyObject *resultobj;
28598 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28599 wxString result;
28600 PyObject * obj0 = 0 ;
28601 char *kwnames[] = {
28602 (char *) "self", NULL
28603 };
28604
28605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
28606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28608 {
28609 PyThreadState* __tstate = wxPyBeginAllowThreads();
28610 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
28611
28612 wxPyEndAllowThreads(__tstate);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 {
28616 #if wxUSE_UNICODE
28617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28618 #else
28619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28620 #endif
28621 }
28622 return resultobj;
28623 fail:
28624 return NULL;
28625 }
28626
28627
28628 static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28629 PyObject *resultobj;
28630 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28631 wxString result;
28632 PyObject * obj0 = 0 ;
28633 char *kwnames[] = {
28634 (char *) "self", NULL
28635 };
28636
28637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
28638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28640 {
28641 PyThreadState* __tstate = wxPyBeginAllowThreads();
28642 result = ((wxStandardPaths const *)arg1)->GetDataDir();
28643
28644 wxPyEndAllowThreads(__tstate);
28645 if (PyErr_Occurred()) SWIG_fail;
28646 }
28647 {
28648 #if wxUSE_UNICODE
28649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28650 #else
28651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28652 #endif
28653 }
28654 return resultobj;
28655 fail:
28656 return NULL;
28657 }
28658
28659
28660 static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28661 PyObject *resultobj;
28662 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28663 wxString result;
28664 PyObject * obj0 = 0 ;
28665 char *kwnames[] = {
28666 (char *) "self", NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
28670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28672 {
28673 PyThreadState* __tstate = wxPyBeginAllowThreads();
28674 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
28675
28676 wxPyEndAllowThreads(__tstate);
28677 if (PyErr_Occurred()) SWIG_fail;
28678 }
28679 {
28680 #if wxUSE_UNICODE
28681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28682 #else
28683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28684 #endif
28685 }
28686 return resultobj;
28687 fail:
28688 return NULL;
28689 }
28690
28691
28692 static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28693 PyObject *resultobj;
28694 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28695 wxString result;
28696 PyObject * obj0 = 0 ;
28697 char *kwnames[] = {
28698 (char *) "self", NULL
28699 };
28700
28701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
28702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28704 {
28705 PyThreadState* __tstate = wxPyBeginAllowThreads();
28706 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
28707
28708 wxPyEndAllowThreads(__tstate);
28709 if (PyErr_Occurred()) SWIG_fail;
28710 }
28711 {
28712 #if wxUSE_UNICODE
28713 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28714 #else
28715 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28716 #endif
28717 }
28718 return resultobj;
28719 fail:
28720 return NULL;
28721 }
28722
28723
28724 static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj;
28726 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28727 wxString result;
28728 PyObject * obj0 = 0 ;
28729 char *kwnames[] = {
28730 (char *) "self", NULL
28731 };
28732
28733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
28734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28736 {
28737 PyThreadState* __tstate = wxPyBeginAllowThreads();
28738 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
28739
28740 wxPyEndAllowThreads(__tstate);
28741 if (PyErr_Occurred()) SWIG_fail;
28742 }
28743 {
28744 #if wxUSE_UNICODE
28745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28746 #else
28747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28748 #endif
28749 }
28750 return resultobj;
28751 fail:
28752 return NULL;
28753 }
28754
28755
28756 static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
28757 PyObject *resultobj;
28758 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28759 wxString result;
28760 PyObject * obj0 = 0 ;
28761 char *kwnames[] = {
28762 (char *) "self", NULL
28763 };
28764
28765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
28766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28768 {
28769 PyThreadState* __tstate = wxPyBeginAllowThreads();
28770 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
28771
28772 wxPyEndAllowThreads(__tstate);
28773 if (PyErr_Occurred()) SWIG_fail;
28774 }
28775 {
28776 #if wxUSE_UNICODE
28777 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28778 #else
28779 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28780 #endif
28781 }
28782 return resultobj;
28783 fail:
28784 return NULL;
28785 }
28786
28787
28788 static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
28789 PyObject *resultobj;
28790 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28791 wxString *arg2 = 0 ;
28792 bool temp2 = false ;
28793 PyObject * obj0 = 0 ;
28794 PyObject * obj1 = 0 ;
28795 char *kwnames[] = {
28796 (char *) "self",(char *) "prefix", NULL
28797 };
28798
28799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
28800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28802 {
28803 arg2 = wxString_in_helper(obj1);
28804 if (arg2 == NULL) SWIG_fail;
28805 temp2 = true;
28806 }
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 (arg1)->SetInstallPrefix((wxString const &)*arg2);
28810
28811 wxPyEndAllowThreads(__tstate);
28812 if (PyErr_Occurred()) SWIG_fail;
28813 }
28814 Py_INCREF(Py_None); resultobj = Py_None;
28815 {
28816 if (temp2)
28817 delete arg2;
28818 }
28819 return resultobj;
28820 fail:
28821 {
28822 if (temp2)
28823 delete arg2;
28824 }
28825 return NULL;
28826 }
28827
28828
28829 static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
28830 PyObject *resultobj;
28831 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
28832 wxString result;
28833 PyObject * obj0 = 0 ;
28834 char *kwnames[] = {
28835 (char *) "self", NULL
28836 };
28837
28838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
28839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStandardPaths,
28840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 result = ((wxStandardPaths const *)arg1)->GetInstallPrefix();
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 {
28849 #if wxUSE_UNICODE
28850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28851 #else
28852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28853 #endif
28854 }
28855 return resultobj;
28856 fail:
28857 return NULL;
28858 }
28859
28860
28861 static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
28862 PyObject *obj;
28863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28864 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
28865 Py_INCREF(obj);
28866 return Py_BuildValue((char *)"");
28867 }
28868 static PyMethodDef SwigMethods[] = {
28869 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
28870 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
28871 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
28872 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
28873 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28874 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28875 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
28876 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
28877 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28878 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28879 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28880 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28881 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
28882 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
28883 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
28884 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
28885 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
28886 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL },
28887 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
28888 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
28889 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
28890 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28891 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
28892 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
28893 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
28894 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28895 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
28896 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
28897 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
28898 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28899 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
28900 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
28901 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
28902 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL },
28903 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL },
28904 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
28905 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
28906 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
28907 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28908 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28909 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
28910 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
28911 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
28912 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
28913 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
28914 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
28915 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28916 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28917 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28918 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28919 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28920 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28921 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
28922 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28923 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
28924 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28925 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
28926 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28927 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28928 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28929 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28930 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28931 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28932 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28933 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28934 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28935 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28936 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28937 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28938 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28939 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
28940 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
28941 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
28942 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28943 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28944 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28945 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28946 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
28947 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
28948 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
28949 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28950 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28951 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28952 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
28953 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
28954 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
28955 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28956 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28957 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28958 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
28959 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28960 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28961 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28962 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28963 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28964 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
28965 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
28966 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
28967 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28968 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28969 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
28970 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
28971 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28972 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28973 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28974 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28975 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
28976 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28977 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28978 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
28979 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28980 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28981 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
28982 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
28983 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28984 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
28985 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28986 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
28987 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
28988 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28989 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28990 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28991 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28992 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
28993 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28994 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28995 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
28996 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
28997 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28998 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28999 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
29000 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29001 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
29002 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29003 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29004 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
29005 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29006 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
29007 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
29008 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
29009 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29010 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
29011 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
29012 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
29013 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
29014 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29015 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29016 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
29017 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
29018 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29019 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
29020 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
29021 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29022 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
29023 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
29024 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
29025 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
29026 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
29027 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
29028 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
29029 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29030 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
29031 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29032 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
29033 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
29034 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
29035 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
29036 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
29037 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
29038 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
29039 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
29040 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
29041 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
29042 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29043 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
29044 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29045 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29046 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
29047 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
29048 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29049 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
29050 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
29051 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29052 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29053 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29054 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
29055 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
29056 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
29057 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29058 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29059 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
29060 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
29061 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
29062 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
29063 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29064 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
29065 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
29066 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
29067 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
29068 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
29069 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
29070 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
29071 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29072 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
29073 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
29074 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
29075 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29076 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29077 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
29078 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
29079 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
29080 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29081 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
29082 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
29083 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
29084 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
29085 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
29086 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
29087 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
29088 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
29089 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
29090 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29091 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
29092 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
29093 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
29094 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
29095 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
29096 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
29097 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
29098 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
29099 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
29100 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
29101 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
29102 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
29103 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29104 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
29105 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
29106 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
29107 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29108 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
29109 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29110 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
29111 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
29112 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
29113 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
29114 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
29115 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
29116 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
29117 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
29118 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29119 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
29120 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
29121 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
29122 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29123 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
29124 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
29125 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
29126 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
29127 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
29128 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
29129 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
29130 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
29131 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29132 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
29133 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29134 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29135 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29136 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29137 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29138 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29139 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29140 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29141 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29142 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
29143 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29144 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
29145 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
29146 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
29147 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
29148 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
29149 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
29150 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
29151 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
29152 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
29153 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
29154 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29155 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29156 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
29157 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
29158 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
29159 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
29160 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
29161 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
29162 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
29163 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
29164 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
29165 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
29166 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
29167 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
29168 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
29169 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
29170 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
29171 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
29172 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
29173 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29174 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
29175 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
29176 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
29177 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
29178 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
29179 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
29180 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
29181 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
29182 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
29183 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
29184 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
29185 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
29186 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
29187 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29188 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29189 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29190 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29191 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29192 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
29193 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
29194 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
29195 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29196 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
29197 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
29198 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
29199 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
29200 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
29201 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
29202 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
29203 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
29204 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29205 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29206 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
29207 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29208 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL },
29209 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29210 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL },
29211 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL },
29212 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
29213 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
29214 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29215 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
29216 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29217 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29218 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29219 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29220 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29221 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29222 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29223 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
29224 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29225 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29226 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
29227 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
29228 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
29229 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
29230 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29231 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
29232 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29233 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29234 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
29235 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29236 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29237 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
29238 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29239 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29240 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
29241 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29242 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29243 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29244 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
29245 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
29246 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
29247 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29248 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
29249 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
29250 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
29251 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
29252 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
29253 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29254 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
29255 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
29256 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
29257 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
29258 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
29259 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
29260 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29261 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29262 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29263 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29264 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
29265 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29266 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
29267 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
29268 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
29269 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
29270 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29271 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29272 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
29273 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
29274 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29275 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
29276 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29277 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29278 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29279 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29280 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
29281 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
29282 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29283 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29284 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
29285 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
29286 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
29287 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
29288 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29289 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
29290 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
29291 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
29292 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
29293 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
29294 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29295 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29296 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29297 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
29298 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
29299 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
29300 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29301 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29302 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29303 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
29304 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29305 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29306 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29307 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
29308 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
29309 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29310 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
29311 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
29312 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29313 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
29314 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
29315 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29316 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
29317 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
29318 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29319 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
29320 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
29321 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
29322 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
29323 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29324 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29325 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
29326 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
29327 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
29328 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29329 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
29330 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
29331 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
29332 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29333 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
29334 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
29335 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
29336 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
29337 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
29338 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
29339 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
29340 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
29341 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
29342 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29343 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29344 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29345 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29346 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
29347 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29348 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
29349 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29350 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29351 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29352 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29353 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
29354 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29355 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29356 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29357 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29358 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29359 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29360 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29361 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29362 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29363 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29364 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29365 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29366 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29367 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29368 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29369 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29370 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29371 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29372 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29373 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29374 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29375 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29376 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29377 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29378 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29379 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29380 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
29381 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
29382 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29383 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29384 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29385 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29386 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
29387 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29388 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29389 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29390 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29391 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29392 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29393 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29394 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29395 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29396 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29397 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29398 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29399 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29400 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
29401 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29402 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
29403 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29404 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29405 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29406 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
29407 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
29408 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
29409 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
29410 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
29411 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
29412 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
29413 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29414 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
29415 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
29416 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
29417 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
29418 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
29419 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
29420 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
29421 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
29422 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
29423 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
29424 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
29425 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29426 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29427 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
29428 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
29429 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29430 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
29431 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
29432 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
29433 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
29434 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
29435 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
29436 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
29437 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
29438 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
29439 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
29440 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
29441 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29442 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29443 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29444 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29445 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29446 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29447 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29448 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29449 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29450 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29451 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
29452 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29453 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29454 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29455 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29456 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29457 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29458 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29459 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29460 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
29461 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
29462 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
29463 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
29464 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29465 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29466 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
29467 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
29468 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
29469 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29470 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
29471 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29472 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29473 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29474 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
29475 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
29476 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
29477 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
29478 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29479 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
29480 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29481 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29482 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29483 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29484 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29485 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29486 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
29487 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
29488 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
29489 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
29490 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29491 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29492 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29493 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29494 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29495 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29496 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29497 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29498 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
29499 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29500 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29501 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29502 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29503 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29504 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29505 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29506 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29507 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29508 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29509 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29510 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29511 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29512 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29513 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
29514 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
29515 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
29516 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
29517 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
29518 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29519 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29520 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29521 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
29522 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
29523 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
29524 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
29525 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29526 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29527 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
29528 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29529 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29530 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
29531 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29532 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29533 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
29534 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29535 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29536 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
29537 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29538 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29539 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29540 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29541 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29542 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29543 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
29544 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29545 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29546 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
29547 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
29548 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29549 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
29550 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29551 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
29552 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29553 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29554 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
29555 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29556 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29557 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
29558 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29559 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29560 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29561 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
29562 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29563 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29564 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
29565 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29566 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
29567 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
29568 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
29569 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29570 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29571 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29572 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29573 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
29574 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29575 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29576 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29577 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
29578 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29579 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
29580 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
29581 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29582 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29583 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29584 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29585 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29586 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29587 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29588 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
29589 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
29590 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29591 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29592 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29593 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29594 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29595 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29596 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29597 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29598 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29599 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29600 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
29601 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29602 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29603 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29604 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29605 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29606 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29607 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29608 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
29609 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29610 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29611 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29612 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29613 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29614 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29615 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29616 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
29617 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29618 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29619 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29620 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
29621 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29622 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
29623 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29624 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29625 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29626 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29627 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29628 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
29629 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29630 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
29631 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29632 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29633 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
29634 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
29635 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29636 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29637 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
29638 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29639 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
29640 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29641 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29642 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29643 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29644 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
29645 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
29646 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
29647 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
29648 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
29649 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
29650 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
29651 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
29652 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
29653 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29654 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29655 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29656 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29657 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29658 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29659 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
29660 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
29661 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
29662 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
29663 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
29664 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
29665 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
29666 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
29667 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29668 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29669 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL },
29670 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29671 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29672 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29673 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL },
29674 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL },
29675 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29676 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL },
29677 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL },
29678 { NULL, NULL, 0, NULL }
29679 };
29680
29681
29682 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29683
29684 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29685 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29686 }
29687 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29688 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29689 }
29690 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29691 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29692 }
29693 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29694 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29695 }
29696 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29697 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29698 }
29699 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29700 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29701 }
29702 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29703 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29704 }
29705 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29706 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29707 }
29708 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29709 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29710 }
29711 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29712 return (void *)((wxEvent *) ((wxPyEvent *) x));
29713 }
29714 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29715 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29716 }
29717 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29718 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29719 }
29720 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29721 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29722 }
29723 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29724 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29725 }
29726 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29727 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29728 }
29729 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29730 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29731 }
29732 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29733 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29734 }
29735 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29736 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29737 }
29738 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29739 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29740 }
29741 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29742 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29743 }
29744 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29745 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29746 }
29747 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29748 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29749 }
29750 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29752 }
29753 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29754 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29755 }
29756 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29757 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29758 }
29759 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29760 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29761 }
29762 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29763 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29764 }
29765 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29766 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29767 }
29768 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29769 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29770 }
29771 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29772 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29773 }
29774 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29775 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29776 }
29777 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29778 return (void *)((wxEvent *) ((wxShowEvent *) x));
29779 }
29780 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29781 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29782 }
29783 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29784 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29785 }
29786 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29787 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29788 }
29789 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29790 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29791 }
29792 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29793 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29794 }
29795 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29796 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29797 }
29798 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29799 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29800 }
29801 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29802 return (void *)((wxConfigBase *) ((wxConfig *) x));
29803 }
29804 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29805 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29806 }
29807 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29808 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29809 }
29810 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29811 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29812 }
29813 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29814 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29815 }
29816 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29817 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29818 }
29819 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29820 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29821 }
29822 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29823 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29824 }
29825 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29826 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29827 }
29828 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29829 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29830 }
29831 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29832 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29833 }
29834 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29835 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29836 }
29837 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29838 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29839 }
29840 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29841 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29842 }
29843 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29844 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29845 }
29846 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29847 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29848 }
29849 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29850 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29851 }
29852 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29853 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29854 }
29855 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29856 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29857 }
29858 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29859 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29860 }
29861 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29862 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29863 }
29864 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29865 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29866 }
29867 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29868 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29869 }
29870 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29871 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29872 }
29873 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29874 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29875 }
29876 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29877 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29878 }
29879 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29880 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29881 }
29882 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29883 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29884 }
29885 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29886 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29887 }
29888 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29889 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29890 }
29891 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29892 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29893 }
29894 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29895 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29896 }
29897 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29898 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29899 }
29900 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29901 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29902 }
29903 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29904 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29905 }
29906 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29907 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29908 }
29909 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29910 return (void *)((wxObject *) ((wxSizerItem *) x));
29911 }
29912 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29914 }
29915 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29916 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29917 }
29918 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29919 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29920 }
29921 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29922 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29923 }
29924 static void *_p_wxSizerTo_p_wxObject(void *x) {
29925 return (void *)((wxObject *) ((wxSizer *) x));
29926 }
29927 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29928 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29929 }
29930 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29931 return (void *)((wxObject *) ((wxFileHistory *) x));
29932 }
29933 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29935 }
29936 static void *_p_wxEventTo_p_wxObject(void *x) {
29937 return (void *)((wxObject *) ((wxEvent *) x));
29938 }
29939 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29940 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29941 }
29942 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29943 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29944 }
29945 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29946 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29947 }
29948 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29949 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29950 }
29951 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29952 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29953 }
29954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29955 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29956 }
29957 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29958 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29959 }
29960 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29961 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29962 }
29963 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29964 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29965 }
29966 static void *_p_wxControlTo_p_wxObject(void *x) {
29967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29968 }
29969 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29970 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29971 }
29972 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29973 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29974 }
29975 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29976 return (void *)((wxObject *) ((wxFSFile *) x));
29977 }
29978 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29979 return (void *)((wxObject *) ((wxClipboard *) x));
29980 }
29981 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29982 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29983 }
29984 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29985 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29986 }
29987 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29988 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29989 }
29990 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29991 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29992 }
29993 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29994 return (void *)((wxObject *) ((wxToolTip *) x));
29995 }
29996 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29997 return (void *)((wxObject *) ((wxMenuItem *) x));
29998 }
29999 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30000 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30001 }
30002 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30003 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30004 }
30005 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30006 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30007 }
30008 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30009 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30010 }
30011 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30012 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30013 }
30014 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30015 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30016 }
30017 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30018 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30019 }
30020 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30021 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30022 }
30023 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30024 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30025 }
30026 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30027 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30028 }
30029 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30030 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30031 }
30032 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30033 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30034 }
30035 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30036 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30037 }
30038 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30039 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30040 }
30041 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30042 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30043 }
30044 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30045 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30046 }
30047 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30048 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30049 }
30050 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30051 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30052 }
30053 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30054 return (void *)((wxObject *) ((wxImageHandler *) x));
30055 }
30056 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30057 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30058 }
30059 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30060 return (void *)((wxObject *) ((wxEvtHandler *) x));
30061 }
30062 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30063 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30064 }
30065 static void *_p_wxImageTo_p_wxObject(void *x) {
30066 return (void *)((wxObject *) ((wxImage *) x));
30067 }
30068 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30069 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30070 }
30071 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
30072 return (void *)((wxObject *) ((wxSystemOptions *) x));
30073 }
30074 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
30075 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
30076 }
30077 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30079 }
30080 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30081 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30082 }
30083 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30084 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30085 }
30086 static void *_p_wxWindowTo_p_wxObject(void *x) {
30087 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30088 }
30089 static void *_p_wxMenuTo_p_wxObject(void *x) {
30090 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30091 }
30092 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30094 }
30095 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
30096 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
30097 }
30098 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30099 return (void *)((wxObject *) ((wxFileSystem *) x));
30100 }
30101 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30102 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30103 }
30104 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30105 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30106 }
30107 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30108 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30109 }
30110 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30111 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30112 }
30113 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30114 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30115 }
30116 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30117 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30118 }
30119 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
30120 return (void *)((wxObject *) ((wxBusyInfo *) x));
30121 }
30122 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30124 }
30125 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30126 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30127 }
30128 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30129 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30130 }
30131 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30132 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30133 }
30134 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30135 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30136 }
30137 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
30138 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
30139 }
30140 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30142 }
30143 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30144 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30145 }
30146 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30147 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30148 }
30149 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
30150 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
30151 }
30152 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
30153 return (void *)((wxLog *) ((wxLogStderr *) x));
30154 }
30155 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
30156 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
30157 }
30158 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
30159 return (void *)((wxLog *) ((wxLogWindow *) x));
30160 }
30161 static void *_p_wxLogChainTo_p_wxLog(void *x) {
30162 return (void *)((wxLog *) ((wxLogChain *) x));
30163 }
30164 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
30165 return (void *)((wxLog *) ((wxLogGui *) x));
30166 }
30167 static void *_p_wxPyLogTo_p_wxLog(void *x) {
30168 return (void *)((wxLog *) ((wxPyLog *) x));
30169 }
30170 static void *_p_wxControlTo_p_wxWindow(void *x) {
30171 return (void *)((wxWindow *) ((wxControl *) x));
30172 }
30173 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30174 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30175 }
30176 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30177 return (void *)((wxWindow *) ((wxMenuBar *) x));
30178 }
30179 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
30180 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
30181 }
30182 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
30183 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
30184 }
30185 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}};
30186 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}};
30187 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}};
30188 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}};
30189 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}};
30190 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}};
30191 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}};
30192 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}};
30193 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}};
30194 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}};
30195 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}};
30196 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}};
30197 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}};
30198 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}};
30199 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}};
30200 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}};
30201 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}};
30202 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}};
30203 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}};
30204 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}};
30205 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}};
30206 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}};
30207 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}};
30208 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}};
30209 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}};
30210 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}};
30211 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}};
30212 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}};
30213 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}};
30214 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}};
30215 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}};
30216 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}};
30217 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}};
30218 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}};
30219 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}};
30220 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}};
30221 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}};
30222 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}};
30223 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}};
30224 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}};
30225 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}};
30226 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}};
30227 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}};
30228 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}};
30229 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}};
30230 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}};
30231 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}};
30232 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}};
30233 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}};
30234 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}};
30235 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}};
30236 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}};
30237 static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30238 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}};
30239 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}};
30240 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}};
30241 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}};
30242 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}};
30243 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}};
30244 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}};
30245 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}};
30246 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}};
30247 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}};
30248 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}};
30249 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}};
30250 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}};
30251 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}};
30252 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}};
30253 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}};
30254 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}};
30255 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}};
30256 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}};
30257 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}};
30258 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}};
30259 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}};
30260 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}};
30261 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}};
30262 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}};
30263 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}};
30264 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}};
30265 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}};
30266 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}};
30267 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}};
30268 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}};
30269 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}};
30270 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}};
30271
30272 static swig_type_info *swig_types_initial[] = {
30273 _swigt__p_wxLogChain,
30274 _swigt__p_wxMutexGuiLocker,
30275 _swigt__p_wxFileHistory,
30276 _swigt__p_wxLog,
30277 _swigt__p_wxDateTime__TimeZone,
30278 _swigt__p_wxMenu,
30279 _swigt__p_wxEvent,
30280 _swigt__p_wxConfigBase,
30281 _swigt__p_wxDisplay,
30282 _swigt__p_wxFileType,
30283 _swigt__p_wxLogGui,
30284 _swigt__p_wxFont,
30285 _swigt__p_wxDataFormat,
30286 _swigt__p_wxTimerEvent,
30287 _swigt__p_wxCaret,
30288 _swigt__p_int,
30289 _swigt__p_wxSize,
30290 _swigt__p_wxClipboard,
30291 _swigt__p_wxStopWatch,
30292 _swigt__p_wxDC,
30293 _swigt__p_wxClipboardLocker,
30294 _swigt__p_wxIcon,
30295 _swigt__p_wxLogStderr,
30296 _swigt__p_wxLogTextCtrl,
30297 _swigt__p_wxTextCtrl,
30298 _swigt__p_wxBusyCursor,
30299 _swigt__p_wxPyBitmapDataObject,
30300 _swigt__p_wxPyTextDataObject,
30301 _swigt__p_wxBitmapDataObject,
30302 _swigt__p_wxTextDataObject,
30303 _swigt__p_wxDataObject,
30304 _swigt__p_wxFileDataObject,
30305 _swigt__p_wxCustomDataObject,
30306 _swigt__p_wxURLDataObject,
30307 _swigt__p_wxMetafileDataObject,
30308 _swigt__p_wxSound,
30309 _swigt__p_wxTimerRunner,
30310 _swigt__p_wxLogWindow,
30311 _swigt__p_wxTimeSpan,
30312 _swigt__p_wxArrayString,
30313 _swigt__p_wxWindowDisabler,
30314 _swigt__p_wxToolTip,
30315 _swigt__p_wxDataObjectComposite,
30316 _swigt__p_wxFileConfig,
30317 _swigt__p_wxSystemSettings,
30318 _swigt__p_wxVideoMode,
30319 _swigt__p_wxPyDataObjectSimple,
30320 _swigt__p_wxDataObjectSimple,
30321 _swigt__p_wxEvtHandler,
30322 _swigt__p_wxRect,
30323 _swigt__p_char,
30324 _swigt__p_wxSingleInstanceChecker,
30325 _swigt__p_wxStandardPaths,
30326 _swigt__p_wxFileTypeInfo,
30327 _swigt__p_wxFrame,
30328 _swigt__p_wxTimer,
30329 _swigt__p_wxMimeTypesManager,
30330 _swigt__p_wxPyArtProvider,
30331 _swigt__p_wxPyTipProvider,
30332 _swigt__p_wxTipProvider,
30333 _swigt__p_wxJoystick,
30334 _swigt__p_wxSystemOptions,
30335 _swigt__p_wxPoint,
30336 _swigt__p_wxJoystickEvent,
30337 _swigt__p_wxCursor,
30338 _swigt__p_wxObject,
30339 _swigt__p_wxOutputStream,
30340 _swigt__p_wxDateTime,
30341 _swigt__p_wxPyDropSource,
30342 _swigt__p_wxWindow,
30343 _swigt__p_wxString,
30344 _swigt__p_wxPyProcess,
30345 _swigt__p_wxBitmap,
30346 _swigt__p_wxConfig,
30347 _swigt__p_wxChar,
30348 _swigt__p_wxBusyInfo,
30349 _swigt__p_wxPyDropTarget,
30350 _swigt__p_wxPyTextDropTarget,
30351 _swigt__p_wxPyFileDropTarget,
30352 _swigt__p_wxProcessEvent,
30353 _swigt__p_wxPyLog,
30354 _swigt__p_wxLogNull,
30355 _swigt__p_wxColour,
30356 _swigt__p_wxConfigPathChanger,
30357 _swigt__p_wxPyTimer,
30358 _swigt__p_wxDateSpan,
30359 0
30360 };
30361
30362
30363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30364
30365 static swig_const_info swig_const_table[] = {
30366 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
30367 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
30368 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
30369 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
30370 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
30371 {0, 0, 0, 0.0, 0, 0}};
30372
30373 #ifdef __cplusplus
30374 }
30375 #endif
30376
30377 #ifdef __cplusplus
30378 extern "C"
30379 #endif
30380 SWIGEXPORT(void) SWIG_init(void) {
30381 static PyObject *SWIG_globals = 0;
30382 static int typeinit = 0;
30383 PyObject *m, *d;
30384 int i;
30385 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30386 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30387 d = PyModule_GetDict(m);
30388
30389 if (!typeinit) {
30390 for (i = 0; swig_types_initial[i]; i++) {
30391 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30392 }
30393 typeinit = 1;
30394 }
30395 SWIG_InstallConstants(d,swig_const_table);
30396
30397 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT));
30398 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT));
30399 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT));
30400 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT));
30401 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT));
30402 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE));
30403 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT));
30404 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT));
30405 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT));
30406 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR));
30407 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND));
30408 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP));
30409 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION));
30410 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION));
30411 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU));
30412 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW));
30413 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME));
30414 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT));
30415 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT));
30416 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT));
30417 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER));
30418 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER));
30419 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE));
30420 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT));
30421 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
30422 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE));
30423 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE));
30424 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW));
30425 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW));
30426 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT));
30427 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT));
30428 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
30429 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT));
30430 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT));
30431 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT));
30432 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT));
30433 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW));
30434 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT));
30435 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT));
30436 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK));
30437 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX));
30438 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT));
30439 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
30440 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
30441 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT));
30442 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR));
30443 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX));
30444 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS));
30445 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X));
30446 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y));
30447 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X));
30448 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y));
30449 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X));
30450 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y));
30451 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X));
30452 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y));
30453 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X));
30454 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y));
30455 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X));
30456 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y));
30457 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X));
30458 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X));
30459 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y));
30460 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X));
30461 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y));
30462 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X));
30463 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y));
30464 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X));
30465 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y));
30466 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X));
30467 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y));
30468 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X));
30469 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y));
30470 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y));
30471 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X));
30472 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X));
30473 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y));
30474 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y));
30475 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y));
30476 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y));
30477 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT));
30478 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT));
30479 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS));
30480 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS));
30481 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
30482 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME));
30483 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE));
30484 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY));
30485 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA));
30486 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL));
30487 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP));
30488 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30489 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
30490 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30491 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30492 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30493 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF));
30494 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT));
30495 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS));
30496 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT));
30497 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
30498
30499 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30500
30501 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError));
30502 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)wxLOG_Error));
30503 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning));
30504 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)wxLOG_Message));
30505 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)wxLOG_Status));
30506 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)wxLOG_Info));
30507 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug));
30508 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace));
30509 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress));
30510 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)wxLOG_User));
30511 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)wxLOG_Max));
30512 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30513 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30514 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30515 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30516 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30517 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30518 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)0x0002));
30519 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)0x0004));
30520 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)0x0008));
30521 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)0x0100));
30522 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT));
30523 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT));
30524 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)wxKILL_OK));
30525 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL));
30526 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED));
30527 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS));
30528 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR));
30529 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)wxSIGNONE));
30530 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)wxSIGHUP));
30531 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)wxSIGINT));
30532 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT));
30533 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)wxSIGILL));
30534 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP));
30535 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)wxSIGABRT));
30536 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)wxSIGIOT));
30537 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)wxSIGEMT));
30538 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)wxSIGFPE));
30539 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)wxSIGKILL));
30540 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)wxSIGBUS));
30541 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV));
30542 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)wxSIGSYS));
30543 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE));
30544 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)wxSIGALRM));
30545 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)wxSIGTERM));
30546 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
30547 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC));
30548 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC));
30549 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE));
30550 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER));
30551
30552 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30553
30554 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1));
30555 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2));
30556 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY));
30557 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1));
30558 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2));
30559 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3));
30560 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4));
30561 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
30562 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
30563 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
30564 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
30565 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC));
30566 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC));
30567 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP));
30568 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD));
30569 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE));
30570 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE));
30571 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME));
30572 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL));
30573 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
30574 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
30575 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
30576 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
30577 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
30578 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
30579 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
30580 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
30581 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
30582 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
30583 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
30584 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
30585 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
30586 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30587 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30588 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30589 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30590 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30591 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30592 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30593 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30594 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30595 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30596 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30597 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30598 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30599 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30600 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30601 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
30602 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
30603 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30604 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30605 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30606 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30607 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30608 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30609 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30610 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30611 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30612 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30613
30614 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30615
30616 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE));
30617 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE));
30618 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH));
30619 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30620 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown));
30621 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String));
30622 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean));
30623 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer));
30624 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float));
30625 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30626 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
30627 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local));
30628 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12));
30629 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11));
30630 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10));
30631 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9));
30632 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8));
30633 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7));
30634 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6));
30635 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5));
30636 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4));
30637 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3));
30638 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2));
30639 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1));
30640 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0));
30641 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1));
30642 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2));
30643 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3));
30644 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4));
30645 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5));
30646 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6));
30647 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7));
30648 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8));
30649 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9));
30650 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10));
30651 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11));
30652 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12));
30653 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET));
30654 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST));
30655 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET));
30656 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST));
30657 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET));
30658 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST));
30659 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK));
30660 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD));
30661 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST));
30662 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT));
30663 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST));
30664 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT));
30665 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST));
30666 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT));
30667 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST));
30668 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT));
30669 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST));
30670 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT));
30671 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST));
30672 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST));
30673 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT));
30674 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST));
30675 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST));
30676 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST));
30677 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST));
30678 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC));
30679 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian));
30680 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian));
30681 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown));
30682 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard));
30683 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska));
30684 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania));
30685 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria));
30686 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen));
30687 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg));
30688 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol));
30689 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia));
30690 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria));
30691 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium));
30692 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria));
30693 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1));
30694 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2));
30695 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3));
30696 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada));
30697 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China));
30698 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1));
30699 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2));
30700 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia));
30701 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark));
30702 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt));
30703 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia));
30704 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland));
30705 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France));
30706 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace));
30707 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine));
30708 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg));
30709 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany));
30710 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic));
30711 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia));
30712 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant));
30713 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain));
30714 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece));
30715 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary));
30716 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland));
30717 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy));
30718 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan));
30719 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1));
30720 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2));
30721 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3));
30722 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia));
30723 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania));
30724 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg));
30725 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands));
30726 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen));
30727 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland));
30728 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht));
30729 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland));
30730 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway));
30731 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland));
30732 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal));
30733 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania));
30734 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia));
30735 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland));
30736 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain));
30737 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden));
30738 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland));
30739 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic));
30740 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant));
30741 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey));
30742 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA));
30743 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales));
30744 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia));
30745 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown));
30746 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default));
30747 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start));
30748 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC));
30749 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)wxDateTime::France));
30750 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany));
30751 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK));
30752 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End));
30753 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia));
30754 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA));
30755 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan));
30756 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb));
30757 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar));
30758 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr));
30759 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)wxDateTime::May));
30760 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun));
30761 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul));
30762 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug));
30763 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep));
30764 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct));
30765 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov));
30766 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec));
30767 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month));
30768 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun));
30769 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon));
30770 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue));
30771 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed));
30772 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu));
30773 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri));
30774 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat));
30775 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay));
30776 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year));
30777 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full));
30778 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr));
30779 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First));
30780 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First));
30781 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First));
30782 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30783 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID));
30784 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT));
30785 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP));
30786 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE));
30787 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK));
30788 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)wxDF_DIF));
30789 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF));
30790 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT));
30791 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)wxDF_DIB));
30792 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE));
30793 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA));
30794 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF));
30795 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE));
30796 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT));
30797 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE));
30798 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME));
30799 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE));
30800 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE));
30801 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)wxDF_HTML));
30802 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)wxDF_MAX));
30803 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30804 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get));
30805 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set));
30806 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both));
30807 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly));
30808 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove));
30809 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove));
30810 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)wxDragError));
30811 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)wxDragNone));
30812 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)wxDragCopy));
30813 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)wxDragMove));
30814 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)wxDragLink));
30815 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)wxDragCancel));
30816
30817 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30818 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30819 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30820 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30821
30822 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30823 }
30824