]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_misc_wrap.cpp
reSWIGged for WebKitCtrl
[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_wxFileTypeInfo swig_types[52]
264 #define SWIGTYPE_p_wxFrame swig_types[53]
265 #define SWIGTYPE_p_wxTimer swig_types[54]
266 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
267 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
268 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
269 #define SWIGTYPE_p_wxTipProvider swig_types[58]
270 #define SWIGTYPE_p_wxJoystick swig_types[59]
271 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
272 #define SWIGTYPE_p_wxPoint swig_types[61]
273 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
274 #define SWIGTYPE_p_wxCursor swig_types[63]
275 #define SWIGTYPE_p_wxObject swig_types[64]
276 #define SWIGTYPE_p_wxOutputStream swig_types[65]
277 #define SWIGTYPE_p_wxDateTime swig_types[66]
278 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
279 #define SWIGTYPE_p_wxWindow swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyProcess swig_types[70]
282 #define SWIGTYPE_p_wxBitmap swig_types[71]
283 #define SWIGTYPE_p_wxConfig swig_types[72]
284 #define SWIGTYPE_p_wxChar swig_types[73]
285 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
286 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
287 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
288 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
290 #define SWIGTYPE_p_wxPyLog swig_types[79]
291 #define SWIGTYPE_p_wxLogNull swig_types[80]
292 #define SWIGTYPE_p_wxColour swig_types[81]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
294 #define SWIGTYPE_p_wxPyTimer swig_types[83]
295 #define SWIGTYPE_p_wxDateSpan swig_types[84]
296 static swig_type_info *swig_types[86];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _misc_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_misc_
305
306 #define SWIG_name "_misc_"
307
308 /* Auxiliar swig macros that appear in the header */
309
310 #define SWIG_OLDOBJ 1
311 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
312 #define SWIG_PYSTR SWIG_NEWOBJ + 1
313
314 #ifdef __cplusplus
315 #define SWIGSTATICINLINE(a) static inline a
316 #define SWIGSTATIC(a) static a
317 #define swig_new_array(size,Type) (new Type[(size)])
318 #define swig_delete(cptr) delete cptr
319 #define swig_delete_array(cptr) delete[] cptr
320 #define swig_const_cast(a,Type) const_cast<Type >(a)
321 #define swig_static_cast(a,Type) static_cast<Type >(a)
322 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
323 #define swig_new_copy(ptr,Type) (new Type(*ptr))
324 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
325
326 #else /* C case */
327
328 #define SWIGSTATICINLINE(a) static a
329 #define SWIGSTATIC(a) static a
330 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
331 #define swig_delete(cptr) free((char*)cptr)
332 #define swig_delete_array(cptr) free((char*)cptr)
333 #define swig_const_cast(a,Type) (Type)(a)
334 #define swig_static_cast(a,Type) (Type)(a)
335 #define swig_reinterpret_cast(a,Type) (Type)(a)
336 #define swig_numeric_cast(a,Type) (Type)(a)
337 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
338
339 #endif /* __cplusplus */
340
341
342 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
344 /*@@*/
345 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
347 /*@@*/
348 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
350 /*@@*/
351 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
353 /*@@*/
354 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
356 /*@@*/
357 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
359 /*@@*/
360 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
362 /*@@*/
363 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_double PyFloat_FromDouble
365 /*@@*/
366
367
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
370 #include "wx/wxPython/pyistream.h"
371
372 static const wxString wxPyEmptyString(wxEmptyString);
373
374
375
376 #include <limits.h>
377
378
379 SWIGSTATICINLINE(int)
380 SWIG_CheckLongInRange(long value, long min_value, long max_value,
381 const char *errmsg)
382 {
383 if (value < min_value) {
384 if (errmsg) {
385 PyErr_Format(PyExc_OverflowError,
386 "value %ld is less than '%s' minimum %ld",
387 value, errmsg, min_value);
388 }
389 return 0;
390 } else if (value > max_value) {
391 if (errmsg) {
392 PyErr_Format(PyExc_OverflowError,
393 "value %ld is greater than '%s' maximum %ld",
394 value, errmsg, max_value);
395 }
396 return 0;
397 }
398 return 1;
399 }
400
401
402 // See my_fragments.i
403 SWIGSTATICINLINE(int)
404 SWIG_AsVal_long(PyObject* obj, long* val)
405 {
406 if (PyNumber_Check(obj)) {
407 if (val) *val = PyInt_AsLong(obj);
408 return 1;
409 }
410 else {
411 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
412 obj->ob_type->tp_name);
413 PyErr_SetObject(PyExc_TypeError, errmsg);
414 Py_DECREF(errmsg);
415 }
416 return 0;
417 }
418
419
420 #if INT_MAX != LONG_MAX
421 SWIGSTATICINLINE(int)
422 SWIG_AsVal_int(PyObject *obj, int *val)
423 {
424 const char* errmsg = val ? "int" : 0;
425 long v;
426 if (SWIG_AsVal_long(obj, &v)) {
427 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
428 if (val) *val = swig_numeric_cast(v, int);
429 return 1;
430 } else {
431 return 0;
432 }
433 } else {
434 PyErr_Clear();
435 }
436 if (val) {
437 PyErr_SetString(PyExc_TypeError, "an int is expected");
438 }
439 return 0;
440 }
441 #else
442 SWIGSTATICINLINE(int)
443 SWIG_AsVal_int(PyObject *obj, int *val)
444 {
445 return SWIG_AsVal_long(obj,(long*)val);
446 }
447 #endif
448
449
450 SWIGSTATICINLINE(int)
451 SWIG_As_int(PyObject* obj)
452 {
453 int v;
454 if (!SWIG_AsVal_int(obj, &v)) {
455 /*
456 this is needed to make valgrind/purify happier. the other
457 solution is throw an exception, but since this code should work
458 with plain C ....
459 */
460 memset((void*)&v, 0, sizeof(int));
461 }
462 return v;
463 }
464
465
466 SWIGSTATICINLINE(int)
467 SWIG_Check_int(PyObject* obj)
468 {
469 return SWIG_AsVal_int(obj, (int*)0);
470 }
471
472 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
473
474 #include <wx/stockitem.h>
475
476 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
477 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
478 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
479
480 SWIGSTATICINLINE(long)
481 SWIG_As_long(PyObject* obj)
482 {
483 long v;
484 if (!SWIG_AsVal_long(obj, &v)) {
485 /*
486 this is needed to make valgrind/purify happier. the other
487 solution is throw an exception, but since this code should work
488 with plain C ....
489 */
490 memset((void*)&v, 0, sizeof(long));
491 }
492 return v;
493 }
494
495
496 SWIGSTATICINLINE(int)
497 SWIG_Check_long(PyObject* obj)
498 {
499 return SWIG_AsVal_long(obj, (long*)0);
500 }
501
502
503 SWIGSTATICINLINE(int)
504 SWIG_AsVal_bool(PyObject *obj, bool *val)
505 {
506 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
507 if (obj == Py_True) {
508 if (val) *val = true;
509 return 1;
510 }
511 if (obj == Py_False) {
512 if (val) *val = false;
513 return 1;
514 }
515 int res = 0;
516 if (SWIG_AsVal_int(obj, &res)) {
517 if (val) *val = (bool)res;
518 return 1;
519 }
520 if (val) {
521 PyErr_SetString(PyExc_TypeError, "a bool is expected");
522 }
523 return 0;
524 }
525
526
527 SWIGSTATICINLINE(bool)
528 SWIG_As_bool(PyObject* obj)
529 {
530 bool v;
531 if (!SWIG_AsVal_bool(obj, &v)) {
532 /*
533 this is needed to make valgrind/purify happier. the other
534 solution is throw an exception, but since this code should work
535 with plain C ....
536 */
537 memset((void*)&v, 0, sizeof(bool));
538 }
539 return v;
540 }
541
542
543 SWIGSTATICINLINE(int)
544 SWIG_Check_bool(PyObject* obj)
545 {
546 return SWIG_AsVal_bool(obj, (bool*)0);
547 }
548
549
550 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
551 PyObject* o2;
552 PyObject* o3;
553
554 if (!target) {
555 target = o;
556 } else if (target == Py_None) {
557 Py_DECREF(Py_None);
558 target = o;
559 } else {
560 if (!PyTuple_Check(target)) {
561 o2 = target;
562 target = PyTuple_New(1);
563 PyTuple_SetItem(target, 0, o2);
564 }
565 o3 = PyTuple_New(1);
566 PyTuple_SetItem(o3, 0, o);
567
568 o2 = target;
569 target = PySequence_Concat(o2, o3);
570 Py_DECREF(o2);
571 Py_DECREF(o3);
572 }
573 return target;
574 }
575
576
577
578 long wxGetFreeMemory()
579 { wxPyRaiseNotImplemented(); return 0; }
580
581
582 // See my_fragments.i
583 SWIGSTATICINLINE(int)
584 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
585 {
586 long v = 0;
587 if (SWIG_AsVal_long(obj, &v) && v < 0) {
588 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
589 return 0;
590 }
591 else if (val)
592 *val = (unsigned long)v;
593 return 1;
594 }
595
596
597 SWIGSTATICINLINE(unsigned long)
598 SWIG_As_unsigned_SS_long(PyObject* obj)
599 {
600 unsigned long v;
601 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
602 /*
603 this is needed to make valgrind/purify happier. the other
604 solution is throw an exception, but since this code should work
605 with plain C ....
606 */
607 memset((void*)&v, 0, sizeof(unsigned long));
608 }
609 return v;
610 }
611
612
613 SWIGSTATICINLINE(int)
614 SWIG_Check_unsigned_SS_long(PyObject* obj)
615 {
616 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
617 }
618
619
620 SWIGSTATICINLINE(PyObject* )
621 SWIG_From_unsigned_SS_long(unsigned long value)
622 {
623 return (value > LONG_MAX) ?
624 PyLong_FromUnsignedLong(value)
625 : PyInt_FromLong(swig_numeric_cast(value,long));
626 }
627
628
629 void wxWakeUpMainThread() {}
630
631
632 bool wxThread_IsMain() {
633 #ifdef WXP_WITH_THREAD
634 return wxThread::IsMain();
635 #else
636 return true;
637 #endif
638 }
639
640
641 int wxCaret_GetBlinkTime() {
642 return wxCaret::GetBlinkTime();
643 }
644
645 void wxCaret_SetBlinkTime(int milliseconds) {
646 wxCaret::SetBlinkTime(milliseconds);
647 }
648
649
650 #include <wx/snglinst.h>
651
652
653 #ifdef __WXMSW__
654 #include <wx/msw/private.h>
655 #include <wx/dynload.h>
656 #endif
657
658
659
660 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
661 {
662 #ifdef __WXMSW__
663
664 switch (method)
665 {
666 case 1:
667 // This one only partially works. Appears to be an undocumented
668 // "standard" convention that not all widgets adhear to. For
669 // example, for some widgets backgrounds or non-client areas may
670 // not be painted.
671 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
672 break;
673
674 case 2:
675 // This one works much better, except for on XP. On Win2k nearly
676 // all widgets and their children are captured correctly[**]. On
677 // XP with Themes activated most native widgets draw only
678 // partially, if at all. Without themes it works just like on
679 // Win2k.
680 //
681 // ** For example the radio buttons in a wxRadioBox are not its
682 // children by default, but you can capture it via the panel
683 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
684 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
685 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
686 PRF_ERASEBKGND | PRF_OWNED );
687 break;
688
689 case 3:
690 // This one is only defined in the latest SDK and is only
691 // available on XP. MSDN says it is similar to sending WM_PRINT
692 // so I expect that it will work similar to the above. Since it
693 // is avaialble only on XP, it can't be compiled like this and
694 // will have to be loaded dynamically.
695 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
696
697 // fall through
698
699 case 4:
700 // Use PrintWindow if available, or fallback to WM_PRINT
701 // otherwise. Unfortunately using PrintWindow is even worse than
702 // WM_PRINT. For most native widgets nothing is drawn to the dc
703 // at all, with or without Themes.
704 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
705 static bool s_triedToLoad = false;
706 static PrintWindow_t pfnPrintWindow = NULL;
707 if ( !s_triedToLoad )
708 {
709
710 s_triedToLoad = true;
711 wxDynamicLibrary dllUser32(_T("user32.dll"));
712 if ( dllUser32.IsLoaded() )
713 {
714 wxLogNull nolog; // Don't report errors here
715 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
716 }
717 }
718 if (pfnPrintWindow)
719 {
720 printf("Using PrintWindow\n");
721 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
722 }
723 else
724 {
725 printf("Using WM_PRINT\n");
726 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
727 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
728 }
729 }
730 #endif
731 }
732
733
734
735 #include <wx/tipdlg.h>
736
737
738 class wxPyTipProvider : public wxTipProvider {
739 public:
740 wxPyTipProvider(size_t currentTip)
741 : wxTipProvider(currentTip) {}
742
743 DEC_PYCALLBACK_STRING__pure(GetTip);
744 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
745 PYPRIVATE;
746 };
747
748 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
749 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
750
751
752 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
753
754 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
755
756 void wxPyTimer::Notify() {
757 bool found;
758 bool blocked = wxPyBeginBlockThreads();
759 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
760 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
761 wxPyEndBlockThreads(blocked);
762 if (! found)
763 wxTimer::Notify();
764 }
765 void wxPyTimer::base_Notify() {
766 wxTimer::Notify();
767 }
768
769
770
771 SWIGSTATICINLINE(PyObject *)
772 SWIG_FromCharPtr(const char* cptr)
773 {
774 if (cptr) {
775 size_t size = strlen(cptr);
776 if (size > INT_MAX) {
777 return SWIG_NewPointerObj(swig_const_cast(cptr,char*),
778 SWIG_TypeQuery("char *"), 0);
779 } else {
780 if (size != 0) {
781 return PyString_FromStringAndSize(cptr, size);
782 } else {
783 return PyString_FromString(cptr);
784 }
785 }
786 }
787 Py_INCREF(Py_None);
788 return Py_None;
789 }
790
791
792 SWIGSTATICINLINE(int)
793 SWIG_CheckUnsignedLongInRange(unsigned long value,
794 unsigned long max_value,
795 const char *errmsg)
796 {
797 if (value > max_value) {
798 if (errmsg) {
799 PyErr_Format(PyExc_OverflowError,
800 "value %ld is greater than '%s' minimum %ld",
801 value, errmsg, max_value);
802 }
803 return 0;
804 }
805 return 1;
806 }
807
808
809 #if UINT_MAX != ULONG_MAX
810 SWIGSTATICINLINE(int)
811 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
812 {
813 const char* errmsg = val ? "unsigned int" : 0;
814 unsigned long v;
815 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
816 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
817 if (val) *val = swig_numeric_cast(v, unsigned int);
818 return 1;
819 }
820 } else {
821 PyErr_Clear();
822 }
823 if (val) {
824 PyErr_SetString(PyExc_TypeError, "an unsigned int is expected");
825 }
826 return 0;
827 }
828 #else
829 SWIGSTATICINLINE(unsigned int)
830 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
831 {
832 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
833 }
834 #endif
835
836
837 SWIGSTATICINLINE(unsigned int)
838 SWIG_As_unsigned_SS_int(PyObject* obj)
839 {
840 unsigned int v;
841 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
842 /*
843 this is needed to make valgrind/purify happier. the other
844 solution is throw an exception, but since this code should work
845 with plain C ....
846 */
847 memset((void*)&v, 0, sizeof(unsigned int));
848 }
849 return v;
850 }
851
852
853 SWIGSTATICINLINE(int)
854 SWIG_Check_unsigned_SS_int(PyObject* obj)
855 {
856 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
857 }
858
859 wxString Log_TimeStamp(){
860 wxString msg;
861 wxLog::TimeStamp(&msg);
862 return msg;
863 }
864 void wxLog_Destroy(wxLog *self){ delete self; }
865
866 // A wxLog class that can be derived from in wxPython
867 class wxPyLog : public wxLog {
868 public:
869 wxPyLog() : wxLog() {}
870
871 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
872 bool found;
873 bool blocked = wxPyBeginBlockThreads();
874 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
875 PyObject* s = wx2PyString(szString);
876 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
877 Py_DECREF(s);
878 }
879 wxPyEndBlockThreads(blocked);
880 if (! found)
881 wxLog::DoLog(level, szString, t);
882 }
883
884 virtual void DoLogString(const wxChar *szString, time_t t) {
885 bool found;
886 bool blocked = wxPyBeginBlockThreads();
887 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
888 PyObject* s = wx2PyString(szString);
889 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
890 Py_DECREF(s);
891 }
892 wxPyEndBlockThreads(blocked);
893 if (! found)
894 wxLog::DoLogString(szString, t);
895 }
896
897 PYPRIVATE;
898 };
899
900
901
902
903 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
904
905
906 #include <wx/joystick.h>
907
908
909 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
910 // A C++ stub class for wxJoystick for platforms that don't have it.
911 class wxJoystick : public wxObject {
912 public:
913 wxJoystick(int joystick = wxJOYSTICK1) {
914 bool blocked = wxPyBeginBlockThreads();
915 PyErr_SetString(PyExc_NotImplementedError,
916 "wxJoystick is not available on this platform.");
917 wxPyEndBlockThreads(blocked);
918 }
919 wxPoint GetPosition() { return wxPoint(-1,-1); }
920 int GetZPosition() { return -1; }
921 int GetButtonState() { return -1; }
922 int GetPOVPosition() { return -1; }
923 int GetPOVCTSPosition() { return -1; }
924 int GetRudderPosition() { return -1; }
925 int GetUPosition() { return -1; }
926 int GetVPosition() { return -1; }
927 int GetMovementThreshold() { return -1; }
928 void SetMovementThreshold(int threshold) {}
929
930 bool IsOk(void) { return false; }
931 int GetNumberJoysticks() { return -1; }
932 int GetManufacturerId() { return -1; }
933 int GetProductId() { return -1; }
934 wxString GetProductName() { return wxEmptyString; }
935 int GetXMin() { return -1; }
936 int GetYMin() { return -1; }
937 int GetZMin() { return -1; }
938 int GetXMax() { return -1; }
939 int GetYMax() { return -1; }
940 int GetZMax() { return -1; }
941 int GetNumberButtons() { return -1; }
942 int GetNumberAxes() { return -1; }
943 int GetMaxButtons() { return -1; }
944 int GetMaxAxes() { return -1; }
945 int GetPollingMin() { return -1; }
946 int GetPollingMax() { return -1; }
947 int GetRudderMin() { return -1; }
948 int GetRudderMax() { return -1; }
949 int GetUMin() { return -1; }
950 int GetUMax() { return -1; }
951 int GetVMin() { return -1; }
952 int GetVMax() { return -1; }
953
954 bool HasRudder() { return false; }
955 bool HasZ() { return false; }
956 bool HasU() { return false; }
957 bool HasV() { return false; }
958 bool HasPOV() { return false; }
959 bool HasPOV4Dir() { return false; }
960 bool HasPOVCTS() { return false; }
961
962 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
963 bool ReleaseCapture() { return false; }
964 };
965 #endif
966
967
968 #include <wx/sound.h>
969
970
971 #if !wxUSE_SOUND
972 // A C++ stub class for wxWave for platforms that don't have it.
973 class wxSound : public wxObject
974 {
975 public:
976 wxSound() {
977 bool blocked = wxPyBeginBlockThreads();
978 PyErr_SetString(PyExc_NotImplementedError,
979 "wxSound is not available on this platform.");
980 wxPyEndBlockThreads(blocked);
981 }
982 wxSound(const wxString&/*, bool*/) {
983 bool blocked = wxPyBeginBlockThreads();
984 PyErr_SetString(PyExc_NotImplementedError,
985 "wxSound is not available on this platform.");
986 wxPyEndBlockThreads(blocked);
987 }
988 wxSound(int, const wxByte*) {
989 bool blocked = wxPyBeginBlockThreads();
990 PyErr_SetString(PyExc_NotImplementedError,
991 "wxSound is not available on this platform.");
992 wxPyEndBlockThreads(blocked);
993 }
994
995 ~wxSound() {};
996
997 bool Create(const wxString&/*, bool*/) { return false; }
998 bool Create(int, const wxByte*) { return false; };
999 bool IsOk() { return false; };
1000 bool Play(unsigned) const { return false; }
1001 static bool Play(const wxString&, unsigned) { return false; }
1002 static void Stop() {}
1003 };
1004
1005 #endif
1006
1007 wxSound *new_wxSound(wxString const &fileName){
1008 if (fileName.Length() == 0)
1009 return new wxSound;
1010 else
1011 return new wxSound(fileName);
1012 }
1013 wxSound *new_wxSound(PyObject *data){
1014 unsigned char* buffer; int size;
1015 wxSound *sound = NULL;
1016
1017 bool blocked = wxPyBeginBlockThreads();
1018 if (!PyArg_Parse(data, "t#", &buffer, &size))
1019 goto done;
1020 sound = new wxSound(size, buffer);
1021 done:
1022 wxPyEndBlockThreads(blocked);
1023 return sound;
1024 }
1025 bool wxSound_CreateFromData(wxSound *self,PyObject *data){
1026 #ifndef __WXMAC__
1027 unsigned char* buffer;
1028 int size;
1029 bool rv = false;
1030
1031 bool blocked = wxPyBeginBlockThreads();
1032 if (!PyArg_Parse(data, "t#", &buffer, &size))
1033 goto done;
1034 rv = self->Create(size, buffer);
1035 done:
1036 wxPyEndBlockThreads(blocked);
1037 return rv;
1038 #else
1039 bool blocked = wxPyBeginBlockThreads();
1040 PyErr_SetString(PyExc_NotImplementedError,
1041 "Create from data is not available on this platform.");
1042 wxPyEndBlockThreads(blocked);
1043 return false;
1044 #endif
1045 }
1046
1047 #include <wx/mimetype.h>
1048
1049 PyObject *wxFileType_GetMimeType(wxFileType *self){
1050 wxString str;
1051 if (self->GetMimeType(&str))
1052 return wx2PyString(str);
1053 else
1054 RETURN_NONE();
1055 }
1056 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
1057 wxArrayString arr;
1058 if (self->GetMimeTypes(arr))
1059 return wxArrayString2PyList_helper(arr);
1060 else
1061 RETURN_NONE();
1062 }
1063 PyObject *wxFileType_GetExtensions(wxFileType *self){
1064 wxArrayString arr;
1065 if (self->GetExtensions(arr))
1066 return wxArrayString2PyList_helper(arr);
1067 else
1068 RETURN_NONE();
1069 }
1070 wxIcon *wxFileType_GetIcon(wxFileType *self){
1071 wxIconLocation loc;
1072 if (self->GetIcon(&loc))
1073 return new wxIcon(loc);
1074 else
1075 return NULL;
1076 }
1077 PyObject *wxFileType_GetIconInfo(wxFileType *self){
1078 wxIconLocation loc;
1079 if (self->GetIcon(&loc)) {
1080 wxString iconFile = loc.GetFileName();
1081 int iconIndex = -1;
1082
1083
1084
1085 // Make a tuple and put the values in it
1086 bool blocked = wxPyBeginBlockThreads();
1087 PyObject* tuple = PyTuple_New(3);
1088 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
1089 wxT("wxIcon"), true));
1090 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
1091 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
1092 wxPyEndBlockThreads(blocked);
1093 return tuple;
1094 }
1095 else
1096 RETURN_NONE();
1097 }
1098 PyObject *wxFileType_GetDescription(wxFileType *self){
1099 wxString str;
1100 if (self->GetDescription(&str))
1101 return wx2PyString(str);
1102 else
1103 RETURN_NONE();
1104 }
1105 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1106 wxString str;
1107 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1108 return wx2PyString(str);
1109 else
1110 RETURN_NONE();
1111 }
1112 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
1113 wxString str;
1114 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
1115 return wx2PyString(str);
1116 else
1117 RETURN_NONE();
1118 }
1119 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
1120 wxArrayString verbs;
1121 wxArrayString commands;
1122 if (self->GetAllCommands(&verbs, &commands,
1123 wxFileType::MessageParameters(filename, mimetype))) {
1124 bool blocked = wxPyBeginBlockThreads();
1125 PyObject* tuple = PyTuple_New(2);
1126 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
1127 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
1128 wxPyEndBlockThreads(blocked);
1129 return tuple;
1130 }
1131 else
1132 RETURN_NONE();
1133 }
1134 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
1135 return wxFileType::ExpandCommand(command,
1136 wxFileType::MessageParameters(filename, mimetype));
1137 }
1138 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
1139 wxArrayString arr;
1140 self->EnumAllFileTypes(arr);
1141 return wxArrayString2PyList_helper(arr);
1142 }
1143
1144 #include <wx/artprov.h>
1145
1146 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
1147 static const wxString wxPyART_MENU(wxART_MENU);
1148 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
1149 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
1150 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
1151 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
1152 static const wxString wxPyART_BUTTON(wxART_BUTTON);
1153 static const wxString wxPyART_OTHER(wxART_OTHER);
1154 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
1155 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
1156 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
1157 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
1158 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
1159 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
1160 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
1161 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
1162 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
1163 static const wxString wxPyART_GO_UP(wxART_GO_UP);
1164 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
1165 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1166 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1167 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1168 static const wxString wxPyART_PRINT(wxART_PRINT);
1169 static const wxString wxPyART_HELP(wxART_HELP);
1170 static const wxString wxPyART_TIP(wxART_TIP);
1171 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1172 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1173 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1174 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1175 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1176 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1177 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1178 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1179 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1180 static const wxString wxPyART_ERROR(wxART_ERROR);
1181 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1182 static const wxString wxPyART_WARNING(wxART_WARNING);
1183 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1184 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1185 // Python aware wxArtProvider
1186 class wxPyArtProvider : public wxArtProvider {
1187 public:
1188
1189 virtual wxBitmap CreateBitmap(const wxArtID& id,
1190 const wxArtClient& client,
1191 const wxSize& size) {
1192 wxBitmap rval = wxNullBitmap;
1193 bool blocked = wxPyBeginBlockThreads();
1194 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1195 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1196 PyObject* ro;
1197 wxBitmap* ptr;
1198 PyObject* s1, *s2;
1199 s1 = wx2PyString(id);
1200 s2 = wx2PyString(client);
1201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1202 Py_DECREF(so);
1203 Py_DECREF(s1);
1204 Py_DECREF(s2);
1205 if (ro) {
1206 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1207 rval = *ptr;
1208 Py_DECREF(ro);
1209 }
1210 }
1211 wxPyEndBlockThreads(blocked);
1212 return rval;
1213 }
1214
1215 PYPRIVATE;
1216 };
1217
1218 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1219
1220
1221
1222 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1223 PyObject* ret = PyTuple_New(3);
1224 if (ret) {
1225 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1226 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1227 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1228 }
1229 return ret;
1230 }
1231
1232 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1233 bool cont;
1234 long index = 0;
1235 wxString value;
1236
1237 cont = self->GetFirstGroup(value, index);
1238 return __EnumerationHelper(cont, value, index);
1239 }
1240 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1241 bool cont;
1242 wxString value;
1243
1244 cont = self->GetNextGroup(value, index);
1245 return __EnumerationHelper(cont, value, index);
1246 }
1247 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1248 bool cont;
1249 long index = 0;
1250 wxString value;
1251
1252 cont = self->GetFirstEntry(value, index);
1253 return __EnumerationHelper(cont, value, index);
1254 }
1255 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1256 bool cont;
1257 wxString value;
1258
1259 cont = self->GetNextEntry(value, index);
1260 return __EnumerationHelper(cont, value, index);
1261 }
1262 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1263 long rv;
1264 self->Read(key, &rv, defaultVal);
1265 return rv;
1266 }
1267
1268 // See my_fragments.i
1269 SWIGSTATICINLINE(int)
1270 SWIG_AsVal_double(PyObject *obj, double* val)
1271 {
1272 if (PyNumber_Check(obj)) {
1273 if (val) *val = PyFloat_AsDouble(obj);
1274 return 1;
1275 }
1276 else {
1277 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1278 obj->ob_type->tp_name);
1279 PyErr_SetObject(PyExc_TypeError, errmsg);
1280 Py_DECREF(errmsg);
1281 }
1282 return 0;
1283 }
1284
1285
1286 SWIGSTATICINLINE(double)
1287 SWIG_As_double(PyObject* obj)
1288 {
1289 double v;
1290 if (!SWIG_AsVal_double(obj, &v)) {
1291 /*
1292 this is needed to make valgrind/purify happier. the other
1293 solution is throw an exception, but since this code should work
1294 with plain C ....
1295 */
1296 memset((void*)&v, 0, sizeof(double));
1297 }
1298 return v;
1299 }
1300
1301
1302 SWIGSTATICINLINE(int)
1303 SWIG_Check_double(PyObject* obj)
1304 {
1305 return SWIG_AsVal_double(obj, (double*)0);
1306 }
1307
1308 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1309 double rv;
1310 self->Read(key, &rv, defaultVal);
1311 return rv;
1312 }
1313 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1314 bool rv;
1315 self->Read(key, &rv, defaultVal);
1316 return rv;
1317 }
1318
1319 #include <wx/datetime.h>
1320
1321
1322 static const wxString wxPyDateFormatStr(wxT("%c"));
1323 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1324
1325 #define LOCAL_TZ wxDateTime::Local
1326
1327
1328 #if UINT_MAX < LONG_MAX
1329 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1330 #define SWIG_From_unsigned_SS_int SWIG_From_long
1331 /*@@*/
1332 #else
1333 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
1334 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1335 /*@@*/
1336 #endif
1337
1338 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1339 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1340 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1341 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1342 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1343 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1344 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1345 return (*self < *other);
1346 }
1347 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1348 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1349 return (*self <= *other);
1350 }
1351 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1352 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1353 return (*self > *other);
1354 }
1355 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1356 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1357 return (*self >= *other);
1358 }
1359 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1360 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1361 return (*self == *other);
1362 }
1363 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1364 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1365 return (*self != *other);
1366 }
1367 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1368 const wxChar* rv;
1369 const wxChar* _date = date;
1370 rv = self->ParseRfc822Date(_date);
1371 if (rv == NULL) return -1;
1372 return rv - _date;
1373 }
1374 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1375 const wxChar* rv;
1376 const wxChar* _date = date;
1377 rv = self->ParseFormat(_date, format, dateDef);
1378 if (rv == NULL) return -1;
1379 return rv - _date;
1380 }
1381 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1382 const wxChar* rv;
1383 const wxChar* _datetime = datetime;
1384 rv = self->ParseDateTime(_datetime);
1385 if (rv == NULL) return -1;
1386 return rv - _datetime;
1387 }
1388 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1389 const wxChar* rv;
1390 const wxChar* _date = date;
1391 rv = self->ParseDate(_date);
1392 if (rv == NULL) return -1;
1393 return rv - _date;
1394 }
1395 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1396 const wxChar* rv;
1397 const wxChar* _time = time;
1398 rv = self->ParseTime(_time);
1399 if (rv == NULL) return -1;
1400 return rv - _time;
1401 }
1402 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1403 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1404 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1405 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1406 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
1407 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
1408 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
1409 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
1410 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
1411 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
1412 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1413 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1414 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1415 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1416 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
1417 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
1418
1419 #include <wx/dataobj.h>
1420
1421 PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir){
1422 size_t count = self->GetFormatCount(dir);
1423 wxDataFormat* formats = new wxDataFormat[count];
1424 self->GetAllFormats(formats, dir);
1425
1426 bool blocked = wxPyBeginBlockThreads();
1427 PyObject* list = PyList_New(count);
1428 for (size_t i=0; i<count; i++) {
1429 wxDataFormat* format = new wxDataFormat(formats[i]);
1430 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
1431 PyList_Append(list, obj);
1432 Py_DECREF(obj);
1433 }
1434 wxPyEndBlockThreads(blocked);
1435 delete [] formats;
1436 return list;
1437 }
1438 PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
1439 PyObject* rval = NULL;
1440 size_t size = self->GetDataSize(format);
1441 bool blocked = wxPyBeginBlockThreads();
1442 if (size) {
1443 char* buf = new char[size];
1444 if (self->GetDataHere(format, buf))
1445 rval = PyString_FromStringAndSize(buf, size);
1446 delete [] buf;
1447 }
1448 if (! rval) {
1449 rval = Py_None;
1450 Py_INCREF(rval);
1451 }
1452 wxPyEndBlockThreads(blocked);
1453 return rval;
1454 }
1455 bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
1456 bool rval;
1457 bool blocked = wxPyBeginBlockThreads();
1458 if (PyString_Check(data)) {
1459 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
1460 }
1461 else {
1462 // raise a TypeError if not a string
1463 PyErr_SetString(PyExc_TypeError, "String expected.");
1464 rval = false;
1465 }
1466 wxPyEndBlockThreads(blocked);
1467 return rval;
1468 }
1469 PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
1470 PyObject* rval = NULL;
1471 size_t size = self->GetDataSize();
1472 bool blocked = wxPyBeginBlockThreads();
1473 if (size) {
1474 char* buf = new char[size];
1475 if (self->GetDataHere(buf))
1476 rval = PyString_FromStringAndSize(buf, size);
1477 delete [] buf;
1478 }
1479 if (! rval) {
1480 rval = Py_None;
1481 Py_INCREF(rval);
1482 }
1483 wxPyEndBlockThreads(blocked);
1484 return rval;
1485 }
1486 bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
1487 bool rval;
1488 bool blocked = wxPyBeginBlockThreads();
1489 if (PyString_Check(data)) {
1490 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1491 }
1492 else {
1493 // raise a TypeError if not a string
1494 PyErr_SetString(PyExc_TypeError, "String expected.");
1495 rval = false;
1496 }
1497 wxPyEndBlockThreads(blocked);
1498 return rval;
1499 }
1500 // Create a new class for wxPython to use
1501 class wxPyDataObjectSimple : public wxDataObjectSimple {
1502 public:
1503 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1504 : wxDataObjectSimple(format) {}
1505
1506 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1507 bool GetDataHere(void *buf) const;
1508 bool SetData(size_t len, const void *buf) const;
1509 PYPRIVATE;
1510 };
1511
1512 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1513
1514 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1515 // We need to get the data for this object and write it to buf. I think
1516 // the best way to do this for wxPython is to have the Python method
1517 // return either a string or None and then act appropriately with the
1518 // C++ version.
1519
1520 bool rval = false;
1521 bool blocked = wxPyBeginBlockThreads();
1522 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1523 PyObject* ro;
1524 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1525 if (ro) {
1526 rval = (ro != Py_None && PyString_Check(ro));
1527 if (rval)
1528 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1529 Py_DECREF(ro);
1530 }
1531 }
1532 wxPyEndBlockThreads(blocked);
1533 return rval;
1534 }
1535
1536 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1537 // For this one we simply need to make a string from buf and len
1538 // and send it to the Python method.
1539 bool rval = false;
1540 bool blocked = wxPyBeginBlockThreads();
1541 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1542 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1543 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1544 Py_DECREF(data);
1545 }
1546 wxPyEndBlockThreads(blocked);
1547 return rval;
1548 }
1549
1550 // Create a new class for wxPython to use
1551 class wxPyTextDataObject : public wxTextDataObject {
1552 public:
1553 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1554 : wxTextDataObject(text) {}
1555
1556 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1557 DEC_PYCALLBACK_STRING__const(GetText);
1558 DEC_PYCALLBACK__STRING(SetText);
1559 PYPRIVATE;
1560 };
1561
1562 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1563 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1564 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1565
1566
1567 // Create a new class for wxPython to use
1568 class wxPyBitmapDataObject : public wxBitmapDataObject {
1569 public:
1570 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1571 : wxBitmapDataObject(bitmap) {}
1572
1573 wxBitmap GetBitmap() const;
1574 void SetBitmap(const wxBitmap& bitmap);
1575 PYPRIVATE;
1576 };
1577
1578 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1579 wxBitmap* rval = &wxNullBitmap;
1580 bool blocked = wxPyBeginBlockThreads();
1581 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1582 PyObject* ro;
1583 wxBitmap* ptr;
1584 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1585 if (ro) {
1586 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1587 rval = ptr;
1588 Py_DECREF(ro);
1589 }
1590 }
1591 wxPyEndBlockThreads(blocked);
1592 return *rval;
1593 }
1594
1595 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1596 bool blocked = wxPyBeginBlockThreads();
1597 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1598 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
1599 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1600 Py_DECREF(bo);
1601 }
1602 wxPyEndBlockThreads(blocked);
1603 }
1604
1605 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1606 bool rval;
1607 bool blocked = wxPyBeginBlockThreads();
1608 if (PyString_Check(data)) {
1609 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
1610 }
1611 else {
1612 // raise a TypeError if not a string
1613 PyErr_SetString(PyExc_TypeError, "String expected.");
1614 rval = false;
1615 }
1616 wxPyEndBlockThreads(blocked);
1617 return rval;
1618 }
1619 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1620 PyObject* obj;
1621 bool blocked = wxPyBeginBlockThreads();
1622 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1623 wxPyEndBlockThreads(blocked);
1624 return obj;
1625 }
1626
1627 class wxMetafileDataObject : public wxDataObjectSimple
1628 {
1629 public:
1630 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1631 };
1632
1633
1634 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1635
1636
1637 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1638 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1639 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1640 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1641 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1642
1643
1644 class wxPyTextDropTarget : public wxTextDropTarget {
1645 public:
1646 wxPyTextDropTarget() {}
1647
1648 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1649
1650 DEC_PYCALLBACK__(OnLeave);
1651 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1652 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1653 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1654 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1655
1656 PYPRIVATE;
1657 };
1658
1659 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1660 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1661 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1662 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1663 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1664 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1665
1666
1667
1668 class wxPyFileDropTarget : public wxFileDropTarget {
1669 public:
1670 wxPyFileDropTarget() {}
1671
1672 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1673
1674 DEC_PYCALLBACK__(OnLeave);
1675 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1676 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1677 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1678 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1679
1680 PYPRIVATE;
1681 };
1682
1683 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1684 const wxArrayString& filenames) {
1685 bool rval = false;
1686 bool blocked = wxPyBeginBlockThreads();
1687 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1688 PyObject* list = wxArrayString2PyList_helper(filenames);
1689 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1690 Py_DECREF(list);
1691 }
1692 wxPyEndBlockThreads(blocked);
1693 return rval;
1694 }
1695
1696
1697
1698 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1699 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1700 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1701 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1702 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1703
1704
1705
1706
1707 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1708
1709 #include <wx/display.h>
1710
1711 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
1712 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
1713
1714 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1715 #if !wxUSE_DISPLAY
1716 #include <wx/dynarray.h>
1717 #include <wx/vidmode.h>
1718
1719 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
1720 #include "wx/arrimpl.cpp"
1721 WX_DEFINE_OBJARRAY(wxArrayVideoModes);
1722 const wxVideoMode wxDefaultVideoMode;
1723
1724 class wxDisplay
1725 {
1726 public:
1727 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
1728 ~wxDisplay() {}
1729
1730 static size_t GetCount()
1731 { wxPyRaiseNotImplemented(); return 0; }
1732
1733 static int GetFromPoint(const wxPoint& pt)
1734 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1735 static int GetFromWindow(wxWindow *window)
1736 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1737
1738 virtual bool IsOk() const { return false; }
1739 virtual wxRect GetGeometry() const { wxRect r; return r; }
1740 virtual wxString GetName() const { return wxEmptyString; }
1741 bool IsPrimary() const { return false; }
1742
1743 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
1744 { wxArrayVideoModes a; return a; }
1745
1746 virtual wxVideoMode GetCurrentMode() const
1747 { return wxDefaultVideoMode; }
1748
1749 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
1750 { return false; }
1751
1752 void ResetMode() {}
1753 };
1754 #endif
1755
1756 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1757 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1758 PyObject* pyList = NULL;
1759 wxArrayVideoModes arr = self->GetModes(mode);
1760 bool blocked = wxPyBeginBlockThreads();
1761 pyList = PyList_New(0);
1762 for (int i=0; i < arr.GetCount(); i++) {
1763 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1764 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1765 PyList_Append(pyList, pyObj);
1766 Py_DECREF(pyObj);
1767 }
1768 wxPyEndBlockThreads(blocked);
1769 return pyList;
1770 }
1771 #ifdef __cplusplus
1772 extern "C" {
1773 #endif
1774 static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
1775 PyObject *resultobj;
1776 int arg1 ;
1777 wxColour result;
1778 PyObject * obj0 = 0 ;
1779 char *kwnames[] = {
1780 (char *) "index", NULL
1781 };
1782
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1784 arg1 = (int)SWIG_As_int(obj0);
1785 if (PyErr_Occurred()) SWIG_fail;
1786 {
1787 if (!wxPyCheckForApp()) SWIG_fail;
1788 PyThreadState* __tstate = wxPyBeginAllowThreads();
1789 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1790
1791 wxPyEndAllowThreads(__tstate);
1792 if (PyErr_Occurred()) SWIG_fail;
1793 }
1794 {
1795 wxColour * resultptr;
1796 resultptr = new wxColour((wxColour &) result);
1797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1798 }
1799 return resultobj;
1800 fail:
1801 return NULL;
1802 }
1803
1804
1805 static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 int arg1 ;
1808 wxFont result;
1809 PyObject * obj0 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "index", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1815 arg1 = (int)SWIG_As_int(obj0);
1816 if (PyErr_Occurred()) SWIG_fail;
1817 {
1818 if (!wxPyCheckForApp()) SWIG_fail;
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 {
1826 wxFont * resultptr;
1827 resultptr = new wxFont((wxFont &) result);
1828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1829 }
1830 return resultobj;
1831 fail:
1832 return NULL;
1833 }
1834
1835
1836 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
1837 PyObject *resultobj;
1838 int arg1 ;
1839 int result;
1840 PyObject * obj0 = 0 ;
1841 char *kwnames[] = {
1842 (char *) "index", NULL
1843 };
1844
1845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1846 arg1 = (int)SWIG_As_int(obj0);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 {
1849 if (!wxPyCheckForApp()) SWIG_fail;
1850 PyThreadState* __tstate = wxPyBeginAllowThreads();
1851 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1852
1853 wxPyEndAllowThreads(__tstate);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 resultobj = SWIG_From_int((int)result);
1857 return resultobj;
1858 fail:
1859 return NULL;
1860 }
1861
1862
1863 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
1864 PyObject *resultobj;
1865 int arg1 ;
1866 bool result;
1867 PyObject * obj0 = 0 ;
1868 char *kwnames[] = {
1869 (char *) "index", NULL
1870 };
1871
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1873 arg1 = (int)SWIG_As_int(obj0);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 {
1876 if (!wxPyCheckForApp()) SWIG_fail;
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 {
1884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1885 }
1886 return resultobj;
1887 fail:
1888 return NULL;
1889 }
1890
1891
1892 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1893 PyObject *resultobj;
1894 int result;
1895 char *kwnames[] = {
1896 NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1900 {
1901 if (!wxPyCheckForApp()) SWIG_fail;
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 result = (int)wxSystemSettings::GetScreenType();
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 resultobj = SWIG_From_int((int)result);
1909 return resultobj;
1910 fail:
1911 return NULL;
1912 }
1913
1914
1915 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1916 PyObject *resultobj;
1917 int arg1 ;
1918 PyObject * obj0 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "screen", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1924 arg1 = (int)SWIG_As_int(obj0);
1925 if (PyErr_Occurred()) SWIG_fail;
1926 {
1927 if (!wxPyCheckForApp()) SWIG_fail;
1928 PyThreadState* __tstate = wxPyBeginAllowThreads();
1929 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1930
1931 wxPyEndAllowThreads(__tstate);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 Py_INCREF(Py_None); resultobj = Py_None;
1935 return resultobj;
1936 fail:
1937 return NULL;
1938 }
1939
1940
1941 static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
1942 PyObject *obj;
1943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1944 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1945 Py_INCREF(obj);
1946 return Py_BuildValue((char *)"");
1947 }
1948 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
1949 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1950 return 1;
1951 }
1952
1953
1954 static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get() {
1955 PyObject *pyobj;
1956
1957 {
1958 #if wxUSE_UNICODE
1959 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
1960 #else
1961 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
1962 #endif
1963 }
1964 return pyobj;
1965 }
1966
1967
1968 static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxSystemOptions *result;
1971 char *kwnames[] = {
1972 NULL
1973 };
1974
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 result = (wxSystemOptions *)new wxSystemOptions();
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1984 return resultobj;
1985 fail:
1986 return NULL;
1987 }
1988
1989
1990 static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 wxString *arg1 = 0 ;
1993 wxString *arg2 = 0 ;
1994 bool temp1 = false ;
1995 bool temp2 = false ;
1996 PyObject * obj0 = 0 ;
1997 PyObject * obj1 = 0 ;
1998 char *kwnames[] = {
1999 (char *) "name",(char *) "value", NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
2003 {
2004 arg1 = wxString_in_helper(obj0);
2005 if (arg1 == NULL) SWIG_fail;
2006 temp1 = true;
2007 }
2008 {
2009 arg2 = wxString_in_helper(obj1);
2010 if (arg2 == NULL) SWIG_fail;
2011 temp2 = true;
2012 }
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 Py_INCREF(Py_None); resultobj = Py_None;
2021 {
2022 if (temp1)
2023 delete arg1;
2024 }
2025 {
2026 if (temp2)
2027 delete arg2;
2028 }
2029 return resultobj;
2030 fail:
2031 {
2032 if (temp1)
2033 delete arg1;
2034 }
2035 {
2036 if (temp2)
2037 delete arg2;
2038 }
2039 return NULL;
2040 }
2041
2042
2043 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
2044 PyObject *resultobj;
2045 wxString *arg1 = 0 ;
2046 int arg2 ;
2047 bool temp1 = false ;
2048 PyObject * obj0 = 0 ;
2049 PyObject * obj1 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "name",(char *) "value", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2055 {
2056 arg1 = wxString_in_helper(obj0);
2057 if (arg1 == NULL) SWIG_fail;
2058 temp1 = true;
2059 }
2060 arg2 = (int)SWIG_As_int(obj1);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 {
2071 if (temp1)
2072 delete arg1;
2073 }
2074 return resultobj;
2075 fail:
2076 {
2077 if (temp1)
2078 delete arg1;
2079 }
2080 return NULL;
2081 }
2082
2083
2084 static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
2085 PyObject *resultobj;
2086 wxString *arg1 = 0 ;
2087 wxString result;
2088 bool temp1 = false ;
2089 PyObject * obj0 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "name", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
2095 {
2096 arg1 = wxString_in_helper(obj0);
2097 if (arg1 == NULL) SWIG_fail;
2098 temp1 = true;
2099 }
2100 {
2101 PyThreadState* __tstate = wxPyBeginAllowThreads();
2102 result = wxSystemOptions::GetOption((wxString const &)*arg1);
2103
2104 wxPyEndAllowThreads(__tstate);
2105 if (PyErr_Occurred()) SWIG_fail;
2106 }
2107 {
2108 #if wxUSE_UNICODE
2109 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2110 #else
2111 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2112 #endif
2113 }
2114 {
2115 if (temp1)
2116 delete arg1;
2117 }
2118 return resultobj;
2119 fail:
2120 {
2121 if (temp1)
2122 delete arg1;
2123 }
2124 return NULL;
2125 }
2126
2127
2128 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
2129 PyObject *resultobj;
2130 wxString *arg1 = 0 ;
2131 int result;
2132 bool temp1 = false ;
2133 PyObject * obj0 = 0 ;
2134 char *kwnames[] = {
2135 (char *) "name", NULL
2136 };
2137
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
2139 {
2140 arg1 = wxString_in_helper(obj0);
2141 if (arg1 == NULL) SWIG_fail;
2142 temp1 = true;
2143 }
2144 {
2145 PyThreadState* __tstate = wxPyBeginAllowThreads();
2146 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
2147
2148 wxPyEndAllowThreads(__tstate);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 resultobj = SWIG_From_int((int)result);
2152 {
2153 if (temp1)
2154 delete arg1;
2155 }
2156 return resultobj;
2157 fail:
2158 {
2159 if (temp1)
2160 delete arg1;
2161 }
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxString *arg1 = 0 ;
2169 bool result;
2170 bool temp1 = false ;
2171 PyObject * obj0 = 0 ;
2172 char *kwnames[] = {
2173 (char *) "name", NULL
2174 };
2175
2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
2177 {
2178 arg1 = wxString_in_helper(obj0);
2179 if (arg1 == NULL) SWIG_fail;
2180 temp1 = true;
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 {
2190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2191 }
2192 {
2193 if (temp1)
2194 delete arg1;
2195 }
2196 return resultobj;
2197 fail:
2198 {
2199 if (temp1)
2200 delete arg1;
2201 }
2202 return NULL;
2203 }
2204
2205
2206 static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
2207 PyObject *obj;
2208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2209 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
2210 Py_INCREF(obj);
2211 return Py_BuildValue((char *)"");
2212 }
2213 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
2214 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
2215 return 1;
2216 }
2217
2218
2219 static PyObject *_wrap_FileSelectorPromptStr_get() {
2220 PyObject *pyobj;
2221
2222 {
2223 #if wxUSE_UNICODE
2224 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2225 #else
2226 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
2227 #endif
2228 }
2229 return pyobj;
2230 }
2231
2232
2233 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
2234 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
2235 return 1;
2236 }
2237
2238
2239 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
2240 PyObject *pyobj;
2241
2242 {
2243 #if wxUSE_UNICODE
2244 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2245 #else
2246 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
2247 #endif
2248 }
2249 return pyobj;
2250 }
2251
2252
2253 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
2254 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
2255 return 1;
2256 }
2257
2258
2259 static PyObject *_wrap_DirSelectorPromptStr_get() {
2260 PyObject *pyobj;
2261
2262 {
2263 #if wxUSE_UNICODE
2264 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2265 #else
2266 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
2267 #endif
2268 }
2269 return pyobj;
2270 }
2271
2272
2273 static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 long result;
2276 char *kwnames[] = {
2277 NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (long)wxNewId();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 resultobj = SWIG_From_long((long)result);
2289 return resultobj;
2290 fail:
2291 return NULL;
2292 }
2293
2294
2295 static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
2296 PyObject *resultobj;
2297 long arg1 ;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "id", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
2304 arg1 = (long)SWIG_As_long(obj0);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 {
2307 PyThreadState* __tstate = wxPyBeginAllowThreads();
2308 wxRegisterId(arg1);
2309
2310 wxPyEndAllowThreads(__tstate);
2311 if (PyErr_Occurred()) SWIG_fail;
2312 }
2313 Py_INCREF(Py_None); resultobj = Py_None;
2314 return resultobj;
2315 fail:
2316 return NULL;
2317 }
2318
2319
2320 static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
2321 PyObject *resultobj;
2322 long result;
2323 char *kwnames[] = {
2324 NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 result = (long)wxGetCurrentId();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 resultobj = SWIG_From_long((long)result);
2336 return resultobj;
2337 fail:
2338 return NULL;
2339 }
2340
2341
2342 static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 int arg1 ;
2345 bool result;
2346 PyObject * obj0 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "id", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
2352 arg1 = (int)SWIG_As_int(obj0);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 result = (bool)wxIsStockID(arg1);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 {
2362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2363 }
2364 return resultobj;
2365 fail:
2366 return NULL;
2367 }
2368
2369
2370 static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2371 PyObject *resultobj;
2372 int arg1 ;
2373 wxString *arg2 = 0 ;
2374 bool result;
2375 bool temp2 = false ;
2376 PyObject * obj0 = 0 ;
2377 PyObject * obj1 = 0 ;
2378 char *kwnames[] = {
2379 (char *) "id",(char *) "label", NULL
2380 };
2381
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
2383 arg1 = (int)SWIG_As_int(obj0);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 {
2386 arg2 = wxString_in_helper(obj1);
2387 if (arg2 == NULL) SWIG_fail;
2388 temp2 = true;
2389 }
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 {
2398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2399 }
2400 {
2401 if (temp2)
2402 delete arg2;
2403 }
2404 return resultobj;
2405 fail:
2406 {
2407 if (temp2)
2408 delete arg2;
2409 }
2410 return NULL;
2411 }
2412
2413
2414 static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
2415 PyObject *resultobj;
2416 int arg1 ;
2417 wxString result;
2418 PyObject * obj0 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "id", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetStockLabel",kwnames,&obj0)) goto fail;
2424 arg1 = (int)SWIG_As_int(obj0);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = wxGetStockLabel(arg1);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 #if wxUSE_UNICODE
2435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2436 #else
2437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2438 #endif
2439 }
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 char *kwnames[] = {
2449 NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2453 {
2454 if (!wxPyCheckForApp()) SWIG_fail;
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 wxBell();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 char *kwnames[] = {
2471 NULL
2472 };
2473
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2475 {
2476 if (!wxPyCheckForApp()) SWIG_fail;
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 wxEndBusyCursor();
2479
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 Py_INCREF(Py_None); resultobj = Py_None;
2484 return resultobj;
2485 fail:
2486 return NULL;
2487 }
2488
2489
2490 static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
2491 PyObject *resultobj;
2492 bool arg1 = (bool) true ;
2493 long result;
2494 PyObject * obj0 = 0 ;
2495 char *kwnames[] = {
2496 (char *) "resetTimer", NULL
2497 };
2498
2499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2500 if (obj0) {
2501 arg1 = (bool)SWIG_As_bool(obj0);
2502 if (PyErr_Occurred()) SWIG_fail;
2503 }
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 result = (long)wxGetElapsedTime(arg1);
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 resultobj = SWIG_From_long((long)result);
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 int *arg1 = (int *) 0 ;
2521 int *arg2 = (int *) 0 ;
2522 int temp1 ;
2523 int res1 = 0 ;
2524 int temp2 ;
2525 int res2 = 0 ;
2526 char *kwnames[] = {
2527 NULL
2528 };
2529
2530 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2531 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2533 {
2534 if (!wxPyCheckForApp()) SWIG_fail;
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 wxGetMousePosition(arg1,arg2);
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 Py_INCREF(Py_None); resultobj = Py_None;
2542 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2543 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2544 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2545 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2546 return resultobj;
2547 fail:
2548 return NULL;
2549 }
2550
2551
2552 static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
2553 PyObject *resultobj;
2554 bool result;
2555 char *kwnames[] = {
2556 NULL
2557 };
2558
2559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 result = (bool)wxIsBusy();
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 {
2568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2569 }
2570 return resultobj;
2571 fail:
2572 return NULL;
2573 }
2574
2575
2576 static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxString result;
2579 char *kwnames[] = {
2580 NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = wxNow();
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 {
2592 #if wxUSE_UNICODE
2593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2594 #else
2595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2596 #endif
2597 }
2598 return resultobj;
2599 fail:
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxString const &arg1_defvalue = wxPyEmptyString ;
2607 wxString *arg1 = (wxString *) &arg1_defvalue ;
2608 bool result;
2609 bool temp1 = false ;
2610 PyObject * obj0 = 0 ;
2611 char *kwnames[] = {
2612 (char *) "command", NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2616 if (obj0) {
2617 {
2618 arg1 = wxString_in_helper(obj0);
2619 if (arg1 == NULL) SWIG_fail;
2620 temp1 = true;
2621 }
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 result = (bool)wxShell((wxString const &)*arg1);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
2630 {
2631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2632 }
2633 {
2634 if (temp1)
2635 delete arg1;
2636 }
2637 return resultobj;
2638 fail:
2639 {
2640 if (temp1)
2641 delete arg1;
2642 }
2643 return NULL;
2644 }
2645
2646
2647 static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 char *kwnames[] = {
2650 NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 wxStartTimer();
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 Py_INCREF(Py_None); resultobj = Py_None;
2662 return resultobj;
2663 fail:
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 int *arg1 = (int *) 0 ;
2671 int *arg2 = (int *) 0 ;
2672 int result;
2673 int temp1 ;
2674 int res1 = 0 ;
2675 int temp2 ;
2676 int res2 = 0 ;
2677 char *kwnames[] = {
2678 NULL
2679 };
2680
2681 arg1 = &temp1; res1 = SWIG_NEWOBJ;
2682 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2684 {
2685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2686 result = (int)wxGetOsVersion(arg1,arg2);
2687
2688 wxPyEndAllowThreads(__tstate);
2689 if (PyErr_Occurred()) SWIG_fail;
2690 }
2691 resultobj = SWIG_From_int((int)result);
2692 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
2693 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
2694 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2695 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxString result;
2705 char *kwnames[] = {
2706 NULL
2707 };
2708
2709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = wxGetOsDescription();
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 {
2718 #if wxUSE_UNICODE
2719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2720 #else
2721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2722 #endif
2723 }
2724 return resultobj;
2725 fail:
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 long result;
2733 char *kwnames[] = {
2734 NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2738 {
2739 PyThreadState* __tstate = wxPyBeginAllowThreads();
2740 result = (long)wxGetFreeMemory();
2741
2742 wxPyEndAllowThreads(__tstate);
2743 if (PyErr_Occurred()) SWIG_fail;
2744 }
2745 resultobj = SWIG_From_long((long)result);
2746 return resultobj;
2747 fail:
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 int arg1 ;
2755 bool result;
2756 PyObject * obj0 = 0 ;
2757 char *kwnames[] = {
2758 (char *) "wFlags", NULL
2759 };
2760
2761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2762 arg1 = (int)SWIG_As_int(obj0);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 {
2765 if (!wxPyCheckForApp()) SWIG_fail;
2766 PyThreadState* __tstate = wxPyBeginAllowThreads();
2767 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2768
2769 wxPyEndAllowThreads(__tstate);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 {
2773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2774 }
2775 return resultobj;
2776 fail:
2777 return NULL;
2778 }
2779
2780
2781 static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 int arg1 ;
2784 PyObject * obj0 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "secs", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2790 arg1 = (int)SWIG_As_int(obj0);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 wxSleep(arg1);
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 Py_INCREF(Py_None); resultobj = Py_None;
2800 return resultobj;
2801 fail:
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 unsigned long arg1 ;
2809 PyObject * obj0 = 0 ;
2810 char *kwnames[] = {
2811 (char *) "milliseconds", NULL
2812 };
2813
2814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
2815 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 wxMilliSleep(arg1);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 Py_INCREF(Py_None); resultobj = Py_None;
2825 return resultobj;
2826 fail:
2827 return NULL;
2828 }
2829
2830
2831 static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
2832 PyObject *resultobj;
2833 unsigned long arg1 ;
2834 PyObject * obj0 = 0 ;
2835 char *kwnames[] = {
2836 (char *) "microseconds", NULL
2837 };
2838
2839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
2840 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 wxMicroSleep(arg1);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 return resultobj;
2851 fail:
2852 return NULL;
2853 }
2854
2855
2856 static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 bool arg1 ;
2859 PyObject * obj0 = 0 ;
2860 char *kwnames[] = {
2861 (char *) "enable", NULL
2862 };
2863
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2865 arg1 = (bool)SWIG_As_bool(obj0);
2866 if (PyErr_Occurred()) SWIG_fail;
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 wxEnableTopLevelWindows(arg1);
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 Py_INCREF(Py_None); resultobj = Py_None;
2875 return resultobj;
2876 fail:
2877 return NULL;
2878 }
2879
2880
2881 static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxString *arg1 = 0 ;
2884 wxString result;
2885 bool temp1 = false ;
2886 PyObject * obj0 = 0 ;
2887 char *kwnames[] = {
2888 (char *) "in", NULL
2889 };
2890
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2892 {
2893 arg1 = wxString_in_helper(obj0);
2894 if (arg1 == NULL) SWIG_fail;
2895 temp1 = true;
2896 }
2897 {
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 result = wxStripMenuCodes((wxString const &)*arg1);
2900
2901 wxPyEndAllowThreads(__tstate);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 {
2905 #if wxUSE_UNICODE
2906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2907 #else
2908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2909 #endif
2910 }
2911 {
2912 if (temp1)
2913 delete arg1;
2914 }
2915 return resultobj;
2916 fail:
2917 {
2918 if (temp1)
2919 delete arg1;
2920 }
2921 return NULL;
2922 }
2923
2924
2925 static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxString result;
2928 char *kwnames[] = {
2929 NULL
2930 };
2931
2932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = wxGetEmailAddress();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 {
2941 #if wxUSE_UNICODE
2942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2943 #else
2944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2945 #endif
2946 }
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2954 PyObject *resultobj;
2955 wxString result;
2956 char *kwnames[] = {
2957 NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 result = wxGetHostName();
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 {
2969 #if wxUSE_UNICODE
2970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2971 #else
2972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2973 #endif
2974 }
2975 return resultobj;
2976 fail:
2977 return NULL;
2978 }
2979
2980
2981 static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2982 PyObject *resultobj;
2983 wxString result;
2984 char *kwnames[] = {
2985 NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2989 {
2990 PyThreadState* __tstate = wxPyBeginAllowThreads();
2991 result = wxGetFullHostName();
2992
2993 wxPyEndAllowThreads(__tstate);
2994 if (PyErr_Occurred()) SWIG_fail;
2995 }
2996 {
2997 #if wxUSE_UNICODE
2998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2999 #else
3000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3001 #endif
3002 }
3003 return resultobj;
3004 fail:
3005 return NULL;
3006 }
3007
3008
3009 static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxString result;
3012 char *kwnames[] = {
3013 NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 result = wxGetUserId();
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 {
3025 #if wxUSE_UNICODE
3026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3027 #else
3028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3029 #endif
3030 }
3031 return resultobj;
3032 fail:
3033 return NULL;
3034 }
3035
3036
3037 static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
3038 PyObject *resultobj;
3039 wxString result;
3040 char *kwnames[] = {
3041 NULL
3042 };
3043
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 result = wxGetUserName();
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 {
3053 #if wxUSE_UNICODE
3054 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3055 #else
3056 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3057 #endif
3058 }
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxString result;
3068 char *kwnames[] = {
3069 NULL
3070 };
3071
3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = wxGetHomeDir();
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 {
3081 #if wxUSE_UNICODE
3082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3083 #else
3084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3085 #endif
3086 }
3087 return resultobj;
3088 fail:
3089 return NULL;
3090 }
3091
3092
3093 static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
3094 PyObject *resultobj;
3095 wxString const &arg1_defvalue = wxPyEmptyString ;
3096 wxString *arg1 = (wxString *) &arg1_defvalue ;
3097 wxString result;
3098 bool temp1 = false ;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "user", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
3105 if (obj0) {
3106 {
3107 arg1 = wxString_in_helper(obj0);
3108 if (arg1 == NULL) SWIG_fail;
3109 temp1 = true;
3110 }
3111 }
3112 {
3113 PyThreadState* __tstate = wxPyBeginAllowThreads();
3114 result = wxGetUserHome((wxString const &)*arg1);
3115
3116 wxPyEndAllowThreads(__tstate);
3117 if (PyErr_Occurred()) SWIG_fail;
3118 }
3119 {
3120 #if wxUSE_UNICODE
3121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3122 #else
3123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3124 #endif
3125 }
3126 {
3127 if (temp1)
3128 delete arg1;
3129 }
3130 return resultobj;
3131 fail:
3132 {
3133 if (temp1)
3134 delete arg1;
3135 }
3136 return NULL;
3137 }
3138
3139
3140 static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
3141 PyObject *resultobj;
3142 unsigned long result;
3143 char *kwnames[] = {
3144 NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
3148 {
3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
3150 result = (unsigned long)wxGetProcessId();
3151
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) SWIG_fail;
3154 }
3155 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
3156 return resultobj;
3157 fail:
3158 return NULL;
3159 }
3160
3161
3162 static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
3163 PyObject *resultobj;
3164 char *kwnames[] = {
3165 NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 wxTrap();
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 Py_INCREF(Py_None); resultobj = Py_None;
3177 return resultobj;
3178 fail:
3179 return NULL;
3180 }
3181
3182
3183 static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3184 PyObject *resultobj;
3185 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
3186 wxString *arg1 = (wxString *) &arg1_defvalue ;
3187 wxString const &arg2_defvalue = wxPyEmptyString ;
3188 wxString *arg2 = (wxString *) &arg2_defvalue ;
3189 wxString const &arg3_defvalue = wxPyEmptyString ;
3190 wxString *arg3 = (wxString *) &arg3_defvalue ;
3191 wxString const &arg4_defvalue = wxPyEmptyString ;
3192 wxString *arg4 = (wxString *) &arg4_defvalue ;
3193 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
3194 wxString *arg5 = (wxString *) &arg5_defvalue ;
3195 int arg6 = (int) 0 ;
3196 wxWindow *arg7 = (wxWindow *) NULL ;
3197 int arg8 = (int) -1 ;
3198 int arg9 = (int) -1 ;
3199 wxString result;
3200 bool temp1 = false ;
3201 bool temp2 = false ;
3202 bool temp3 = false ;
3203 bool temp4 = false ;
3204 bool temp5 = false ;
3205 PyObject * obj0 = 0 ;
3206 PyObject * obj1 = 0 ;
3207 PyObject * obj2 = 0 ;
3208 PyObject * obj3 = 0 ;
3209 PyObject * obj4 = 0 ;
3210 PyObject * obj5 = 0 ;
3211 PyObject * obj6 = 0 ;
3212 PyObject * obj7 = 0 ;
3213 PyObject * obj8 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3219 if (obj0) {
3220 {
3221 arg1 = wxString_in_helper(obj0);
3222 if (arg1 == NULL) SWIG_fail;
3223 temp1 = true;
3224 }
3225 }
3226 if (obj1) {
3227 {
3228 arg2 = wxString_in_helper(obj1);
3229 if (arg2 == NULL) SWIG_fail;
3230 temp2 = true;
3231 }
3232 }
3233 if (obj2) {
3234 {
3235 arg3 = wxString_in_helper(obj2);
3236 if (arg3 == NULL) SWIG_fail;
3237 temp3 = true;
3238 }
3239 }
3240 if (obj3) {
3241 {
3242 arg4 = wxString_in_helper(obj3);
3243 if (arg4 == NULL) SWIG_fail;
3244 temp4 = true;
3245 }
3246 }
3247 if (obj4) {
3248 {
3249 arg5 = wxString_in_helper(obj4);
3250 if (arg5 == NULL) SWIG_fail;
3251 temp5 = true;
3252 }
3253 }
3254 if (obj5) {
3255 arg6 = (int)SWIG_As_int(obj5);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 if (obj6) {
3259 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3261 }
3262 if (obj7) {
3263 arg8 = (int)SWIG_As_int(obj7);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 if (obj8) {
3267 arg9 = (int)SWIG_As_int(obj8);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271 if (!wxPyCheckForApp()) SWIG_fail;
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 {
3279 #if wxUSE_UNICODE
3280 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3281 #else
3282 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3283 #endif
3284 }
3285 {
3286 if (temp1)
3287 delete arg1;
3288 }
3289 {
3290 if (temp2)
3291 delete arg2;
3292 }
3293 {
3294 if (temp3)
3295 delete arg3;
3296 }
3297 {
3298 if (temp4)
3299 delete arg4;
3300 }
3301 {
3302 if (temp5)
3303 delete arg5;
3304 }
3305 return resultobj;
3306 fail:
3307 {
3308 if (temp1)
3309 delete arg1;
3310 }
3311 {
3312 if (temp2)
3313 delete arg2;
3314 }
3315 {
3316 if (temp3)
3317 delete arg3;
3318 }
3319 {
3320 if (temp4)
3321 delete arg4;
3322 }
3323 {
3324 if (temp5)
3325 delete arg5;
3326 }
3327 return NULL;
3328 }
3329
3330
3331 static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxString *arg1 = 0 ;
3334 wxString *arg2 = 0 ;
3335 wxString const &arg3_defvalue = wxPyEmptyString ;
3336 wxString *arg3 = (wxString *) &arg3_defvalue ;
3337 wxWindow *arg4 = (wxWindow *) NULL ;
3338 wxString result;
3339 bool temp1 = false ;
3340 bool temp2 = false ;
3341 bool temp3 = false ;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 PyObject * obj2 = 0 ;
3345 PyObject * obj3 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3351 {
3352 arg1 = wxString_in_helper(obj0);
3353 if (arg1 == NULL) SWIG_fail;
3354 temp1 = true;
3355 }
3356 {
3357 arg2 = wxString_in_helper(obj1);
3358 if (arg2 == NULL) SWIG_fail;
3359 temp2 = true;
3360 }
3361 if (obj2) {
3362 {
3363 arg3 = wxString_in_helper(obj2);
3364 if (arg3 == NULL) SWIG_fail;
3365 temp3 = true;
3366 }
3367 }
3368 if (obj3) {
3369 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3371 }
3372 {
3373 if (!wxPyCheckForApp()) SWIG_fail;
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 {
3381 #if wxUSE_UNICODE
3382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3383 #else
3384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3385 #endif
3386 }
3387 {
3388 if (temp1)
3389 delete arg1;
3390 }
3391 {
3392 if (temp2)
3393 delete arg2;
3394 }
3395 {
3396 if (temp3)
3397 delete arg3;
3398 }
3399 return resultobj;
3400 fail:
3401 {
3402 if (temp1)
3403 delete arg1;
3404 }
3405 {
3406 if (temp2)
3407 delete arg2;
3408 }
3409 {
3410 if (temp3)
3411 delete arg3;
3412 }
3413 return NULL;
3414 }
3415
3416
3417 static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3418 PyObject *resultobj;
3419 wxString *arg1 = 0 ;
3420 wxString *arg2 = 0 ;
3421 wxString const &arg3_defvalue = wxPyEmptyString ;
3422 wxString *arg3 = (wxString *) &arg3_defvalue ;
3423 wxWindow *arg4 = (wxWindow *) NULL ;
3424 wxString result;
3425 bool temp1 = false ;
3426 bool temp2 = false ;
3427 bool temp3 = false ;
3428 PyObject * obj0 = 0 ;
3429 PyObject * obj1 = 0 ;
3430 PyObject * obj2 = 0 ;
3431 PyObject * obj3 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3437 {
3438 arg1 = wxString_in_helper(obj0);
3439 if (arg1 == NULL) SWIG_fail;
3440 temp1 = true;
3441 }
3442 {
3443 arg2 = wxString_in_helper(obj1);
3444 if (arg2 == NULL) SWIG_fail;
3445 temp2 = true;
3446 }
3447 if (obj2) {
3448 {
3449 arg3 = wxString_in_helper(obj2);
3450 if (arg3 == NULL) SWIG_fail;
3451 temp3 = true;
3452 }
3453 }
3454 if (obj3) {
3455 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3457 }
3458 {
3459 if (!wxPyCheckForApp()) SWIG_fail;
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 {
3467 #if wxUSE_UNICODE
3468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3469 #else
3470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3471 #endif
3472 }
3473 {
3474 if (temp1)
3475 delete arg1;
3476 }
3477 {
3478 if (temp2)
3479 delete arg2;
3480 }
3481 {
3482 if (temp3)
3483 delete arg3;
3484 }
3485 return resultobj;
3486 fail:
3487 {
3488 if (temp1)
3489 delete arg1;
3490 }
3491 {
3492 if (temp2)
3493 delete arg2;
3494 }
3495 {
3496 if (temp3)
3497 delete arg3;
3498 }
3499 return NULL;
3500 }
3501
3502
3503 static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3506 wxString *arg1 = (wxString *) &arg1_defvalue ;
3507 wxString const &arg2_defvalue = wxPyEmptyString ;
3508 wxString *arg2 = (wxString *) &arg2_defvalue ;
3509 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3510 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3511 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3512 wxWindow *arg5 = (wxWindow *) NULL ;
3513 wxString result;
3514 bool temp1 = false ;
3515 bool temp2 = false ;
3516 wxPoint temp4 ;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 PyObject * obj2 = 0 ;
3520 PyObject * obj3 = 0 ;
3521 PyObject * obj4 = 0 ;
3522 char *kwnames[] = {
3523 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3524 };
3525
3526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3527 if (obj0) {
3528 {
3529 arg1 = wxString_in_helper(obj0);
3530 if (arg1 == NULL) SWIG_fail;
3531 temp1 = true;
3532 }
3533 }
3534 if (obj1) {
3535 {
3536 arg2 = wxString_in_helper(obj1);
3537 if (arg2 == NULL) SWIG_fail;
3538 temp2 = true;
3539 }
3540 }
3541 if (obj2) {
3542 arg3 = (long)SWIG_As_long(obj2);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 if (obj3) {
3546 {
3547 arg4 = &temp4;
3548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3549 }
3550 }
3551 if (obj4) {
3552 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3554 }
3555 {
3556 if (!wxPyCheckForApp()) SWIG_fail;
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 {
3564 #if wxUSE_UNICODE
3565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3566 #else
3567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3568 #endif
3569 }
3570 {
3571 if (temp1)
3572 delete arg1;
3573 }
3574 {
3575 if (temp2)
3576 delete arg2;
3577 }
3578 return resultobj;
3579 fail:
3580 {
3581 if (temp1)
3582 delete arg1;
3583 }
3584 {
3585 if (temp2)
3586 delete arg2;
3587 }
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxString *arg1 = 0 ;
3595 wxString const &arg2_defvalue = wxPyEmptyString ;
3596 wxString *arg2 = (wxString *) &arg2_defvalue ;
3597 wxString const &arg3_defvalue = wxPyEmptyString ;
3598 wxString *arg3 = (wxString *) &arg3_defvalue ;
3599 wxWindow *arg4 = (wxWindow *) NULL ;
3600 int arg5 = (int) -1 ;
3601 int arg6 = (int) -1 ;
3602 bool arg7 = (bool) true ;
3603 wxString result;
3604 bool temp1 = false ;
3605 bool temp2 = false ;
3606 bool temp3 = false ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609 PyObject * obj2 = 0 ;
3610 PyObject * obj3 = 0 ;
3611 PyObject * obj4 = 0 ;
3612 PyObject * obj5 = 0 ;
3613 PyObject * obj6 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3619 {
3620 arg1 = wxString_in_helper(obj0);
3621 if (arg1 == NULL) SWIG_fail;
3622 temp1 = true;
3623 }
3624 if (obj1) {
3625 {
3626 arg2 = wxString_in_helper(obj1);
3627 if (arg2 == NULL) SWIG_fail;
3628 temp2 = true;
3629 }
3630 }
3631 if (obj2) {
3632 {
3633 arg3 = wxString_in_helper(obj2);
3634 if (arg3 == NULL) SWIG_fail;
3635 temp3 = true;
3636 }
3637 }
3638 if (obj3) {
3639 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3641 }
3642 if (obj4) {
3643 arg5 = (int)SWIG_As_int(obj4);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 if (obj5) {
3647 arg6 = (int)SWIG_As_int(obj5);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 if (obj6) {
3651 arg7 = (bool)SWIG_As_bool(obj6);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 if (!wxPyCheckForApp()) SWIG_fail;
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 {
3663 #if wxUSE_UNICODE
3664 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3665 #else
3666 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3667 #endif
3668 }
3669 {
3670 if (temp1)
3671 delete arg1;
3672 }
3673 {
3674 if (temp2)
3675 delete arg2;
3676 }
3677 {
3678 if (temp3)
3679 delete arg3;
3680 }
3681 return resultobj;
3682 fail:
3683 {
3684 if (temp1)
3685 delete arg1;
3686 }
3687 {
3688 if (temp2)
3689 delete arg2;
3690 }
3691 {
3692 if (temp3)
3693 delete arg3;
3694 }
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxString *arg1 = 0 ;
3702 wxString const &arg2_defvalue = wxPyEmptyString ;
3703 wxString *arg2 = (wxString *) &arg2_defvalue ;
3704 wxString const &arg3_defvalue = wxPyEmptyString ;
3705 wxString *arg3 = (wxString *) &arg3_defvalue ;
3706 wxWindow *arg4 = (wxWindow *) NULL ;
3707 wxString result;
3708 bool temp1 = false ;
3709 bool temp2 = false ;
3710 bool temp3 = false ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj1 = 0 ;
3713 PyObject * obj2 = 0 ;
3714 PyObject * obj3 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3720 {
3721 arg1 = wxString_in_helper(obj0);
3722 if (arg1 == NULL) SWIG_fail;
3723 temp1 = true;
3724 }
3725 if (obj1) {
3726 {
3727 arg2 = wxString_in_helper(obj1);
3728 if (arg2 == NULL) SWIG_fail;
3729 temp2 = true;
3730 }
3731 }
3732 if (obj2) {
3733 {
3734 arg3 = wxString_in_helper(obj2);
3735 if (arg3 == NULL) SWIG_fail;
3736 temp3 = true;
3737 }
3738 }
3739 if (obj3) {
3740 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 }
3743 {
3744 if (!wxPyCheckForApp()) SWIG_fail;
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 #if wxUSE_UNICODE
3753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3754 #else
3755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3756 #endif
3757 }
3758 {
3759 if (temp1)
3760 delete arg1;
3761 }
3762 {
3763 if (temp2)
3764 delete arg2;
3765 }
3766 {
3767 if (temp3)
3768 delete arg3;
3769 }
3770 return resultobj;
3771 fail:
3772 {
3773 if (temp1)
3774 delete arg1;
3775 }
3776 {
3777 if (temp2)
3778 delete arg2;
3779 }
3780 {
3781 if (temp3)
3782 delete arg3;
3783 }
3784 return NULL;
3785 }
3786
3787
3788 static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxString *arg1 = 0 ;
3791 wxString *arg2 = 0 ;
3792 int arg3 ;
3793 wxString *arg4 = (wxString *) 0 ;
3794 wxWindow *arg5 = (wxWindow *) NULL ;
3795 int arg6 = (int) -1 ;
3796 int arg7 = (int) -1 ;
3797 bool arg8 = (bool) true ;
3798 int arg9 = (int) 150 ;
3799 int arg10 = (int) 200 ;
3800 wxString result;
3801 bool temp1 = false ;
3802 bool temp2 = false ;
3803 PyObject * obj0 = 0 ;
3804 PyObject * obj1 = 0 ;
3805 PyObject * obj2 = 0 ;
3806 PyObject * obj3 = 0 ;
3807 PyObject * obj4 = 0 ;
3808 PyObject * obj5 = 0 ;
3809 PyObject * obj6 = 0 ;
3810 PyObject * obj7 = 0 ;
3811 PyObject * obj8 = 0 ;
3812 char *kwnames[] = {
3813 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3814 };
3815
3816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3817 {
3818 arg1 = wxString_in_helper(obj0);
3819 if (arg1 == NULL) SWIG_fail;
3820 temp1 = true;
3821 }
3822 {
3823 arg2 = wxString_in_helper(obj1);
3824 if (arg2 == NULL) SWIG_fail;
3825 temp2 = true;
3826 }
3827 {
3828 arg3 = PyList_Size(obj2);
3829 arg4 = wxString_LIST_helper(obj2);
3830 if (arg4 == NULL) SWIG_fail;
3831 }
3832 if (obj3) {
3833 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3835 }
3836 if (obj4) {
3837 arg6 = (int)SWIG_As_int(obj4);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 if (obj5) {
3841 arg7 = (int)SWIG_As_int(obj5);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 if (obj6) {
3845 arg8 = (bool)SWIG_As_bool(obj6);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 if (obj7) {
3849 arg9 = (int)SWIG_As_int(obj7);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 if (obj8) {
3853 arg10 = (int)SWIG_As_int(obj8);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 #if wxUSE_UNICODE
3866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3867 #else
3868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3869 #endif
3870 }
3871 {
3872 if (temp1)
3873 delete arg1;
3874 }
3875 {
3876 if (temp2)
3877 delete arg2;
3878 }
3879 {
3880 if (arg4) delete [] arg4;
3881 }
3882 return resultobj;
3883 fail:
3884 {
3885 if (temp1)
3886 delete arg1;
3887 }
3888 {
3889 if (temp2)
3890 delete arg2;
3891 }
3892 {
3893 if (arg4) delete [] arg4;
3894 }
3895 return NULL;
3896 }
3897
3898
3899 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxString *arg1 = 0 ;
3902 wxString *arg2 = 0 ;
3903 int arg3 ;
3904 wxString *arg4 = (wxString *) 0 ;
3905 wxWindow *arg5 = (wxWindow *) NULL ;
3906 int arg6 = (int) -1 ;
3907 int arg7 = (int) -1 ;
3908 bool arg8 = (bool) true ;
3909 int arg9 = (int) 150 ;
3910 int arg10 = (int) 200 ;
3911 int result;
3912 bool temp1 = false ;
3913 bool temp2 = false ;
3914 PyObject * obj0 = 0 ;
3915 PyObject * obj1 = 0 ;
3916 PyObject * obj2 = 0 ;
3917 PyObject * obj3 = 0 ;
3918 PyObject * obj4 = 0 ;
3919 PyObject * obj5 = 0 ;
3920 PyObject * obj6 = 0 ;
3921 PyObject * obj7 = 0 ;
3922 PyObject * obj8 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3928 {
3929 arg1 = wxString_in_helper(obj0);
3930 if (arg1 == NULL) SWIG_fail;
3931 temp1 = true;
3932 }
3933 {
3934 arg2 = wxString_in_helper(obj1);
3935 if (arg2 == NULL) SWIG_fail;
3936 temp2 = true;
3937 }
3938 {
3939 arg3 = PyList_Size(obj2);
3940 arg4 = wxString_LIST_helper(obj2);
3941 if (arg4 == NULL) SWIG_fail;
3942 }
3943 if (obj3) {
3944 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3946 }
3947 if (obj4) {
3948 arg6 = (int)SWIG_As_int(obj4);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 if (obj5) {
3952 arg7 = (int)SWIG_As_int(obj5);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 if (obj6) {
3956 arg8 = (bool)SWIG_As_bool(obj6);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 if (obj7) {
3960 arg9 = (int)SWIG_As_int(obj7);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 if (obj8) {
3964 arg10 = (int)SWIG_As_int(obj8);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 {
3968 if (!wxPyCheckForApp()) SWIG_fail;
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 resultobj = SWIG_From_int((int)result);
3976 {
3977 if (temp1)
3978 delete arg1;
3979 }
3980 {
3981 if (temp2)
3982 delete arg2;
3983 }
3984 {
3985 if (arg4) delete [] arg4;
3986 }
3987 return resultobj;
3988 fail:
3989 {
3990 if (temp1)
3991 delete arg1;
3992 }
3993 {
3994 if (temp2)
3995 delete arg2;
3996 }
3997 {
3998 if (arg4) delete [] arg4;
3999 }
4000 return NULL;
4001 }
4002
4003
4004 static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxString *arg1 = 0 ;
4007 wxString const &arg2_defvalue = wxPyEmptyString ;
4008 wxString *arg2 = (wxString *) &arg2_defvalue ;
4009 int arg3 = (int) wxOK|wxCENTRE ;
4010 wxWindow *arg4 = (wxWindow *) NULL ;
4011 int arg5 = (int) -1 ;
4012 int arg6 = (int) -1 ;
4013 int result;
4014 bool temp1 = false ;
4015 bool temp2 = false ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4018 PyObject * obj2 = 0 ;
4019 PyObject * obj3 = 0 ;
4020 PyObject * obj4 = 0 ;
4021 PyObject * obj5 = 0 ;
4022 char *kwnames[] = {
4023 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4024 };
4025
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4027 {
4028 arg1 = wxString_in_helper(obj0);
4029 if (arg1 == NULL) SWIG_fail;
4030 temp1 = true;
4031 }
4032 if (obj1) {
4033 {
4034 arg2 = wxString_in_helper(obj1);
4035 if (arg2 == NULL) SWIG_fail;
4036 temp2 = true;
4037 }
4038 }
4039 if (obj2) {
4040 arg3 = (int)SWIG_As_int(obj2);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 if (obj3) {
4044 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
4045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4046 }
4047 if (obj4) {
4048 arg5 = (int)SWIG_As_int(obj4);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 if (obj5) {
4052 arg6 = (int)SWIG_As_int(obj5);
4053 if (PyErr_Occurred()) SWIG_fail;
4054 }
4055 {
4056 if (!wxPyCheckForApp()) SWIG_fail;
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
4059
4060 wxPyEndAllowThreads(__tstate);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 }
4063 resultobj = SWIG_From_int((int)result);
4064 {
4065 if (temp1)
4066 delete arg1;
4067 }
4068 {
4069 if (temp2)
4070 delete arg2;
4071 }
4072 return resultobj;
4073 fail:
4074 {
4075 if (temp1)
4076 delete arg1;
4077 }
4078 {
4079 if (temp2)
4080 delete arg2;
4081 }
4082 return NULL;
4083 }
4084
4085
4086 static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxString *arg1 = 0 ;
4089 wxString *arg2 = 0 ;
4090 wxString *arg3 = 0 ;
4091 long arg4 ;
4092 long arg5 = (long) 0 ;
4093 long arg6 = (long) 100 ;
4094 wxWindow *arg7 = (wxWindow *) NULL ;
4095 wxPoint const &arg8_defvalue = wxDefaultPosition ;
4096 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
4097 long result;
4098 bool temp1 = false ;
4099 bool temp2 = false ;
4100 bool temp3 = false ;
4101 wxPoint temp8 ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj2 = 0 ;
4105 PyObject * obj3 = 0 ;
4106 PyObject * obj4 = 0 ;
4107 PyObject * obj5 = 0 ;
4108 PyObject * obj6 = 0 ;
4109 PyObject * obj7 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4115 {
4116 arg1 = wxString_in_helper(obj0);
4117 if (arg1 == NULL) SWIG_fail;
4118 temp1 = true;
4119 }
4120 {
4121 arg2 = wxString_in_helper(obj1);
4122 if (arg2 == NULL) SWIG_fail;
4123 temp2 = true;
4124 }
4125 {
4126 arg3 = wxString_in_helper(obj2);
4127 if (arg3 == NULL) SWIG_fail;
4128 temp3 = true;
4129 }
4130 arg4 = (long)SWIG_As_long(obj3);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 if (obj4) {
4133 arg5 = (long)SWIG_As_long(obj4);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 if (obj5) {
4137 arg6 = (long)SWIG_As_long(obj5);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 if (obj6) {
4141 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 }
4144 if (obj7) {
4145 {
4146 arg8 = &temp8;
4147 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
4148 }
4149 }
4150 {
4151 if (!wxPyCheckForApp()) SWIG_fail;
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 resultobj = SWIG_From_long((long)result);
4159 {
4160 if (temp1)
4161 delete arg1;
4162 }
4163 {
4164 if (temp2)
4165 delete arg2;
4166 }
4167 {
4168 if (temp3)
4169 delete arg3;
4170 }
4171 return resultobj;
4172 fail:
4173 {
4174 if (temp1)
4175 delete arg1;
4176 }
4177 {
4178 if (temp2)
4179 delete arg2;
4180 }
4181 {
4182 if (temp3)
4183 delete arg3;
4184 }
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 bool result;
4192 char *kwnames[] = {
4193 NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
4197 {
4198 if (!wxPyCheckForApp()) SWIG_fail;
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (bool)wxColourDisplay();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 {
4206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4207 }
4208 return resultobj;
4209 fail:
4210 return NULL;
4211 }
4212
4213
4214 static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 int result;
4217 char *kwnames[] = {
4218 NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
4222 {
4223 if (!wxPyCheckForApp()) SWIG_fail;
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (int)wxDisplayDepth();
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_From_int((int)result);
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 int result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
4245 {
4246 if (!wxPyCheckForApp()) SWIG_fail;
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 result = (int)wxGetDisplayDepth();
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
4253 resultobj = SWIG_From_int((int)result);
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
4261 PyObject *resultobj;
4262 int *arg1 = (int *) 0 ;
4263 int *arg2 = (int *) 0 ;
4264 int temp1 ;
4265 int res1 = 0 ;
4266 int temp2 ;
4267 int res2 = 0 ;
4268 char *kwnames[] = {
4269 NULL
4270 };
4271
4272 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4273 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
4275 {
4276 if (!wxPyCheckForApp()) SWIG_fail;
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 wxDisplaySize(arg1,arg2);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4285 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4286 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4287 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxSize result;
4297 char *kwnames[] = {
4298 NULL
4299 };
4300
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
4302 {
4303 if (!wxPyCheckForApp()) SWIG_fail;
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = wxGetDisplaySize();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 {
4311 wxSize * resultptr;
4312 resultptr = new wxSize((wxSize &) result);
4313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 int *arg1 = (int *) 0 ;
4324 int *arg2 = (int *) 0 ;
4325 int temp1 ;
4326 int res1 = 0 ;
4327 int temp2 ;
4328 int res2 = 0 ;
4329 char *kwnames[] = {
4330 NULL
4331 };
4332
4333 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4334 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
4336 {
4337 if (!wxPyCheckForApp()) SWIG_fail;
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 wxDisplaySizeMM(arg1,arg2);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 Py_INCREF(Py_None); resultobj = Py_None;
4345 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4346 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4347 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4348 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4349 return resultobj;
4350 fail:
4351 return NULL;
4352 }
4353
4354
4355 static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxSize result;
4358 char *kwnames[] = {
4359 NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
4363 {
4364 if (!wxPyCheckForApp()) SWIG_fail;
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = wxGetDisplaySizeMM();
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 {
4372 wxSize * resultptr;
4373 resultptr = new wxSize((wxSize &) result);
4374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4375 }
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 int *arg1 = (int *) 0 ;
4385 int *arg2 = (int *) 0 ;
4386 int *arg3 = (int *) 0 ;
4387 int *arg4 = (int *) 0 ;
4388 int temp1 ;
4389 int res1 = 0 ;
4390 int temp2 ;
4391 int res2 = 0 ;
4392 int temp3 ;
4393 int res3 = 0 ;
4394 int temp4 ;
4395 int res4 = 0 ;
4396 char *kwnames[] = {
4397 NULL
4398 };
4399
4400 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4401 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4402 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4403 arg4 = &temp4; res4 = SWIG_NEWOBJ;
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
4405 {
4406 if (!wxPyCheckForApp()) SWIG_fail;
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 wxClientDisplayRect(arg1,arg2,arg3,arg4);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 Py_INCREF(Py_None); resultobj = Py_None;
4414 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4415 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4416 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4417 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
4418 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
4419 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
4420 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
4421 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
4422 return resultobj;
4423 fail:
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxRect result;
4431 char *kwnames[] = {
4432 NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
4436 {
4437 if (!wxPyCheckForApp()) SWIG_fail;
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = wxGetClientDisplayRect();
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 {
4445 wxRect * resultptr;
4446 resultptr = new wxRect((wxRect &) result);
4447 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
4448 }
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj;
4457 wxCursor *arg1 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "cursor", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
4464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4465 SWIG_POINTER_EXCEPTION | 0)) == -1)
4466 SWIG_fail;
4467 if (arg1 == NULL) {
4468 PyErr_SetString(PyExc_TypeError,"null reference");
4469 SWIG_fail;
4470 }
4471 {
4472 if (!wxPyCheckForApp()) SWIG_fail;
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 wxSetCursor(*arg1);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 Py_INCREF(Py_None); resultobj = Py_None;
4480 return resultobj;
4481 fail:
4482 return NULL;
4483 }
4484
4485
4486 static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
4487 PyObject *resultobj;
4488 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4489 PyObject * obj0 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "cursor", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4495 if (obj0) {
4496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4498 }
4499 {
4500 if (!wxPyCheckForApp()) SWIG_fail;
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 wxBeginBusyCursor(arg1);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxWindow *result;
4517 char *kwnames[] = {
4518 NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4522 {
4523 if (!wxPyCheckForApp()) SWIG_fail;
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 result = (wxWindow *)wxGetActiveWindow();
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 {
4531 resultobj = wxPyMake_wxObject(result, 0);
4532 }
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxPoint *arg1 = 0 ;
4542 wxWindow *result;
4543 wxPoint temp1 ;
4544 PyObject * obj0 = 0 ;
4545 char *kwnames[] = {
4546 (char *) "pt", NULL
4547 };
4548
4549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4550 {
4551 arg1 = &temp1;
4552 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4553 }
4554 {
4555 if (!wxPyCheckForApp()) SWIG_fail;
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 {
4563 resultobj = wxPyMake_wxObject(result, 0);
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj;
4573 wxPoint *arg1 = 0 ;
4574 wxWindow *result;
4575 wxPoint temp1 ;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "pt", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4582 {
4583 arg1 = &temp1;
4584 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4585 }
4586 {
4587 if (!wxPyCheckForApp()) SWIG_fail;
4588 PyThreadState* __tstate = wxPyBeginAllowThreads();
4589 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4590
4591 wxPyEndAllowThreads(__tstate);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
4594 {
4595 resultobj = wxPyMake_wxObject(result, 0);
4596 }
4597 return resultobj;
4598 fail:
4599 return NULL;
4600 }
4601
4602
4603 static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxWindow *arg1 = (wxWindow *) 0 ;
4606 wxWindow *result;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "win", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4615 {
4616 if (!wxPyCheckForApp()) SWIG_fail;
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (wxWindow *)wxGetTopLevelParent(arg1);
4619
4620 wxPyEndAllowThreads(__tstate);
4621 if (PyErr_Occurred()) SWIG_fail;
4622 }
4623 {
4624 resultobj = wxPyMake_wxObject(result, 0);
4625 }
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 int arg1 ;
4635 bool result;
4636 PyObject * obj0 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "key", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4642 arg1 = (int)SWIG_As_int(obj0);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 {
4645 if (!wxPyCheckForApp()) SWIG_fail;
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 {
4653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4654 }
4655 return resultobj;
4656 fail:
4657 return NULL;
4658 }
4659
4660
4661 static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 char *kwnames[] = {
4664 NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4668 {
4669 if (!wxPyCheckForApp()) SWIG_fail;
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 wxWakeUpMainThread();
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 Py_INCREF(Py_None); resultobj = Py_None;
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 char *kwnames[] = {
4686 NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4690 {
4691 if (!wxPyCheckForApp()) SWIG_fail;
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 wxMutexGuiEnter();
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 Py_INCREF(Py_None); resultobj = Py_None;
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 char *kwnames[] = {
4708 NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4712 {
4713 if (!wxPyCheckForApp()) SWIG_fail;
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 wxMutexGuiLeave();
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxMutexGuiLocker *result;
4730 char *kwnames[] = {
4731 NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4735 {
4736 if (!wxPyCheckForApp()) SWIG_fail;
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 delete arg1;
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 Py_INCREF(Py_None); resultobj = Py_None;
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
4776 PyObject *obj;
4777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4778 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4779 Py_INCREF(obj);
4780 return Py_BuildValue((char *)"");
4781 }
4782 static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 bool result;
4785 char *kwnames[] = {
4786 NULL
4787 };
4788
4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (bool)wxThread_IsMain();
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 {
4798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4799 }
4800 return resultobj;
4801 fail:
4802 return NULL;
4803 }
4804
4805
4806 static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
4807 PyObject *resultobj;
4808 wxString *arg1 = 0 ;
4809 wxToolTip *result;
4810 bool temp1 = false ;
4811 PyObject * obj0 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "tip", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4817 {
4818 arg1 = wxString_in_helper(obj0);
4819 if (arg1 == NULL) SWIG_fail;
4820 temp1 = true;
4821 }
4822 {
4823 if (!wxPyCheckForApp()) SWIG_fail;
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 {
4831 resultobj = wxPyMake_wxObject(result, 1);
4832 }
4833 {
4834 if (temp1)
4835 delete arg1;
4836 }
4837 return resultobj;
4838 fail:
4839 {
4840 if (temp1)
4841 delete arg1;
4842 }
4843 return NULL;
4844 }
4845
4846
4847 static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4848 PyObject *resultobj;
4849 wxToolTip *arg1 = (wxToolTip *) 0 ;
4850 wxString *arg2 = 0 ;
4851 bool temp2 = false ;
4852 PyObject * obj0 = 0 ;
4853 PyObject * obj1 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "tip", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4861 {
4862 arg2 = wxString_in_helper(obj1);
4863 if (arg2 == NULL) SWIG_fail;
4864 temp2 = true;
4865 }
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 (arg1)->SetTip((wxString const &)*arg2);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 Py_INCREF(Py_None); resultobj = Py_None;
4874 {
4875 if (temp2)
4876 delete arg2;
4877 }
4878 return resultobj;
4879 fail:
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return NULL;
4885 }
4886
4887
4888 static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4889 PyObject *resultobj;
4890 wxToolTip *arg1 = (wxToolTip *) 0 ;
4891 wxString result;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = (arg1)->GetTip();
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 {
4908 #if wxUSE_UNICODE
4909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4910 #else
4911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4912 #endif
4913 }
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4921 PyObject *resultobj;
4922 wxToolTip *arg1 = (wxToolTip *) 0 ;
4923 wxWindow *result;
4924 PyObject * obj0 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "self", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = (wxWindow *)(arg1)->GetWindow();
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 {
4940 resultobj = wxPyMake_wxObject(result, 0);
4941 }
4942 return resultobj;
4943 fail:
4944 return NULL;
4945 }
4946
4947
4948 static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
4949 PyObject *resultobj;
4950 bool arg1 ;
4951 PyObject * obj0 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "flag", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4957 arg1 = (bool)SWIG_As_bool(obj0);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 wxToolTip::Enable(arg1);
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 Py_INCREF(Py_None); resultobj = Py_None;
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 long arg1 ;
4976 PyObject * obj0 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "milliseconds", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4982 arg1 = (long)SWIG_As_long(obj0);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 wxToolTip::SetDelay(arg1);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 Py_INCREF(Py_None); resultobj = Py_None;
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
4999 PyObject *obj;
5000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5001 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
5002 Py_INCREF(obj);
5003 return Py_BuildValue((char *)"");
5004 }
5005 static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj;
5007 wxWindow *arg1 = (wxWindow *) 0 ;
5008 wxSize *arg2 = 0 ;
5009 wxCaret *result;
5010 wxSize temp2 ;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "window",(char *) "size", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5020 {
5021 arg2 = &temp2;
5022 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5023 }
5024 {
5025 if (!wxPyCheckForApp()) SWIG_fail;
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxCaret *arg1 = (wxCaret *) 0 ;
5042 PyObject * obj0 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
5048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 delete arg1;
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxCaret *arg1 = (wxCaret *) 0 ;
5067 bool result;
5068 PyObject * obj0 = 0 ;
5069 char *kwnames[] = {
5070 (char *) "self", NULL
5071 };
5072
5073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
5074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 result = (bool)(arg1)->IsOk();
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 {
5084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5085 }
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxCaret *arg1 = (wxCaret *) 0 ;
5095 bool result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (bool)(arg1)->IsVisible();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxCaret *arg1 = (wxCaret *) 0 ;
5123 wxPoint result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
5130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (arg1)->GetPosition();
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 wxPoint * resultptr;
5141 resultptr = new wxPoint((wxPoint &) result);
5142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5143 }
5144 return resultobj;
5145 fail:
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxCaret *arg1 = (wxCaret *) 0 ;
5153 int *arg2 = (int *) 0 ;
5154 int *arg3 = (int *) 0 ;
5155 int temp2 ;
5156 int res2 = 0 ;
5157 int temp3 ;
5158 int res3 = 0 ;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5165 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->GetPosition(arg2,arg3);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5178 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5179 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5180 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5181 return resultobj;
5182 fail:
5183 return NULL;
5184 }
5185
5186
5187 static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxCaret *arg1 = (wxCaret *) 0 ;
5190 wxSize result;
5191 PyObject * obj0 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (arg1)->GetSize();
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 wxSize * resultptr;
5208 resultptr = new wxSize((wxSize &) result);
5209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5210 }
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxCaret *arg1 = (wxCaret *) 0 ;
5220 int *arg2 = (int *) 0 ;
5221 int *arg3 = (int *) 0 ;
5222 int temp2 ;
5223 int res2 = 0 ;
5224 int temp3 ;
5225 int res3 = 0 ;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5232 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 (arg1)->GetSize(arg2,arg3);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5245 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5246 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5247 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5248 return resultobj;
5249 fail:
5250 return NULL;
5251 }
5252
5253
5254 static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5255 PyObject *resultobj;
5256 wxCaret *arg1 = (wxCaret *) 0 ;
5257 wxWindow *result;
5258 PyObject * obj0 = 0 ;
5259 char *kwnames[] = {
5260 (char *) "self", NULL
5261 };
5262
5263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
5264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 result = (wxWindow *)(arg1)->GetWindow();
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 {
5274 resultobj = wxPyMake_wxObject(result, 0);
5275 }
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxCaret *arg1 = (wxCaret *) 0 ;
5285 int arg2 ;
5286 int arg3 ;
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 PyObject * obj2 = 0 ;
5290 char *kwnames[] = {
5291 (char *) "self",(char *) "x",(char *) "y", NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
5295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5297 arg2 = (int)SWIG_As_int(obj1);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 arg3 = (int)SWIG_As_int(obj2);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 (arg1)->Move(arg2,arg3);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 Py_INCREF(Py_None); resultobj = Py_None;
5309 return resultobj;
5310 fail:
5311 return NULL;
5312 }
5313
5314
5315 static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
5316 PyObject *resultobj;
5317 wxCaret *arg1 = (wxCaret *) 0 ;
5318 wxPoint *arg2 = 0 ;
5319 wxPoint temp2 ;
5320 PyObject * obj0 = 0 ;
5321 PyObject * obj1 = 0 ;
5322 char *kwnames[] = {
5323 (char *) "self",(char *) "pt", NULL
5324 };
5325
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
5327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5329 {
5330 arg2 = &temp2;
5331 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5332 }
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 (arg1)->Move((wxPoint const &)*arg2);
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 Py_INCREF(Py_None); resultobj = Py_None;
5341 return resultobj;
5342 fail:
5343 return NULL;
5344 }
5345
5346
5347 static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 wxCaret *arg1 = (wxCaret *) 0 ;
5350 int arg2 ;
5351 int arg3 ;
5352 PyObject * obj0 = 0 ;
5353 PyObject * obj1 = 0 ;
5354 PyObject * obj2 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "width",(char *) "height", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5362 arg2 = (int)SWIG_As_int(obj1);
5363 if (PyErr_Occurred()) SWIG_fail;
5364 arg3 = (int)SWIG_As_int(obj2);
5365 if (PyErr_Occurred()) SWIG_fail;
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 (arg1)->SetSize(arg2,arg3);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 Py_INCREF(Py_None); resultobj = Py_None;
5374 return resultobj;
5375 fail:
5376 return NULL;
5377 }
5378
5379
5380 static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxCaret *arg1 = (wxCaret *) 0 ;
5383 wxSize *arg2 = 0 ;
5384 wxSize temp2 ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "self",(char *) "size", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
5392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5394 {
5395 arg2 = &temp2;
5396 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
5397 }
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 (arg1)->SetSize((wxSize const &)*arg2);
5401
5402 wxPyEndAllowThreads(__tstate);
5403 if (PyErr_Occurred()) SWIG_fail;
5404 }
5405 Py_INCREF(Py_None); resultobj = Py_None;
5406 return resultobj;
5407 fail:
5408 return NULL;
5409 }
5410
5411
5412 static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
5413 PyObject *resultobj;
5414 wxCaret *arg1 = (wxCaret *) 0 ;
5415 int arg2 = (int) true ;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 char *kwnames[] = {
5419 (char *) "self",(char *) "show", NULL
5420 };
5421
5422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
5423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5425 if (obj1) {
5426 arg2 = (int)SWIG_As_int(obj1);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 {
5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
5431 (arg1)->Show(arg2);
5432
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 Py_INCREF(Py_None); resultobj = Py_None;
5437 return resultobj;
5438 fail:
5439 return NULL;
5440 }
5441
5442
5443 static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj;
5445 wxCaret *arg1 = (wxCaret *) 0 ;
5446 PyObject * obj0 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->Hide();
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
5469 PyObject *obj;
5470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5471 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
5472 Py_INCREF(obj);
5473 return Py_BuildValue((char *)"");
5474 }
5475 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 int result;
5478 char *kwnames[] = {
5479 NULL
5480 };
5481
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (int)wxCaret_GetBlinkTime();
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 resultobj = SWIG_From_int((int)result);
5491 return resultobj;
5492 fail:
5493 return NULL;
5494 }
5495
5496
5497 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
5498 PyObject *resultobj;
5499 int arg1 ;
5500 PyObject * obj0 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "milliseconds", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5506 arg1 = (int)SWIG_As_int(obj0);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 wxCaret_SetBlinkTime(arg1);
5511
5512 wxPyEndAllowThreads(__tstate);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
5515 Py_INCREF(Py_None); resultobj = Py_None;
5516 return resultobj;
5517 fail:
5518 return NULL;
5519 }
5520
5521
5522 static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5523 PyObject *resultobj;
5524 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5525 wxBusyCursor *result;
5526 PyObject * obj0 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "cursor", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5532 if (obj0) {
5533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5535 }
5536 {
5537 if (!wxPyCheckForApp()) SWIG_fail;
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5545 return resultobj;
5546 fail:
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5554 PyObject * obj0 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 delete arg1;
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 Py_INCREF(Py_None); resultobj = Py_None;
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
5577 PyObject *obj;
5578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5579 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5580 Py_INCREF(obj);
5581 return Py_BuildValue((char *)"");
5582 }
5583 static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj;
5585 wxWindow *arg1 = (wxWindow *) NULL ;
5586 wxWindowDisabler *result;
5587 PyObject * obj0 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "winToSkip", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5593 if (obj0) {
5594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5596 }
5597 {
5598 if (!wxPyCheckForApp()) SWIG_fail;
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5615 PyObject * obj0 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "self", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 delete arg1;
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
5638 PyObject *obj;
5639 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5640 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5641 Py_INCREF(obj);
5642 return Py_BuildValue((char *)"");
5643 }
5644 static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5645 PyObject *resultobj;
5646 wxString *arg1 = 0 ;
5647 wxBusyInfo *result;
5648 bool temp1 = false ;
5649 PyObject * obj0 = 0 ;
5650 char *kwnames[] = {
5651 (char *) "message", NULL
5652 };
5653
5654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5655 {
5656 arg1 = wxString_in_helper(obj0);
5657 if (arg1 == NULL) SWIG_fail;
5658 temp1 = true;
5659 }
5660 {
5661 if (!wxPyCheckForApp()) SWIG_fail;
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5669 {
5670 if (temp1)
5671 delete arg1;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp1)
5677 delete arg1;
5678 }
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 delete arg1;
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705 }
5706
5707
5708 static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
5709 PyObject *obj;
5710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5711 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5712 Py_INCREF(obj);
5713 return Py_BuildValue((char *)"");
5714 }
5715 static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
5716 PyObject *resultobj;
5717 wxStopWatch *result;
5718 char *kwnames[] = {
5719 NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 result = (wxStopWatch *)new wxStopWatch();
5726
5727 wxPyEndAllowThreads(__tstate);
5728 if (PyErr_Occurred()) SWIG_fail;
5729 }
5730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5731 return resultobj;
5732 fail:
5733 return NULL;
5734 }
5735
5736
5737 static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5740 long arg2 = (long) 0 ;
5741 PyObject * obj0 = 0 ;
5742 PyObject * obj1 = 0 ;
5743 char *kwnames[] = {
5744 (char *) "self",(char *) "t0", NULL
5745 };
5746
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5750 if (obj1) {
5751 arg2 = (long)SWIG_As_long(obj1);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 }
5754 {
5755 PyThreadState* __tstate = wxPyBeginAllowThreads();
5756 (arg1)->Start(arg2);
5757
5758 wxPyEndAllowThreads(__tstate);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
5761 Py_INCREF(Py_None); resultobj = Py_None;
5762 return resultobj;
5763 fail:
5764 return NULL;
5765 }
5766
5767
5768 static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5771 PyObject * obj0 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5779 {
5780 PyThreadState* __tstate = wxPyBeginAllowThreads();
5781 (arg1)->Pause();
5782
5783 wxPyEndAllowThreads(__tstate);
5784 if (PyErr_Occurred()) SWIG_fail;
5785 }
5786 Py_INCREF(Py_None); resultobj = Py_None;
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5796 PyObject * obj0 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 (arg1)->Resume();
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 Py_INCREF(Py_None); resultobj = Py_None;
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5821 long result;
5822 PyObject * obj0 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5830 {
5831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5832 result = (long)((wxStopWatch const *)arg1)->Time();
5833
5834 wxPyEndAllowThreads(__tstate);
5835 if (PyErr_Occurred()) SWIG_fail;
5836 }
5837 resultobj = SWIG_From_long((long)result);
5838 return resultobj;
5839 fail:
5840 return NULL;
5841 }
5842
5843
5844 static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
5845 PyObject *obj;
5846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5847 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5848 Py_INCREF(obj);
5849 return Py_BuildValue((char *)"");
5850 }
5851 static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 int arg1 = (int) 9 ;
5854 int arg2 = (int) wxID_FILE1 ;
5855 wxFileHistory *result;
5856 PyObject * obj0 = 0 ;
5857 PyObject * obj1 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "maxFiles",(char *) "idBase", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
5863 if (obj0) {
5864 arg1 = (int)SWIG_As_int(obj0);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 if (obj1) {
5868 arg2 = (int)SWIG_As_int(obj1);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
5874
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5886 PyObject *resultobj;
5887 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 delete arg1;
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 Py_INCREF(Py_None); resultobj = Py_None;
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5913 wxString *arg2 = 0 ;
5914 bool temp2 = false ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "file", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5924 {
5925 arg2 = wxString_in_helper(obj1);
5926 if (arg2 == NULL) SWIG_fail;
5927 temp2 = true;
5928 }
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->AddFileToHistory((wxString const &)*arg2);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 {
5938 if (temp2)
5939 delete arg2;
5940 }
5941 return resultobj;
5942 fail:
5943 {
5944 if (temp2)
5945 delete arg2;
5946 }
5947 return NULL;
5948 }
5949
5950
5951 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5954 int arg2 ;
5955 PyObject * obj0 = 0 ;
5956 PyObject * obj1 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "i", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5964 arg2 = (int)SWIG_As_int(obj1);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->RemoveFileFromHistory(arg2);
5969
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 Py_INCREF(Py_None); resultobj = Py_None;
5974 return resultobj;
5975 fail:
5976 return NULL;
5977 }
5978
5979
5980 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5983 int result;
5984 PyObject * obj0 = 0 ;
5985 char *kwnames[] = {
5986 (char *) "self", NULL
5987 };
5988
5989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_From_int((int)result);
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6009 wxMenu *arg2 = (wxMenu *) 0 ;
6010 PyObject * obj0 = 0 ;
6011 PyObject * obj1 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "menu", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->UseMenu(arg2);
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6038 wxMenu *arg2 = (wxMenu *) 0 ;
6039 PyObject * obj0 = 0 ;
6040 PyObject * obj1 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "menu", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 (arg1)->RemoveMenu(arg2);
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 Py_INCREF(Py_None); resultobj = Py_None;
6058 return resultobj;
6059 fail:
6060 return NULL;
6061 }
6062
6063
6064 static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
6065 PyObject *resultobj;
6066 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6067 wxConfigBase *arg2 = 0 ;
6068 PyObject * obj0 = 0 ;
6069 PyObject * obj1 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self",(char *) "config", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
6075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6077 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6078 SWIG_POINTER_EXCEPTION | 0)) == -1)
6079 SWIG_fail;
6080 if (arg2 == NULL) {
6081 PyErr_SetString(PyExc_TypeError,"null reference");
6082 SWIG_fail;
6083 }
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 (arg1)->Load(*arg2);
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 Py_INCREF(Py_None); resultobj = Py_None;
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6101 wxConfigBase *arg2 = 0 ;
6102 PyObject * obj0 = 0 ;
6103 PyObject * obj1 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self",(char *) "config", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
6109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6111 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
6112 SWIG_POINTER_EXCEPTION | 0)) == -1)
6113 SWIG_fail;
6114 if (arg2 == NULL) {
6115 PyErr_SetString(PyExc_TypeError,"null reference");
6116 SWIG_fail;
6117 }
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->Save(*arg2);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->AddFilesToMenu();
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6160 wxMenu *arg2 = (wxMenu *) 0 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "menu", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
6171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->AddFilesToMenu(arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6189 int arg2 ;
6190 wxString result;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "i", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6200 arg2 = (int)SWIG_As_int(obj1);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 {
6210 #if wxUSE_UNICODE
6211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6212 #else
6213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6214 #endif
6215 }
6216 return resultobj;
6217 fail:
6218 return NULL;
6219 }
6220
6221
6222 static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
6223 PyObject *resultobj;
6224 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
6225 int result;
6226 PyObject * obj0 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (int)((wxFileHistory const *)arg1)->GetCount();
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_From_int((int)result);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245 }
6246
6247
6248 static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
6249 PyObject *obj;
6250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6251 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
6252 Py_INCREF(obj);
6253 return Py_BuildValue((char *)"");
6254 }
6255 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxString *arg1 = 0 ;
6258 wxString const &arg2_defvalue = wxPyEmptyString ;
6259 wxString *arg2 = (wxString *) &arg2_defvalue ;
6260 wxSingleInstanceChecker *result;
6261 bool temp1 = false ;
6262 bool temp2 = false ;
6263 PyObject * obj0 = 0 ;
6264 PyObject * obj1 = 0 ;
6265 char *kwnames[] = {
6266 (char *) "name",(char *) "path", NULL
6267 };
6268
6269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
6270 {
6271 arg1 = wxString_in_helper(obj0);
6272 if (arg1 == NULL) SWIG_fail;
6273 temp1 = true;
6274 }
6275 if (obj1) {
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
6279 temp2 = true;
6280 }
6281 }
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
6285
6286 wxPyEndAllowThreads(__tstate);
6287 if (PyErr_Occurred()) SWIG_fail;
6288 }
6289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6290 {
6291 if (temp1)
6292 delete arg1;
6293 }
6294 {
6295 if (temp2)
6296 delete arg2;
6297 }
6298 return resultobj;
6299 fail:
6300 {
6301 if (temp1)
6302 delete arg1;
6303 }
6304 {
6305 if (temp2)
6306 delete arg2;
6307 }
6308 return NULL;
6309 }
6310
6311
6312 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6313 PyObject *resultobj;
6314 wxSingleInstanceChecker *result;
6315 char *kwnames[] = {
6316 NULL
6317 };
6318
6319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
6323
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
6328 return resultobj;
6329 fail:
6330 return NULL;
6331 }
6332
6333
6334 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6337 PyObject * obj0 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
6343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 delete arg1;
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 Py_INCREF(Py_None); resultobj = Py_None;
6353 return resultobj;
6354 fail:
6355 return NULL;
6356 }
6357
6358
6359 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
6360 PyObject *resultobj;
6361 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6362 wxString *arg2 = 0 ;
6363 wxString const &arg3_defvalue = wxPyEmptyString ;
6364 wxString *arg3 = (wxString *) &arg3_defvalue ;
6365 bool result;
6366 bool temp2 = false ;
6367 bool temp3 = false ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 PyObject * obj2 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "name",(char *) "path", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 {
6379 arg2 = wxString_in_helper(obj1);
6380 if (arg2 == NULL) SWIG_fail;
6381 temp2 = true;
6382 }
6383 if (obj2) {
6384 {
6385 arg3 = wxString_in_helper(obj2);
6386 if (arg3 == NULL) SWIG_fail;
6387 temp3 = true;
6388 }
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 {
6398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6399 }
6400 {
6401 if (temp2)
6402 delete arg2;
6403 }
6404 {
6405 if (temp3)
6406 delete arg3;
6407 }
6408 return resultobj;
6409 fail:
6410 {
6411 if (temp2)
6412 delete arg2;
6413 }
6414 {
6415 if (temp3)
6416 delete arg3;
6417 }
6418 return NULL;
6419 }
6420
6421
6422 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
6425 bool result;
6426 PyObject * obj0 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
6433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 {
6442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6443 }
6444 return resultobj;
6445 fail:
6446 return NULL;
6447 }
6448
6449
6450 static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
6451 PyObject *obj;
6452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6453 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
6454 Py_INCREF(obj);
6455 return Py_BuildValue((char *)"");
6456 }
6457 static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj;
6459 wxWindow *arg1 = (wxWindow *) 0 ;
6460 wxDC *arg2 = 0 ;
6461 int arg3 ;
6462 PyObject * obj0 = 0 ;
6463 PyObject * obj1 = 0 ;
6464 PyObject * obj2 = 0 ;
6465 char *kwnames[] = {
6466 (char *) "window",(char *) "dc",(char *) "method", NULL
6467 };
6468
6469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
6470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
6473 SWIG_POINTER_EXCEPTION | 0)) == -1)
6474 SWIG_fail;
6475 if (arg2 == NULL) {
6476 PyErr_SetString(PyExc_TypeError,"null reference");
6477 SWIG_fail;
6478 }
6479 arg3 = (int)SWIG_As_int(obj2);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 Py_INCREF(Py_None); resultobj = Py_None;
6489 return resultobj;
6490 fail:
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6498 PyObject * obj0 = 0 ;
6499 char *kwnames[] = {
6500 (char *) "self", NULL
6501 };
6502
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 delete arg1;
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 Py_INCREF(Py_None); resultobj = Py_None;
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6523 wxString result;
6524 PyObject * obj0 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 result = (arg1)->GetTip();
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 {
6540 #if wxUSE_UNICODE
6541 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6542 #else
6543 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6544 #endif
6545 }
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
6553 PyObject *resultobj;
6554 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6555 size_t result;
6556 PyObject * obj0 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "self", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
6566 result = (size_t)(arg1)->GetCurrentTip();
6567
6568 wxPyEndAllowThreads(__tstate);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 }
6571 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
6572 return resultobj;
6573 fail:
6574 return NULL;
6575 }
6576
6577
6578 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6581 wxString *arg2 = 0 ;
6582 wxString result;
6583 bool temp2 = false ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 char *kwnames[] = {
6587 (char *) "self",(char *) "tip", NULL
6588 };
6589
6590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6593 {
6594 arg2 = wxString_in_helper(obj1);
6595 if (arg2 == NULL) SWIG_fail;
6596 temp2 = true;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 #if wxUSE_UNICODE
6607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6608 #else
6609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6610 #endif
6611 }
6612 {
6613 if (temp2)
6614 delete arg2;
6615 }
6616 return resultobj;
6617 fail:
6618 {
6619 if (temp2)
6620 delete arg2;
6621 }
6622 return NULL;
6623 }
6624
6625
6626 static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
6627 PyObject *obj;
6628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6629 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6630 Py_INCREF(obj);
6631 return Py_BuildValue((char *)"");
6632 }
6633 static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 size_t arg1 ;
6636 wxPyTipProvider *result;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "currentTip", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6643 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6653 return resultobj;
6654 fail:
6655 return NULL;
6656 }
6657
6658
6659 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6662 PyObject *arg2 = (PyObject *) 0 ;
6663 PyObject *arg3 = (PyObject *) 0 ;
6664 PyObject * obj0 = 0 ;
6665 PyObject * obj1 = 0 ;
6666 PyObject * obj2 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self",(char *) "self",(char *) "_class", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6674 arg2 = obj1;
6675 arg3 = obj2;
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 (arg1)->_setCallbackInfo(arg2,arg3);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 Py_INCREF(Py_None); resultobj = Py_None;
6684 return resultobj;
6685 fail:
6686 return NULL;
6687 }
6688
6689
6690 static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
6691 PyObject *obj;
6692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6693 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6694 Py_INCREF(obj);
6695 return Py_BuildValue((char *)"");
6696 }
6697 static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxWindow *arg1 = (wxWindow *) 0 ;
6700 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6701 bool arg3 = (bool) true ;
6702 bool result;
6703 PyObject * obj0 = 0 ;
6704 PyObject * obj1 = 0 ;
6705 PyObject * obj2 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6715 if (obj2) {
6716 arg3 = (bool)SWIG_As_bool(obj2);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 {
6720 if (!wxPyCheckForApp()) SWIG_fail;
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 result = (bool)wxShowTip(arg1,arg2,arg3);
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 {
6728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6729 }
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxString *arg1 = 0 ;
6739 size_t arg2 ;
6740 wxTipProvider *result;
6741 bool temp1 = false ;
6742 PyObject * obj0 = 0 ;
6743 PyObject * obj1 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "filename",(char *) "currentTip", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6749 {
6750 arg1 = wxString_in_helper(obj0);
6751 if (arg1 == NULL) SWIG_fail;
6752 temp1 = true;
6753 }
6754 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 {
6757 if (!wxPyCheckForApp()) SWIG_fail;
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6765 {
6766 if (temp1)
6767 delete arg1;
6768 }
6769 return resultobj;
6770 fail:
6771 {
6772 if (temp1)
6773 delete arg1;
6774 }
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6782 int arg2 = (int) -1 ;
6783 wxPyTimer *result;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "owner",(char *) "id", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6791 if (obj0) {
6792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6794 }
6795 if (obj1) {
6796 arg2 = (int)SWIG_As_int(obj1);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 if (!wxPyCheckForApp()) SWIG_fail;
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6817 PyObject * obj0 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 delete arg1;
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 Py_INCREF(Py_None); resultobj = Py_None;
6833 return resultobj;
6834 fail:
6835 return NULL;
6836 }
6837
6838
6839 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6842 PyObject *arg2 = (PyObject *) 0 ;
6843 PyObject *arg3 = (PyObject *) 0 ;
6844 int arg4 = (int) 1 ;
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
6847 PyObject * obj2 = 0 ;
6848 PyObject * obj3 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6856 arg2 = obj1;
6857 arg3 = obj2;
6858 if (obj3) {
6859 arg4 = (int)SWIG_As_int(obj3);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 Py_INCREF(Py_None); resultobj = Py_None;
6870 return resultobj;
6871 fail:
6872 return NULL;
6873 }
6874
6875
6876 static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj;
6878 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6879 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6880 int arg3 = (int) -1 ;
6881 PyObject * obj0 = 0 ;
6882 PyObject * obj1 = 0 ;
6883 PyObject * obj2 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "owner",(char *) "id", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6893 if (obj2) {
6894 arg3 = (int)SWIG_As_int(obj2);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 (arg1)->SetOwner(arg2,arg3);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 Py_INCREF(Py_None); resultobj = Py_None;
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6914 wxEvtHandler *result;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (wxEvtHandler *)(arg1)->GetOwner();
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 {
6931 resultobj = wxPyMake_wxObject(result, 0);
6932 }
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6942 int arg2 = (int) -1 ;
6943 bool arg3 = (bool) false ;
6944 bool result;
6945 PyObject * obj0 = 0 ;
6946 PyObject * obj1 = 0 ;
6947 PyObject * obj2 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 if (obj1) {
6956 arg2 = (int)SWIG_As_int(obj1);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 if (obj2) {
6960 arg3 = (bool)SWIG_As_bool(obj2);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6965 result = (bool)(arg1)->Start(arg2,arg3);
6966
6967 wxPyEndAllowThreads(__tstate);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 }
6970 {
6971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6972 }
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj;
6981 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6982 PyObject * obj0 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 (arg1)->Stop();
6993
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 Py_INCREF(Py_None); resultobj = Py_None;
6998 return resultobj;
6999 fail:
7000 return NULL;
7001 }
7002
7003
7004 static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7005 PyObject *resultobj;
7006 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7007 bool result;
7008 PyObject * obj0 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7016 {
7017 PyThreadState* __tstate = wxPyBeginAllowThreads();
7018 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
7019
7020 wxPyEndAllowThreads(__tstate);
7021 if (PyErr_Occurred()) SWIG_fail;
7022 }
7023 {
7024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7025 }
7026 return resultobj;
7027 fail:
7028 return NULL;
7029 }
7030
7031
7032 static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7035 int result;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (int)((wxPyTimer const *)arg1)->GetInterval();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_From_int((int)result);
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7061 bool result;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 {
7078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7079 }
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
7089 int result;
7090 PyObject * obj0 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 result = (int)((wxPyTimer const *)arg1)->GetId();
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 resultobj = SWIG_From_int((int)result);
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
7113 PyObject *obj;
7114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7115 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
7116 Py_INCREF(obj);
7117 return Py_BuildValue((char *)"");
7118 }
7119 static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 int arg1 = (int) 0 ;
7122 int arg2 = (int) 0 ;
7123 wxTimerEvent *result;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "timerid",(char *) "interval", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
7131 if (obj0) {
7132 arg1 = (int)SWIG_As_int(obj0);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 if (obj1) {
7136 arg2 = (int)SWIG_As_int(obj1);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
7142
7143 wxPyEndAllowThreads(__tstate);
7144 if (PyErr_Occurred()) SWIG_fail;
7145 }
7146 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
7147 return resultobj;
7148 fail:
7149 return NULL;
7150 }
7151
7152
7153 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7154 PyObject *resultobj;
7155 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
7156 int result;
7157 PyObject * obj0 = 0 ;
7158 char *kwnames[] = {
7159 (char *) "self", NULL
7160 };
7161
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
7163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_From_int((int)result);
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
7180 PyObject *obj;
7181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7182 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
7183 Py_INCREF(obj);
7184 return Py_BuildValue((char *)"");
7185 }
7186 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
7187 PyObject *resultobj;
7188 wxTimer *arg1 = 0 ;
7189 wxTimerRunner *result;
7190 PyObject * obj0 = 0 ;
7191
7192 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
7193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7194 SWIG_POINTER_EXCEPTION | 0)) == -1)
7195 SWIG_fail;
7196 if (arg1 == NULL) {
7197 PyErr_SetString(PyExc_TypeError,"null reference");
7198 SWIG_fail;
7199 }
7200 {
7201 if (!wxPyCheckForApp()) SWIG_fail;
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
7216 PyObject *resultobj;
7217 wxTimer *arg1 = 0 ;
7218 int arg2 ;
7219 bool arg3 = (bool) false ;
7220 wxTimerRunner *result;
7221 PyObject * obj0 = 0 ;
7222 PyObject * obj1 = 0 ;
7223 PyObject * obj2 = 0 ;
7224
7225 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
7227 SWIG_POINTER_EXCEPTION | 0)) == -1)
7228 SWIG_fail;
7229 if (arg1 == NULL) {
7230 PyErr_SetString(PyExc_TypeError,"null reference");
7231 SWIG_fail;
7232 }
7233 arg2 = (int)SWIG_As_int(obj1);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 if (obj2) {
7236 arg3 = (bool)SWIG_As_bool(obj2);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 {
7240 if (!wxPyCheckForApp()) SWIG_fail;
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
7255 int argc;
7256 PyObject *argv[4];
7257 int ii;
7258
7259 argc = PyObject_Length(args);
7260 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
7261 argv[ii] = PyTuple_GetItem(args,ii);
7262 }
7263 if (argc == 1) {
7264 int _v;
7265 {
7266 void *ptr;
7267 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7268 _v = 0;
7269 PyErr_Clear();
7270 } else {
7271 _v = 1;
7272 }
7273 }
7274 if (_v) {
7275 return _wrap_new_TimerRunner__SWIG_0(self,args);
7276 }
7277 }
7278 if ((argc >= 2) && (argc <= 3)) {
7279 int _v;
7280 {
7281 void *ptr;
7282 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
7283 _v = 0;
7284 PyErr_Clear();
7285 } else {
7286 _v = 1;
7287 }
7288 }
7289 if (_v) {
7290 _v = SWIG_Check_int(argv[1]);
7291 if (_v) {
7292 if (argc <= 2) {
7293 return _wrap_new_TimerRunner__SWIG_1(self,args);
7294 }
7295 _v = SWIG_Check_bool(argv[2]);
7296 if (_v) {
7297 return _wrap_new_TimerRunner__SWIG_1(self,args);
7298 }
7299 }
7300 }
7301 }
7302
7303 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
7304 return NULL;
7305 }
7306
7307
7308 static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
7309 PyObject *resultobj;
7310 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7311 PyObject * obj0 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
7317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 delete arg1;
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
7336 int arg2 ;
7337 bool arg3 = (bool) false ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340 PyObject * obj2 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
7347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7348 arg2 = (int)SWIG_As_int(obj1);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 if (obj2) {
7351 arg3 = (bool)SWIG_As_bool(obj2);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 (arg1)->Start(arg2,arg3);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 Py_INCREF(Py_None); resultobj = Py_None;
7362 return resultobj;
7363 fail:
7364 return NULL;
7365 }
7366
7367
7368 static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
7369 PyObject *obj;
7370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7371 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
7372 Py_INCREF(obj);
7373 return Py_BuildValue((char *)"");
7374 }
7375 static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxLog *result;
7378 char *kwnames[] = {
7379 NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 result = (wxLog *)new wxLog();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
7391 return resultobj;
7392 fail:
7393 return NULL;
7394 }
7395
7396
7397 static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 bool result;
7400 char *kwnames[] = {
7401 NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (bool)wxLog::IsEnabled();
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 {
7413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7414 }
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 bool arg1 = (bool) true ;
7424 bool result;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "doIt", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
7431 if (obj0) {
7432 arg1 = (bool)SWIG_As_bool(obj0);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 result = (bool)wxLog::EnableLogging(arg1);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 {
7443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7444 }
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxLogLevel arg1 ;
7454 wxChar *arg2 = (wxChar *) 0 ;
7455 time_t arg3 ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 char *kwnames[] = {
7460 (char *) "level",(char *) "szString",(char *) "t", NULL
7461 };
7462
7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
7464 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7468 arg3 = (time_t)SWIG_As_unsigned_SS_int(obj2);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 Py_INCREF(Py_None); resultobj = Py_None;
7478 return resultobj;
7479 fail:
7480 return NULL;
7481 }
7482
7483
7484 static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxLog *arg1 = (wxLog *) 0 ;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->Flush();
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 char *kwnames[] = {
7512 NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 wxLog::FlushActive();
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) SWIG_fail;
7522 }
7523 Py_INCREF(Py_None); resultobj = Py_None;
7524 return resultobj;
7525 fail:
7526 return NULL;
7527 }
7528
7529
7530 static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7531 PyObject *resultobj;
7532 wxLog *result;
7533 char *kwnames[] = {
7534 NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (wxLog *)wxLog::GetActiveTarget();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxLog *arg1 = (wxLog *) 0 ;
7555 wxLog *result;
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "pLogger", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7572 return resultobj;
7573 fail:
7574 return NULL;
7575 }
7576
7577
7578 static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 char *kwnames[] = {
7581 NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 wxLog::Suspend();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 Py_INCREF(Py_None); resultobj = Py_None;
7593 return resultobj;
7594 fail:
7595 return NULL;
7596 }
7597
7598
7599 static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 char *kwnames[] = {
7602 NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
7608 wxLog::Resume();
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
7613 Py_INCREF(Py_None); resultobj = Py_None;
7614 return resultobj;
7615 fail:
7616 return NULL;
7617 }
7618
7619
7620 static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj;
7622 bool arg1 = (bool) true ;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "bVerbose", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7629 if (obj0) {
7630 arg1 = (bool)SWIG_As_bool(obj0);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 wxLog::SetVerbose(arg1);
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 Py_INCREF(Py_None); resultobj = Py_None;
7641 return resultobj;
7642 fail:
7643 return NULL;
7644 }
7645
7646
7647 static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxLogLevel arg1 ;
7650 PyObject * obj0 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "logLevel", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7656 arg1 = (wxLogLevel)SWIG_As_unsigned_SS_long(obj0);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 wxLog::SetLogLevel(arg1);
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 Py_INCREF(Py_None); resultobj = Py_None;
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 char *kwnames[] = {
7675 NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 wxLog::DontCreateOnDemand();
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxTraceMask arg1 ;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "ulMask", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7702 arg1 = (wxTraceMask)SWIG_As_unsigned_SS_long(obj0);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 wxLog::SetTraceMask(arg1);
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 Py_INCREF(Py_None); resultobj = Py_None;
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxString *arg1 = 0 ;
7721 bool temp1 = false ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "str", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7728 {
7729 arg1 = wxString_in_helper(obj0);
7730 if (arg1 == NULL) SWIG_fail;
7731 temp1 = true;
7732 }
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 wxLog::AddTraceMask((wxString const &)*arg1);
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 Py_INCREF(Py_None); resultobj = Py_None;
7741 {
7742 if (temp1)
7743 delete arg1;
7744 }
7745 return resultobj;
7746 fail:
7747 {
7748 if (temp1)
7749 delete arg1;
7750 }
7751 return NULL;
7752 }
7753
7754
7755 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 wxString *arg1 = 0 ;
7758 bool temp1 = false ;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "str", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7765 {
7766 arg1 = wxString_in_helper(obj0);
7767 if (arg1 == NULL) SWIG_fail;
7768 temp1 = true;
7769 }
7770 {
7771 PyThreadState* __tstate = wxPyBeginAllowThreads();
7772 wxLog::RemoveTraceMask((wxString const &)*arg1);
7773
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 Py_INCREF(Py_None); resultobj = Py_None;
7778 {
7779 if (temp1)
7780 delete arg1;
7781 }
7782 return resultobj;
7783 fail:
7784 {
7785 if (temp1)
7786 delete arg1;
7787 }
7788 return NULL;
7789 }
7790
7791
7792 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7793 PyObject *resultobj;
7794 char *kwnames[] = {
7795 NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 wxLog::ClearTraceMasks();
7802
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 Py_INCREF(Py_None); resultobj = Py_None;
7807 return resultobj;
7808 fail:
7809 return NULL;
7810 }
7811
7812
7813 static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj;
7815 wxArrayString *result;
7816 char *kwnames[] = {
7817 NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 {
7824 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7825 result = (wxArrayString *) &_result_ref;
7826 }
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 {
7832 resultobj = wxArrayString2PyList_helper(*result);
7833 }
7834 return resultobj;
7835 fail:
7836 return NULL;
7837 }
7838
7839
7840 static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7841 PyObject *resultobj;
7842 wxChar *arg1 = (wxChar *) 0 ;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "ts", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 wxLog::SetTimestamp((wxChar const *)arg1);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 Py_INCREF(Py_None); resultobj = Py_None;
7859 return resultobj;
7860 fail:
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 bool result;
7868 char *kwnames[] = {
7869 NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (bool)wxLog::GetVerbose();
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
7880 {
7881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7882 }
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxTraceMask result;
7892 char *kwnames[] = {
7893 NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (wxTraceMask)wxLog::GetTraceMask();
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
7905 return resultobj;
7906 fail:
7907 return NULL;
7908 }
7909
7910
7911 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxChar *arg1 = (wxChar *) 0 ;
7914 bool result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "mask", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7932 }
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxLogLevel result;
7942 char *kwnames[] = {
7943 NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (wxLogLevel)wxLog::GetLogLevel();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 wxChar *result;
7964 char *kwnames[] = {
7965 NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (wxChar *)wxLog::GetTimestamp();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxString result;
7986 char *kwnames[] = {
7987 NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = Log_TimeStamp();
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 {
7999 #if wxUSE_UNICODE
8000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8001 #else
8002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8003 #endif
8004 }
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxLog *arg1 = (wxLog *) 0 ;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 wxLog_Destroy(arg1);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject * Log_swigregister(PyObject *, PyObject *args) {
8037 PyObject *obj;
8038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8039 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
8040 Py_INCREF(obj);
8041 return Py_BuildValue((char *)"");
8042 }
8043 static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
8044 PyObject *resultobj;
8045 wxLogStderr *result;
8046 char *kwnames[] = {
8047 NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (wxLogStderr *)new wxLogStderr();
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
8059 return resultobj;
8060 fail:
8061 return NULL;
8062 }
8063
8064
8065 static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
8066 PyObject *obj;
8067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8068 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
8069 Py_INCREF(obj);
8070 return Py_BuildValue((char *)"");
8071 }
8072 static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8075 wxLogTextCtrl *result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "pTextCtrl", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
8087
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
8092 return resultobj;
8093 fail:
8094 return NULL;
8095 }
8096
8097
8098 static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
8099 PyObject *obj;
8100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8101 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
8102 Py_INCREF(obj);
8103 return Py_BuildValue((char *)"");
8104 }
8105 static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxLogGui *result;
8108 char *kwnames[] = {
8109 NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
8113 {
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 result = (wxLogGui *)new wxLogGui();
8116
8117 wxPyEndAllowThreads(__tstate);
8118 if (PyErr_Occurred()) SWIG_fail;
8119 }
8120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
8121 return resultobj;
8122 fail:
8123 return NULL;
8124 }
8125
8126
8127 static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
8128 PyObject *obj;
8129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8130 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
8131 Py_INCREF(obj);
8132 return Py_BuildValue((char *)"");
8133 }
8134 static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8135 PyObject *resultobj;
8136 wxFrame *arg1 = (wxFrame *) 0 ;
8137 wxString *arg2 = 0 ;
8138 bool arg3 = (bool) true ;
8139 bool arg4 = (bool) true ;
8140 wxLogWindow *result;
8141 bool temp2 = false ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 PyObject * obj2 = 0 ;
8145 PyObject * obj3 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8153 {
8154 arg2 = wxString_in_helper(obj1);
8155 if (arg2 == NULL) SWIG_fail;
8156 temp2 = true;
8157 }
8158 if (obj2) {
8159 arg3 = (bool)SWIG_As_bool(obj2);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 if (obj3) {
8163 arg4 = (bool)SWIG_As_bool(obj3);
8164 if (PyErr_Occurred()) SWIG_fail;
8165 }
8166 {
8167 PyThreadState* __tstate = wxPyBeginAllowThreads();
8168 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8169
8170 wxPyEndAllowThreads(__tstate);
8171 if (PyErr_Occurred()) SWIG_fail;
8172 }
8173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
8174 {
8175 if (temp2)
8176 delete arg2;
8177 }
8178 return resultobj;
8179 fail:
8180 {
8181 if (temp2)
8182 delete arg2;
8183 }
8184 return NULL;
8185 }
8186
8187
8188 static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
8189 PyObject *resultobj;
8190 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8191 bool arg2 = (bool) true ;
8192 PyObject * obj0 = 0 ;
8193 PyObject * obj1 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "bShow", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
8199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8201 if (obj1) {
8202 arg2 = (bool)SWIG_As_bool(obj1);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 {
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 (arg1)->Show(arg2);
8208
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 Py_INCREF(Py_None); resultobj = Py_None;
8213 return resultobj;
8214 fail:
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj;
8221 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8222 wxFrame *result;
8223 PyObject * obj0 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "self", NULL
8226 };
8227
8228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
8229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 {
8239 resultobj = wxPyMake_wxObject(result, 0);
8240 }
8241 return resultobj;
8242 fail:
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8250 wxLog *result;
8251 PyObject * obj0 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8276 bool result;
8277 PyObject * obj0 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "self", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
8283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 {
8293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8294 }
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
8304 bool arg2 ;
8305 PyObject * obj0 = 0 ;
8306 PyObject * obj1 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "bDoPass", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
8313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8314 arg2 = (bool)SWIG_As_bool(obj1);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 (arg1)->PassMessages(arg2);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 Py_INCREF(Py_None); resultobj = Py_None;
8324 return resultobj;
8325 fail:
8326 return NULL;
8327 }
8328
8329
8330 static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
8331 PyObject *obj;
8332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
8334 Py_INCREF(obj);
8335 return Py_BuildValue((char *)"");
8336 }
8337 static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxLog *arg1 = (wxLog *) 0 ;
8340 wxLogChain *result;
8341 PyObject * obj0 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "logger", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
8348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (wxLogChain *)new wxLogChain(arg1);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxLogChain *arg1 = (wxLogChain *) 0 ;
8366 wxLog *arg2 = (wxLog *) 0 ;
8367 PyObject * obj0 = 0 ;
8368 PyObject * obj1 = 0 ;
8369 char *kwnames[] = {
8370 (char *) "self",(char *) "logger", NULL
8371 };
8372
8373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
8374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
8377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 (arg1)->SetLog(arg2);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 Py_INCREF(Py_None); resultobj = Py_None;
8386 return resultobj;
8387 fail:
8388 return NULL;
8389 }
8390
8391
8392 static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8393 PyObject *resultobj;
8394 wxLogChain *arg1 = (wxLogChain *) 0 ;
8395 bool arg2 ;
8396 PyObject * obj0 = 0 ;
8397 PyObject * obj1 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self",(char *) "bDoPass", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 arg2 = (bool)SWIG_As_bool(obj1);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 (arg1)->PassMessages(arg2);
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 Py_INCREF(Py_None); resultobj = Py_None;
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxLogChain *arg1 = (wxLogChain *) 0 ;
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (bool)(arg1)->IsPassingMessages();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 {
8441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8442 }
8443 return resultobj;
8444 fail:
8445 return NULL;
8446 }
8447
8448
8449 static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj;
8451 wxLogChain *arg1 = (wxLogChain *) 0 ;
8452 wxLog *result;
8453 PyObject * obj0 = 0 ;
8454 char *kwnames[] = {
8455 (char *) "self", NULL
8456 };
8457
8458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
8459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
8460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8461 {
8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
8463 result = (wxLog *)(arg1)->GetOldLog();
8464
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
8476 PyObject *obj;
8477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8478 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
8479 Py_INCREF(obj);
8480 return Py_BuildValue((char *)"");
8481 }
8482 static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 unsigned long result;
8485 char *kwnames[] = {
8486 NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (unsigned long)wxSysErrorCode();
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
8498 return resultobj;
8499 fail:
8500 return NULL;
8501 }
8502
8503
8504 static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
8505 PyObject *resultobj;
8506 unsigned long arg1 = (unsigned long) 0 ;
8507 wxString result;
8508 PyObject * obj0 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "nErrCode", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
8514 if (obj0) {
8515 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = wxSysErrorMsg(arg1);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 {
8526 #if wxUSE_UNICODE
8527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8528 #else
8529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8530 #endif
8531 }
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxString *arg1 = 0 ;
8541 bool temp1 = false ;
8542 PyObject * obj0 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "msg", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8548 {
8549 arg1 = wxString_in_helper(obj0);
8550 if (arg1 == NULL) SWIG_fail;
8551 temp1 = true;
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 wxLogFatalError((wxString const &)*arg1);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 {
8562 if (temp1)
8563 delete arg1;
8564 }
8565 return resultobj;
8566 fail:
8567 {
8568 if (temp1)
8569 delete arg1;
8570 }
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxString *arg1 = 0 ;
8578 bool temp1 = false ;
8579 PyObject * obj0 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "msg", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8585 {
8586 arg1 = wxString_in_helper(obj0);
8587 if (arg1 == NULL) SWIG_fail;
8588 temp1 = true;
8589 }
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 wxLogError((wxString const &)*arg1);
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 Py_INCREF(Py_None); resultobj = Py_None;
8598 {
8599 if (temp1)
8600 delete arg1;
8601 }
8602 return resultobj;
8603 fail:
8604 {
8605 if (temp1)
8606 delete arg1;
8607 }
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxString *arg1 = 0 ;
8615 bool temp1 = false ;
8616 PyObject * obj0 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "msg", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8622 {
8623 arg1 = wxString_in_helper(obj0);
8624 if (arg1 == NULL) SWIG_fail;
8625 temp1 = true;
8626 }
8627 {
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 wxLogWarning((wxString const &)*arg1);
8630
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 Py_INCREF(Py_None); resultobj = Py_None;
8635 {
8636 if (temp1)
8637 delete arg1;
8638 }
8639 return resultobj;
8640 fail:
8641 {
8642 if (temp1)
8643 delete arg1;
8644 }
8645 return NULL;
8646 }
8647
8648
8649 static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8650 PyObject *resultobj;
8651 wxString *arg1 = 0 ;
8652 bool temp1 = false ;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "msg", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8659 {
8660 arg1 = wxString_in_helper(obj0);
8661 if (arg1 == NULL) SWIG_fail;
8662 temp1 = true;
8663 }
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 wxLogMessage((wxString const &)*arg1);
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 Py_INCREF(Py_None); resultobj = Py_None;
8672 {
8673 if (temp1)
8674 delete arg1;
8675 }
8676 return resultobj;
8677 fail:
8678 {
8679 if (temp1)
8680 delete arg1;
8681 }
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxString *arg1 = 0 ;
8689 bool temp1 = false ;
8690 PyObject * obj0 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "msg", NULL
8693 };
8694
8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8696 {
8697 arg1 = wxString_in_helper(obj0);
8698 if (arg1 == NULL) SWIG_fail;
8699 temp1 = true;
8700 }
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 wxLogInfo((wxString const &)*arg1);
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 Py_INCREF(Py_None); resultobj = Py_None;
8709 {
8710 if (temp1)
8711 delete arg1;
8712 }
8713 return resultobj;
8714 fail:
8715 {
8716 if (temp1)
8717 delete arg1;
8718 }
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxString *arg1 = 0 ;
8726 bool temp1 = false ;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "msg", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8733 {
8734 arg1 = wxString_in_helper(obj0);
8735 if (arg1 == NULL) SWIG_fail;
8736 temp1 = true;
8737 }
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 wxLogDebug((wxString const &)*arg1);
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 {
8747 if (temp1)
8748 delete arg1;
8749 }
8750 return resultobj;
8751 fail:
8752 {
8753 if (temp1)
8754 delete arg1;
8755 }
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxString *arg1 = 0 ;
8763 bool temp1 = false ;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "msg", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8770 {
8771 arg1 = wxString_in_helper(obj0);
8772 if (arg1 == NULL) SWIG_fail;
8773 temp1 = true;
8774 }
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 wxLogVerbose((wxString const &)*arg1);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 {
8784 if (temp1)
8785 delete arg1;
8786 }
8787 return resultobj;
8788 fail:
8789 {
8790 if (temp1)
8791 delete arg1;
8792 }
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxString *arg1 = 0 ;
8800 bool temp1 = false ;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "msg", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8807 {
8808 arg1 = wxString_in_helper(obj0);
8809 if (arg1 == NULL) SWIG_fail;
8810 temp1 = true;
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 wxLogStatus((wxString const &)*arg1);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 {
8821 if (temp1)
8822 delete arg1;
8823 }
8824 return resultobj;
8825 fail:
8826 {
8827 if (temp1)
8828 delete arg1;
8829 }
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxFrame *arg1 = (wxFrame *) 0 ;
8837 wxString *arg2 = 0 ;
8838 bool temp2 = false ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "pFrame",(char *) "msg", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8848 {
8849 arg2 = wxString_in_helper(obj1);
8850 if (arg2 == NULL) SWIG_fail;
8851 temp2 = true;
8852 }
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 wxLogStatus(arg1,(wxString const &)*arg2);
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 Py_INCREF(Py_None); resultobj = Py_None;
8861 {
8862 if (temp2)
8863 delete arg2;
8864 }
8865 return resultobj;
8866 fail:
8867 {
8868 if (temp2)
8869 delete arg2;
8870 }
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxString *arg1 = 0 ;
8878 bool temp1 = false ;
8879 PyObject * obj0 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "msg", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8885 {
8886 arg1 = wxString_in_helper(obj0);
8887 if (arg1 == NULL) SWIG_fail;
8888 temp1 = true;
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 wxLogSysError((wxString const &)*arg1);
8893
8894 wxPyEndAllowThreads(__tstate);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 Py_INCREF(Py_None); resultobj = Py_None;
8898 {
8899 if (temp1)
8900 delete arg1;
8901 }
8902 return resultobj;
8903 fail:
8904 {
8905 if (temp1)
8906 delete arg1;
8907 }
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
8913 PyObject *resultobj;
8914 unsigned long arg1 ;
8915 wxString *arg2 = 0 ;
8916 bool temp2 = false ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919
8920 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8921 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 {
8924 arg2 = wxString_in_helper(obj1);
8925 if (arg2 == NULL) SWIG_fail;
8926 temp2 = true;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 wxLogTrace(arg1,(wxString const &)*arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 {
8937 if (temp2)
8938 delete arg2;
8939 }
8940 return resultobj;
8941 fail:
8942 {
8943 if (temp2)
8944 delete arg2;
8945 }
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
8951 PyObject *resultobj;
8952 wxString *arg1 = 0 ;
8953 wxString *arg2 = 0 ;
8954 bool temp1 = false ;
8955 bool temp2 = false ;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958
8959 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8960 {
8961 arg1 = wxString_in_helper(obj0);
8962 if (arg1 == NULL) SWIG_fail;
8963 temp1 = true;
8964 }
8965 {
8966 arg2 = wxString_in_helper(obj1);
8967 if (arg2 == NULL) SWIG_fail;
8968 temp2 = true;
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 Py_INCREF(Py_None); resultobj = Py_None;
8978 {
8979 if (temp1)
8980 delete arg1;
8981 }
8982 {
8983 if (temp2)
8984 delete arg2;
8985 }
8986 return resultobj;
8987 fail:
8988 {
8989 if (temp1)
8990 delete arg1;
8991 }
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
9001 int argc;
9002 PyObject *argv[3];
9003 int ii;
9004
9005 argc = PyObject_Length(args);
9006 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
9007 argv[ii] = PyTuple_GetItem(args,ii);
9008 }
9009 if (argc == 2) {
9010 int _v;
9011 {
9012 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
9013 }
9014 if (_v) {
9015 {
9016 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9017 }
9018 if (_v) {
9019 return _wrap_LogTrace__SWIG_1(self,args);
9020 }
9021 }
9022 }
9023 if (argc == 2) {
9024 int _v;
9025 _v = SWIG_Check_unsigned_SS_long(argv[0]);
9026 if (_v) {
9027 {
9028 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
9029 }
9030 if (_v) {
9031 return _wrap_LogTrace__SWIG_0(self,args);
9032 }
9033 }
9034 }
9035
9036 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 unsigned long arg1 ;
9044 wxString *arg2 = 0 ;
9045 bool temp2 = false ;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "level",(char *) "msg", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
9053 arg1 = (unsigned long)SWIG_As_unsigned_SS_long(obj0);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 {
9056 arg2 = wxString_in_helper(obj1);
9057 if (arg2 == NULL) SWIG_fail;
9058 temp2 = true;
9059 }
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 wxLogGeneric(arg1,(wxString const &)*arg2);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
9068 {
9069 if (temp2)
9070 delete arg2;
9071 }
9072 return resultobj;
9073 fail:
9074 {
9075 if (temp2)
9076 delete arg2;
9077 }
9078 return NULL;
9079 }
9080
9081
9082 static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
9083 PyObject *resultobj;
9084 wxString *arg1 = 0 ;
9085 wxString *arg2 = 0 ;
9086 bool temp1 = false ;
9087 bool temp2 = false ;
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "title",(char *) "text", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
9095 {
9096 arg1 = wxString_in_helper(obj0);
9097 if (arg1 == NULL) SWIG_fail;
9098 temp1 = true;
9099 }
9100 {
9101 arg2 = wxString_in_helper(obj1);
9102 if (arg2 == NULL) SWIG_fail;
9103 temp2 = true;
9104 }
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 Py_INCREF(Py_None); resultobj = Py_None;
9113 {
9114 if (temp1)
9115 delete arg1;
9116 }
9117 {
9118 if (temp2)
9119 delete arg2;
9120 }
9121 return resultobj;
9122 fail:
9123 {
9124 if (temp1)
9125 delete arg1;
9126 }
9127 {
9128 if (temp2)
9129 delete arg2;
9130 }
9131 return NULL;
9132 }
9133
9134
9135 static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
9136 PyObject *resultobj;
9137 wxLogNull *result;
9138 char *kwnames[] = {
9139 NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (wxLogNull *)new wxLogNull();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
9151 return resultobj;
9152 fail:
9153 return NULL;
9154 }
9155
9156
9157 static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
9158 PyObject *resultobj;
9159 wxLogNull *arg1 = (wxLogNull *) 0 ;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 delete arg1;
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 Py_INCREF(Py_None); resultobj = Py_None;
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
9183 PyObject *obj;
9184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9185 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
9186 Py_INCREF(obj);
9187 return Py_BuildValue((char *)"");
9188 }
9189 static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj;
9191 wxPyLog *result;
9192 char *kwnames[] = {
9193 NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 result = (wxPyLog *)new wxPyLog();
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) SWIG_fail;
9203 }
9204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
9205 return resultobj;
9206 fail:
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxPyLog *arg1 = (wxPyLog *) 0 ;
9214 PyObject *arg2 = (PyObject *) 0 ;
9215 PyObject *arg3 = (PyObject *) 0 ;
9216 PyObject * obj0 = 0 ;
9217 PyObject * obj1 = 0 ;
9218 PyObject * obj2 = 0 ;
9219 char *kwnames[] = {
9220 (char *) "self",(char *) "self",(char *) "_class", NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
9225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9226 arg2 = obj1;
9227 arg3 = obj2;
9228 {
9229 PyThreadState* __tstate = wxPyBeginAllowThreads();
9230 (arg1)->_setCallbackInfo(arg2,arg3);
9231
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 Py_INCREF(Py_None); resultobj = Py_None;
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
9243 PyObject *obj;
9244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9245 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
9246 Py_INCREF(obj);
9247 return Py_BuildValue((char *)"");
9248 }
9249 static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 int arg1 ;
9252 int arg2 = (int) wxSIGTERM ;
9253 int result;
9254 PyObject * obj0 = 0 ;
9255 PyObject * obj1 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "pid",(char *) "sig", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
9261 arg1 = (int)SWIG_As_int(obj0);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 if (obj1) {
9264 arg2 = (int)SWIG_As_int(obj1);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 resultobj = SWIG_From_int((int)result);
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 int arg1 ;
9284 bool result;
9285 PyObject * obj0 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "pid", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
9291 arg1 = (int)SWIG_As_int(obj0);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (bool)wxPyProcess::Exists(arg1);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 return resultobj;
9304 fail:
9305 return NULL;
9306 }
9307
9308
9309 static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj;
9311 wxString *arg1 = 0 ;
9312 int arg2 = (int) wxEXEC_ASYNC ;
9313 wxPyProcess *result;
9314 bool temp1 = false ;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "cmd",(char *) "flags", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
9322 {
9323 arg1 = wxString_in_helper(obj0);
9324 if (arg1 == NULL) SWIG_fail;
9325 temp1 = true;
9326 }
9327 if (obj1) {
9328 arg2 = (int)SWIG_As_int(obj1);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
9338 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
9339 {
9340 if (temp1)
9341 delete arg1;
9342 }
9343 return resultobj;
9344 fail:
9345 {
9346 if (temp1)
9347 delete arg1;
9348 }
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9356 int arg2 = (int) -1 ;
9357 wxPyProcess *result;
9358 PyObject * obj0 = 0 ;
9359 PyObject * obj1 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "parent",(char *) "id", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
9365 if (obj0) {
9366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
9367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9368 }
9369 if (obj1) {
9370 arg2 = (int)SWIG_As_int(obj1);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
9381 return resultobj;
9382 fail:
9383 return NULL;
9384 }
9385
9386
9387 static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9390 PyObject *arg2 = (PyObject *) 0 ;
9391 PyObject *arg3 = (PyObject *) 0 ;
9392 PyObject * obj0 = 0 ;
9393 PyObject * obj1 = 0 ;
9394 PyObject * obj2 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self",(char *) "self",(char *) "_class", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9402 arg2 = obj1;
9403 arg3 = obj2;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->_setCallbackInfo(arg2,arg3);
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415 }
9416
9417
9418 static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9421 int arg2 ;
9422 int arg3 ;
9423 PyObject * obj0 = 0 ;
9424 PyObject * obj1 = 0 ;
9425 PyObject * obj2 = 0 ;
9426 char *kwnames[] = {
9427 (char *) "self",(char *) "pid",(char *) "status", NULL
9428 };
9429
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
9431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9433 arg2 = (int)SWIG_As_int(obj1);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 arg3 = (int)SWIG_As_int(obj2);
9436 if (PyErr_Occurred()) SWIG_fail;
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 (arg1)->base_OnTerminate(arg2,arg3);
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 Py_INCREF(Py_None); resultobj = Py_None;
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 (arg1)->Redirect();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 Py_INCREF(Py_None); resultobj = Py_None;
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9479 bool result;
9480 PyObject * obj0 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 result = (bool)(arg1)->IsRedirected();
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 {
9496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9497 }
9498 return resultobj;
9499 fail:
9500 return NULL;
9501 }
9502
9503
9504 static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9507 PyObject * obj0 = 0 ;
9508 char *kwnames[] = {
9509 (char *) "self", NULL
9510 };
9511
9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
9513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->Detach();
9518
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) SWIG_fail;
9521 }
9522 Py_INCREF(Py_None); resultobj = Py_None;
9523 return resultobj;
9524 fail:
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9532 wxInputStream *result;
9533 PyObject * obj0 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 result = (wxInputStream *)(arg1)->GetInputStream();
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 {
9549 wxPyInputStream * _ptr = NULL;
9550
9551 if (result) {
9552 _ptr = new wxPyInputStream(result);
9553 }
9554 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
9555 }
9556 return resultobj;
9557 fail:
9558 return NULL;
9559 }
9560
9561
9562 static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
9563 PyObject *resultobj;
9564 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9565 wxInputStream *result;
9566 PyObject * obj0 = 0 ;
9567 char *kwnames[] = {
9568 (char *) "self", NULL
9569 };
9570
9571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (wxInputStream *)(arg1)->GetErrorStream();
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
9581 {
9582 wxPyInputStream * _ptr = NULL;
9583
9584 if (result) {
9585 _ptr = new wxPyInputStream(result);
9586 }
9587 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
9588 }
9589 return resultobj;
9590 fail:
9591 return NULL;
9592 }
9593
9594
9595 static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9598 wxOutputStream *result;
9599 PyObject * obj0 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 {
9608 PyThreadState* __tstate = wxPyBeginAllowThreads();
9609 result = (wxOutputStream *)(arg1)->GetOutputStream();
9610
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9615 return resultobj;
9616 fail:
9617 return NULL;
9618 }
9619
9620
9621 static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj;
9623 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 (arg1)->CloseOutput();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 Py_INCREF(Py_None); resultobj = Py_None;
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9649 bool result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9667 }
9668 return resultobj;
9669 fail:
9670 return NULL;
9671 }
9672
9673
9674 static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj;
9676 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9677 bool result;
9678 PyObject * obj0 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9686 {
9687 PyThreadState* __tstate = wxPyBeginAllowThreads();
9688 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9689
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9695 }
9696 return resultobj;
9697 fail:
9698 return NULL;
9699 }
9700
9701
9702 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9705 bool result;
9706 PyObject * obj0 = 0 ;
9707 char *kwnames[] = {
9708 (char *) "self", NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 {
9722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9723 }
9724 return resultobj;
9725 fail:
9726 return NULL;
9727 }
9728
9729
9730 static PyObject * Process_swigregister(PyObject *, PyObject *args) {
9731 PyObject *obj;
9732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9733 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9734 Py_INCREF(obj);
9735 return Py_BuildValue((char *)"");
9736 }
9737 static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 int arg1 = (int) 0 ;
9740 int arg2 = (int) 0 ;
9741 int arg3 = (int) 0 ;
9742 wxProcessEvent *result;
9743 PyObject * obj0 = 0 ;
9744 PyObject * obj1 = 0 ;
9745 PyObject * obj2 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9751 if (obj0) {
9752 arg1 = (int)SWIG_As_int(obj0);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 if (obj1) {
9756 arg2 = (int)SWIG_As_int(obj1);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 if (obj2) {
9760 arg3 = (int)SWIG_As_int(obj2);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9780 int result;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (int)(arg1)->GetPid();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_From_int((int)result);
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9806 int result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 result = (int)(arg1)->GetExitCode();
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 resultobj = SWIG_From_int((int)result);
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9832 int arg2 ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "m_pid", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9842 arg2 = (int)SWIG_As_int(obj1);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 if (arg1) (arg1)->m_pid = arg2;
9845
9846 Py_INCREF(Py_None); resultobj = Py_None;
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9856 int result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9865 result = (int) ((arg1)->m_pid);
9866
9867 resultobj = SWIG_From_int((int)result);
9868 return resultobj;
9869 fail:
9870 return NULL;
9871 }
9872
9873
9874 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9877 int arg2 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 char *kwnames[] = {
9881 (char *) "self",(char *) "m_exitcode", NULL
9882 };
9883
9884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9887 arg2 = (int)SWIG_As_int(obj1);
9888 if (PyErr_Occurred()) SWIG_fail;
9889 if (arg1) (arg1)->m_exitcode = arg2;
9890
9891 Py_INCREF(Py_None); resultobj = Py_None;
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj;
9900 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9901 int result;
9902 PyObject * obj0 = 0 ;
9903 char *kwnames[] = {
9904 (char *) "self", NULL
9905 };
9906
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9910 result = (int) ((arg1)->m_exitcode);
9911
9912 resultobj = SWIG_From_int((int)result);
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
9920 PyObject *obj;
9921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9922 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9923 Py_INCREF(obj);
9924 return Py_BuildValue((char *)"");
9925 }
9926 static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj;
9928 wxString *arg1 = 0 ;
9929 int arg2 = (int) wxEXEC_ASYNC ;
9930 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9931 long result;
9932 bool temp1 = false ;
9933 PyObject * obj0 = 0 ;
9934 PyObject * obj1 = 0 ;
9935 PyObject * obj2 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "command",(char *) "flags",(char *) "process", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9941 {
9942 arg1 = wxString_in_helper(obj0);
9943 if (arg1 == NULL) SWIG_fail;
9944 temp1 = true;
9945 }
9946 if (obj1) {
9947 arg2 = (int)SWIG_As_int(obj1);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 if (obj2) {
9951 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9953 }
9954 {
9955 if (!wxPyCheckForApp()) SWIG_fail;
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 resultobj = SWIG_From_long((long)result);
9963 {
9964 if (temp1)
9965 delete arg1;
9966 }
9967 return resultobj;
9968 fail:
9969 {
9970 if (temp1)
9971 delete arg1;
9972 }
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 int arg1 = (int) wxJOYSTICK1 ;
9980 wxJoystick *result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "joystick", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9987 if (obj0) {
9988 arg1 = (int)SWIG_As_int(obj0);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
9991 {
9992 if (!wxPyCheckForApp()) SWIG_fail;
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (wxJoystick *)new wxJoystick(arg1);
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxJoystick *arg1 = (wxJoystick *) 0 ;
10009 PyObject * obj0 = 0 ;
10010 char *kwnames[] = {
10011 (char *) "self", NULL
10012 };
10013
10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
10015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 delete arg1;
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 Py_INCREF(Py_None); resultobj = Py_None;
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj;
10033 wxJoystick *arg1 = (wxJoystick *) 0 ;
10034 wxPoint result;
10035 PyObject * obj0 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "self", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 result = (arg1)->GetPosition();
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 {
10051 wxPoint * resultptr;
10052 resultptr = new wxPoint((wxPoint &) result);
10053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10054 }
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj;
10063 wxJoystick *arg1 = (wxJoystick *) 0 ;
10064 int result;
10065 PyObject * obj0 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "self", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
10071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 result = (int)(arg1)->GetZPosition();
10076
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 resultobj = SWIG_From_int((int)result);
10081 return resultobj;
10082 fail:
10083 return NULL;
10084 }
10085
10086
10087 static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
10088 PyObject *resultobj;
10089 wxJoystick *arg1 = (wxJoystick *) 0 ;
10090 int result;
10091 PyObject * obj0 = 0 ;
10092 char *kwnames[] = {
10093 (char *) "self", NULL
10094 };
10095
10096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
10097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (int)(arg1)->GetButtonState();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_From_int((int)result);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxJoystick *arg1 = (wxJoystick *) 0 ;
10116 int result;
10117 PyObject * obj0 = 0 ;
10118 char *kwnames[] = {
10119 (char *) "self", NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
10123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 result = (int)(arg1)->GetPOVPosition();
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 resultobj = SWIG_From_int((int)result);
10133 return resultobj;
10134 fail:
10135 return NULL;
10136 }
10137
10138
10139 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10140 PyObject *resultobj;
10141 wxJoystick *arg1 = (wxJoystick *) 0 ;
10142 int result;
10143 PyObject * obj0 = 0 ;
10144 char *kwnames[] = {
10145 (char *) "self", NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
10149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 result = (int)(arg1)->GetPOVCTSPosition();
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = SWIG_From_int((int)result);
10159 return resultobj;
10160 fail:
10161 return NULL;
10162 }
10163
10164
10165 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxJoystick *arg1 = (wxJoystick *) 0 ;
10168 int result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (int)(arg1)->GetRudderPosition();
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = SWIG_From_int((int)result);
10185 return resultobj;
10186 fail:
10187 return NULL;
10188 }
10189
10190
10191 static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxJoystick *arg1 = (wxJoystick *) 0 ;
10194 int result;
10195 PyObject * obj0 = 0 ;
10196 char *kwnames[] = {
10197 (char *) "self", NULL
10198 };
10199
10200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
10201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (int)(arg1)->GetUPosition();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 resultobj = SWIG_From_int((int)result);
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxJoystick *arg1 = (wxJoystick *) 0 ;
10220 int result;
10221 PyObject * obj0 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 result = (int)(arg1)->GetVPosition();
10232
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 resultobj = SWIG_From_int((int)result);
10237 return resultobj;
10238 fail:
10239 return NULL;
10240 }
10241
10242
10243 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxJoystick *arg1 = (wxJoystick *) 0 ;
10246 int result;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
10253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 result = (int)(arg1)->GetMovementThreshold();
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 resultobj = SWIG_From_int((int)result);
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxJoystick *arg1 = (wxJoystick *) 0 ;
10272 int arg2 ;
10273 PyObject * obj0 = 0 ;
10274 PyObject * obj1 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "threshold", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 arg2 = (int)SWIG_As_int(obj1);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 (arg1)->SetMovementThreshold(arg2);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 Py_INCREF(Py_None); resultobj = Py_None;
10292 return resultobj;
10293 fail:
10294 return NULL;
10295 }
10296
10297
10298 static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
10299 PyObject *resultobj;
10300 wxJoystick *arg1 = (wxJoystick *) 0 ;
10301 bool result;
10302 PyObject * obj0 = 0 ;
10303 char *kwnames[] = {
10304 (char *) "self", NULL
10305 };
10306
10307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
10308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (bool)(arg1)->IsOk();
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 {
10318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10319 }
10320 return resultobj;
10321 fail:
10322 return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxJoystick *arg1 = (wxJoystick *) 0 ;
10329 int result;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (int)(arg1)->GetNumberJoysticks();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_From_int((int)result);
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxJoystick *arg1 = (wxJoystick *) 0 ;
10355 int result;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (int)(arg1)->GetManufacturerId();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_From_int((int)result);
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj;
10380 wxJoystick *arg1 = (wxJoystick *) 0 ;
10381 int result;
10382 PyObject * obj0 = 0 ;
10383 char *kwnames[] = {
10384 (char *) "self", NULL
10385 };
10386
10387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
10388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (int)(arg1)->GetProductId();
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = SWIG_From_int((int)result);
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxJoystick *arg1 = (wxJoystick *) 0 ;
10407 wxString result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 result = (arg1)->GetProductName();
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 {
10424 #if wxUSE_UNICODE
10425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10426 #else
10427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10428 #endif
10429 }
10430 return resultobj;
10431 fail:
10432 return NULL;
10433 }
10434
10435
10436 static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
10437 PyObject *resultobj;
10438 wxJoystick *arg1 = (wxJoystick *) 0 ;
10439 int result;
10440 PyObject * obj0 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
10446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (int)(arg1)->GetXMin();
10451
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_From_int((int)result);
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj;
10464 wxJoystick *arg1 = (wxJoystick *) 0 ;
10465 int result;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
10472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (int)(arg1)->GetYMin();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 resultobj = SWIG_From_int((int)result);
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxJoystick *arg1 = (wxJoystick *) 0 ;
10491 int result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (int)(arg1)->GetZMin();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = SWIG_From_int((int)result);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511 }
10512
10513
10514 static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxJoystick *arg1 = (wxJoystick *) 0 ;
10517 int result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = (int)(arg1)->GetXMax();
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_From_int((int)result);
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj;
10542 wxJoystick *arg1 = (wxJoystick *) 0 ;
10543 int result;
10544 PyObject * obj0 = 0 ;
10545 char *kwnames[] = {
10546 (char *) "self", NULL
10547 };
10548
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (int)(arg1)->GetYMax();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 resultobj = SWIG_From_int((int)result);
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxJoystick *arg1 = (wxJoystick *) 0 ;
10569 int result;
10570 PyObject * obj0 = 0 ;
10571 char *kwnames[] = {
10572 (char *) "self", NULL
10573 };
10574
10575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 result = (int)(arg1)->GetZMax();
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_From_int((int)result);
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxJoystick *arg1 = (wxJoystick *) 0 ;
10595 int result;
10596 PyObject * obj0 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = (int)(arg1)->GetNumberButtons();
10607
10608 wxPyEndAllowThreads(__tstate);
10609 if (PyErr_Occurred()) SWIG_fail;
10610 }
10611 resultobj = SWIG_From_int((int)result);
10612 return resultobj;
10613 fail:
10614 return NULL;
10615 }
10616
10617
10618 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxJoystick *arg1 = (wxJoystick *) 0 ;
10621 int result;
10622 PyObject * obj0 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (int)(arg1)->GetNumberAxes();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 resultobj = SWIG_From_int((int)result);
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxJoystick *arg1 = (wxJoystick *) 0 ;
10647 int result;
10648 PyObject * obj0 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)(arg1)->GetMaxButtons();
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 resultobj = SWIG_From_int((int)result);
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxJoystick *arg1 = (wxJoystick *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 result = (int)(arg1)->GetMaxAxes();
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_From_int((int)result);
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 wxJoystick *arg1 = (wxJoystick *) 0 ;
10699 int result;
10700 PyObject * obj0 = 0 ;
10701 char *kwnames[] = {
10702 (char *) "self", NULL
10703 };
10704
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 result = (int)(arg1)->GetPollingMin();
10711
10712 wxPyEndAllowThreads(__tstate);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 resultobj = SWIG_From_int((int)result);
10716 return resultobj;
10717 fail:
10718 return NULL;
10719 }
10720
10721
10722 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxJoystick *arg1 = (wxJoystick *) 0 ;
10725 int result;
10726 PyObject * obj0 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "self", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (int)(arg1)->GetPollingMax();
10737
10738 wxPyEndAllowThreads(__tstate);
10739 if (PyErr_Occurred()) SWIG_fail;
10740 }
10741 resultobj = SWIG_From_int((int)result);
10742 return resultobj;
10743 fail:
10744 return NULL;
10745 }
10746
10747
10748 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
10749 PyObject *resultobj;
10750 wxJoystick *arg1 = (wxJoystick *) 0 ;
10751 int result;
10752 PyObject * obj0 = 0 ;
10753 char *kwnames[] = {
10754 (char *) "self", NULL
10755 };
10756
10757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (int)(arg1)->GetRudderMin();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 resultobj = SWIG_From_int((int)result);
10768 return resultobj;
10769 fail:
10770 return NULL;
10771 }
10772
10773
10774 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxJoystick *arg1 = (wxJoystick *) 0 ;
10777 int result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (int)(arg1)->GetRudderMax();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = SWIG_From_int((int)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxJoystick *arg1 = (wxJoystick *) 0 ;
10803 int result;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 result = (int)(arg1)->GetUMin();
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 resultobj = SWIG_From_int((int)result);
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxJoystick *arg1 = (wxJoystick *) 0 ;
10829 int result;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (int)(arg1)->GetUMax();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_From_int((int)result);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxJoystick *arg1 = (wxJoystick *) 0 ;
10855 int result;
10856 PyObject * obj0 = 0 ;
10857 char *kwnames[] = {
10858 (char *) "self", NULL
10859 };
10860
10861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10864 {
10865 PyThreadState* __tstate = wxPyBeginAllowThreads();
10866 result = (int)(arg1)->GetVMin();
10867
10868 wxPyEndAllowThreads(__tstate);
10869 if (PyErr_Occurred()) SWIG_fail;
10870 }
10871 resultobj = SWIG_From_int((int)result);
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxJoystick *arg1 = (wxJoystick *) 0 ;
10881 int result;
10882 PyObject * obj0 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (int)(arg1)->GetVMax();
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = SWIG_From_int((int)result);
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxJoystick *arg1 = (wxJoystick *) 0 ;
10907 bool result;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "self", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (bool)(arg1)->HasRudder();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 {
10924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10925 }
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxJoystick *arg1 = (wxJoystick *) 0 ;
10935 bool result;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 result = (bool)(arg1)->HasZ();
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 {
10952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10953 }
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxJoystick *arg1 = (wxJoystick *) 0 ;
10963 bool result;
10964 PyObject * obj0 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 result = (bool)(arg1)->HasU();
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 {
10980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10981 }
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxJoystick *arg1 = (wxJoystick *) 0 ;
10991 bool result;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (bool)(arg1)->HasV();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 {
11008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11009 }
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxJoystick *arg1 = (wxJoystick *) 0 ;
11019 bool result;
11020 PyObject * obj0 = 0 ;
11021 char *kwnames[] = {
11022 (char *) "self", NULL
11023 };
11024
11025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
11026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11028 {
11029 PyThreadState* __tstate = wxPyBeginAllowThreads();
11030 result = (bool)(arg1)->HasPOV();
11031
11032 wxPyEndAllowThreads(__tstate);
11033 if (PyErr_Occurred()) SWIG_fail;
11034 }
11035 {
11036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11037 }
11038 return resultobj;
11039 fail:
11040 return NULL;
11041 }
11042
11043
11044 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxJoystick *arg1 = (wxJoystick *) 0 ;
11047 bool result;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (bool)(arg1)->HasPOV4Dir();
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
11063 {
11064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11065 }
11066 return resultobj;
11067 fail:
11068 return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxJoystick *arg1 = (wxJoystick *) 0 ;
11075 bool result;
11076 PyObject * obj0 = 0 ;
11077 char *kwnames[] = {
11078 (char *) "self", NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
11082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 result = (bool)(arg1)->HasPOVCTS();
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 {
11092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11093 }
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxJoystick *arg1 = (wxJoystick *) 0 ;
11103 wxWindow *arg2 = (wxWindow *) 0 ;
11104 int arg3 = (int) 0 ;
11105 bool result;
11106 PyObject * obj0 = 0 ;
11107 PyObject * obj1 = 0 ;
11108 PyObject * obj2 = 0 ;
11109 char *kwnames[] = {
11110 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11111 };
11112
11113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
11114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11116 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11118 if (obj2) {
11119 arg3 = (int)SWIG_As_int(obj2);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (bool)(arg1)->SetCapture(arg2,arg3);
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxJoystick *arg1 = (wxJoystick *) 0 ;
11141 bool result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
11149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (bool)(arg1)->ReleaseCapture();
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 {
11158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11159 }
11160 return resultobj;
11161 fail:
11162 return NULL;
11163 }
11164
11165
11166 static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
11167 PyObject *obj;
11168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11169 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
11170 Py_INCREF(obj);
11171 return Py_BuildValue((char *)"");
11172 }
11173 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj;
11175 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11176 wxPoint *arg2 = (wxPoint *) 0 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "m_pos", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
11187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11188 if (arg1) (arg1)->m_pos = *arg2;
11189
11190 Py_INCREF(Py_None); resultobj = Py_None;
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11200 wxPoint *result;
11201 PyObject * obj0 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
11207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11209 result = (wxPoint *)& ((arg1)->m_pos);
11210
11211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11221 int arg2 ;
11222 PyObject * obj0 = 0 ;
11223 PyObject * obj1 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "m_zPosition", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
11229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11231 arg2 = (int)SWIG_As_int(obj1);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 if (arg1) (arg1)->m_zPosition = arg2;
11234
11235 Py_INCREF(Py_None); resultobj = Py_None;
11236 return resultobj;
11237 fail:
11238 return NULL;
11239 }
11240
11241
11242 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
11243 PyObject *resultobj;
11244 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11245 int result;
11246 PyObject * obj0 = 0 ;
11247 char *kwnames[] = {
11248 (char *) "self", NULL
11249 };
11250
11251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
11252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11254 result = (int) ((arg1)->m_zPosition);
11255
11256 resultobj = SWIG_From_int((int)result);
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11266 int arg2 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self",(char *) "m_buttonChange", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11276 arg2 = (int)SWIG_As_int(obj1);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 if (arg1) (arg1)->m_buttonChange = arg2;
11279
11280 Py_INCREF(Py_None); resultobj = Py_None;
11281 return resultobj;
11282 fail:
11283 return NULL;
11284 }
11285
11286
11287 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
11288 PyObject *resultobj;
11289 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11290 int result;
11291 PyObject * obj0 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
11297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11299 result = (int) ((arg1)->m_buttonChange);
11300
11301 resultobj = SWIG_From_int((int)result);
11302 return resultobj;
11303 fail:
11304 return NULL;
11305 }
11306
11307
11308 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11311 int arg2 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "m_buttonState", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
11319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11321 arg2 = (int)SWIG_As_int(obj1);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 if (arg1) (arg1)->m_buttonState = arg2;
11324
11325 Py_INCREF(Py_None); resultobj = Py_None;
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11335 int result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11344 result = (int) ((arg1)->m_buttonState);
11345
11346 resultobj = SWIG_From_int((int)result);
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj;
11355 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11356 int arg2 ;
11357 PyObject * obj0 = 0 ;
11358 PyObject * obj1 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "m_joyStick", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11366 arg2 = (int)SWIG_As_int(obj1);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 if (arg1) (arg1)->m_joyStick = arg2;
11369
11370 Py_INCREF(Py_None); resultobj = Py_None;
11371 return resultobj;
11372 fail:
11373 return NULL;
11374 }
11375
11376
11377 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
11378 PyObject *resultobj;
11379 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11380 int result;
11381 PyObject * obj0 = 0 ;
11382 char *kwnames[] = {
11383 (char *) "self", NULL
11384 };
11385
11386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
11387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11389 result = (int) ((arg1)->m_joyStick);
11390
11391 resultobj = SWIG_From_int((int)result);
11392 return resultobj;
11393 fail:
11394 return NULL;
11395 }
11396
11397
11398 static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11399 PyObject *resultobj;
11400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11401 int arg2 = (int) 0 ;
11402 int arg3 = (int) wxJOYSTICK1 ;
11403 int arg4 = (int) 0 ;
11404 wxJoystickEvent *result;
11405 PyObject * obj0 = 0 ;
11406 PyObject * obj1 = 0 ;
11407 PyObject * obj2 = 0 ;
11408 PyObject * obj3 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11411 };
11412
11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11414 if (obj0) {
11415 arg1 = (wxEventType)SWIG_As_int(obj0);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 if (obj1) {
11419 arg2 = (int)SWIG_As_int(obj1);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 if (obj2) {
11423 arg3 = (int)SWIG_As_int(obj2);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 if (obj3) {
11427 arg4 = (int)SWIG_As_int(obj3);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj;
11446 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11447 wxPoint result;
11448 PyObject * obj0 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = ((wxJoystickEvent const *)arg1)->GetPosition();
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 {
11464 wxPoint * resultptr;
11465 resultptr = new wxPoint((wxPoint &) result);
11466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11467 }
11468 return resultobj;
11469 fail:
11470 return NULL;
11471 }
11472
11473
11474 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11475 PyObject *resultobj;
11476 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11477 int result;
11478 PyObject * obj0 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "self", NULL
11481 };
11482
11483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
11484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 resultobj = SWIG_From_int((int)result);
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11503 int result;
11504 PyObject * obj0 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11512 {
11513 PyThreadState* __tstate = wxPyBeginAllowThreads();
11514 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
11515
11516 wxPyEndAllowThreads(__tstate);
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 resultobj = SWIG_From_int((int)result);
11520 return resultobj;
11521 fail:
11522 return NULL;
11523 }
11524
11525
11526 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11529 int result;
11530 PyObject * obj0 = 0 ;
11531 char *kwnames[] = {
11532 (char *) "self", NULL
11533 };
11534
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = SWIG_From_int((int)result);
11546 return resultobj;
11547 fail:
11548 return NULL;
11549 }
11550
11551
11552 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj;
11554 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11555 int result;
11556 PyObject * obj0 = 0 ;
11557 char *kwnames[] = {
11558 (char *) "self", NULL
11559 };
11560
11561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 resultobj = SWIG_From_int((int)result);
11572 return resultobj;
11573 fail:
11574 return NULL;
11575 }
11576
11577
11578 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11581 int arg2 ;
11582 PyObject * obj0 = 0 ;
11583 PyObject * obj1 = 0 ;
11584 char *kwnames[] = {
11585 (char *) "self",(char *) "stick", NULL
11586 };
11587
11588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11591 arg2 = (int)SWIG_As_int(obj1);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 (arg1)->SetJoystick(arg2);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 Py_INCREF(Py_None); resultobj = Py_None;
11601 return resultobj;
11602 fail:
11603 return NULL;
11604 }
11605
11606
11607 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11608 PyObject *resultobj;
11609 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11610 int arg2 ;
11611 PyObject * obj0 = 0 ;
11612 PyObject * obj1 = 0 ;
11613 char *kwnames[] = {
11614 (char *) "self",(char *) "state", NULL
11615 };
11616
11617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11620 arg2 = (int)SWIG_As_int(obj1);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->SetButtonState(arg2);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 Py_INCREF(Py_None); resultobj = Py_None;
11630 return resultobj;
11631 fail:
11632 return NULL;
11633 }
11634
11635
11636 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11639 int arg2 ;
11640 PyObject * obj0 = 0 ;
11641 PyObject * obj1 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "self",(char *) "change", NULL
11644 };
11645
11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11649 arg2 = (int)SWIG_As_int(obj1);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->SetButtonChange(arg2);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11668 wxPoint *arg2 = 0 ;
11669 wxPoint temp2 ;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self",(char *) "pos", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11679 {
11680 arg2 = &temp2;
11681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11682 }
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 (arg1)->SetPosition((wxPoint const &)*arg2);
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 Py_INCREF(Py_None); resultobj = Py_None;
11691 return resultobj;
11692 fail:
11693 return NULL;
11694 }
11695
11696
11697 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj;
11699 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11700 int arg2 ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self",(char *) "zPos", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11710 arg2 = (int)SWIG_As_int(obj1);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 {
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 (arg1)->SetZPosition(arg2);
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 Py_INCREF(Py_None); resultobj = Py_None;
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj;
11728 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11729 bool result;
11730 PyObject * obj0 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 {
11746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11747 }
11748 return resultobj;
11749 fail:
11750 return NULL;
11751 }
11752
11753
11754 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
11755 PyObject *resultobj;
11756 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11757 bool result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "self", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11775 }
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11785 bool result;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 {
11802 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11803 }
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
11811 PyObject *resultobj;
11812 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11813 int arg2 = (int) wxJOY_BUTTON_ANY ;
11814 bool result;
11815 PyObject * obj0 = 0 ;
11816 PyObject * obj1 = 0 ;
11817 char *kwnames[] = {
11818 (char *) "self",(char *) "but", NULL
11819 };
11820
11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11824 if (obj1) {
11825 arg2 = (int)SWIG_As_int(obj1);
11826 if (PyErr_Occurred()) SWIG_fail;
11827 }
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 {
11836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11837 }
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11847 int arg2 = (int) wxJOY_BUTTON_ANY ;
11848 bool result;
11849 PyObject * obj0 = 0 ;
11850 PyObject * obj1 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "but", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11858 if (obj1) {
11859 arg2 = (int)SWIG_As_int(obj1);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
11870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11871 }
11872 return resultobj;
11873 fail:
11874 return NULL;
11875 }
11876
11877
11878 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj;
11880 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11881 int arg2 = (int) wxJOY_BUTTON_ANY ;
11882 bool result;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char *kwnames[] = {
11886 (char *) "self",(char *) "but", NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11892 if (obj1) {
11893 arg2 = (int)SWIG_As_int(obj1);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11905 }
11906 return resultobj;
11907 fail:
11908 return NULL;
11909 }
11910
11911
11912 static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
11913 PyObject *obj;
11914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11915 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11916 Py_INCREF(obj);
11917 return Py_BuildValue((char *)"");
11918 }
11919 static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11920 PyObject *resultobj;
11921 wxString const &arg1_defvalue = wxPyEmptyString ;
11922 wxString *arg1 = (wxString *) &arg1_defvalue ;
11923 wxSound *result;
11924 bool temp1 = false ;
11925 PyObject * obj0 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "fileName", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
11931 if (obj0) {
11932 {
11933 arg1 = wxString_in_helper(obj0);
11934 if (arg1 == NULL) SWIG_fail;
11935 temp1 = true;
11936 }
11937 }
11938 {
11939 if (!wxPyCheckForApp()) SWIG_fail;
11940 PyThreadState* __tstate = wxPyBeginAllowThreads();
11941 result = (wxSound *)new_wxSound((wxString const &)*arg1);
11942
11943 wxPyEndAllowThreads(__tstate);
11944 if (PyErr_Occurred()) SWIG_fail;
11945 }
11946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11947 {
11948 if (temp1)
11949 delete arg1;
11950 }
11951 return resultobj;
11952 fail:
11953 {
11954 if (temp1)
11955 delete arg1;
11956 }
11957 return NULL;
11958 }
11959
11960
11961 static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 PyObject *arg1 = (PyObject *) 0 ;
11964 wxSound *result;
11965 PyObject * obj0 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "data", NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
11971 arg1 = obj0;
11972 {
11973 if (!wxPyCheckForApp()) SWIG_fail;
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = (wxSound *)new_wxSound(arg1);
11976
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj;
11989 wxSound *arg1 = (wxSound *) 0 ;
11990 PyObject * obj0 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 delete arg1;
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 Py_INCREF(Py_None); resultobj = Py_None;
12006 return resultobj;
12007 fail:
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxSound *arg1 = (wxSound *) 0 ;
12015 wxString *arg2 = 0 ;
12016 bool result;
12017 bool temp2 = false ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "fileName", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12027 {
12028 arg2 = wxString_in_helper(obj1);
12029 if (arg2 == NULL) SWIG_fail;
12030 temp2 = true;
12031 }
12032 {
12033 PyThreadState* __tstate = wxPyBeginAllowThreads();
12034 result = (bool)(arg1)->Create((wxString const &)*arg2);
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 {
12040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12041 }
12042 {
12043 if (temp2)
12044 delete arg2;
12045 }
12046 return resultobj;
12047 fail:
12048 {
12049 if (temp2)
12050 delete arg2;
12051 }
12052 return NULL;
12053 }
12054
12055
12056 static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
12057 PyObject *resultobj;
12058 wxSound *arg1 = (wxSound *) 0 ;
12059 PyObject *arg2 = (PyObject *) 0 ;
12060 bool result;
12061 PyObject * obj0 = 0 ;
12062 PyObject * obj1 = 0 ;
12063 char *kwnames[] = {
12064 (char *) "self",(char *) "data", NULL
12065 };
12066
12067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
12068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12070 arg2 = obj1;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (bool)wxSound_CreateFromData(arg1,arg2);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 {
12079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12080 }
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxSound *arg1 = (wxSound *) 0 ;
12090 bool result;
12091 PyObject * obj0 = 0 ;
12092 char *kwnames[] = {
12093 (char *) "self", NULL
12094 };
12095
12096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
12097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 result = (bool)(arg1)->IsOk();
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 {
12107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12108 }
12109 return resultobj;
12110 fail:
12111 return NULL;
12112 }
12113
12114
12115 static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxSound *arg1 = (wxSound *) 0 ;
12118 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12119 bool result;
12120 PyObject * obj0 = 0 ;
12121 PyObject * obj1 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self",(char *) "flags", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
12127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
12128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12129 if (obj1) {
12130 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134 if (!wxPyCheckForApp()) SWIG_fail;
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (bool)((wxSound const *)arg1)->Play(arg2);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 {
12142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12143 }
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxString *arg1 = 0 ;
12153 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
12154 bool result;
12155 bool temp1 = false ;
12156 PyObject * obj0 = 0 ;
12157 PyObject * obj1 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "filename",(char *) "flags", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
12163 {
12164 arg1 = wxString_in_helper(obj0);
12165 if (arg1 == NULL) SWIG_fail;
12166 temp1 = true;
12167 }
12168 if (obj1) {
12169 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
12173 if (!wxPyCheckForApp()) SWIG_fail;
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
12180 {
12181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12182 }
12183 {
12184 if (temp1)
12185 delete arg1;
12186 }
12187 return resultobj;
12188 fail:
12189 {
12190 if (temp1)
12191 delete arg1;
12192 }
12193 return NULL;
12194 }
12195
12196
12197 static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 char *kwnames[] = {
12200 NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
12204 {
12205 if (!wxPyCheckForApp()) SWIG_fail;
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 wxSound::Stop();
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 Py_INCREF(Py_None); resultobj = Py_None;
12213 return resultobj;
12214 fail:
12215 return NULL;
12216 }
12217
12218
12219 static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
12220 PyObject *obj;
12221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12222 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
12223 Py_INCREF(obj);
12224 return Py_BuildValue((char *)"");
12225 }
12226 static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxString *arg1 = 0 ;
12229 wxString *arg2 = 0 ;
12230 wxString *arg3 = 0 ;
12231 wxString *arg4 = 0 ;
12232 wxFileTypeInfo *result;
12233 bool temp1 = false ;
12234 bool temp2 = false ;
12235 bool temp3 = false ;
12236 bool temp4 = false ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj1 = 0 ;
12239 PyObject * obj2 = 0 ;
12240 PyObject * obj3 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12246 {
12247 arg1 = wxString_in_helper(obj0);
12248 if (arg1 == NULL) SWIG_fail;
12249 temp1 = true;
12250 }
12251 {
12252 arg2 = wxString_in_helper(obj1);
12253 if (arg2 == NULL) SWIG_fail;
12254 temp2 = true;
12255 }
12256 {
12257 arg3 = wxString_in_helper(obj2);
12258 if (arg3 == NULL) SWIG_fail;
12259 temp3 = true;
12260 }
12261 {
12262 arg4 = wxString_in_helper(obj3);
12263 if (arg4 == NULL) SWIG_fail;
12264 temp4 = true;
12265 }
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12274 {
12275 if (temp1)
12276 delete arg1;
12277 }
12278 {
12279 if (temp2)
12280 delete arg2;
12281 }
12282 {
12283 if (temp3)
12284 delete arg3;
12285 }
12286 {
12287 if (temp4)
12288 delete arg4;
12289 }
12290 return resultobj;
12291 fail:
12292 {
12293 if (temp1)
12294 delete arg1;
12295 }
12296 {
12297 if (temp2)
12298 delete arg2;
12299 }
12300 {
12301 if (temp3)
12302 delete arg3;
12303 }
12304 {
12305 if (temp4)
12306 delete arg4;
12307 }
12308 return NULL;
12309 }
12310
12311
12312 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
12313 PyObject *resultobj;
12314 wxArrayString *arg1 = 0 ;
12315 wxFileTypeInfo *result;
12316 bool temp1 = false ;
12317 PyObject * obj0 = 0 ;
12318 char *kwnames[] = {
12319 (char *) "sArray", NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
12323 {
12324 if (! PySequence_Check(obj0)) {
12325 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12326 SWIG_fail;
12327 }
12328 arg1 = new wxArrayString;
12329 temp1 = true;
12330 int i, len=PySequence_Length(obj0);
12331 for (i=0; i<len; i++) {
12332 PyObject* item = PySequence_GetItem(obj0, i);
12333 #if wxUSE_UNICODE
12334 PyObject* str = PyObject_Unicode(item);
12335 #else
12336 PyObject* str = PyObject_Str(item);
12337 #endif
12338 if (PyErr_Occurred()) SWIG_fail;
12339 arg1->Add(Py2wxString(str));
12340 Py_DECREF(item);
12341 Py_DECREF(str);
12342 }
12343 }
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12352 {
12353 if (temp1) delete arg1;
12354 }
12355 return resultobj;
12356 fail:
12357 {
12358 if (temp1) delete arg1;
12359 }
12360 return NULL;
12361 }
12362
12363
12364 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12365 PyObject *resultobj;
12366 wxFileTypeInfo *result;
12367 char *kwnames[] = {
12368 NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
12372 {
12373 PyThreadState* __tstate = wxPyBeginAllowThreads();
12374 result = (wxFileTypeInfo *)new wxFileTypeInfo();
12375
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
12380 return resultobj;
12381 fail:
12382 return NULL;
12383 }
12384
12385
12386 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
12387 PyObject *resultobj;
12388 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12389 bool result;
12390 PyObject * obj0 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 {
12406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12407 }
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12417 wxString *arg2 = 0 ;
12418 int arg3 = (int) 0 ;
12419 bool temp2 = false ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 PyObject * obj2 = 0 ;
12423 char *kwnames[] = {
12424 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12425 };
12426
12427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12430 {
12431 arg2 = wxString_in_helper(obj1);
12432 if (arg2 == NULL) SWIG_fail;
12433 temp2 = true;
12434 }
12435 if (obj2) {
12436 arg3 = (int)SWIG_As_int(obj2);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 {
12440 PyThreadState* __tstate = wxPyBeginAllowThreads();
12441 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12442
12443 wxPyEndAllowThreads(__tstate);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 Py_INCREF(Py_None); resultobj = Py_None;
12447 {
12448 if (temp2)
12449 delete arg2;
12450 }
12451 return resultobj;
12452 fail:
12453 {
12454 if (temp2)
12455 delete arg2;
12456 }
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12464 wxString *arg2 = 0 ;
12465 bool temp2 = false ;
12466 PyObject * obj0 = 0 ;
12467 PyObject * obj1 = 0 ;
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "shortDesc", NULL
12470 };
12471
12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12475 {
12476 arg2 = wxString_in_helper(obj1);
12477 if (arg2 == NULL) SWIG_fail;
12478 temp2 = true;
12479 }
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 (arg1)->SetShortDesc((wxString const &)*arg2);
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 Py_INCREF(Py_None); resultobj = Py_None;
12488 {
12489 if (temp2)
12490 delete arg2;
12491 }
12492 return resultobj;
12493 fail:
12494 {
12495 if (temp2)
12496 delete arg2;
12497 }
12498 return NULL;
12499 }
12500
12501
12502 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj;
12504 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12505 wxString *result;
12506 PyObject * obj0 = 0 ;
12507 char *kwnames[] = {
12508 (char *) "self", NULL
12509 };
12510
12511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12514 {
12515 PyThreadState* __tstate = wxPyBeginAllowThreads();
12516 {
12517 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12518 result = (wxString *) &_result_ref;
12519 }
12520
12521 wxPyEndAllowThreads(__tstate);
12522 if (PyErr_Occurred()) SWIG_fail;
12523 }
12524 {
12525 #if wxUSE_UNICODE
12526 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12527 #else
12528 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12529 #endif
12530 }
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12540 wxString *result;
12541 PyObject * obj0 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 {
12552 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12553 result = (wxString *) &_result_ref;
12554 }
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 {
12560 #if wxUSE_UNICODE
12561 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12562 #else
12563 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12564 #endif
12565 }
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12575 wxString *result;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 {
12587 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12588 result = (wxString *) &_result_ref;
12589 }
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 {
12595 #if wxUSE_UNICODE
12596 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12597 #else
12598 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12599 #endif
12600 }
12601 return resultobj;
12602 fail:
12603 return NULL;
12604 }
12605
12606
12607 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12608 PyObject *resultobj;
12609 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12610 wxString *result;
12611 PyObject * obj0 = 0 ;
12612 char *kwnames[] = {
12613 (char *) "self", NULL
12614 };
12615
12616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 {
12622 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12623 result = (wxString *) &_result_ref;
12624 }
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 #if wxUSE_UNICODE
12631 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12632 #else
12633 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12634 #endif
12635 }
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12645 wxString *result;
12646 PyObject * obj0 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 {
12657 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12658 result = (wxString *) &_result_ref;
12659 }
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 {
12665 #if wxUSE_UNICODE
12666 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12667 #else
12668 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12669 #endif
12670 }
12671 return resultobj;
12672 fail:
12673 return NULL;
12674 }
12675
12676
12677 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12678 PyObject *resultobj;
12679 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12680 wxArrayString *result;
12681 PyObject * obj0 = 0 ;
12682 char *kwnames[] = {
12683 (char *) "self", NULL
12684 };
12685
12686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 {
12692 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12693 result = (wxArrayString *) &_result_ref;
12694 }
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 {
12700 resultobj = wxArrayString2PyList_helper(*result);
12701 }
12702 return resultobj;
12703 fail:
12704 return NULL;
12705 }
12706
12707
12708 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
12709 PyObject *resultobj;
12710 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12711 int result;
12712 PyObject * obj0 = 0 ;
12713 char *kwnames[] = {
12714 (char *) "self", NULL
12715 };
12716
12717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 resultobj = SWIG_From_int((int)result);
12728 return resultobj;
12729 fail:
12730 return NULL;
12731 }
12732
12733
12734 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
12735 PyObject *resultobj;
12736 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12737 wxString *result;
12738 PyObject * obj0 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 {
12749 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12750 result = (wxString *) &_result_ref;
12751 }
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 {
12757 #if wxUSE_UNICODE
12758 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12759 #else
12760 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12761 #endif
12762 }
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12772 int result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12781 {
12782 PyThreadState* __tstate = wxPyBeginAllowThreads();
12783 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12784
12785 wxPyEndAllowThreads(__tstate);
12786 if (PyErr_Occurred()) SWIG_fail;
12787 }
12788 resultobj = SWIG_From_int((int)result);
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
12796 PyObject *obj;
12797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12798 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12799 Py_INCREF(obj);
12800 return Py_BuildValue((char *)"");
12801 }
12802 static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12803 PyObject *resultobj;
12804 wxFileTypeInfo *arg1 = 0 ;
12805 wxFileType *result;
12806 PyObject * obj0 = 0 ;
12807 char *kwnames[] = {
12808 (char *) "ftInfo", NULL
12809 };
12810
12811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12813 SWIG_POINTER_EXCEPTION | 0)) == -1)
12814 SWIG_fail;
12815 if (arg1 == NULL) {
12816 PyErr_SetString(PyExc_TypeError,"null reference");
12817 SWIG_fail;
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12827 return resultobj;
12828 fail:
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxFileType *arg1 = (wxFileType *) 0 ;
12836 PyObject * obj0 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 delete arg1;
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxFileType *arg1 = (wxFileType *) 0 ;
12861 PyObject *result;
12862 PyObject * obj0 = 0 ;
12863 char *kwnames[] = {
12864 (char *) "self", NULL
12865 };
12866
12867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12870 {
12871 PyThreadState* __tstate = wxPyBeginAllowThreads();
12872 result = (PyObject *)wxFileType_GetMimeType(arg1);
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = result;
12878 return resultobj;
12879 fail:
12880 return NULL;
12881 }
12882
12883
12884 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
12885 PyObject *resultobj;
12886 wxFileType *arg1 = (wxFileType *) 0 ;
12887 PyObject *result;
12888 PyObject * obj0 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 resultobj = result;
12904 return resultobj;
12905 fail:
12906 return NULL;
12907 }
12908
12909
12910 static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj;
12912 wxFileType *arg1 = (wxFileType *) 0 ;
12913 PyObject *result;
12914 PyObject * obj0 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "self", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (PyObject *)wxFileType_GetExtensions(arg1);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = result;
12930 return resultobj;
12931 fail:
12932 return NULL;
12933 }
12934
12935
12936 static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12937 PyObject *resultobj;
12938 wxFileType *arg1 = (wxFileType *) 0 ;
12939 wxIcon *result;
12940 PyObject * obj0 = 0 ;
12941 char *kwnames[] = {
12942 (char *) "self", NULL
12943 };
12944
12945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (wxIcon *)wxFileType_GetIcon(arg1);
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12956 return resultobj;
12957 fail:
12958 return NULL;
12959 }
12960
12961
12962 static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxFileType *arg1 = (wxFileType *) 0 ;
12965 PyObject *result;
12966 PyObject * obj0 = 0 ;
12967 char *kwnames[] = {
12968 (char *) "self", NULL
12969 };
12970
12971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = result;
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj;
12990 wxFileType *arg1 = (wxFileType *) 0 ;
12991 PyObject *result;
12992 PyObject * obj0 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (PyObject *)wxFileType_GetDescription(arg1);
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = result;
13008 return resultobj;
13009 fail:
13010 return NULL;
13011 }
13012
13013
13014 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13015 PyObject *resultobj;
13016 wxFileType *arg1 = (wxFileType *) 0 ;
13017 wxString *arg2 = 0 ;
13018 wxString const &arg3_defvalue = wxPyEmptyString ;
13019 wxString *arg3 = (wxString *) &arg3_defvalue ;
13020 PyObject *result;
13021 bool temp2 = false ;
13022 bool temp3 = false ;
13023 PyObject * obj0 = 0 ;
13024 PyObject * obj1 = 0 ;
13025 PyObject * obj2 = 0 ;
13026 char *kwnames[] = {
13027 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13028 };
13029
13030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13033 {
13034 arg2 = wxString_in_helper(obj1);
13035 if (arg2 == NULL) SWIG_fail;
13036 temp2 = true;
13037 }
13038 if (obj2) {
13039 {
13040 arg3 = wxString_in_helper(obj2);
13041 if (arg3 == NULL) SWIG_fail;
13042 temp3 = true;
13043 }
13044 }
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13048
13049 wxPyEndAllowThreads(__tstate);
13050 if (PyErr_Occurred()) SWIG_fail;
13051 }
13052 resultobj = result;
13053 {
13054 if (temp2)
13055 delete arg2;
13056 }
13057 {
13058 if (temp3)
13059 delete arg3;
13060 }
13061 return resultobj;
13062 fail:
13063 {
13064 if (temp2)
13065 delete arg2;
13066 }
13067 {
13068 if (temp3)
13069 delete arg3;
13070 }
13071 return NULL;
13072 }
13073
13074
13075 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj;
13077 wxFileType *arg1 = (wxFileType *) 0 ;
13078 wxString *arg2 = 0 ;
13079 wxString const &arg3_defvalue = wxPyEmptyString ;
13080 wxString *arg3 = (wxString *) &arg3_defvalue ;
13081 PyObject *result;
13082 bool temp2 = false ;
13083 bool temp3 = false ;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 PyObject * obj2 = 0 ;
13087 char *kwnames[] = {
13088 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13089 };
13090
13091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13094 {
13095 arg2 = wxString_in_helper(obj1);
13096 if (arg2 == NULL) SWIG_fail;
13097 temp2 = true;
13098 }
13099 if (obj2) {
13100 {
13101 arg3 = wxString_in_helper(obj2);
13102 if (arg3 == NULL) SWIG_fail;
13103 temp3 = true;
13104 }
13105 }
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 resultobj = result;
13114 {
13115 if (temp2)
13116 delete arg2;
13117 }
13118 {
13119 if (temp3)
13120 delete arg3;
13121 }
13122 return resultobj;
13123 fail:
13124 {
13125 if (temp2)
13126 delete arg2;
13127 }
13128 {
13129 if (temp3)
13130 delete arg3;
13131 }
13132 return NULL;
13133 }
13134
13135
13136 static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxFileType *arg1 = (wxFileType *) 0 ;
13139 wxString *arg2 = 0 ;
13140 wxString const &arg3_defvalue = wxPyEmptyString ;
13141 wxString *arg3 = (wxString *) &arg3_defvalue ;
13142 PyObject *result;
13143 bool temp2 = false ;
13144 bool temp3 = false ;
13145 PyObject * obj0 = 0 ;
13146 PyObject * obj1 = 0 ;
13147 PyObject * obj2 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13155 {
13156 arg2 = wxString_in_helper(obj1);
13157 if (arg2 == NULL) SWIG_fail;
13158 temp2 = true;
13159 }
13160 if (obj2) {
13161 {
13162 arg3 = wxString_in_helper(obj2);
13163 if (arg3 == NULL) SWIG_fail;
13164 temp3 = true;
13165 }
13166 }
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 resultobj = result;
13175 {
13176 if (temp2)
13177 delete arg2;
13178 }
13179 {
13180 if (temp3)
13181 delete arg3;
13182 }
13183 return resultobj;
13184 fail:
13185 {
13186 if (temp2)
13187 delete arg2;
13188 }
13189 {
13190 if (temp3)
13191 delete arg3;
13192 }
13193 return NULL;
13194 }
13195
13196
13197 static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13198 PyObject *resultobj;
13199 wxFileType *arg1 = (wxFileType *) 0 ;
13200 wxString *arg2 = 0 ;
13201 wxString *arg3 = 0 ;
13202 bool arg4 = (bool) true ;
13203 bool result;
13204 bool temp2 = false ;
13205 bool temp3 = false ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 PyObject * obj2 = 0 ;
13209 PyObject * obj3 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13217 {
13218 arg2 = wxString_in_helper(obj1);
13219 if (arg2 == NULL) SWIG_fail;
13220 temp2 = true;
13221 }
13222 {
13223 arg3 = wxString_in_helper(obj2);
13224 if (arg3 == NULL) SWIG_fail;
13225 temp3 = true;
13226 }
13227 if (obj3) {
13228 arg4 = (bool)SWIG_As_bool(obj3);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 {
13239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13240 }
13241 {
13242 if (temp2)
13243 delete arg2;
13244 }
13245 {
13246 if (temp3)
13247 delete arg3;
13248 }
13249 return resultobj;
13250 fail:
13251 {
13252 if (temp2)
13253 delete arg2;
13254 }
13255 {
13256 if (temp3)
13257 delete arg3;
13258 }
13259 return NULL;
13260 }
13261
13262
13263 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13264 PyObject *resultobj;
13265 wxFileType *arg1 = (wxFileType *) 0 ;
13266 wxString const &arg2_defvalue = wxPyEmptyString ;
13267 wxString *arg2 = (wxString *) &arg2_defvalue ;
13268 int arg3 = (int) 0 ;
13269 bool result;
13270 bool temp2 = false ;
13271 PyObject * obj0 = 0 ;
13272 PyObject * obj1 = 0 ;
13273 PyObject * obj2 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "cmd",(char *) "index", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13281 if (obj1) {
13282 {
13283 arg2 = wxString_in_helper(obj1);
13284 if (arg2 == NULL) SWIG_fail;
13285 temp2 = true;
13286 }
13287 }
13288 if (obj2) {
13289 arg3 = (int)SWIG_As_int(obj2);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 {
13293 PyThreadState* __tstate = wxPyBeginAllowThreads();
13294 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
13295
13296 wxPyEndAllowThreads(__tstate);
13297 if (PyErr_Occurred()) SWIG_fail;
13298 }
13299 {
13300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13301 }
13302 {
13303 if (temp2)
13304 delete arg2;
13305 }
13306 return resultobj;
13307 fail:
13308 {
13309 if (temp2)
13310 delete arg2;
13311 }
13312 return NULL;
13313 }
13314
13315
13316 static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13317 PyObject *resultobj;
13318 wxFileType *arg1 = (wxFileType *) 0 ;
13319 bool result;
13320 PyObject * obj0 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
13327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 result = (bool)(arg1)->Unassociate();
13331
13332 wxPyEndAllowThreads(__tstate);
13333 if (PyErr_Occurred()) SWIG_fail;
13334 }
13335 {
13336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13337 }
13338 return resultobj;
13339 fail:
13340 return NULL;
13341 }
13342
13343
13344 static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13345 PyObject *resultobj;
13346 wxString *arg1 = 0 ;
13347 wxString *arg2 = 0 ;
13348 wxString const &arg3_defvalue = wxPyEmptyString ;
13349 wxString *arg3 = (wxString *) &arg3_defvalue ;
13350 wxString result;
13351 bool temp1 = false ;
13352 bool temp2 = false ;
13353 bool temp3 = false ;
13354 PyObject * obj0 = 0 ;
13355 PyObject * obj1 = 0 ;
13356 PyObject * obj2 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
13362 {
13363 arg1 = wxString_in_helper(obj0);
13364 if (arg1 == NULL) SWIG_fail;
13365 temp1 = true;
13366 }
13367 {
13368 arg2 = wxString_in_helper(obj1);
13369 if (arg2 == NULL) SWIG_fail;
13370 temp2 = true;
13371 }
13372 if (obj2) {
13373 {
13374 arg3 = wxString_in_helper(obj2);
13375 if (arg3 == NULL) SWIG_fail;
13376 temp3 = true;
13377 }
13378 }
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 {
13387 #if wxUSE_UNICODE
13388 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13389 #else
13390 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13391 #endif
13392 }
13393 {
13394 if (temp1)
13395 delete arg1;
13396 }
13397 {
13398 if (temp2)
13399 delete arg2;
13400 }
13401 {
13402 if (temp3)
13403 delete arg3;
13404 }
13405 return resultobj;
13406 fail:
13407 {
13408 if (temp1)
13409 delete arg1;
13410 }
13411 {
13412 if (temp2)
13413 delete arg2;
13414 }
13415 {
13416 if (temp3)
13417 delete arg3;
13418 }
13419 return NULL;
13420 }
13421
13422
13423 static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
13424 PyObject *obj;
13425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13426 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13427 Py_INCREF(obj);
13428 return Py_BuildValue((char *)"");
13429 }
13430 static int _wrap_TheMimeTypesManager_set(PyObject *) {
13431 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13432 return 1;
13433 }
13434
13435
13436 static PyObject *_wrap_TheMimeTypesManager_get() {
13437 PyObject *pyobj;
13438
13439 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13440 return pyobj;
13441 }
13442
13443
13444 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxString *arg1 = 0 ;
13447 wxString *arg2 = 0 ;
13448 bool result;
13449 bool temp1 = false ;
13450 bool temp2 = false ;
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj1 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "mimeType",(char *) "wildcard", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13458 {
13459 arg1 = wxString_in_helper(obj0);
13460 if (arg1 == NULL) SWIG_fail;
13461 temp1 = true;
13462 }
13463 {
13464 arg2 = wxString_in_helper(obj1);
13465 if (arg2 == NULL) SWIG_fail;
13466 temp2 = true;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13477 }
13478 {
13479 if (temp1)
13480 delete arg1;
13481 }
13482 {
13483 if (temp2)
13484 delete arg2;
13485 }
13486 return resultobj;
13487 fail:
13488 {
13489 if (temp1)
13490 delete arg1;
13491 }
13492 {
13493 if (temp2)
13494 delete arg2;
13495 }
13496 return NULL;
13497 }
13498
13499
13500 static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13501 PyObject *resultobj;
13502 wxMimeTypesManager *result;
13503 char *kwnames[] = {
13504 NULL
13505 };
13506
13507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13516 return resultobj;
13517 fail:
13518 return NULL;
13519 }
13520
13521
13522 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj;
13524 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13525 int arg2 = (int) wxMAILCAP_ALL ;
13526 wxString const &arg3_defvalue = wxPyEmptyString ;
13527 wxString *arg3 = (wxString *) &arg3_defvalue ;
13528 bool temp3 = false ;
13529 PyObject * obj0 = 0 ;
13530 PyObject * obj1 = 0 ;
13531 PyObject * obj2 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13539 if (obj1) {
13540 arg2 = (int)SWIG_As_int(obj1);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 if (obj2) {
13544 {
13545 arg3 = wxString_in_helper(obj2);
13546 if (arg3 == NULL) SWIG_fail;
13547 temp3 = true;
13548 }
13549 }
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 Py_INCREF(Py_None); resultobj = Py_None;
13558 {
13559 if (temp3)
13560 delete arg3;
13561 }
13562 return resultobj;
13563 fail:
13564 {
13565 if (temp3)
13566 delete arg3;
13567 }
13568 return NULL;
13569 }
13570
13571
13572 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13575 PyObject * obj0 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "self", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13583 {
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 (arg1)->ClearData();
13586
13587 wxPyEndAllowThreads(__tstate);
13588 if (PyErr_Occurred()) SWIG_fail;
13589 }
13590 Py_INCREF(Py_None); resultobj = Py_None;
13591 return resultobj;
13592 fail:
13593 return NULL;
13594 }
13595
13596
13597 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
13598 PyObject *resultobj;
13599 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13600 wxString *arg2 = 0 ;
13601 wxFileType *result;
13602 bool temp2 = false ;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "ext", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13612 {
13613 arg2 = wxString_in_helper(obj1);
13614 if (arg2 == NULL) SWIG_fail;
13615 temp2 = true;
13616 }
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13620
13621 wxPyEndAllowThreads(__tstate);
13622 if (PyErr_Occurred()) SWIG_fail;
13623 }
13624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13625 {
13626 if (temp2)
13627 delete arg2;
13628 }
13629 return resultobj;
13630 fail:
13631 {
13632 if (temp2)
13633 delete arg2;
13634 }
13635 return NULL;
13636 }
13637
13638
13639 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13642 wxString *arg2 = 0 ;
13643 wxFileType *result;
13644 bool temp2 = false ;
13645 PyObject * obj0 = 0 ;
13646 PyObject * obj1 = 0 ;
13647 char *kwnames[] = {
13648 (char *) "self",(char *) "mimeType", NULL
13649 };
13650
13651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13654 {
13655 arg2 = wxString_in_helper(obj1);
13656 if (arg2 == NULL) SWIG_fail;
13657 temp2 = true;
13658 }
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13667 {
13668 if (temp2)
13669 delete arg2;
13670 }
13671 return resultobj;
13672 fail:
13673 {
13674 if (temp2)
13675 delete arg2;
13676 }
13677 return NULL;
13678 }
13679
13680
13681 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
13682 PyObject *resultobj;
13683 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13684 wxString *arg2 = 0 ;
13685 bool arg3 = (bool) false ;
13686 bool result;
13687 bool temp2 = false ;
13688 PyObject * obj0 = 0 ;
13689 PyObject * obj1 = 0 ;
13690 PyObject * obj2 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13698 {
13699 arg2 = wxString_in_helper(obj1);
13700 if (arg2 == NULL) SWIG_fail;
13701 temp2 = true;
13702 }
13703 if (obj2) {
13704 arg3 = (bool)SWIG_As_bool(obj2);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 {
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13710
13711 wxPyEndAllowThreads(__tstate);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 }
13714 {
13715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13716 }
13717 {
13718 if (temp2)
13719 delete arg2;
13720 }
13721 return resultobj;
13722 fail:
13723 {
13724 if (temp2)
13725 delete arg2;
13726 }
13727 return NULL;
13728 }
13729
13730
13731 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13734 wxString *arg2 = 0 ;
13735 bool result;
13736 bool temp2 = false ;
13737 PyObject * obj0 = 0 ;
13738 PyObject * obj1 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "self",(char *) "filename", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13746 {
13747 arg2 = wxString_in_helper(obj1);
13748 if (arg2 == NULL) SWIG_fail;
13749 temp2 = true;
13750 }
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 {
13759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13760 }
13761 {
13762 if (temp2)
13763 delete arg2;
13764 }
13765 return resultobj;
13766 fail:
13767 {
13768 if (temp2)
13769 delete arg2;
13770 }
13771 return NULL;
13772 }
13773
13774
13775 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13776 PyObject *resultobj;
13777 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13778 PyObject *result;
13779 PyObject * obj0 = 0 ;
13780 char *kwnames[] = {
13781 (char *) "self", NULL
13782 };
13783
13784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
13794 resultobj = result;
13795 return resultobj;
13796 fail:
13797 return NULL;
13798 }
13799
13800
13801 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13804 wxFileTypeInfo *arg2 = 0 ;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char *kwnames[] = {
13808 (char *) "self",(char *) "ft", NULL
13809 };
13810
13811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13815 SWIG_POINTER_EXCEPTION | 0)) == -1)
13816 SWIG_fail;
13817 if (arg2 == NULL) {
13818 PyErr_SetString(PyExc_TypeError,"null reference");
13819 SWIG_fail;
13820 }
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 Py_INCREF(Py_None); resultobj = Py_None;
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13838 wxFileTypeInfo *arg2 = 0 ;
13839 wxFileType *result;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "ftInfo", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13850 SWIG_POINTER_EXCEPTION | 0)) == -1)
13851 SWIG_fail;
13852 if (arg2 == NULL) {
13853 PyErr_SetString(PyExc_TypeError,"null reference");
13854 SWIG_fail;
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13864 return resultobj;
13865 fail:
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13873 wxFileType *arg2 = (wxFileType *) 0 ;
13874 bool result;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self",(char *) "ft", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (bool)(arg1)->Unassociate(arg2);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13895 }
13896 return resultobj;
13897 fail:
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13905 PyObject * obj0 = 0 ;
13906 char *kwnames[] = {
13907 (char *) "self", NULL
13908 };
13909
13910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 delete arg1;
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 Py_INCREF(Py_None); resultobj = Py_None;
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
13928 PyObject *obj;
13929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13930 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13931 Py_INCREF(obj);
13932 return Py_BuildValue((char *)"");
13933 }
13934 static int _wrap_ART_TOOLBAR_set(PyObject *) {
13935 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13936 return 1;
13937 }
13938
13939
13940 static PyObject *_wrap_ART_TOOLBAR_get() {
13941 PyObject *pyobj;
13942
13943 {
13944 #if wxUSE_UNICODE
13945 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13946 #else
13947 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13948 #endif
13949 }
13950 return pyobj;
13951 }
13952
13953
13954 static int _wrap_ART_MENU_set(PyObject *) {
13955 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13956 return 1;
13957 }
13958
13959
13960 static PyObject *_wrap_ART_MENU_get() {
13961 PyObject *pyobj;
13962
13963 {
13964 #if wxUSE_UNICODE
13965 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13966 #else
13967 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13968 #endif
13969 }
13970 return pyobj;
13971 }
13972
13973
13974 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
13975 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13976 return 1;
13977 }
13978
13979
13980 static PyObject *_wrap_ART_FRAME_ICON_get() {
13981 PyObject *pyobj;
13982
13983 {
13984 #if wxUSE_UNICODE
13985 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13986 #else
13987 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13988 #endif
13989 }
13990 return pyobj;
13991 }
13992
13993
13994 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
13995 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13996 return 1;
13997 }
13998
13999
14000 static PyObject *_wrap_ART_CMN_DIALOG_get() {
14001 PyObject *pyobj;
14002
14003 {
14004 #if wxUSE_UNICODE
14005 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14006 #else
14007 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
14008 #endif
14009 }
14010 return pyobj;
14011 }
14012
14013
14014 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
14015 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
14016 return 1;
14017 }
14018
14019
14020 static PyObject *_wrap_ART_HELP_BROWSER_get() {
14021 PyObject *pyobj;
14022
14023 {
14024 #if wxUSE_UNICODE
14025 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14026 #else
14027 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
14028 #endif
14029 }
14030 return pyobj;
14031 }
14032
14033
14034 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
14035 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
14036 return 1;
14037 }
14038
14039
14040 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
14041 PyObject *pyobj;
14042
14043 {
14044 #if wxUSE_UNICODE
14045 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14046 #else
14047 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
14048 #endif
14049 }
14050 return pyobj;
14051 }
14052
14053
14054 static int _wrap_ART_BUTTON_set(PyObject *) {
14055 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
14056 return 1;
14057 }
14058
14059
14060 static PyObject *_wrap_ART_BUTTON_get() {
14061 PyObject *pyobj;
14062
14063 {
14064 #if wxUSE_UNICODE
14065 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14066 #else
14067 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
14068 #endif
14069 }
14070 return pyobj;
14071 }
14072
14073
14074 static int _wrap_ART_OTHER_set(PyObject *) {
14075 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
14076 return 1;
14077 }
14078
14079
14080 static PyObject *_wrap_ART_OTHER_get() {
14081 PyObject *pyobj;
14082
14083 {
14084 #if wxUSE_UNICODE
14085 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14086 #else
14087 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
14088 #endif
14089 }
14090 return pyobj;
14091 }
14092
14093
14094 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
14095 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
14096 return 1;
14097 }
14098
14099
14100 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
14101 PyObject *pyobj;
14102
14103 {
14104 #if wxUSE_UNICODE
14105 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14106 #else
14107 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
14108 #endif
14109 }
14110 return pyobj;
14111 }
14112
14113
14114 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
14115 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
14116 return 1;
14117 }
14118
14119
14120 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
14121 PyObject *pyobj;
14122
14123 {
14124 #if wxUSE_UNICODE
14125 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14126 #else
14127 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
14128 #endif
14129 }
14130 return pyobj;
14131 }
14132
14133
14134 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
14135 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
14136 return 1;
14137 }
14138
14139
14140 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
14141 PyObject *pyobj;
14142
14143 {
14144 #if wxUSE_UNICODE
14145 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14146 #else
14147 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
14148 #endif
14149 }
14150 return pyobj;
14151 }
14152
14153
14154 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
14155 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
14156 return 1;
14157 }
14158
14159
14160 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
14161 PyObject *pyobj;
14162
14163 {
14164 #if wxUSE_UNICODE
14165 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14166 #else
14167 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
14168 #endif
14169 }
14170 return pyobj;
14171 }
14172
14173
14174 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
14175 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
14176 return 1;
14177 }
14178
14179
14180 static PyObject *_wrap_ART_HELP_BOOK_get() {
14181 PyObject *pyobj;
14182
14183 {
14184 #if wxUSE_UNICODE
14185 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14186 #else
14187 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
14188 #endif
14189 }
14190 return pyobj;
14191 }
14192
14193
14194 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
14195 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
14196 return 1;
14197 }
14198
14199
14200 static PyObject *_wrap_ART_HELP_FOLDER_get() {
14201 PyObject *pyobj;
14202
14203 {
14204 #if wxUSE_UNICODE
14205 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14206 #else
14207 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
14208 #endif
14209 }
14210 return pyobj;
14211 }
14212
14213
14214 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
14215 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
14216 return 1;
14217 }
14218
14219
14220 static PyObject *_wrap_ART_HELP_PAGE_get() {
14221 PyObject *pyobj;
14222
14223 {
14224 #if wxUSE_UNICODE
14225 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14226 #else
14227 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
14228 #endif
14229 }
14230 return pyobj;
14231 }
14232
14233
14234 static int _wrap_ART_GO_BACK_set(PyObject *) {
14235 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
14236 return 1;
14237 }
14238
14239
14240 static PyObject *_wrap_ART_GO_BACK_get() {
14241 PyObject *pyobj;
14242
14243 {
14244 #if wxUSE_UNICODE
14245 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14246 #else
14247 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
14248 #endif
14249 }
14250 return pyobj;
14251 }
14252
14253
14254 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
14255 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
14256 return 1;
14257 }
14258
14259
14260 static PyObject *_wrap_ART_GO_FORWARD_get() {
14261 PyObject *pyobj;
14262
14263 {
14264 #if wxUSE_UNICODE
14265 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14266 #else
14267 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
14268 #endif
14269 }
14270 return pyobj;
14271 }
14272
14273
14274 static int _wrap_ART_GO_UP_set(PyObject *) {
14275 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
14276 return 1;
14277 }
14278
14279
14280 static PyObject *_wrap_ART_GO_UP_get() {
14281 PyObject *pyobj;
14282
14283 {
14284 #if wxUSE_UNICODE
14285 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14286 #else
14287 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
14288 #endif
14289 }
14290 return pyobj;
14291 }
14292
14293
14294 static int _wrap_ART_GO_DOWN_set(PyObject *) {
14295 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
14296 return 1;
14297 }
14298
14299
14300 static PyObject *_wrap_ART_GO_DOWN_get() {
14301 PyObject *pyobj;
14302
14303 {
14304 #if wxUSE_UNICODE
14305 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14306 #else
14307 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
14308 #endif
14309 }
14310 return pyobj;
14311 }
14312
14313
14314 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
14315 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
14316 return 1;
14317 }
14318
14319
14320 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
14321 PyObject *pyobj;
14322
14323 {
14324 #if wxUSE_UNICODE
14325 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14326 #else
14327 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
14328 #endif
14329 }
14330 return pyobj;
14331 }
14332
14333
14334 static int _wrap_ART_GO_HOME_set(PyObject *) {
14335 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
14336 return 1;
14337 }
14338
14339
14340 static PyObject *_wrap_ART_GO_HOME_get() {
14341 PyObject *pyobj;
14342
14343 {
14344 #if wxUSE_UNICODE
14345 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14346 #else
14347 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
14348 #endif
14349 }
14350 return pyobj;
14351 }
14352
14353
14354 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
14355 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
14356 return 1;
14357 }
14358
14359
14360 static PyObject *_wrap_ART_FILE_OPEN_get() {
14361 PyObject *pyobj;
14362
14363 {
14364 #if wxUSE_UNICODE
14365 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14366 #else
14367 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
14368 #endif
14369 }
14370 return pyobj;
14371 }
14372
14373
14374 static int _wrap_ART_PRINT_set(PyObject *) {
14375 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
14376 return 1;
14377 }
14378
14379
14380 static PyObject *_wrap_ART_PRINT_get() {
14381 PyObject *pyobj;
14382
14383 {
14384 #if wxUSE_UNICODE
14385 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14386 #else
14387 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
14388 #endif
14389 }
14390 return pyobj;
14391 }
14392
14393
14394 static int _wrap_ART_HELP_set(PyObject *) {
14395 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
14396 return 1;
14397 }
14398
14399
14400 static PyObject *_wrap_ART_HELP_get() {
14401 PyObject *pyobj;
14402
14403 {
14404 #if wxUSE_UNICODE
14405 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14406 #else
14407 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
14408 #endif
14409 }
14410 return pyobj;
14411 }
14412
14413
14414 static int _wrap_ART_TIP_set(PyObject *) {
14415 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14416 return 1;
14417 }
14418
14419
14420 static PyObject *_wrap_ART_TIP_get() {
14421 PyObject *pyobj;
14422
14423 {
14424 #if wxUSE_UNICODE
14425 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14426 #else
14427 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14428 #endif
14429 }
14430 return pyobj;
14431 }
14432
14433
14434 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
14435 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14436 return 1;
14437 }
14438
14439
14440 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14441 PyObject *pyobj;
14442
14443 {
14444 #if wxUSE_UNICODE
14445 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14446 #else
14447 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14448 #endif
14449 }
14450 return pyobj;
14451 }
14452
14453
14454 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
14455 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14456 return 1;
14457 }
14458
14459
14460 static PyObject *_wrap_ART_LIST_VIEW_get() {
14461 PyObject *pyobj;
14462
14463 {
14464 #if wxUSE_UNICODE
14465 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14466 #else
14467 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14468 #endif
14469 }
14470 return pyobj;
14471 }
14472
14473
14474 static int _wrap_ART_NEW_DIR_set(PyObject *) {
14475 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14476 return 1;
14477 }
14478
14479
14480 static PyObject *_wrap_ART_NEW_DIR_get() {
14481 PyObject *pyobj;
14482
14483 {
14484 #if wxUSE_UNICODE
14485 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14486 #else
14487 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14488 #endif
14489 }
14490 return pyobj;
14491 }
14492
14493
14494 static int _wrap_ART_FOLDER_set(PyObject *) {
14495 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14496 return 1;
14497 }
14498
14499
14500 static PyObject *_wrap_ART_FOLDER_get() {
14501 PyObject *pyobj;
14502
14503 {
14504 #if wxUSE_UNICODE
14505 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14506 #else
14507 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14508 #endif
14509 }
14510 return pyobj;
14511 }
14512
14513
14514 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
14515 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14516 return 1;
14517 }
14518
14519
14520 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14521 PyObject *pyobj;
14522
14523 {
14524 #if wxUSE_UNICODE
14525 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14526 #else
14527 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14528 #endif
14529 }
14530 return pyobj;
14531 }
14532
14533
14534 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
14535 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14536 return 1;
14537 }
14538
14539
14540 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14541 PyObject *pyobj;
14542
14543 {
14544 #if wxUSE_UNICODE
14545 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14546 #else
14547 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14548 #endif
14549 }
14550 return pyobj;
14551 }
14552
14553
14554 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
14555 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14556 return 1;
14557 }
14558
14559
14560 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14561 PyObject *pyobj;
14562
14563 {
14564 #if wxUSE_UNICODE
14565 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14566 #else
14567 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14568 #endif
14569 }
14570 return pyobj;
14571 }
14572
14573
14574 static int _wrap_ART_TICK_MARK_set(PyObject *) {
14575 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14576 return 1;
14577 }
14578
14579
14580 static PyObject *_wrap_ART_TICK_MARK_get() {
14581 PyObject *pyobj;
14582
14583 {
14584 #if wxUSE_UNICODE
14585 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14586 #else
14587 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14588 #endif
14589 }
14590 return pyobj;
14591 }
14592
14593
14594 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
14595 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14596 return 1;
14597 }
14598
14599
14600 static PyObject *_wrap_ART_CROSS_MARK_get() {
14601 PyObject *pyobj;
14602
14603 {
14604 #if wxUSE_UNICODE
14605 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14606 #else
14607 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14608 #endif
14609 }
14610 return pyobj;
14611 }
14612
14613
14614 static int _wrap_ART_ERROR_set(PyObject *) {
14615 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14616 return 1;
14617 }
14618
14619
14620 static PyObject *_wrap_ART_ERROR_get() {
14621 PyObject *pyobj;
14622
14623 {
14624 #if wxUSE_UNICODE
14625 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14626 #else
14627 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14628 #endif
14629 }
14630 return pyobj;
14631 }
14632
14633
14634 static int _wrap_ART_QUESTION_set(PyObject *) {
14635 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14636 return 1;
14637 }
14638
14639
14640 static PyObject *_wrap_ART_QUESTION_get() {
14641 PyObject *pyobj;
14642
14643 {
14644 #if wxUSE_UNICODE
14645 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14646 #else
14647 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14648 #endif
14649 }
14650 return pyobj;
14651 }
14652
14653
14654 static int _wrap_ART_WARNING_set(PyObject *) {
14655 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14656 return 1;
14657 }
14658
14659
14660 static PyObject *_wrap_ART_WARNING_get() {
14661 PyObject *pyobj;
14662
14663 {
14664 #if wxUSE_UNICODE
14665 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14666 #else
14667 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14668 #endif
14669 }
14670 return pyobj;
14671 }
14672
14673
14674 static int _wrap_ART_INFORMATION_set(PyObject *) {
14675 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14676 return 1;
14677 }
14678
14679
14680 static PyObject *_wrap_ART_INFORMATION_get() {
14681 PyObject *pyobj;
14682
14683 {
14684 #if wxUSE_UNICODE
14685 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14686 #else
14687 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14688 #endif
14689 }
14690 return pyobj;
14691 }
14692
14693
14694 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
14695 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14696 return 1;
14697 }
14698
14699
14700 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14701 PyObject *pyobj;
14702
14703 {
14704 #if wxUSE_UNICODE
14705 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14706 #else
14707 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14708 #endif
14709 }
14710 return pyobj;
14711 }
14712
14713
14714 static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxPyArtProvider *result;
14717 char *kwnames[] = {
14718 NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14722 {
14723 if (!wxPyCheckForApp()) SWIG_fail;
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (wxPyArtProvider *)new wxPyArtProvider();
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj;
14739 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14740 PyObject *arg2 = (PyObject *) 0 ;
14741 PyObject *arg3 = (PyObject *) 0 ;
14742 PyObject * obj0 = 0 ;
14743 PyObject * obj1 = 0 ;
14744 PyObject * obj2 = 0 ;
14745 char *kwnames[] = {
14746 (char *) "self",(char *) "self",(char *) "_class", NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14752 arg2 = obj1;
14753 arg3 = obj2;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 (arg1)->_setCallbackInfo(arg2,arg3);
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "provider", NULL
14774 };
14775
14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
14781 wxPyArtProvider::PushProvider(arg1);
14782
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 Py_INCREF(Py_None); resultobj = Py_None;
14787 return resultobj;
14788 fail:
14789 return NULL;
14790 }
14791
14792
14793 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14794 PyObject *resultobj;
14795 bool result;
14796 char *kwnames[] = {
14797 NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 result = (bool)wxPyArtProvider::PopProvider();
14804
14805 wxPyEndAllowThreads(__tstate);
14806 if (PyErr_Occurred()) SWIG_fail;
14807 }
14808 {
14809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14810 }
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14820 bool result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "provider", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14832
14833 wxPyEndAllowThreads(__tstate);
14834 if (PyErr_Occurred()) SWIG_fail;
14835 }
14836 {
14837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14838 }
14839 return resultobj;
14840 fail:
14841 return NULL;
14842 }
14843
14844
14845 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14846 PyObject *resultobj;
14847 wxString *arg1 = 0 ;
14848 wxString const &arg2_defvalue = wxPyART_OTHER ;
14849 wxString *arg2 = (wxString *) &arg2_defvalue ;
14850 wxSize const &arg3_defvalue = wxDefaultSize ;
14851 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14852 wxBitmap result;
14853 bool temp1 = false ;
14854 bool temp2 = false ;
14855 wxSize temp3 ;
14856 PyObject * obj0 = 0 ;
14857 PyObject * obj1 = 0 ;
14858 PyObject * obj2 = 0 ;
14859 char *kwnames[] = {
14860 (char *) "id",(char *) "client",(char *) "size", NULL
14861 };
14862
14863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14864 {
14865 arg1 = wxString_in_helper(obj0);
14866 if (arg1 == NULL) SWIG_fail;
14867 temp1 = true;
14868 }
14869 if (obj1) {
14870 {
14871 arg2 = wxString_in_helper(obj1);
14872 if (arg2 == NULL) SWIG_fail;
14873 temp2 = true;
14874 }
14875 }
14876 if (obj2) {
14877 {
14878 arg3 = &temp3;
14879 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14880 }
14881 }
14882 {
14883 if (!wxPyCheckForApp()) SWIG_fail;
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 {
14891 wxBitmap * resultptr;
14892 resultptr = new wxBitmap((wxBitmap &) result);
14893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14894 }
14895 {
14896 if (temp1)
14897 delete arg1;
14898 }
14899 {
14900 if (temp2)
14901 delete arg2;
14902 }
14903 return resultobj;
14904 fail:
14905 {
14906 if (temp1)
14907 delete arg1;
14908 }
14909 {
14910 if (temp2)
14911 delete arg2;
14912 }
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxString *arg1 = 0 ;
14920 wxString const &arg2_defvalue = wxPyART_OTHER ;
14921 wxString *arg2 = (wxString *) &arg2_defvalue ;
14922 wxSize const &arg3_defvalue = wxDefaultSize ;
14923 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14924 wxIcon result;
14925 bool temp1 = false ;
14926 bool temp2 = false ;
14927 wxSize temp3 ;
14928 PyObject * obj0 = 0 ;
14929 PyObject * obj1 = 0 ;
14930 PyObject * obj2 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "id",(char *) "client",(char *) "size", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14936 {
14937 arg1 = wxString_in_helper(obj0);
14938 if (arg1 == NULL) SWIG_fail;
14939 temp1 = true;
14940 }
14941 if (obj1) {
14942 {
14943 arg2 = wxString_in_helper(obj1);
14944 if (arg2 == NULL) SWIG_fail;
14945 temp2 = true;
14946 }
14947 }
14948 if (obj2) {
14949 {
14950 arg3 = &temp3;
14951 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14952 }
14953 }
14954 {
14955 if (!wxPyCheckForApp()) SWIG_fail;
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14958
14959 wxPyEndAllowThreads(__tstate);
14960 if (PyErr_Occurred()) SWIG_fail;
14961 }
14962 {
14963 wxIcon * resultptr;
14964 resultptr = new wxIcon((wxIcon &) result);
14965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14966 }
14967 {
14968 if (temp1)
14969 delete arg1;
14970 }
14971 {
14972 if (temp2)
14973 delete arg2;
14974 }
14975 return resultobj;
14976 fail:
14977 {
14978 if (temp1)
14979 delete arg1;
14980 }
14981 {
14982 if (temp2)
14983 delete arg2;
14984 }
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14992 PyObject * obj0 = 0 ;
14993 char *kwnames[] = {
14994 (char *) "self", NULL
14995 };
14996
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 wxPyArtProvider_Destroy(arg1);
15003
15004 wxPyEndAllowThreads(__tstate);
15005 if (PyErr_Occurred()) SWIG_fail;
15006 }
15007 Py_INCREF(Py_None); resultobj = Py_None;
15008 return resultobj;
15009 fail:
15010 return NULL;
15011 }
15012
15013
15014 static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
15015 PyObject *obj;
15016 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
15018 Py_INCREF(obj);
15019 return Py_BuildValue((char *)"");
15020 }
15021 static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15024 PyObject * obj0 = 0 ;
15025 char *kwnames[] = {
15026 (char *) "self", NULL
15027 };
15028
15029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
15030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 delete arg1;
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 Py_INCREF(Py_None); resultobj = Py_None;
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15049 wxConfigBase *result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "config", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 result = (wxConfigBase *)wxConfigBase::Set(arg1);
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15066 return resultobj;
15067 fail:
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 bool arg1 = (bool) true ;
15075 wxConfigBase *result;
15076 PyObject * obj0 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "createOnDemand", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
15082 if (obj0) {
15083 arg1 = (bool)SWIG_As_bool(obj0);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (wxConfigBase *)wxConfigBase::Get(arg1);
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
15093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15094 return resultobj;
15095 fail:
15096 return NULL;
15097 }
15098
15099
15100 static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxConfigBase *result;
15103 char *kwnames[] = {
15104 NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 result = (wxConfigBase *)wxConfigBase::Create();
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
15116 return resultobj;
15117 fail:
15118 return NULL;
15119 }
15120
15121
15122 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 char *kwnames[] = {
15125 NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 wxConfigBase::DontCreateOnDemand();
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140 }
15141
15142
15143 static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
15144 PyObject *resultobj;
15145 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15146 wxString *arg2 = 0 ;
15147 bool temp2 = false ;
15148 PyObject * obj0 = 0 ;
15149 PyObject * obj1 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self",(char *) "path", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15157 {
15158 arg2 = wxString_in_helper(obj1);
15159 if (arg2 == NULL) SWIG_fail;
15160 temp2 = true;
15161 }
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 (arg1)->SetPath((wxString const &)*arg2);
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 Py_INCREF(Py_None); resultobj = Py_None;
15170 {
15171 if (temp2)
15172 delete arg2;
15173 }
15174 return resultobj;
15175 fail:
15176 {
15177 if (temp2)
15178 delete arg2;
15179 }
15180 return NULL;
15181 }
15182
15183
15184 static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj;
15186 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15187 wxString *result;
15188 PyObject * obj0 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 {
15199 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
15200 result = (wxString *) &_result_ref;
15201 }
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 {
15207 #if wxUSE_UNICODE
15208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15209 #else
15210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15211 #endif
15212 }
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15222 PyObject *result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = result;
15239 return resultobj;
15240 fail:
15241 return NULL;
15242 }
15243
15244
15245 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15248 long arg2 ;
15249 PyObject *result;
15250 PyObject * obj0 = 0 ;
15251 PyObject * obj1 = 0 ;
15252 char *kwnames[] = {
15253 (char *) "self",(char *) "index", NULL
15254 };
15255
15256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
15257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15259 arg2 = (long)SWIG_As_long(obj1);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = result;
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15278 PyObject *result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 resultobj = result;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15304 long arg2 ;
15305 PyObject *result;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "index", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15315 arg2 = (long)SWIG_As_long(obj1);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = result;
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15334 bool arg2 = (bool) false ;
15335 size_t result;
15336 PyObject * obj0 = 0 ;
15337 PyObject * obj1 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "recursive", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15345 if (obj1) {
15346 arg2 = (bool)SWIG_As_bool(obj1);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
15357 return resultobj;
15358 fail:
15359 return NULL;
15360 }
15361
15362
15363 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
15364 PyObject *resultobj;
15365 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15366 bool arg2 = (bool) false ;
15367 size_t result;
15368 PyObject * obj0 = 0 ;
15369 PyObject * obj1 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "self",(char *) "recursive", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 if (obj1) {
15378 arg2 = (bool)SWIG_As_bool(obj1);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
15389 return resultobj;
15390 fail:
15391 return NULL;
15392 }
15393
15394
15395 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15396 PyObject *resultobj;
15397 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15398 wxString *arg2 = 0 ;
15399 bool result;
15400 bool temp2 = false ;
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self",(char *) "name", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
15408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15410 {
15411 arg2 = wxString_in_helper(obj1);
15412 if (arg2 == NULL) SWIG_fail;
15413 temp2 = true;
15414 }
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 {
15423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15424 }
15425 {
15426 if (temp2)
15427 delete arg2;
15428 }
15429 return resultobj;
15430 fail:
15431 {
15432 if (temp2)
15433 delete arg2;
15434 }
15435 return NULL;
15436 }
15437
15438
15439 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15440 PyObject *resultobj;
15441 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15442 wxString *arg2 = 0 ;
15443 bool result;
15444 bool temp2 = false ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self",(char *) "name", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15454 {
15455 arg2 = wxString_in_helper(obj1);
15456 if (arg2 == NULL) SWIG_fail;
15457 temp2 = true;
15458 }
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 {
15467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15468 }
15469 {
15470 if (temp2)
15471 delete arg2;
15472 }
15473 return resultobj;
15474 fail:
15475 {
15476 if (temp2)
15477 delete arg2;
15478 }
15479 return NULL;
15480 }
15481
15482
15483 static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15486 wxString *arg2 = 0 ;
15487 bool result;
15488 bool temp2 = false ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self",(char *) "name", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15498 {
15499 arg2 = wxString_in_helper(obj1);
15500 if (arg2 == NULL) SWIG_fail;
15501 temp2 = true;
15502 }
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 {
15511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15512 }
15513 {
15514 if (temp2)
15515 delete arg2;
15516 }
15517 return resultobj;
15518 fail:
15519 {
15520 if (temp2)
15521 delete arg2;
15522 }
15523 return NULL;
15524 }
15525
15526
15527 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15530 wxString *arg2 = 0 ;
15531 int result;
15532 bool temp2 = false ;
15533 PyObject * obj0 = 0 ;
15534 PyObject * obj1 = 0 ;
15535 char *kwnames[] = {
15536 (char *) "self",(char *) "name", NULL
15537 };
15538
15539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15542 {
15543 arg2 = wxString_in_helper(obj1);
15544 if (arg2 == NULL) SWIG_fail;
15545 temp2 = true;
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = SWIG_From_int((int)result);
15555 {
15556 if (temp2)
15557 delete arg2;
15558 }
15559 return resultobj;
15560 fail:
15561 {
15562 if (temp2)
15563 delete arg2;
15564 }
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15572 wxString *arg2 = 0 ;
15573 wxString const &arg3_defvalue = wxPyEmptyString ;
15574 wxString *arg3 = (wxString *) &arg3_defvalue ;
15575 wxString result;
15576 bool temp2 = false ;
15577 bool temp3 = false ;
15578 PyObject * obj0 = 0 ;
15579 PyObject * obj1 = 0 ;
15580 PyObject * obj2 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15588 {
15589 arg2 = wxString_in_helper(obj1);
15590 if (arg2 == NULL) SWIG_fail;
15591 temp2 = true;
15592 }
15593 if (obj2) {
15594 {
15595 arg3 = wxString_in_helper(obj2);
15596 if (arg3 == NULL) SWIG_fail;
15597 temp3 = true;
15598 }
15599 }
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 {
15608 #if wxUSE_UNICODE
15609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15610 #else
15611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15612 #endif
15613 }
15614 {
15615 if (temp2)
15616 delete arg2;
15617 }
15618 {
15619 if (temp3)
15620 delete arg3;
15621 }
15622 return resultobj;
15623 fail:
15624 {
15625 if (temp2)
15626 delete arg2;
15627 }
15628 {
15629 if (temp3)
15630 delete arg3;
15631 }
15632 return NULL;
15633 }
15634
15635
15636 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
15637 PyObject *resultobj;
15638 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15639 wxString *arg2 = 0 ;
15640 long arg3 = (long) 0 ;
15641 long result;
15642 bool temp2 = false ;
15643 PyObject * obj0 = 0 ;
15644 PyObject * obj1 = 0 ;
15645 PyObject * obj2 = 0 ;
15646 char *kwnames[] = {
15647 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15648 };
15649
15650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15653 {
15654 arg2 = wxString_in_helper(obj1);
15655 if (arg2 == NULL) SWIG_fail;
15656 temp2 = true;
15657 }
15658 if (obj2) {
15659 arg3 = (long)SWIG_As_long(obj2);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 resultobj = SWIG_From_long((long)result);
15670 {
15671 if (temp2)
15672 delete arg2;
15673 }
15674 return resultobj;
15675 fail:
15676 {
15677 if (temp2)
15678 delete arg2;
15679 }
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15687 wxString *arg2 = 0 ;
15688 double arg3 = (double) 0.0 ;
15689 double result;
15690 bool temp2 = false ;
15691 PyObject * obj0 = 0 ;
15692 PyObject * obj1 = 0 ;
15693 PyObject * obj2 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15701 {
15702 arg2 = wxString_in_helper(obj1);
15703 if (arg2 == NULL) SWIG_fail;
15704 temp2 = true;
15705 }
15706 if (obj2) {
15707 arg3 = (double)SWIG_As_double(obj2);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_From_double((double)result);
15718 {
15719 if (temp2)
15720 delete arg2;
15721 }
15722 return resultobj;
15723 fail:
15724 {
15725 if (temp2)
15726 delete arg2;
15727 }
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj;
15734 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15735 wxString *arg2 = 0 ;
15736 bool arg3 = (bool) false ;
15737 bool result;
15738 bool temp2 = false ;
15739 PyObject * obj0 = 0 ;
15740 PyObject * obj1 = 0 ;
15741 PyObject * obj2 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15749 {
15750 arg2 = wxString_in_helper(obj1);
15751 if (arg2 == NULL) SWIG_fail;
15752 temp2 = true;
15753 }
15754 if (obj2) {
15755 arg3 = (bool)SWIG_As_bool(obj2);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 {
15766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15767 }
15768 {
15769 if (temp2)
15770 delete arg2;
15771 }
15772 return resultobj;
15773 fail:
15774 {
15775 if (temp2)
15776 delete arg2;
15777 }
15778 return NULL;
15779 }
15780
15781
15782 static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15785 wxString *arg2 = 0 ;
15786 wxString *arg3 = 0 ;
15787 bool result;
15788 bool temp2 = false ;
15789 bool temp3 = false ;
15790 PyObject * obj0 = 0 ;
15791 PyObject * obj1 = 0 ;
15792 PyObject * obj2 = 0 ;
15793 char *kwnames[] = {
15794 (char *) "self",(char *) "key",(char *) "value", NULL
15795 };
15796
15797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15800 {
15801 arg2 = wxString_in_helper(obj1);
15802 if (arg2 == NULL) SWIG_fail;
15803 temp2 = true;
15804 }
15805 {
15806 arg3 = wxString_in_helper(obj2);
15807 if (arg3 == NULL) SWIG_fail;
15808 temp3 = true;
15809 }
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 {
15818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15819 }
15820 {
15821 if (temp2)
15822 delete arg2;
15823 }
15824 {
15825 if (temp3)
15826 delete arg3;
15827 }
15828 return resultobj;
15829 fail:
15830 {
15831 if (temp2)
15832 delete arg2;
15833 }
15834 {
15835 if (temp3)
15836 delete arg3;
15837 }
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15845 wxString *arg2 = 0 ;
15846 long arg3 ;
15847 bool result;
15848 bool temp2 = false ;
15849 PyObject * obj0 = 0 ;
15850 PyObject * obj1 = 0 ;
15851 PyObject * obj2 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self",(char *) "key",(char *) "value", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15859 {
15860 arg2 = wxString_in_helper(obj1);
15861 if (arg2 == NULL) SWIG_fail;
15862 temp2 = true;
15863 }
15864 arg3 = (long)SWIG_As_long(obj2);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 {
15867 PyThreadState* __tstate = wxPyBeginAllowThreads();
15868 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15869
15870 wxPyEndAllowThreads(__tstate);
15871 if (PyErr_Occurred()) SWIG_fail;
15872 }
15873 {
15874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15875 }
15876 {
15877 if (temp2)
15878 delete arg2;
15879 }
15880 return resultobj;
15881 fail:
15882 {
15883 if (temp2)
15884 delete arg2;
15885 }
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15893 wxString *arg2 = 0 ;
15894 double arg3 ;
15895 bool result;
15896 bool temp2 = false ;
15897 PyObject * obj0 = 0 ;
15898 PyObject * obj1 = 0 ;
15899 PyObject * obj2 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self",(char *) "key",(char *) "value", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15907 {
15908 arg2 = wxString_in_helper(obj1);
15909 if (arg2 == NULL) SWIG_fail;
15910 temp2 = true;
15911 }
15912 arg3 = (double)SWIG_As_double(obj2);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 {
15922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15923 }
15924 {
15925 if (temp2)
15926 delete arg2;
15927 }
15928 return resultobj;
15929 fail:
15930 {
15931 if (temp2)
15932 delete arg2;
15933 }
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15941 wxString *arg2 = 0 ;
15942 bool arg3 ;
15943 bool result;
15944 bool temp2 = false ;
15945 PyObject * obj0 = 0 ;
15946 PyObject * obj1 = 0 ;
15947 PyObject * obj2 = 0 ;
15948 char *kwnames[] = {
15949 (char *) "self",(char *) "key",(char *) "value", NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15955 {
15956 arg2 = wxString_in_helper(obj1);
15957 if (arg2 == NULL) SWIG_fail;
15958 temp2 = true;
15959 }
15960 arg3 = (bool)SWIG_As_bool(obj2);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 {
15963 PyThreadState* __tstate = wxPyBeginAllowThreads();
15964 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15965
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
15969 {
15970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15971 }
15972 {
15973 if (temp2)
15974 delete arg2;
15975 }
15976 return resultobj;
15977 fail:
15978 {
15979 if (temp2)
15980 delete arg2;
15981 }
15982 return NULL;
15983 }
15984
15985
15986 static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
15987 PyObject *resultobj;
15988 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15989 bool arg2 = (bool) false ;
15990 bool result;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "currentOnly", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16000 if (obj1) {
16001 arg2 = (bool)SWIG_As_bool(obj1);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 result = (bool)(arg1)->Flush(arg2);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 {
16012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16013 }
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16023 wxString *arg2 = 0 ;
16024 wxString *arg3 = 0 ;
16025 bool result;
16026 bool temp2 = false ;
16027 bool temp3 = false ;
16028 PyObject * obj0 = 0 ;
16029 PyObject * obj1 = 0 ;
16030 PyObject * obj2 = 0 ;
16031 char *kwnames[] = {
16032 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16033 };
16034
16035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16038 {
16039 arg2 = wxString_in_helper(obj1);
16040 if (arg2 == NULL) SWIG_fail;
16041 temp2 = true;
16042 }
16043 {
16044 arg3 = wxString_in_helper(obj2);
16045 if (arg3 == NULL) SWIG_fail;
16046 temp3 = true;
16047 }
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 {
16056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16057 }
16058 {
16059 if (temp2)
16060 delete arg2;
16061 }
16062 {
16063 if (temp3)
16064 delete arg3;
16065 }
16066 return resultobj;
16067 fail:
16068 {
16069 if (temp2)
16070 delete arg2;
16071 }
16072 {
16073 if (temp3)
16074 delete arg3;
16075 }
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16083 wxString *arg2 = 0 ;
16084 wxString *arg3 = 0 ;
16085 bool result;
16086 bool temp2 = false ;
16087 bool temp3 = false ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 PyObject * obj2 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16098 {
16099 arg2 = wxString_in_helper(obj1);
16100 if (arg2 == NULL) SWIG_fail;
16101 temp2 = true;
16102 }
16103 {
16104 arg3 = wxString_in_helper(obj2);
16105 if (arg3 == NULL) SWIG_fail;
16106 temp3 = true;
16107 }
16108 {
16109 PyThreadState* __tstate = wxPyBeginAllowThreads();
16110 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
16111
16112 wxPyEndAllowThreads(__tstate);
16113 if (PyErr_Occurred()) SWIG_fail;
16114 }
16115 {
16116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16117 }
16118 {
16119 if (temp2)
16120 delete arg2;
16121 }
16122 {
16123 if (temp3)
16124 delete arg3;
16125 }
16126 return resultobj;
16127 fail:
16128 {
16129 if (temp2)
16130 delete arg2;
16131 }
16132 {
16133 if (temp3)
16134 delete arg3;
16135 }
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16143 wxString *arg2 = 0 ;
16144 bool arg3 = (bool) true ;
16145 bool result;
16146 bool temp2 = false ;
16147 PyObject * obj0 = 0 ;
16148 PyObject * obj1 = 0 ;
16149 PyObject * obj2 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16157 {
16158 arg2 = wxString_in_helper(obj1);
16159 if (arg2 == NULL) SWIG_fail;
16160 temp2 = true;
16161 }
16162 if (obj2) {
16163 arg3 = (bool)SWIG_As_bool(obj2);
16164 if (PyErr_Occurred()) SWIG_fail;
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 {
16174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16175 }
16176 {
16177 if (temp2)
16178 delete arg2;
16179 }
16180 return resultobj;
16181 fail:
16182 {
16183 if (temp2)
16184 delete arg2;
16185 }
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16193 wxString *arg2 = 0 ;
16194 bool result;
16195 bool temp2 = false ;
16196 PyObject * obj0 = 0 ;
16197 PyObject * obj1 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self",(char *) "key", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16205 {
16206 arg2 = wxString_in_helper(obj1);
16207 if (arg2 == NULL) SWIG_fail;
16208 temp2 = true;
16209 }
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
16213
16214 wxPyEndAllowThreads(__tstate);
16215 if (PyErr_Occurred()) SWIG_fail;
16216 }
16217 {
16218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16219 }
16220 {
16221 if (temp2)
16222 delete arg2;
16223 }
16224 return resultobj;
16225 fail:
16226 {
16227 if (temp2)
16228 delete arg2;
16229 }
16230 return NULL;
16231 }
16232
16233
16234 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16237 bool result;
16238 PyObject * obj0 = 0 ;
16239 char *kwnames[] = {
16240 (char *) "self", NULL
16241 };
16242
16243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
16244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (bool)(arg1)->DeleteAll();
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 {
16254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16255 }
16256 return resultobj;
16257 fail:
16258 return NULL;
16259 }
16260
16261
16262 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16263 PyObject *resultobj;
16264 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16265 bool arg2 = (bool) true ;
16266 PyObject * obj0 = 0 ;
16267 PyObject * obj1 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self",(char *) "doIt", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16275 if (obj1) {
16276 arg2 = (bool)SWIG_As_bool(obj1);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->SetExpandEnvVars(arg2);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16296 bool result;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
16303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 {
16313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16314 }
16315 return resultobj;
16316 fail:
16317 return NULL;
16318 }
16319
16320
16321 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
16322 PyObject *resultobj;
16323 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16324 bool arg2 = (bool) true ;
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "self",(char *) "doIt", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
16332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16334 if (obj1) {
16335 arg2 = (bool)SWIG_As_bool(obj1);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->SetRecordDefaults(arg2);
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349 }
16350
16351
16352 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16355 bool result;
16356 PyObject * obj0 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 {
16372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16373 }
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16383 wxString *arg2 = 0 ;
16384 wxString result;
16385 bool temp2 = false ;
16386 PyObject * obj0 = 0 ;
16387 PyObject * obj1 = 0 ;
16388 char *kwnames[] = {
16389 (char *) "self",(char *) "str", NULL
16390 };
16391
16392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
16393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16395 {
16396 arg2 = wxString_in_helper(obj1);
16397 if (arg2 == NULL) SWIG_fail;
16398 temp2 = true;
16399 }
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 {
16408 #if wxUSE_UNICODE
16409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16410 #else
16411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16412 #endif
16413 }
16414 {
16415 if (temp2)
16416 delete arg2;
16417 }
16418 return resultobj;
16419 fail:
16420 {
16421 if (temp2)
16422 delete arg2;
16423 }
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16431 wxString result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = ((wxConfigBase const *)arg1)->GetAppName();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 {
16448 #if wxUSE_UNICODE
16449 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16450 #else
16451 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16452 #endif
16453 }
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16463 wxString result;
16464 PyObject * obj0 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16472 {
16473 PyThreadState* __tstate = wxPyBeginAllowThreads();
16474 result = ((wxConfigBase const *)arg1)->GetVendorName();
16475
16476 wxPyEndAllowThreads(__tstate);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 {
16480 #if wxUSE_UNICODE
16481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16482 #else
16483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16484 #endif
16485 }
16486 return resultobj;
16487 fail:
16488 return NULL;
16489 }
16490
16491
16492 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16495 wxString *arg2 = 0 ;
16496 bool temp2 = false ;
16497 PyObject * obj0 = 0 ;
16498 PyObject * obj1 = 0 ;
16499 char *kwnames[] = {
16500 (char *) "self",(char *) "appName", NULL
16501 };
16502
16503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16506 {
16507 arg2 = wxString_in_helper(obj1);
16508 if (arg2 == NULL) SWIG_fail;
16509 temp2 = true;
16510 }
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->SetAppName((wxString const &)*arg2);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 {
16520 if (temp2)
16521 delete arg2;
16522 }
16523 return resultobj;
16524 fail:
16525 {
16526 if (temp2)
16527 delete arg2;
16528 }
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16536 wxString *arg2 = 0 ;
16537 bool temp2 = false ;
16538 PyObject * obj0 = 0 ;
16539 PyObject * obj1 = 0 ;
16540 char *kwnames[] = {
16541 (char *) "self",(char *) "vendorName", NULL
16542 };
16543
16544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16547 {
16548 arg2 = wxString_in_helper(obj1);
16549 if (arg2 == NULL) SWIG_fail;
16550 temp2 = true;
16551 }
16552 {
16553 PyThreadState* __tstate = wxPyBeginAllowThreads();
16554 (arg1)->SetVendorName((wxString const &)*arg2);
16555
16556 wxPyEndAllowThreads(__tstate);
16557 if (PyErr_Occurred()) SWIG_fail;
16558 }
16559 Py_INCREF(Py_None); resultobj = Py_None;
16560 {
16561 if (temp2)
16562 delete arg2;
16563 }
16564 return resultobj;
16565 fail:
16566 {
16567 if (temp2)
16568 delete arg2;
16569 }
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16577 long arg2 ;
16578 PyObject * obj0 = 0 ;
16579 PyObject * obj1 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self",(char *) "style", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16587 arg2 = (long)SWIG_As_long(obj1);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 (arg1)->SetStyle(arg2);
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 Py_INCREF(Py_None); resultobj = Py_None;
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16606 long result;
16607 PyObject * obj0 = 0 ;
16608 char *kwnames[] = {
16609 (char *) "self", NULL
16610 };
16611
16612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16615 {
16616 PyThreadState* __tstate = wxPyBeginAllowThreads();
16617 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16618
16619 wxPyEndAllowThreads(__tstate);
16620 if (PyErr_Occurred()) SWIG_fail;
16621 }
16622 resultobj = SWIG_From_long((long)result);
16623 return resultobj;
16624 fail:
16625 return NULL;
16626 }
16627
16628
16629 static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
16630 PyObject *obj;
16631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16632 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16633 Py_INCREF(obj);
16634 return Py_BuildValue((char *)"");
16635 }
16636 static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxString const &arg1_defvalue = wxPyEmptyString ;
16639 wxString *arg1 = (wxString *) &arg1_defvalue ;
16640 wxString const &arg2_defvalue = wxPyEmptyString ;
16641 wxString *arg2 = (wxString *) &arg2_defvalue ;
16642 wxString const &arg3_defvalue = wxPyEmptyString ;
16643 wxString *arg3 = (wxString *) &arg3_defvalue ;
16644 wxString const &arg4_defvalue = wxPyEmptyString ;
16645 wxString *arg4 = (wxString *) &arg4_defvalue ;
16646 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16647 wxConfig *result;
16648 bool temp1 = false ;
16649 bool temp2 = false ;
16650 bool temp3 = false ;
16651 bool temp4 = false ;
16652 PyObject * obj0 = 0 ;
16653 PyObject * obj1 = 0 ;
16654 PyObject * obj2 = 0 ;
16655 PyObject * obj3 = 0 ;
16656 PyObject * obj4 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16662 if (obj0) {
16663 {
16664 arg1 = wxString_in_helper(obj0);
16665 if (arg1 == NULL) SWIG_fail;
16666 temp1 = true;
16667 }
16668 }
16669 if (obj1) {
16670 {
16671 arg2 = wxString_in_helper(obj1);
16672 if (arg2 == NULL) SWIG_fail;
16673 temp2 = true;
16674 }
16675 }
16676 if (obj2) {
16677 {
16678 arg3 = wxString_in_helper(obj2);
16679 if (arg3 == NULL) SWIG_fail;
16680 temp3 = true;
16681 }
16682 }
16683 if (obj3) {
16684 {
16685 arg4 = wxString_in_helper(obj3);
16686 if (arg4 == NULL) SWIG_fail;
16687 temp4 = true;
16688 }
16689 }
16690 if (obj4) {
16691 arg5 = (long)SWIG_As_long(obj4);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 {
16695 PyThreadState* __tstate = wxPyBeginAllowThreads();
16696 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16697
16698 wxPyEndAllowThreads(__tstate);
16699 if (PyErr_Occurred()) SWIG_fail;
16700 }
16701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16702 {
16703 if (temp1)
16704 delete arg1;
16705 }
16706 {
16707 if (temp2)
16708 delete arg2;
16709 }
16710 {
16711 if (temp3)
16712 delete arg3;
16713 }
16714 {
16715 if (temp4)
16716 delete arg4;
16717 }
16718 return resultobj;
16719 fail:
16720 {
16721 if (temp1)
16722 delete arg1;
16723 }
16724 {
16725 if (temp2)
16726 delete arg2;
16727 }
16728 {
16729 if (temp3)
16730 delete arg3;
16731 }
16732 {
16733 if (temp4)
16734 delete arg4;
16735 }
16736 return NULL;
16737 }
16738
16739
16740 static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxConfig *arg1 = (wxConfig *) 0 ;
16743 PyObject * obj0 = 0 ;
16744 char *kwnames[] = {
16745 (char *) "self", NULL
16746 };
16747
16748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 delete arg1;
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 Py_INCREF(Py_None); resultobj = Py_None;
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 static PyObject * Config_swigregister(PyObject *, PyObject *args) {
16766 PyObject *obj;
16767 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16768 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16769 Py_INCREF(obj);
16770 return Py_BuildValue((char *)"");
16771 }
16772 static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxString const &arg1_defvalue = wxPyEmptyString ;
16775 wxString *arg1 = (wxString *) &arg1_defvalue ;
16776 wxString const &arg2_defvalue = wxPyEmptyString ;
16777 wxString *arg2 = (wxString *) &arg2_defvalue ;
16778 wxString const &arg3_defvalue = wxPyEmptyString ;
16779 wxString *arg3 = (wxString *) &arg3_defvalue ;
16780 wxString const &arg4_defvalue = wxPyEmptyString ;
16781 wxString *arg4 = (wxString *) &arg4_defvalue ;
16782 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16783 wxFileConfig *result;
16784 bool temp1 = false ;
16785 bool temp2 = false ;
16786 bool temp3 = false ;
16787 bool temp4 = false ;
16788 PyObject * obj0 = 0 ;
16789 PyObject * obj1 = 0 ;
16790 PyObject * obj2 = 0 ;
16791 PyObject * obj3 = 0 ;
16792 PyObject * obj4 = 0 ;
16793 char *kwnames[] = {
16794 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16795 };
16796
16797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16798 if (obj0) {
16799 {
16800 arg1 = wxString_in_helper(obj0);
16801 if (arg1 == NULL) SWIG_fail;
16802 temp1 = true;
16803 }
16804 }
16805 if (obj1) {
16806 {
16807 arg2 = wxString_in_helper(obj1);
16808 if (arg2 == NULL) SWIG_fail;
16809 temp2 = true;
16810 }
16811 }
16812 if (obj2) {
16813 {
16814 arg3 = wxString_in_helper(obj2);
16815 if (arg3 == NULL) SWIG_fail;
16816 temp3 = true;
16817 }
16818 }
16819 if (obj3) {
16820 {
16821 arg4 = wxString_in_helper(obj3);
16822 if (arg4 == NULL) SWIG_fail;
16823 temp4 = true;
16824 }
16825 }
16826 if (obj4) {
16827 arg5 = (long)SWIG_As_long(obj4);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16833
16834 wxPyEndAllowThreads(__tstate);
16835 if (PyErr_Occurred()) SWIG_fail;
16836 }
16837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16838 {
16839 if (temp1)
16840 delete arg1;
16841 }
16842 {
16843 if (temp2)
16844 delete arg2;
16845 }
16846 {
16847 if (temp3)
16848 delete arg3;
16849 }
16850 {
16851 if (temp4)
16852 delete arg4;
16853 }
16854 return resultobj;
16855 fail:
16856 {
16857 if (temp1)
16858 delete arg1;
16859 }
16860 {
16861 if (temp2)
16862 delete arg2;
16863 }
16864 {
16865 if (temp3)
16866 delete arg3;
16867 }
16868 {
16869 if (temp4)
16870 delete arg4;
16871 }
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 delete arg1;
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 Py_INCREF(Py_None); resultobj = Py_None;
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
16902 PyObject *obj;
16903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16904 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16905 Py_INCREF(obj);
16906 return Py_BuildValue((char *)"");
16907 }
16908 static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16909 PyObject *resultobj;
16910 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16911 wxString *arg2 = 0 ;
16912 wxConfigPathChanger *result;
16913 bool temp2 = false ;
16914 PyObject * obj0 = 0 ;
16915 PyObject * obj1 = 0 ;
16916 char *kwnames[] = {
16917 (char *) "config",(char *) "entry", NULL
16918 };
16919
16920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16923 {
16924 arg2 = wxString_in_helper(obj1);
16925 if (arg2 == NULL) SWIG_fail;
16926 temp2 = true;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16936 {
16937 if (temp2)
16938 delete arg2;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp2)
16944 delete arg2;
16945 }
16946 return NULL;
16947 }
16948
16949
16950 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16953 PyObject * obj0 = 0 ;
16954 char *kwnames[] = {
16955 (char *) "self", NULL
16956 };
16957
16958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 delete arg1;
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 Py_INCREF(Py_None); resultobj = Py_None;
16969 return resultobj;
16970 fail:
16971 return NULL;
16972 }
16973
16974
16975 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
16976 PyObject *resultobj;
16977 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16978 wxString *result;
16979 PyObject * obj0 = 0 ;
16980 char *kwnames[] = {
16981 (char *) "self", NULL
16982 };
16983
16984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 {
16990 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16991 result = (wxString *) &_result_ref;
16992 }
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 {
16998 #if wxUSE_UNICODE
16999 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17000 #else
17001 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17002 #endif
17003 }
17004 return resultobj;
17005 fail:
17006 return NULL;
17007 }
17008
17009
17010 static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
17011 PyObject *obj;
17012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17013 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
17014 Py_INCREF(obj);
17015 return Py_BuildValue((char *)"");
17016 }
17017 static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxString *arg1 = 0 ;
17020 wxString result;
17021 bool temp1 = false ;
17022 PyObject * obj0 = 0 ;
17023 char *kwnames[] = {
17024 (char *) "sz", NULL
17025 };
17026
17027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
17028 {
17029 arg1 = wxString_in_helper(obj0);
17030 if (arg1 == NULL) SWIG_fail;
17031 temp1 = true;
17032 }
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 result = wxExpandEnvVars((wxString const &)*arg1);
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 {
17041 #if wxUSE_UNICODE
17042 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17043 #else
17044 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17045 #endif
17046 }
17047 {
17048 if (temp1)
17049 delete arg1;
17050 }
17051 return resultobj;
17052 fail:
17053 {
17054 if (temp1)
17055 delete arg1;
17056 }
17057 return NULL;
17058 }
17059
17060
17061 static int _wrap_DateFormatStr_set(PyObject *) {
17062 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
17063 return 1;
17064 }
17065
17066
17067 static PyObject *_wrap_DateFormatStr_get() {
17068 PyObject *pyobj;
17069
17070 {
17071 #if wxUSE_UNICODE
17072 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17073 #else
17074 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
17075 #endif
17076 }
17077 return pyobj;
17078 }
17079
17080
17081 static int _wrap_TimeSpanFormatStr_set(PyObject *) {
17082 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
17083 return 1;
17084 }
17085
17086
17087 static PyObject *_wrap_TimeSpanFormatStr_get() {
17088 PyObject *pyobj;
17089
17090 {
17091 #if wxUSE_UNICODE
17092 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17093 #else
17094 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
17095 #endif
17096 }
17097 return pyobj;
17098 }
17099
17100
17101 static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 int arg1 ;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "country", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
17110 arg1 = (int)SWIG_As_int(obj0);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 wxDateTime::SetCountry((wxDateTime::Country )arg1);
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 Py_INCREF(Py_None); resultobj = Py_None;
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 int result;
17129 char *kwnames[] = {
17130 NULL
17131 };
17132
17133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = (int)wxDateTime::GetCountry();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 resultobj = SWIG_From_int((int)result);
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 int arg1 = (int) wxDateTime::Country_Default ;
17151 bool result;
17152 PyObject * obj0 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "country", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
17158 if (obj0) {
17159 arg1 = (int)SWIG_As_int(obj0);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 {
17170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17171 }
17172 return resultobj;
17173 fail:
17174 return NULL;
17175 }
17176
17177
17178 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 int arg1 = (int) wxDateTime::Gregorian ;
17181 int result;
17182 PyObject * obj0 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "cal", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
17188 if (obj0) {
17189 arg1 = (int)SWIG_As_int(obj0);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = SWIG_From_int((int)result);
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 int arg1 ;
17209 int result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "year", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
17216 arg1 = (int)SWIG_As_int(obj0);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (int)wxDateTime::ConvertYearToBC(arg1);
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_From_int((int)result);
17226 return resultobj;
17227 fail:
17228 return NULL;
17229 }
17230
17231
17232 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 int arg1 = (int) wxDateTime::Gregorian ;
17235 int result;
17236 PyObject * obj0 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "cal", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
17242 if (obj0) {
17243 arg1 = (int)SWIG_As_int(obj0);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 resultobj = SWIG_From_int((int)result);
17254 return resultobj;
17255 fail:
17256 return NULL;
17257 }
17258
17259
17260 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 int arg1 = (int) wxDateTime::Inv_Year ;
17263 int arg2 = (int) wxDateTime::Gregorian ;
17264 bool result;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "year",(char *) "cal", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
17272 if (obj0) {
17273 arg1 = (int)SWIG_As_int(obj0);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 if (obj1) {
17277 arg2 = (int)SWIG_As_int(obj1);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
17283
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 {
17288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17289 }
17290 return resultobj;
17291 fail:
17292 return NULL;
17293 }
17294
17295
17296 static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 int arg1 = (int) wxDateTime::Inv_Year ;
17299 int result;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "year", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
17306 if (obj0) {
17307 arg1 = (int)SWIG_As_int(obj0);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 result = (int)wxDateTime::GetCentury(arg1);
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 resultobj = SWIG_From_int((int)result);
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 int arg1 ;
17327 int arg2 = (int) wxDateTime::Gregorian ;
17328 int result;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "year",(char *) "cal", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
17336 arg1 = (int)SWIG_As_int(obj0);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 if (obj1) {
17339 arg2 = (int)SWIG_As_int(obj1);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = SWIG_From_int((int)result);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 int arg1 ;
17359 int arg2 = (int) wxDateTime::Inv_Year ;
17360 int arg3 = (int) wxDateTime::Gregorian ;
17361 int result;
17362 PyObject * obj0 = 0 ;
17363 PyObject * obj1 = 0 ;
17364 PyObject * obj2 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "month",(char *) "year",(char *) "cal", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
17370 arg1 = (int)SWIG_As_int(obj0);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 if (obj1) {
17373 arg2 = (int)SWIG_As_int(obj1);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 if (obj2) {
17377 arg3 = (int)SWIG_As_int(obj2);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 resultobj = SWIG_From_int((int)result);
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
17395 PyObject *resultobj;
17396 int arg1 ;
17397 int arg2 = (int) wxDateTime::Name_Full ;
17398 wxString result;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "month",(char *) "flags", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
17406 arg1 = (int)SWIG_As_int(obj0);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 if (obj1) {
17409 arg2 = (int)SWIG_As_int(obj1);
17410 if (PyErr_Occurred()) SWIG_fail;
17411 }
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 #if wxUSE_UNICODE
17421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17422 #else
17423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17424 #endif
17425 }
17426 return resultobj;
17427 fail:
17428 return NULL;
17429 }
17430
17431
17432 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 int arg1 ;
17435 int arg2 = (int) wxDateTime::Name_Full ;
17436 wxString result;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj1 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "weekday",(char *) "flags", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17444 arg1 = (int)SWIG_As_int(obj0);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 if (obj1) {
17447 arg2 = (int)SWIG_As_int(obj1);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 {
17451 PyThreadState* __tstate = wxPyBeginAllowThreads();
17452 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17453
17454 wxPyEndAllowThreads(__tstate);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 {
17458 #if wxUSE_UNICODE
17459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17460 #else
17461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17462 #endif
17463 }
17464 return resultobj;
17465 fail:
17466 return NULL;
17467 }
17468
17469
17470 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
17471 PyObject *resultobj;
17472 wxString *arg1 = (wxString *) 0 ;
17473 wxString *arg2 = (wxString *) 0 ;
17474 bool temp1 = false ;
17475 bool temp2 = false ;
17476 PyObject * obj0 = 0 ;
17477 PyObject * obj1 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17483 {
17484 arg1 = wxString_in_helper(obj0);
17485 if (arg1 == NULL) SWIG_fail;
17486 temp1 = true;
17487 }
17488 {
17489 arg2 = wxString_in_helper(obj1);
17490 if (arg2 == NULL) SWIG_fail;
17491 temp2 = true;
17492 }
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 wxDateTime::GetAmPmStrings(arg1,arg2);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 Py_INCREF(Py_None); resultobj = Py_None;
17501 {
17502 if (temp1)
17503 delete arg1;
17504 }
17505 {
17506 if (temp2)
17507 delete arg2;
17508 }
17509 return resultobj;
17510 fail:
17511 {
17512 if (temp1)
17513 delete arg1;
17514 }
17515 {
17516 if (temp2)
17517 delete arg2;
17518 }
17519 return NULL;
17520 }
17521
17522
17523 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 int arg1 = (int) wxDateTime::Inv_Year ;
17526 int arg2 = (int) wxDateTime::Country_Default ;
17527 bool result;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "year",(char *) "country", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17535 if (obj0) {
17536 arg1 = (int)SWIG_As_int(obj0);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 if (obj1) {
17540 arg2 = (int)SWIG_As_int(obj1);
17541 if (PyErr_Occurred()) SWIG_fail;
17542 }
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 {
17551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17552 }
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 int arg1 = (int) wxDateTime::Inv_Year ;
17562 int arg2 = (int) wxDateTime::Country_Default ;
17563 wxDateTime result;
17564 PyObject * obj0 = 0 ;
17565 PyObject * obj1 = 0 ;
17566 char *kwnames[] = {
17567 (char *) "year",(char *) "country", NULL
17568 };
17569
17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17571 if (obj0) {
17572 arg1 = (int)SWIG_As_int(obj0);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 if (obj1) {
17576 arg2 = (int)SWIG_As_int(obj1);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 {
17587 wxDateTime * resultptr;
17588 resultptr = new wxDateTime((wxDateTime &) result);
17589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17590 }
17591 return resultobj;
17592 fail:
17593 return NULL;
17594 }
17595
17596
17597 static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
17598 PyObject *resultobj;
17599 int arg1 = (int) wxDateTime::Inv_Year ;
17600 int arg2 = (int) wxDateTime::Country_Default ;
17601 wxDateTime result;
17602 PyObject * obj0 = 0 ;
17603 PyObject * obj1 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "year",(char *) "country", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17609 if (obj0) {
17610 arg1 = (int)SWIG_As_int(obj0);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
17613 if (obj1) {
17614 arg2 = (int)SWIG_As_int(obj1);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 {
17625 wxDateTime * resultptr;
17626 resultptr = new wxDateTime((wxDateTime &) result);
17627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17628 }
17629 return resultobj;
17630 fail:
17631 return NULL;
17632 }
17633
17634
17635 static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
17636 PyObject *resultobj;
17637 wxDateTime result;
17638 char *kwnames[] = {
17639 NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 result = wxDateTime::Now();
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 {
17651 wxDateTime * resultptr;
17652 resultptr = new wxDateTime((wxDateTime &) result);
17653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17654 }
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxDateTime result;
17664 char *kwnames[] = {
17665 NULL
17666 };
17667
17668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = wxDateTime::UNow();
17672
17673 wxPyEndAllowThreads(__tstate);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 {
17677 wxDateTime * resultptr;
17678 resultptr = new wxDateTime((wxDateTime &) result);
17679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17680 }
17681 return resultobj;
17682 fail:
17683 return NULL;
17684 }
17685
17686
17687 static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxDateTime result;
17690 char *kwnames[] = {
17691 NULL
17692 };
17693
17694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = wxDateTime::Today();
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 {
17703 wxDateTime * resultptr;
17704 resultptr = new wxDateTime((wxDateTime &) result);
17705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17706 }
17707 return resultobj;
17708 fail:
17709 return NULL;
17710 }
17711
17712
17713 static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj;
17715 wxDateTime *result;
17716 char *kwnames[] = {
17717 NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 result = (wxDateTime *)new wxDateTime();
17724
17725 wxPyEndAllowThreads(__tstate);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17729 return resultobj;
17730 fail:
17731 return NULL;
17732 }
17733
17734
17735 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj;
17737 time_t arg1 ;
17738 wxDateTime *result;
17739 PyObject * obj0 = 0 ;
17740 char *kwnames[] = {
17741 (char *) "timet", NULL
17742 };
17743
17744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17745 arg1 = (time_t)SWIG_As_unsigned_SS_int(obj0);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 {
17748 PyThreadState* __tstate = wxPyBeginAllowThreads();
17749 result = (wxDateTime *)new wxDateTime(arg1);
17750
17751 wxPyEndAllowThreads(__tstate);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17755 return resultobj;
17756 fail:
17757 return NULL;
17758 }
17759
17760
17761 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 double arg1 ;
17764 wxDateTime *result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "jdn", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17771 arg1 = (double)SWIG_As_double(obj0);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (wxDateTime *)new wxDateTime(arg1);
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17781 return resultobj;
17782 fail:
17783 return NULL;
17784 }
17785
17786
17787 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17788 PyObject *resultobj;
17789 int arg1 ;
17790 int arg2 = (int) 0 ;
17791 int arg3 = (int) 0 ;
17792 int arg4 = (int) 0 ;
17793 wxDateTime *result;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 PyObject * obj2 = 0 ;
17797 PyObject * obj3 = 0 ;
17798 char *kwnames[] = {
17799 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17800 };
17801
17802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17803 arg1 = (int)SWIG_As_int(obj0);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 if (obj1) {
17806 arg2 = (int)SWIG_As_int(obj1);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 if (obj2) {
17810 arg3 = (int)SWIG_As_int(obj2);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 if (obj3) {
17814 arg4 = (int)SWIG_As_int(obj3);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17820
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 int arg1 ;
17834 int arg2 = (int) wxDateTime::Inv_Month ;
17835 int arg3 = (int) wxDateTime::Inv_Year ;
17836 int arg4 = (int) 0 ;
17837 int arg5 = (int) 0 ;
17838 int arg6 = (int) 0 ;
17839 int arg7 = (int) 0 ;
17840 wxDateTime *result;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 PyObject * obj2 = 0 ;
17844 PyObject * obj3 = 0 ;
17845 PyObject * obj4 = 0 ;
17846 PyObject * obj5 = 0 ;
17847 PyObject * obj6 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17853 arg1 = (int)SWIG_As_int(obj0);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 if (obj1) {
17856 arg2 = (int)SWIG_As_int(obj1);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 if (obj2) {
17860 arg3 = (int)SWIG_As_int(obj2);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 if (obj3) {
17864 arg4 = (int)SWIG_As_int(obj3);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 if (obj4) {
17868 arg5 = (int)SWIG_As_int(obj4);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 if (obj5) {
17872 arg6 = (int)SWIG_As_int(obj5);
17873 if (PyErr_Occurred()) SWIG_fail;
17874 }
17875 if (obj6) {
17876 arg7 = (int)SWIG_As_int(obj6);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxDateTime *arg1 = (wxDateTime *) 0 ;
17896 PyObject * obj0 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17904 {
17905 PyThreadState* __tstate = wxPyBeginAllowThreads();
17906 delete arg1;
17907
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 Py_INCREF(Py_None); resultobj = Py_None;
17912 return resultobj;
17913 fail:
17914 return NULL;
17915 }
17916
17917
17918 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
17919 PyObject *resultobj;
17920 wxDateTime *arg1 = (wxDateTime *) 0 ;
17921 wxDateTime *result;
17922 PyObject * obj0 = 0 ;
17923 char *kwnames[] = {
17924 (char *) "self", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17930 {
17931 PyThreadState* __tstate = wxPyBeginAllowThreads();
17932 {
17933 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17934 result = (wxDateTime *) &_result_ref;
17935 }
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxDateTime *arg1 = (wxDateTime *) 0 ;
17950 time_t arg2 ;
17951 wxDateTime *result;
17952 PyObject * obj0 = 0 ;
17953 PyObject * obj1 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self",(char *) "timet", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 arg2 = (time_t)SWIG_As_unsigned_SS_int(obj1);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 {
17966 wxDateTime &_result_ref = (arg1)->Set(arg2);
17967 result = (wxDateTime *) &_result_ref;
17968 }
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977 }
17978
17979
17980 static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxDateTime *arg1 = (wxDateTime *) 0 ;
17983 double arg2 ;
17984 wxDateTime *result;
17985 PyObject * obj0 = 0 ;
17986 PyObject * obj1 = 0 ;
17987 char *kwnames[] = {
17988 (char *) "self",(char *) "jdn", NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17994 arg2 = (double)SWIG_As_double(obj1);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 {
17997 PyThreadState* __tstate = wxPyBeginAllowThreads();
17998 {
17999 wxDateTime &_result_ref = (arg1)->Set(arg2);
18000 result = (wxDateTime *) &_result_ref;
18001 }
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18007 return resultobj;
18008 fail:
18009 return NULL;
18010 }
18011
18012
18013 static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxDateTime *arg1 = (wxDateTime *) 0 ;
18016 int arg2 ;
18017 int arg3 = (int) 0 ;
18018 int arg4 = (int) 0 ;
18019 int arg5 = (int) 0 ;
18020 wxDateTime *result;
18021 PyObject * obj0 = 0 ;
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
18024 PyObject * obj3 = 0 ;
18025 PyObject * obj4 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18033 arg2 = (int)SWIG_As_int(obj1);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 if (obj2) {
18036 arg3 = (int)SWIG_As_int(obj2);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 if (obj3) {
18040 arg4 = (int)SWIG_As_int(obj3);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 if (obj4) {
18044 arg5 = (int)SWIG_As_int(obj4);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 {
18048 PyThreadState* __tstate = wxPyBeginAllowThreads();
18049 {
18050 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
18051 result = (wxDateTime *) &_result_ref;
18052 }
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxDateTime *arg1 = (wxDateTime *) 0 ;
18067 int arg2 ;
18068 int arg3 = (int) wxDateTime::Inv_Month ;
18069 int arg4 = (int) wxDateTime::Inv_Year ;
18070 int arg5 = (int) 0 ;
18071 int arg6 = (int) 0 ;
18072 int arg7 = (int) 0 ;
18073 int arg8 = (int) 0 ;
18074 wxDateTime *result;
18075 PyObject * obj0 = 0 ;
18076 PyObject * obj1 = 0 ;
18077 PyObject * obj2 = 0 ;
18078 PyObject * obj3 = 0 ;
18079 PyObject * obj4 = 0 ;
18080 PyObject * obj5 = 0 ;
18081 PyObject * obj6 = 0 ;
18082 PyObject * obj7 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18090 arg2 = (int)SWIG_As_int(obj1);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 if (obj2) {
18093 arg3 = (int)SWIG_As_int(obj2);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 if (obj3) {
18097 arg4 = (int)SWIG_As_int(obj3);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 if (obj4) {
18101 arg5 = (int)SWIG_As_int(obj4);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 if (obj5) {
18105 arg6 = (int)SWIG_As_int(obj5);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 if (obj6) {
18109 arg7 = (int)SWIG_As_int(obj6);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 if (obj7) {
18113 arg8 = (int)SWIG_As_int(obj7);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 {
18119 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
18120 result = (wxDateTime *) &_result_ref;
18121 }
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxDateTime *arg1 = (wxDateTime *) 0 ;
18136 wxDateTime *result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 {
18148 wxDateTime &_result_ref = (arg1)->ResetTime();
18149 result = (wxDateTime *) &_result_ref;
18150 }
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxDateTime *arg1 = (wxDateTime *) 0 ;
18165 int arg2 ;
18166 wxDateTime *result;
18167 PyObject * obj0 = 0 ;
18168 PyObject * obj1 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self",(char *) "year", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18176 arg2 = (int)SWIG_As_int(obj1);
18177 if (PyErr_Occurred()) SWIG_fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 {
18181 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
18182 result = (wxDateTime *) &_result_ref;
18183 }
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18189 return resultobj;
18190 fail:
18191 return NULL;
18192 }
18193
18194
18195 static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxDateTime *arg1 = (wxDateTime *) 0 ;
18198 int arg2 ;
18199 wxDateTime *result;
18200 PyObject * obj0 = 0 ;
18201 PyObject * obj1 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self",(char *) "month", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18209 arg2 = (int)SWIG_As_int(obj1);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 {
18214 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
18215 result = (wxDateTime *) &_result_ref;
18216 }
18217
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18222 return resultobj;
18223 fail:
18224 return NULL;
18225 }
18226
18227
18228 static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
18229 PyObject *resultobj;
18230 wxDateTime *arg1 = (wxDateTime *) 0 ;
18231 int arg2 ;
18232 wxDateTime *result;
18233 PyObject * obj0 = 0 ;
18234 PyObject * obj1 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "self",(char *) "day", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18242 arg2 = (int)SWIG_As_int(obj1);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 {
18247 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
18248 result = (wxDateTime *) &_result_ref;
18249 }
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxDateTime *arg1 = (wxDateTime *) 0 ;
18264 int arg2 ;
18265 wxDateTime *result;
18266 PyObject * obj0 = 0 ;
18267 PyObject * obj1 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self",(char *) "hour", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
18273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18275 arg2 = (int)SWIG_As_int(obj1);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 {
18280 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
18281 result = (wxDateTime *) &_result_ref;
18282 }
18283
18284 wxPyEndAllowThreads(__tstate);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18288 return resultobj;
18289 fail:
18290 return NULL;
18291 }
18292
18293
18294 static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
18295 PyObject *resultobj;
18296 wxDateTime *arg1 = (wxDateTime *) 0 ;
18297 int arg2 ;
18298 wxDateTime *result;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self",(char *) "minute", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 arg2 = (int)SWIG_As_int(obj1);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 {
18313 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
18314 result = (wxDateTime *) &_result_ref;
18315 }
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxDateTime *arg1 = (wxDateTime *) 0 ;
18330 int arg2 ;
18331 wxDateTime *result;
18332 PyObject * obj0 = 0 ;
18333 PyObject * obj1 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self",(char *) "second", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18341 arg2 = (int)SWIG_As_int(obj1);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 {
18346 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
18347 result = (wxDateTime *) &_result_ref;
18348 }
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxDateTime *arg1 = (wxDateTime *) 0 ;
18363 int arg2 ;
18364 wxDateTime *result;
18365 PyObject * obj0 = 0 ;
18366 PyObject * obj1 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self",(char *) "millisecond", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18374 arg2 = (int)SWIG_As_int(obj1);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 {
18379 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
18380 result = (wxDateTime *) &_result_ref;
18381 }
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18387 return resultobj;
18388 fail:
18389 return NULL;
18390 }
18391
18392
18393 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18394 PyObject *resultobj;
18395 wxDateTime *arg1 = (wxDateTime *) 0 ;
18396 int arg2 ;
18397 int arg3 = (int) wxDateTime::Monday_First ;
18398 wxDateTime *result;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 PyObject * obj2 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18409 arg2 = (int)SWIG_As_int(obj1);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 if (obj2) {
18412 arg3 = (int)SWIG_As_int(obj2);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 {
18418 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18419 result = (wxDateTime *) &_result_ref;
18420 }
18421
18422 wxPyEndAllowThreads(__tstate);
18423 if (PyErr_Occurred()) SWIG_fail;
18424 }
18425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18426 return resultobj;
18427 fail:
18428 return NULL;
18429 }
18430
18431
18432 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18433 PyObject *resultobj;
18434 wxDateTime *arg1 = (wxDateTime *) 0 ;
18435 int arg2 ;
18436 int arg3 = (int) wxDateTime::Monday_First ;
18437 wxDateTime result;
18438 PyObject * obj0 = 0 ;
18439 PyObject * obj1 = 0 ;
18440 PyObject * obj2 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18448 arg2 = (int)SWIG_As_int(obj1);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 if (obj2) {
18451 arg3 = (int)SWIG_As_int(obj2);
18452 if (PyErr_Occurred()) SWIG_fail;
18453 }
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18457
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 {
18462 wxDateTime * resultptr;
18463 resultptr = new wxDateTime((wxDateTime &) result);
18464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18465 }
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxDateTime *arg1 = (wxDateTime *) 0 ;
18475 int arg2 ;
18476 wxDateTime *result;
18477 PyObject * obj0 = 0 ;
18478 PyObject * obj1 = 0 ;
18479 char *kwnames[] = {
18480 (char *) "self",(char *) "weekday", NULL
18481 };
18482
18483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18486 arg2 = (int)SWIG_As_int(obj1);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 {
18491 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18492 result = (wxDateTime *) &_result_ref;
18493 }
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18506 PyObject *resultobj;
18507 wxDateTime *arg1 = (wxDateTime *) 0 ;
18508 int arg2 ;
18509 wxDateTime result;
18510 PyObject * obj0 = 0 ;
18511 PyObject * obj1 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self",(char *) "weekday", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 arg2 = (int)SWIG_As_int(obj1);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 {
18529 wxDateTime * resultptr;
18530 resultptr = new wxDateTime((wxDateTime &) result);
18531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18532 }
18533 return resultobj;
18534 fail:
18535 return NULL;
18536 }
18537
18538
18539 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxDateTime *arg1 = (wxDateTime *) 0 ;
18542 int arg2 ;
18543 wxDateTime *result;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char *kwnames[] = {
18547 (char *) "self",(char *) "weekday", NULL
18548 };
18549
18550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18553 arg2 = (int)SWIG_As_int(obj1);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 {
18558 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18559 result = (wxDateTime *) &_result_ref;
18560 }
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxDateTime *arg1 = (wxDateTime *) 0 ;
18575 int arg2 ;
18576 wxDateTime result;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self",(char *) "weekday", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18586 arg2 = (int)SWIG_As_int(obj1);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 {
18596 wxDateTime * resultptr;
18597 resultptr = new wxDateTime((wxDateTime &) result);
18598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18599 }
18600 return resultobj;
18601 fail:
18602 return NULL;
18603 }
18604
18605
18606 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxDateTime *arg1 = (wxDateTime *) 0 ;
18609 int arg2 ;
18610 int arg3 = (int) 1 ;
18611 int arg4 = (int) wxDateTime::Inv_Month ;
18612 int arg5 = (int) wxDateTime::Inv_Year ;
18613 bool result;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 PyObject * obj2 = 0 ;
18617 PyObject * obj3 = 0 ;
18618 PyObject * obj4 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18626 arg2 = (int)SWIG_As_int(obj1);
18627 if (PyErr_Occurred()) SWIG_fail;
18628 if (obj2) {
18629 arg3 = (int)SWIG_As_int(obj2);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 if (obj3) {
18633 arg4 = (int)SWIG_As_int(obj3);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 if (obj4) {
18637 arg5 = (int)SWIG_As_int(obj4);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18649 }
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxDateTime *arg1 = (wxDateTime *) 0 ;
18659 int arg2 ;
18660 int arg3 = (int) wxDateTime::Inv_Month ;
18661 int arg4 = (int) wxDateTime::Inv_Year ;
18662 bool result;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 PyObject * obj2 = 0 ;
18666 PyObject * obj3 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18674 arg2 = (int)SWIG_As_int(obj1);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 if (obj2) {
18677 arg3 = (int)SWIG_As_int(obj2);
18678 if (PyErr_Occurred()) SWIG_fail;
18679 }
18680 if (obj3) {
18681 arg4 = (int)SWIG_As_int(obj3);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 {
18692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18693 }
18694 return resultobj;
18695 fail:
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxDateTime *arg1 = (wxDateTime *) 0 ;
18703 int arg2 ;
18704 int arg3 = (int) wxDateTime::Inv_Month ;
18705 int arg4 = (int) wxDateTime::Inv_Year ;
18706 wxDateTime result;
18707 PyObject * obj0 = 0 ;
18708 PyObject * obj1 = 0 ;
18709 PyObject * obj2 = 0 ;
18710 PyObject * obj3 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18713 };
18714
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18718 arg2 = (int)SWIG_As_int(obj1);
18719 if (PyErr_Occurred()) SWIG_fail;
18720 if (obj2) {
18721 arg3 = (int)SWIG_As_int(obj2);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 if (obj3) {
18725 arg4 = (int)SWIG_As_int(obj3);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 {
18736 wxDateTime * resultptr;
18737 resultptr = new wxDateTime((wxDateTime &) result);
18738 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18739 }
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxDateTime *arg1 = (wxDateTime *) 0 ;
18749 int arg2 ;
18750 int arg3 = (int) wxDateTime::Mon ;
18751 int arg4 = (int) wxDateTime::Monday_First ;
18752 bool result;
18753 PyObject * obj0 = 0 ;
18754 PyObject * obj1 = 0 ;
18755 PyObject * obj2 = 0 ;
18756 PyObject * obj3 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18764 arg2 = (int)SWIG_As_int(obj1);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 if (obj2) {
18767 arg3 = (int)SWIG_As_int(obj2);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 if (obj3) {
18771 arg4 = (int)SWIG_As_int(obj3);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 {
18782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18783 }
18784 return resultobj;
18785 fail:
18786 return NULL;
18787 }
18788
18789
18790 static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxDateTime *arg1 = (wxDateTime *) 0 ;
18793 int arg2 ;
18794 int arg3 = (int) wxDateTime::Mon ;
18795 int arg4 = (int) wxDateTime::Monday_First ;
18796 wxDateTime result;
18797 PyObject * obj0 = 0 ;
18798 PyObject * obj1 = 0 ;
18799 PyObject * obj2 = 0 ;
18800 PyObject * obj3 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18808 arg2 = (int)SWIG_As_int(obj1);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 if (obj2) {
18811 arg3 = (int)SWIG_As_int(obj2);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 if (obj3) {
18815 arg4 = (int)SWIG_As_int(obj3);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
18818 {
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18821
18822 wxPyEndAllowThreads(__tstate);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 {
18826 wxDateTime * resultptr;
18827 resultptr = new wxDateTime((wxDateTime &) result);
18828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18829 }
18830 return resultobj;
18831 fail:
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 int arg1 ;
18839 int arg2 ;
18840 int arg3 = (int) wxDateTime::Mon ;
18841 wxDateTime result;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 PyObject * obj2 = 0 ;
18845 char *kwnames[] = {
18846 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18847 };
18848
18849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
18850 arg1 = (int)SWIG_As_int(obj0);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 arg2 = (int)SWIG_As_int(obj1);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 if (obj2) {
18855 arg3 = (int)SWIG_As_int(obj2);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 wxDateTime * resultptr;
18867 resultptr = new wxDateTime((wxDateTime &) result);
18868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18869 }
18870 return resultobj;
18871 fail:
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxDateTime *arg1 = (wxDateTime *) 0 ;
18879 int arg2 = (int) wxDateTime::Inv_Month ;
18880 int arg3 = (int) wxDateTime::Inv_Year ;
18881 wxDateTime *result;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 PyObject * obj2 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self",(char *) "month",(char *) "year", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18892 if (obj1) {
18893 arg2 = (int)SWIG_As_int(obj1);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 if (obj2) {
18897 arg3 = (int)SWIG_As_int(obj2);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 {
18903 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18904 result = (wxDateTime *) &_result_ref;
18905 }
18906
18907 wxPyEndAllowThreads(__tstate);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 }
18910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18911 return resultobj;
18912 fail:
18913 return NULL;
18914 }
18915
18916
18917 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxDateTime *arg1 = (wxDateTime *) 0 ;
18920 int arg2 = (int) wxDateTime::Inv_Month ;
18921 int arg3 = (int) wxDateTime::Inv_Year ;
18922 wxDateTime result;
18923 PyObject * obj0 = 0 ;
18924 PyObject * obj1 = 0 ;
18925 PyObject * obj2 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self",(char *) "month",(char *) "year", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18933 if (obj1) {
18934 arg2 = (int)SWIG_As_int(obj1);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 if (obj2) {
18938 arg3 = (int)SWIG_As_int(obj2);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 {
18942 PyThreadState* __tstate = wxPyBeginAllowThreads();
18943 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18944
18945 wxPyEndAllowThreads(__tstate);
18946 if (PyErr_Occurred()) SWIG_fail;
18947 }
18948 {
18949 wxDateTime * resultptr;
18950 resultptr = new wxDateTime((wxDateTime &) result);
18951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18952 }
18953 return resultobj;
18954 fail:
18955 return NULL;
18956 }
18957
18958
18959 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18960 PyObject *resultobj;
18961 wxDateTime *arg1 = (wxDateTime *) 0 ;
18962 int arg2 ;
18963 wxDateTime *result;
18964 PyObject * obj0 = 0 ;
18965 PyObject * obj1 = 0 ;
18966 char *kwnames[] = {
18967 (char *) "self",(char *) "yday", NULL
18968 };
18969
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18973 arg2 = (int)SWIG_As_int(obj1);
18974 if (PyErr_Occurred()) SWIG_fail;
18975 {
18976 PyThreadState* __tstate = wxPyBeginAllowThreads();
18977 {
18978 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18979 result = (wxDateTime *) &_result_ref;
18980 }
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxDateTime *arg1 = (wxDateTime *) 0 ;
18995 int arg2 ;
18996 wxDateTime result;
18997 PyObject * obj0 = 0 ;
18998 PyObject * obj1 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "yday", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19006 arg2 = (int)SWIG_As_int(obj1);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (arg1)->GetYearDay(arg2);
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 {
19016 wxDateTime * resultptr;
19017 resultptr = new wxDateTime((wxDateTime &) result);
19018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19019 }
19020 return resultobj;
19021 fail:
19022 return NULL;
19023 }
19024
19025
19026 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
19027 PyObject *resultobj;
19028 wxDateTime *arg1 = (wxDateTime *) 0 ;
19029 double result;
19030 PyObject * obj0 = 0 ;
19031 char *kwnames[] = {
19032 (char *) "self", NULL
19033 };
19034
19035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
19036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19038 {
19039 PyThreadState* __tstate = wxPyBeginAllowThreads();
19040 result = (double)(arg1)->GetJulianDayNumber();
19041
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 resultobj = SWIG_From_double((double)result);
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj;
19054 wxDateTime *arg1 = (wxDateTime *) 0 ;
19055 double result;
19056 PyObject * obj0 = 0 ;
19057 char *kwnames[] = {
19058 (char *) "self", NULL
19059 };
19060
19061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
19062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (double)(arg1)->GetJDN();
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 resultobj = SWIG_From_double((double)result);
19072 return resultobj;
19073 fail:
19074 return NULL;
19075 }
19076
19077
19078 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxDateTime *arg1 = (wxDateTime *) 0 ;
19081 double result;
19082 PyObject * obj0 = 0 ;
19083 char *kwnames[] = {
19084 (char *) "self", NULL
19085 };
19086
19087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
19088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
19093
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 resultobj = SWIG_From_double((double)result);
19098 return resultobj;
19099 fail:
19100 return NULL;
19101 }
19102
19103
19104 static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxDateTime *arg1 = (wxDateTime *) 0 ;
19107 double result;
19108 PyObject * obj0 = 0 ;
19109 char *kwnames[] = {
19110 (char *) "self", NULL
19111 };
19112
19113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
19114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19116 {
19117 PyThreadState* __tstate = wxPyBeginAllowThreads();
19118 result = (double)(arg1)->GetMJD();
19119
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 resultobj = SWIG_From_double((double)result);
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxDateTime *arg1 = (wxDateTime *) 0 ;
19133 double result;
19134 PyObject * obj0 = 0 ;
19135 char *kwnames[] = {
19136 (char *) "self", NULL
19137 };
19138
19139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
19140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (double)(arg1)->GetRataDie();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 resultobj = SWIG_From_double((double)result);
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxDateTime *arg1 = (wxDateTime *) 0 ;
19159 wxDateTime::TimeZone *arg2 = 0 ;
19160 bool arg3 = (bool) false ;
19161 wxDateTime result;
19162 bool temp2 = false ;
19163 PyObject * obj0 = 0 ;
19164 PyObject * obj1 = 0 ;
19165 PyObject * obj2 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19173 {
19174 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19175 temp2 = true;
19176 }
19177 if (obj2) {
19178 arg3 = (bool)SWIG_As_bool(obj2);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19184
19185 wxPyEndAllowThreads(__tstate);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 }
19188 {
19189 wxDateTime * resultptr;
19190 resultptr = new wxDateTime((wxDateTime &) result);
19191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19192 }
19193 {
19194 if (temp2) delete arg2;
19195 }
19196 return resultobj;
19197 fail:
19198 {
19199 if (temp2) delete arg2;
19200 }
19201 return NULL;
19202 }
19203
19204
19205 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj;
19207 wxDateTime *arg1 = (wxDateTime *) 0 ;
19208 wxDateTime::TimeZone *arg2 = 0 ;
19209 bool arg3 = (bool) false ;
19210 wxDateTime *result;
19211 bool temp2 = false ;
19212 PyObject * obj0 = 0 ;
19213 PyObject * obj1 = 0 ;
19214 PyObject * obj2 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19222 {
19223 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19224 temp2 = true;
19225 }
19226 if (obj2) {
19227 arg3 = (bool)SWIG_As_bool(obj2);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 {
19233 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
19234 result = (wxDateTime *) &_result_ref;
19235 }
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19241 {
19242 if (temp2) delete arg2;
19243 }
19244 return resultobj;
19245 fail:
19246 {
19247 if (temp2) delete arg2;
19248 }
19249 return NULL;
19250 }
19251
19252
19253 static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
19254 PyObject *resultobj;
19255 wxDateTime *arg1 = (wxDateTime *) 0 ;
19256 bool arg2 = (bool) false ;
19257 wxDateTime result;
19258 PyObject * obj0 = 0 ;
19259 PyObject * obj1 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self",(char *) "noDST", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19267 if (obj1) {
19268 arg2 = (bool)SWIG_As_bool(obj1);
19269 if (PyErr_Occurred()) SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (arg1)->ToGMT(arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 {
19279 wxDateTime * resultptr;
19280 resultptr = new wxDateTime((wxDateTime &) result);
19281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19282 }
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxDateTime *arg1 = (wxDateTime *) 0 ;
19292 bool arg2 = (bool) false ;
19293 wxDateTime *result;
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "noDST", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19303 if (obj1) {
19304 arg2 = (bool)SWIG_As_bool(obj1);
19305 if (PyErr_Occurred()) SWIG_fail;
19306 }
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 {
19310 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
19311 result = (wxDateTime *) &_result_ref;
19312 }
19313
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19318 return resultobj;
19319 fail:
19320 return NULL;
19321 }
19322
19323
19324 static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
19325 PyObject *resultobj;
19326 wxDateTime *arg1 = (wxDateTime *) 0 ;
19327 int arg2 = (int) wxDateTime::Country_Default ;
19328 int result;
19329 PyObject * obj0 = 0 ;
19330 PyObject * obj1 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self",(char *) "country", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
19336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19338 if (obj1) {
19339 arg2 = (int)SWIG_As_int(obj1);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
19345
19346 wxPyEndAllowThreads(__tstate);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 resultobj = SWIG_From_int((int)result);
19350 return resultobj;
19351 fail:
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxDateTime *arg1 = (wxDateTime *) 0 ;
19359 bool result;
19360 PyObject * obj0 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 result = (bool)((wxDateTime const *)arg1)->IsValid();
19371
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 {
19376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19377 }
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxDateTime *arg1 = (wxDateTime *) 0 ;
19387 time_t result;
19388 PyObject * obj0 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxDateTime *arg1 = (wxDateTime *) 0 ;
19413 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19414 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19415 int result;
19416 bool temp2 = false ;
19417 PyObject * obj0 = 0 ;
19418 PyObject * obj1 = 0 ;
19419 char *kwnames[] = {
19420 (char *) "self",(char *) "tz", NULL
19421 };
19422
19423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
19424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19426 if (obj1) {
19427 {
19428 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19429 temp2 = true;
19430 }
19431 }
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 resultobj = SWIG_From_int((int)result);
19440 {
19441 if (temp2) delete arg2;
19442 }
19443 return resultobj;
19444 fail:
19445 {
19446 if (temp2) delete arg2;
19447 }
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxDateTime *arg1 = (wxDateTime *) 0 ;
19455 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19456 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19457 int result;
19458 bool temp2 = false ;
19459 PyObject * obj0 = 0 ;
19460 PyObject * obj1 = 0 ;
19461 char *kwnames[] = {
19462 (char *) "self",(char *) "tz", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19468 if (obj1) {
19469 {
19470 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19471 temp2 = true;
19472 }
19473 }
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 resultobj = SWIG_From_int((int)result);
19482 {
19483 if (temp2) delete arg2;
19484 }
19485 return resultobj;
19486 fail:
19487 {
19488 if (temp2) delete arg2;
19489 }
19490 return NULL;
19491 }
19492
19493
19494 static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
19495 PyObject *resultobj;
19496 wxDateTime *arg1 = (wxDateTime *) 0 ;
19497 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19498 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19499 int result;
19500 bool temp2 = false ;
19501 PyObject * obj0 = 0 ;
19502 PyObject * obj1 = 0 ;
19503 char *kwnames[] = {
19504 (char *) "self",(char *) "tz", NULL
19505 };
19506
19507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19510 if (obj1) {
19511 {
19512 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19513 temp2 = true;
19514 }
19515 }
19516 {
19517 PyThreadState* __tstate = wxPyBeginAllowThreads();
19518 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19519
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 resultobj = SWIG_From_int((int)result);
19524 {
19525 if (temp2) delete arg2;
19526 }
19527 return resultobj;
19528 fail:
19529 {
19530 if (temp2) delete arg2;
19531 }
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxDateTime *arg1 = (wxDateTime *) 0 ;
19539 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19540 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19541 int result;
19542 bool temp2 = false ;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "tz", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19552 if (obj1) {
19553 {
19554 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19555 temp2 = true;
19556 }
19557 }
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19561
19562 wxPyEndAllowThreads(__tstate);
19563 if (PyErr_Occurred()) SWIG_fail;
19564 }
19565 resultobj = SWIG_From_int((int)result);
19566 {
19567 if (temp2) delete arg2;
19568 }
19569 return resultobj;
19570 fail:
19571 {
19572 if (temp2) delete arg2;
19573 }
19574 return NULL;
19575 }
19576
19577
19578 static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj;
19580 wxDateTime *arg1 = (wxDateTime *) 0 ;
19581 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19582 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19583 int result;
19584 bool temp2 = false ;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self",(char *) "tz", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19594 if (obj1) {
19595 {
19596 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19597 temp2 = true;
19598 }
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 resultobj = SWIG_From_int((int)result);
19608 {
19609 if (temp2) delete arg2;
19610 }
19611 return resultobj;
19612 fail:
19613 {
19614 if (temp2) delete arg2;
19615 }
19616 return NULL;
19617 }
19618
19619
19620 static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxDateTime *arg1 = (wxDateTime *) 0 ;
19623 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19624 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19625 int result;
19626 bool temp2 = false ;
19627 PyObject * obj0 = 0 ;
19628 PyObject * obj1 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self",(char *) "tz", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19636 if (obj1) {
19637 {
19638 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19639 temp2 = true;
19640 }
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 resultobj = SWIG_From_int((int)result);
19650 {
19651 if (temp2) delete arg2;
19652 }
19653 return resultobj;
19654 fail:
19655 {
19656 if (temp2) delete arg2;
19657 }
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxDateTime *arg1 = (wxDateTime *) 0 ;
19665 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19666 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19667 int result;
19668 bool temp2 = false ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "tz", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19678 if (obj1) {
19679 {
19680 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19681 temp2 = true;
19682 }
19683 }
19684 {
19685 PyThreadState* __tstate = wxPyBeginAllowThreads();
19686 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19687
19688 wxPyEndAllowThreads(__tstate);
19689 if (PyErr_Occurred()) SWIG_fail;
19690 }
19691 resultobj = SWIG_From_int((int)result);
19692 {
19693 if (temp2) delete arg2;
19694 }
19695 return resultobj;
19696 fail:
19697 {
19698 if (temp2) delete arg2;
19699 }
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxDateTime *arg1 = (wxDateTime *) 0 ;
19707 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19708 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19709 int result;
19710 bool temp2 = false ;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self",(char *) "tz", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19720 if (obj1) {
19721 {
19722 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19723 temp2 = true;
19724 }
19725 }
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = SWIG_From_int((int)result);
19734 {
19735 if (temp2) delete arg2;
19736 }
19737 return resultobj;
19738 fail:
19739 {
19740 if (temp2) delete arg2;
19741 }
19742 return NULL;
19743 }
19744
19745
19746 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxDateTime *arg1 = (wxDateTime *) 0 ;
19749 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19750 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19751 int result;
19752 bool temp2 = false ;
19753 PyObject * obj0 = 0 ;
19754 PyObject * obj1 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self",(char *) "tz", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19762 if (obj1) {
19763 {
19764 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19765 temp2 = true;
19766 }
19767 }
19768 {
19769 PyThreadState* __tstate = wxPyBeginAllowThreads();
19770 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19771
19772 wxPyEndAllowThreads(__tstate);
19773 if (PyErr_Occurred()) SWIG_fail;
19774 }
19775 resultobj = SWIG_From_int((int)result);
19776 {
19777 if (temp2) delete arg2;
19778 }
19779 return resultobj;
19780 fail:
19781 {
19782 if (temp2) delete arg2;
19783 }
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxDateTime *arg1 = (wxDateTime *) 0 ;
19791 int arg2 = (int) wxDateTime::Monday_First ;
19792 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19793 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19794 int result;
19795 bool temp3 = false ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 PyObject * obj2 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "flags",(char *) "tz", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19806 if (obj1) {
19807 arg2 = (int)SWIG_As_int(obj1);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 if (obj2) {
19811 {
19812 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19813 temp3 = true;
19814 }
19815 }
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
19823 resultobj = SWIG_From_int((int)result);
19824 {
19825 if (temp3) delete arg3;
19826 }
19827 return resultobj;
19828 fail:
19829 {
19830 if (temp3) delete arg3;
19831 }
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19837 PyObject *resultobj;
19838 wxDateTime *arg1 = (wxDateTime *) 0 ;
19839 int arg2 = (int) wxDateTime::Monday_First ;
19840 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19841 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19842 int result;
19843 bool temp3 = false ;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 PyObject * obj2 = 0 ;
19847 char *kwnames[] = {
19848 (char *) "self",(char *) "flags",(char *) "tz", NULL
19849 };
19850
19851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19854 if (obj1) {
19855 arg2 = (int)SWIG_As_int(obj1);
19856 if (PyErr_Occurred()) SWIG_fail;
19857 }
19858 if (obj2) {
19859 {
19860 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19861 temp3 = true;
19862 }
19863 }
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 resultobj = SWIG_From_int((int)result);
19872 {
19873 if (temp3) delete arg3;
19874 }
19875 return resultobj;
19876 fail:
19877 {
19878 if (temp3) delete arg3;
19879 }
19880 return NULL;
19881 }
19882
19883
19884 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
19885 PyObject *resultobj;
19886 wxDateTime *arg1 = (wxDateTime *) 0 ;
19887 int arg2 = (int) wxDateTime::Country_Default ;
19888 bool result;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "country", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19898 if (obj1) {
19899 arg2 = (int)SWIG_As_int(obj1);
19900 if (PyErr_Occurred()) SWIG_fail;
19901 }
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19911 }
19912 return resultobj;
19913 fail:
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
19919 PyObject *resultobj;
19920 wxDateTime *arg1 = (wxDateTime *) 0 ;
19921 wxDateTime *arg2 = 0 ;
19922 bool result;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "datetime", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1)
19934 SWIG_fail;
19935 if (arg2 == NULL) {
19936 PyErr_SetString(PyExc_TypeError,"null reference");
19937 SWIG_fail;
19938 }
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 {
19947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19948 }
19949 return resultobj;
19950 fail:
19951 return NULL;
19952 }
19953
19954
19955 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxDateTime *arg1 = (wxDateTime *) 0 ;
19958 wxDateTime *arg2 = 0 ;
19959 bool result;
19960 PyObject * obj0 = 0 ;
19961 PyObject * obj1 = 0 ;
19962 char *kwnames[] = {
19963 (char *) "self",(char *) "datetime", NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19970 SWIG_POINTER_EXCEPTION | 0)) == -1)
19971 SWIG_fail;
19972 if (arg2 == NULL) {
19973 PyErr_SetString(PyExc_TypeError,"null reference");
19974 SWIG_fail;
19975 }
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 {
19984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19985 }
19986 return resultobj;
19987 fail:
19988 return NULL;
19989 }
19990
19991
19992 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxDateTime *arg1 = (wxDateTime *) 0 ;
19995 wxDateTime *arg2 = 0 ;
19996 bool result;
19997 PyObject * obj0 = 0 ;
19998 PyObject * obj1 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "datetime", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
20004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20007 SWIG_POINTER_EXCEPTION | 0)) == -1)
20008 SWIG_fail;
20009 if (arg2 == NULL) {
20010 PyErr_SetString(PyExc_TypeError,"null reference");
20011 SWIG_fail;
20012 }
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20022 }
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxDateTime *arg1 = (wxDateTime *) 0 ;
20032 wxDateTime *arg2 = 0 ;
20033 wxDateTime *arg3 = 0 ;
20034 bool result;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 PyObject * obj2 = 0 ;
20038 char *kwnames[] = {
20039 (char *) "self",(char *) "t1",(char *) "t2", NULL
20040 };
20041
20042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
20043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1)
20047 SWIG_fail;
20048 if (arg2 == NULL) {
20049 PyErr_SetString(PyExc_TypeError,"null reference");
20050 SWIG_fail;
20051 }
20052 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20053 SWIG_POINTER_EXCEPTION | 0)) == -1)
20054 SWIG_fail;
20055 if (arg3 == NULL) {
20056 PyErr_SetString(PyExc_TypeError,"null reference");
20057 SWIG_fail;
20058 }
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20062
20063 wxPyEndAllowThreads(__tstate);
20064 if (PyErr_Occurred()) SWIG_fail;
20065 }
20066 {
20067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20068 }
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj;
20077 wxDateTime *arg1 = (wxDateTime *) 0 ;
20078 wxDateTime *arg2 = 0 ;
20079 wxDateTime *arg3 = 0 ;
20080 bool result;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 PyObject * obj2 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "t1",(char *) "t2", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20092 SWIG_POINTER_EXCEPTION | 0)) == -1)
20093 SWIG_fail;
20094 if (arg2 == NULL) {
20095 PyErr_SetString(PyExc_TypeError,"null reference");
20096 SWIG_fail;
20097 }
20098 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
20099 SWIG_POINTER_EXCEPTION | 0)) == -1)
20100 SWIG_fail;
20101 if (arg3 == NULL) {
20102 PyErr_SetString(PyExc_TypeError,"null reference");
20103 SWIG_fail;
20104 }
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 {
20113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20114 }
20115 return resultobj;
20116 fail:
20117 return NULL;
20118 }
20119
20120
20121 static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxDateTime *arg1 = (wxDateTime *) 0 ;
20124 wxDateTime *arg2 = 0 ;
20125 bool result;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 char *kwnames[] = {
20129 (char *) "self",(char *) "dt", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
20133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20136 SWIG_POINTER_EXCEPTION | 0)) == -1)
20137 SWIG_fail;
20138 if (arg2 == NULL) {
20139 PyErr_SetString(PyExc_TypeError,"null reference");
20140 SWIG_fail;
20141 }
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20151 }
20152 return resultobj;
20153 fail:
20154 return NULL;
20155 }
20156
20157
20158 static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxDateTime *arg1 = (wxDateTime *) 0 ;
20161 wxDateTime *arg2 = 0 ;
20162 bool result;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "dt", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20173 SWIG_POINTER_EXCEPTION | 0)) == -1)
20174 SWIG_fail;
20175 if (arg2 == NULL) {
20176 PyErr_SetString(PyExc_TypeError,"null reference");
20177 SWIG_fail;
20178 }
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 {
20187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20188 }
20189 return resultobj;
20190 fail:
20191 return NULL;
20192 }
20193
20194
20195 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
20196 PyObject *resultobj;
20197 wxDateTime *arg1 = (wxDateTime *) 0 ;
20198 wxDateTime *arg2 = 0 ;
20199 wxTimeSpan *arg3 = 0 ;
20200 bool result;
20201 PyObject * obj0 = 0 ;
20202 PyObject * obj1 = 0 ;
20203 PyObject * obj2 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "dt",(char *) "ts", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20211 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20212 SWIG_POINTER_EXCEPTION | 0)) == -1)
20213 SWIG_fail;
20214 if (arg2 == NULL) {
20215 PyErr_SetString(PyExc_TypeError,"null reference");
20216 SWIG_fail;
20217 }
20218 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
20219 SWIG_POINTER_EXCEPTION | 0)) == -1)
20220 SWIG_fail;
20221 if (arg3 == NULL) {
20222 PyErr_SetString(PyExc_TypeError,"null reference");
20223 SWIG_fail;
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
20232 {
20233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20234 }
20235 return resultobj;
20236 fail:
20237 return NULL;
20238 }
20239
20240
20241 static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
20242 PyObject *resultobj;
20243 wxDateTime *arg1 = (wxDateTime *) 0 ;
20244 wxTimeSpan *arg2 = 0 ;
20245 wxDateTime *result;
20246 PyObject * obj0 = 0 ;
20247 PyObject * obj1 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "diff", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20256 SWIG_POINTER_EXCEPTION | 0)) == -1)
20257 SWIG_fail;
20258 if (arg2 == NULL) {
20259 PyErr_SetString(PyExc_TypeError,"null reference");
20260 SWIG_fail;
20261 }
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 {
20265 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
20266 result = (wxDateTime *) &_result_ref;
20267 }
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxDateTime *arg1 = (wxDateTime *) 0 ;
20282 wxDateSpan *arg2 = 0 ;
20283 wxDateTime *result;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "diff", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20294 SWIG_POINTER_EXCEPTION | 0)) == -1)
20295 SWIG_fail;
20296 if (arg2 == NULL) {
20297 PyErr_SetString(PyExc_TypeError,"null reference");
20298 SWIG_fail;
20299 }
20300 {
20301 PyThreadState* __tstate = wxPyBeginAllowThreads();
20302 {
20303 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
20304 result = (wxDateTime *) &_result_ref;
20305 }
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxDateTime *arg1 = (wxDateTime *) 0 ;
20320 wxTimeSpan *arg2 = 0 ;
20321 wxDateTime *result;
20322 PyObject * obj0 = 0 ;
20323 PyObject * obj1 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self",(char *) "diff", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20332 SWIG_POINTER_EXCEPTION | 0)) == -1)
20333 SWIG_fail;
20334 if (arg2 == NULL) {
20335 PyErr_SetString(PyExc_TypeError,"null reference");
20336 SWIG_fail;
20337 }
20338 {
20339 PyThreadState* __tstate = wxPyBeginAllowThreads();
20340 {
20341 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
20342 result = (wxDateTime *) &_result_ref;
20343 }
20344
20345 wxPyEndAllowThreads(__tstate);
20346 if (PyErr_Occurred()) SWIG_fail;
20347 }
20348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20349 return resultobj;
20350 fail:
20351 return NULL;
20352 }
20353
20354
20355 static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj;
20357 wxDateTime *arg1 = (wxDateTime *) 0 ;
20358 wxDateSpan *arg2 = 0 ;
20359 wxDateTime *result;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self",(char *) "diff", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
20367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20370 SWIG_POINTER_EXCEPTION | 0)) == -1)
20371 SWIG_fail;
20372 if (arg2 == NULL) {
20373 PyErr_SetString(PyExc_TypeError,"null reference");
20374 SWIG_fail;
20375 }
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 {
20379 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
20380 result = (wxDateTime *) &_result_ref;
20381 }
20382
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj;
20395 wxDateTime *arg1 = (wxDateTime *) 0 ;
20396 wxDateTime *arg2 = 0 ;
20397 wxTimeSpan result;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "dt", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20408 SWIG_POINTER_EXCEPTION | 0)) == -1)
20409 SWIG_fail;
20410 if (arg2 == NULL) {
20411 PyErr_SetString(PyExc_TypeError,"null reference");
20412 SWIG_fail;
20413 }
20414 {
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 {
20422 wxTimeSpan * resultptr;
20423 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20425 }
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
20433 PyObject *resultobj;
20434 wxDateTime *arg1 = (wxDateTime *) 0 ;
20435 wxTimeSpan *arg2 = 0 ;
20436 wxDateTime *result;
20437 PyObject * obj0 = 0 ;
20438 PyObject * obj1 = 0 ;
20439
20440 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20442 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20444 SWIG_POINTER_EXCEPTION | 0)) == -1)
20445 SWIG_fail;
20446 if (arg2 == NULL) {
20447 PyErr_SetString(PyExc_TypeError,"null reference");
20448 SWIG_fail;
20449 }
20450 {
20451 PyThreadState* __tstate = wxPyBeginAllowThreads();
20452 {
20453 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20454 result = (wxDateTime *) &_result_ref;
20455 }
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20461 return resultobj;
20462 fail:
20463 return NULL;
20464 }
20465
20466
20467 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
20468 PyObject *resultobj;
20469 wxDateTime *arg1 = (wxDateTime *) 0 ;
20470 wxDateSpan *arg2 = 0 ;
20471 wxDateTime *result;
20472 PyObject * obj0 = 0 ;
20473 PyObject * obj1 = 0 ;
20474
20475 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20477 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1)
20480 SWIG_fail;
20481 if (arg2 == NULL) {
20482 PyErr_SetString(PyExc_TypeError,"null reference");
20483 SWIG_fail;
20484 }
20485 {
20486 PyThreadState* __tstate = wxPyBeginAllowThreads();
20487 {
20488 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20489 result = (wxDateTime *) &_result_ref;
20490 }
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20496 return resultobj;
20497 fail:
20498 return NULL;
20499 }
20500
20501
20502 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20503 int argc;
20504 PyObject *argv[3];
20505 int ii;
20506
20507 argc = PyObject_Length(args);
20508 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20509 argv[ii] = PyTuple_GetItem(args,ii);
20510 }
20511 if (argc == 2) {
20512 int _v;
20513 {
20514 void *ptr;
20515 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20516 _v = 0;
20517 PyErr_Clear();
20518 } else {
20519 _v = 1;
20520 }
20521 }
20522 if (_v) {
20523 {
20524 void *ptr;
20525 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20526 _v = 0;
20527 PyErr_Clear();
20528 } else {
20529 _v = 1;
20530 }
20531 }
20532 if (_v) {
20533 return _wrap_DateTime___iadd____SWIG_0(self,args);
20534 }
20535 }
20536 }
20537 if (argc == 2) {
20538 int _v;
20539 {
20540 void *ptr;
20541 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20542 _v = 0;
20543 PyErr_Clear();
20544 } else {
20545 _v = 1;
20546 }
20547 }
20548 if (_v) {
20549 {
20550 void *ptr;
20551 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20552 _v = 0;
20553 PyErr_Clear();
20554 } else {
20555 _v = 1;
20556 }
20557 }
20558 if (_v) {
20559 return _wrap_DateTime___iadd____SWIG_1(self,args);
20560 }
20561 }
20562 }
20563
20564 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20565 return NULL;
20566 }
20567
20568
20569 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
20570 PyObject *resultobj;
20571 wxDateTime *arg1 = (wxDateTime *) 0 ;
20572 wxTimeSpan *arg2 = 0 ;
20573 wxDateTime *result;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576
20577 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20579 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20580 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20581 SWIG_POINTER_EXCEPTION | 0)) == -1)
20582 SWIG_fail;
20583 if (arg2 == NULL) {
20584 PyErr_SetString(PyExc_TypeError,"null reference");
20585 SWIG_fail;
20586 }
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 {
20590 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20591 result = (wxDateTime *) &_result_ref;
20592 }
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20598 return resultobj;
20599 fail:
20600 return NULL;
20601 }
20602
20603
20604 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
20605 PyObject *resultobj;
20606 wxDateTime *arg1 = (wxDateTime *) 0 ;
20607 wxDateSpan *arg2 = 0 ;
20608 wxDateTime *result;
20609 PyObject * obj0 = 0 ;
20610 PyObject * obj1 = 0 ;
20611
20612 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20614 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
20615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1)
20617 SWIG_fail;
20618 if (arg2 == NULL) {
20619 PyErr_SetString(PyExc_TypeError,"null reference");
20620 SWIG_fail;
20621 }
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 {
20625 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20626 result = (wxDateTime *) &_result_ref;
20627 }
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20640 int argc;
20641 PyObject *argv[3];
20642 int ii;
20643
20644 argc = PyObject_Length(args);
20645 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20646 argv[ii] = PyTuple_GetItem(args,ii);
20647 }
20648 if (argc == 2) {
20649 int _v;
20650 {
20651 void *ptr;
20652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20653 _v = 0;
20654 PyErr_Clear();
20655 } else {
20656 _v = 1;
20657 }
20658 }
20659 if (_v) {
20660 {
20661 void *ptr;
20662 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20663 _v = 0;
20664 PyErr_Clear();
20665 } else {
20666 _v = 1;
20667 }
20668 }
20669 if (_v) {
20670 return _wrap_DateTime___isub____SWIG_0(self,args);
20671 }
20672 }
20673 }
20674 if (argc == 2) {
20675 int _v;
20676 {
20677 void *ptr;
20678 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20679 _v = 0;
20680 PyErr_Clear();
20681 } else {
20682 _v = 1;
20683 }
20684 }
20685 if (_v) {
20686 {
20687 void *ptr;
20688 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20689 _v = 0;
20690 PyErr_Clear();
20691 } else {
20692 _v = 1;
20693 }
20694 }
20695 if (_v) {
20696 return _wrap_DateTime___isub____SWIG_1(self,args);
20697 }
20698 }
20699 }
20700
20701 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20702 return NULL;
20703 }
20704
20705
20706 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
20707 PyObject *resultobj;
20708 wxDateTime *arg1 = (wxDateTime *) 0 ;
20709 wxTimeSpan *arg2 = 0 ;
20710 wxDateTime result;
20711 PyObject * obj0 = 0 ;
20712 PyObject * obj1 = 0 ;
20713
20714 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20718 SWIG_POINTER_EXCEPTION | 0)) == -1)
20719 SWIG_fail;
20720 if (arg2 == NULL) {
20721 PyErr_SetString(PyExc_TypeError,"null reference");
20722 SWIG_fail;
20723 }
20724 {
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20727
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 {
20732 wxDateTime * resultptr;
20733 resultptr = new wxDateTime((wxDateTime &) result);
20734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20735 }
20736 return resultobj;
20737 fail:
20738 return NULL;
20739 }
20740
20741
20742 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
20743 PyObject *resultobj;
20744 wxDateTime *arg1 = (wxDateTime *) 0 ;
20745 wxDateSpan *arg2 = 0 ;
20746 wxDateTime result;
20747 PyObject * obj0 = 0 ;
20748 PyObject * obj1 = 0 ;
20749
20750 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20754 SWIG_POINTER_EXCEPTION | 0)) == -1)
20755 SWIG_fail;
20756 if (arg2 == NULL) {
20757 PyErr_SetString(PyExc_TypeError,"null reference");
20758 SWIG_fail;
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 wxDateTime * resultptr;
20769 resultptr = new wxDateTime((wxDateTime &) result);
20770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20771 }
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20779 int argc;
20780 PyObject *argv[3];
20781 int ii;
20782
20783 argc = PyObject_Length(args);
20784 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20785 argv[ii] = PyTuple_GetItem(args,ii);
20786 }
20787 if (argc == 2) {
20788 int _v;
20789 {
20790 void *ptr;
20791 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20792 _v = 0;
20793 PyErr_Clear();
20794 } else {
20795 _v = 1;
20796 }
20797 }
20798 if (_v) {
20799 {
20800 void *ptr;
20801 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20802 _v = 0;
20803 PyErr_Clear();
20804 } else {
20805 _v = 1;
20806 }
20807 }
20808 if (_v) {
20809 return _wrap_DateTime___add____SWIG_0(self,args);
20810 }
20811 }
20812 }
20813 if (argc == 2) {
20814 int _v;
20815 {
20816 void *ptr;
20817 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20818 _v = 0;
20819 PyErr_Clear();
20820 } else {
20821 _v = 1;
20822 }
20823 }
20824 if (_v) {
20825 {
20826 void *ptr;
20827 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20828 _v = 0;
20829 PyErr_Clear();
20830 } else {
20831 _v = 1;
20832 }
20833 }
20834 if (_v) {
20835 return _wrap_DateTime___add____SWIG_1(self,args);
20836 }
20837 }
20838 }
20839
20840 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
20846 PyObject *resultobj;
20847 wxDateTime *arg1 = (wxDateTime *) 0 ;
20848 wxDateTime *arg2 = 0 ;
20849 wxTimeSpan result;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852
20853 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1)
20858 SWIG_fail;
20859 if (arg2 == NULL) {
20860 PyErr_SetString(PyExc_TypeError,"null reference");
20861 SWIG_fail;
20862 }
20863 {
20864 PyThreadState* __tstate = wxPyBeginAllowThreads();
20865 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20866
20867 wxPyEndAllowThreads(__tstate);
20868 if (PyErr_Occurred()) SWIG_fail;
20869 }
20870 {
20871 wxTimeSpan * resultptr;
20872 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20874 }
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
20882 PyObject *resultobj;
20883 wxDateTime *arg1 = (wxDateTime *) 0 ;
20884 wxTimeSpan *arg2 = 0 ;
20885 wxDateTime result;
20886 PyObject * obj0 = 0 ;
20887 PyObject * obj1 = 0 ;
20888
20889 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20893 SWIG_POINTER_EXCEPTION | 0)) == -1)
20894 SWIG_fail;
20895 if (arg2 == NULL) {
20896 PyErr_SetString(PyExc_TypeError,"null reference");
20897 SWIG_fail;
20898 }
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20902
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 {
20907 wxDateTime * resultptr;
20908 resultptr = new wxDateTime((wxDateTime &) result);
20909 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20910 }
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
20918 PyObject *resultobj;
20919 wxDateTime *arg1 = (wxDateTime *) 0 ;
20920 wxDateSpan *arg2 = 0 ;
20921 wxDateTime result;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924
20925 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20929 SWIG_POINTER_EXCEPTION | 0)) == -1)
20930 SWIG_fail;
20931 if (arg2 == NULL) {
20932 PyErr_SetString(PyExc_TypeError,"null reference");
20933 SWIG_fail;
20934 }
20935 {
20936 PyThreadState* __tstate = wxPyBeginAllowThreads();
20937 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20938
20939 wxPyEndAllowThreads(__tstate);
20940 if (PyErr_Occurred()) SWIG_fail;
20941 }
20942 {
20943 wxDateTime * resultptr;
20944 resultptr = new wxDateTime((wxDateTime &) result);
20945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20954 int argc;
20955 PyObject *argv[3];
20956 int ii;
20957
20958 argc = PyObject_Length(args);
20959 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20960 argv[ii] = PyTuple_GetItem(args,ii);
20961 }
20962 if (argc == 2) {
20963 int _v;
20964 {
20965 void *ptr;
20966 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20967 _v = 0;
20968 PyErr_Clear();
20969 } else {
20970 _v = 1;
20971 }
20972 }
20973 if (_v) {
20974 {
20975 void *ptr;
20976 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20977 _v = 0;
20978 PyErr_Clear();
20979 } else {
20980 _v = 1;
20981 }
20982 }
20983 if (_v) {
20984 return _wrap_DateTime___sub____SWIG_0(self,args);
20985 }
20986 }
20987 }
20988 if (argc == 2) {
20989 int _v;
20990 {
20991 void *ptr;
20992 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20993 _v = 0;
20994 PyErr_Clear();
20995 } else {
20996 _v = 1;
20997 }
20998 }
20999 if (_v) {
21000 {
21001 void *ptr;
21002 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
21003 _v = 0;
21004 PyErr_Clear();
21005 } else {
21006 _v = 1;
21007 }
21008 }
21009 if (_v) {
21010 return _wrap_DateTime___sub____SWIG_1(self,args);
21011 }
21012 }
21013 }
21014 if (argc == 2) {
21015 int _v;
21016 {
21017 void *ptr;
21018 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
21019 _v = 0;
21020 PyErr_Clear();
21021 } else {
21022 _v = 1;
21023 }
21024 }
21025 if (_v) {
21026 {
21027 void *ptr;
21028 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
21029 _v = 0;
21030 PyErr_Clear();
21031 } else {
21032 _v = 1;
21033 }
21034 }
21035 if (_v) {
21036 return _wrap_DateTime___sub____SWIG_2(self,args);
21037 }
21038 }
21039 }
21040
21041 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
21042 return NULL;
21043 }
21044
21045
21046 static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
21047 PyObject *resultobj;
21048 wxDateTime *arg1 = (wxDateTime *) 0 ;
21049 wxDateTime *arg2 = (wxDateTime *) 0 ;
21050 bool result;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053
21054 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
21055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 {
21067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21068 }
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
21076 PyObject *resultobj;
21077 wxDateTime *arg1 = (wxDateTime *) 0 ;
21078 wxDateTime *arg2 = (wxDateTime *) 0 ;
21079 bool result;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082
21083 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 {
21096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21097 }
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
21105 PyObject *resultobj;
21106 wxDateTime *arg1 = (wxDateTime *) 0 ;
21107 wxDateTime *arg2 = (wxDateTime *) 0 ;
21108 bool result;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111
21112 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
21113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 {
21125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21126 }
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
21134 PyObject *resultobj;
21135 wxDateTime *arg1 = (wxDateTime *) 0 ;
21136 wxDateTime *arg2 = (wxDateTime *) 0 ;
21137 bool result;
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140
21141 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 {
21154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21155 }
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
21163 PyObject *resultobj;
21164 wxDateTime *arg1 = (wxDateTime *) 0 ;
21165 wxDateTime *arg2 = (wxDateTime *) 0 ;
21166 bool result;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169
21170 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21175 {
21176 PyThreadState* __tstate = wxPyBeginAllowThreads();
21177 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
21178
21179 wxPyEndAllowThreads(__tstate);
21180 if (PyErr_Occurred()) SWIG_fail;
21181 }
21182 {
21183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21184 }
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
21192 PyObject *resultobj;
21193 wxDateTime *arg1 = (wxDateTime *) 0 ;
21194 wxDateTime *arg2 = (wxDateTime *) 0 ;
21195 bool result;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198
21199 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
21200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
21203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21204 {
21205 PyThreadState* __tstate = wxPyBeginAllowThreads();
21206 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
21207
21208 wxPyEndAllowThreads(__tstate);
21209 if (PyErr_Occurred()) SWIG_fail;
21210 }
21211 {
21212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21213 }
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxDateTime *arg1 = (wxDateTime *) 0 ;
21223 wxString *arg2 = 0 ;
21224 int result;
21225 bool temp2 = false ;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "date", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21235 {
21236 arg2 = wxString_in_helper(obj1);
21237 if (arg2 == NULL) SWIG_fail;
21238 temp2 = true;
21239 }
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
21242 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = SWIG_From_int((int)result);
21248 {
21249 if (temp2)
21250 delete arg2;
21251 }
21252 return resultobj;
21253 fail:
21254 {
21255 if (temp2)
21256 delete arg2;
21257 }
21258 return NULL;
21259 }
21260
21261
21262 static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
21263 PyObject *resultobj;
21264 wxDateTime *arg1 = (wxDateTime *) 0 ;
21265 wxString *arg2 = 0 ;
21266 wxString const &arg3_defvalue = wxPyDateFormatStr ;
21267 wxString *arg3 = (wxString *) &arg3_defvalue ;
21268 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
21269 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
21270 int result;
21271 bool temp2 = false ;
21272 bool temp3 = false ;
21273 PyObject * obj0 = 0 ;
21274 PyObject * obj1 = 0 ;
21275 PyObject * obj2 = 0 ;
21276 PyObject * obj3 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21284 {
21285 arg2 = wxString_in_helper(obj1);
21286 if (arg2 == NULL) SWIG_fail;
21287 temp2 = true;
21288 }
21289 if (obj2) {
21290 {
21291 arg3 = wxString_in_helper(obj2);
21292 if (arg3 == NULL) SWIG_fail;
21293 temp3 = true;
21294 }
21295 }
21296 if (obj3) {
21297 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
21298 SWIG_POINTER_EXCEPTION | 0)) == -1)
21299 SWIG_fail;
21300 if (arg4 == NULL) {
21301 PyErr_SetString(PyExc_TypeError,"null reference");
21302 SWIG_fail;
21303 }
21304 }
21305 {
21306 PyThreadState* __tstate = wxPyBeginAllowThreads();
21307 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
21308
21309 wxPyEndAllowThreads(__tstate);
21310 if (PyErr_Occurred()) SWIG_fail;
21311 }
21312 resultobj = SWIG_From_int((int)result);
21313 {
21314 if (temp2)
21315 delete arg2;
21316 }
21317 {
21318 if (temp3)
21319 delete arg3;
21320 }
21321 return resultobj;
21322 fail:
21323 {
21324 if (temp2)
21325 delete arg2;
21326 }
21327 {
21328 if (temp3)
21329 delete arg3;
21330 }
21331 return NULL;
21332 }
21333
21334
21335 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
21336 PyObject *resultobj;
21337 wxDateTime *arg1 = (wxDateTime *) 0 ;
21338 wxString *arg2 = 0 ;
21339 int result;
21340 bool temp2 = false ;
21341 PyObject * obj0 = 0 ;
21342 PyObject * obj1 = 0 ;
21343 char *kwnames[] = {
21344 (char *) "self",(char *) "datetime", NULL
21345 };
21346
21347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
21348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21350 {
21351 arg2 = wxString_in_helper(obj1);
21352 if (arg2 == NULL) SWIG_fail;
21353 temp2 = true;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 resultobj = SWIG_From_int((int)result);
21363 {
21364 if (temp2)
21365 delete arg2;
21366 }
21367 return resultobj;
21368 fail:
21369 {
21370 if (temp2)
21371 delete arg2;
21372 }
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxDateTime *arg1 = (wxDateTime *) 0 ;
21380 wxString *arg2 = 0 ;
21381 int result;
21382 bool temp2 = false ;
21383 PyObject * obj0 = 0 ;
21384 PyObject * obj1 = 0 ;
21385 char *kwnames[] = {
21386 (char *) "self",(char *) "date", NULL
21387 };
21388
21389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
21390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21392 {
21393 arg2 = wxString_in_helper(obj1);
21394 if (arg2 == NULL) SWIG_fail;
21395 temp2 = true;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 resultobj = SWIG_From_int((int)result);
21405 {
21406 if (temp2)
21407 delete arg2;
21408 }
21409 return resultobj;
21410 fail:
21411 {
21412 if (temp2)
21413 delete arg2;
21414 }
21415 return NULL;
21416 }
21417
21418
21419 static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 wxDateTime *arg1 = (wxDateTime *) 0 ;
21422 wxString *arg2 = 0 ;
21423 int result;
21424 bool temp2 = false ;
21425 PyObject * obj0 = 0 ;
21426 PyObject * obj1 = 0 ;
21427 char *kwnames[] = {
21428 (char *) "self",(char *) "time", NULL
21429 };
21430
21431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
21432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21434 {
21435 arg2 = wxString_in_helper(obj1);
21436 if (arg2 == NULL) SWIG_fail;
21437 temp2 = true;
21438 }
21439 {
21440 PyThreadState* __tstate = wxPyBeginAllowThreads();
21441 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
21442
21443 wxPyEndAllowThreads(__tstate);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 resultobj = SWIG_From_int((int)result);
21447 {
21448 if (temp2)
21449 delete arg2;
21450 }
21451 return resultobj;
21452 fail:
21453 {
21454 if (temp2)
21455 delete arg2;
21456 }
21457 return NULL;
21458 }
21459
21460
21461 static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
21462 PyObject *resultobj;
21463 wxDateTime *arg1 = (wxDateTime *) 0 ;
21464 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21465 wxString *arg2 = (wxString *) &arg2_defvalue ;
21466 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21467 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21468 wxString result;
21469 bool temp2 = false ;
21470 bool temp3 = false ;
21471 PyObject * obj0 = 0 ;
21472 PyObject * obj1 = 0 ;
21473 PyObject * obj2 = 0 ;
21474 char *kwnames[] = {
21475 (char *) "self",(char *) "format",(char *) "tz", NULL
21476 };
21477
21478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21481 if (obj1) {
21482 {
21483 arg2 = wxString_in_helper(obj1);
21484 if (arg2 == NULL) SWIG_fail;
21485 temp2 = true;
21486 }
21487 }
21488 if (obj2) {
21489 {
21490 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21491 temp3 = true;
21492 }
21493 }
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 {
21502 #if wxUSE_UNICODE
21503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21504 #else
21505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21506 #endif
21507 }
21508 {
21509 if (temp2)
21510 delete arg2;
21511 }
21512 {
21513 if (temp3) delete arg3;
21514 }
21515 return resultobj;
21516 fail:
21517 {
21518 if (temp2)
21519 delete arg2;
21520 }
21521 {
21522 if (temp3) delete arg3;
21523 }
21524 return NULL;
21525 }
21526
21527
21528 static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
21529 PyObject *resultobj;
21530 wxDateTime *arg1 = (wxDateTime *) 0 ;
21531 wxString result;
21532 PyObject * obj0 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "self", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21540 {
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = ((wxDateTime const *)arg1)->FormatDate();
21543
21544 wxPyEndAllowThreads(__tstate);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 }
21547 {
21548 #if wxUSE_UNICODE
21549 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21550 #else
21551 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21552 #endif
21553 }
21554 return resultobj;
21555 fail:
21556 return NULL;
21557 }
21558
21559
21560 static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
21561 PyObject *resultobj;
21562 wxDateTime *arg1 = (wxDateTime *) 0 ;
21563 wxString result;
21564 PyObject * obj0 = 0 ;
21565 char *kwnames[] = {
21566 (char *) "self", NULL
21567 };
21568
21569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 result = ((wxDateTime const *)arg1)->FormatTime();
21575
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 {
21580 #if wxUSE_UNICODE
21581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21582 #else
21583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21584 #endif
21585 }
21586 return resultobj;
21587 fail:
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxDateTime *arg1 = (wxDateTime *) 0 ;
21595 wxString result;
21596 PyObject * obj0 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self", NULL
21599 };
21600
21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 result = ((wxDateTime const *)arg1)->FormatISODate();
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 {
21612 #if wxUSE_UNICODE
21613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21614 #else
21615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21616 #endif
21617 }
21618 return resultobj;
21619 fail:
21620 return NULL;
21621 }
21622
21623
21624 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
21625 PyObject *resultobj;
21626 wxDateTime *arg1 = (wxDateTime *) 0 ;
21627 wxString result;
21628 PyObject * obj0 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 result = ((wxDateTime const *)arg1)->FormatISOTime();
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 {
21644 #if wxUSE_UNICODE
21645 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21646 #else
21647 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21648 #endif
21649 }
21650 return resultobj;
21651 fail:
21652 return NULL;
21653 }
21654
21655
21656 static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
21657 PyObject *obj;
21658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21659 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21660 Py_INCREF(obj);
21661 return Py_BuildValue((char *)"");
21662 }
21663 static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
21664 PyObject *resultobj;
21665 long arg1 ;
21666 wxTimeSpan result;
21667 PyObject * obj0 = 0 ;
21668 char *kwnames[] = {
21669 (char *) "sec", NULL
21670 };
21671
21672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21673 arg1 = (long)SWIG_As_long(obj0);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 {
21676 PyThreadState* __tstate = wxPyBeginAllowThreads();
21677 result = wxTimeSpan::Seconds(arg1);
21678
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
21682 {
21683 wxTimeSpan * resultptr;
21684 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21685 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21686 }
21687 return resultobj;
21688 fail:
21689 return NULL;
21690 }
21691
21692
21693 static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
21694 PyObject *resultobj;
21695 wxTimeSpan result;
21696 char *kwnames[] = {
21697 NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = wxTimeSpan::Second();
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 {
21709 wxTimeSpan * resultptr;
21710 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21711 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21712 }
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 long arg1 ;
21722 wxTimeSpan result;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "min", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21729 arg1 = (long)SWIG_As_long(obj0);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = wxTimeSpan::Minutes(arg1);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 {
21739 wxTimeSpan * resultptr;
21740 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21742 }
21743 return resultobj;
21744 fail:
21745 return NULL;
21746 }
21747
21748
21749 static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
21750 PyObject *resultobj;
21751 wxTimeSpan result;
21752 char *kwnames[] = {
21753 NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = wxTimeSpan::Minute();
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 {
21765 wxTimeSpan * resultptr;
21766 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21767 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21768 }
21769 return resultobj;
21770 fail:
21771 return NULL;
21772 }
21773
21774
21775 static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
21776 PyObject *resultobj;
21777 long arg1 ;
21778 wxTimeSpan result;
21779 PyObject * obj0 = 0 ;
21780 char *kwnames[] = {
21781 (char *) "hours", NULL
21782 };
21783
21784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21785 arg1 = (long)SWIG_As_long(obj0);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 result = wxTimeSpan::Hours(arg1);
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 {
21795 wxTimeSpan * resultptr;
21796 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21798 }
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxTimeSpan result;
21808 char *kwnames[] = {
21809 NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = wxTimeSpan::Hour();
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 {
21821 wxTimeSpan * resultptr;
21822 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21824 }
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 long arg1 ;
21834 wxTimeSpan result;
21835 PyObject * obj0 = 0 ;
21836 char *kwnames[] = {
21837 (char *) "days", NULL
21838 };
21839
21840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21841 arg1 = (long)SWIG_As_long(obj0);
21842 if (PyErr_Occurred()) SWIG_fail;
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = wxTimeSpan::Days(arg1);
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 {
21851 wxTimeSpan * resultptr;
21852 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21854 }
21855 return resultobj;
21856 fail:
21857 return NULL;
21858 }
21859
21860
21861 static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
21862 PyObject *resultobj;
21863 wxTimeSpan result;
21864 char *kwnames[] = {
21865 NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = wxTimeSpan::Day();
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 {
21877 wxTimeSpan * resultptr;
21878 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21880 }
21881 return resultobj;
21882 fail:
21883 return NULL;
21884 }
21885
21886
21887 static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 long arg1 ;
21890 wxTimeSpan result;
21891 PyObject * obj0 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "days", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21897 arg1 = (long)SWIG_As_long(obj0);
21898 if (PyErr_Occurred()) SWIG_fail;
21899 {
21900 PyThreadState* __tstate = wxPyBeginAllowThreads();
21901 result = wxTimeSpan::Weeks(arg1);
21902
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 {
21907 wxTimeSpan * resultptr;
21908 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21909 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21910 }
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxTimeSpan result;
21920 char *kwnames[] = {
21921 NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21925 {
21926 PyThreadState* __tstate = wxPyBeginAllowThreads();
21927 result = wxTimeSpan::Week();
21928
21929 wxPyEndAllowThreads(__tstate);
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 {
21933 wxTimeSpan * resultptr;
21934 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21936 }
21937 return resultobj;
21938 fail:
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 long arg1 = (long) 0 ;
21946 long arg2 = (long) 0 ;
21947 long arg3 = (long) 0 ;
21948 long arg4 = (long) 0 ;
21949 wxTimeSpan *result;
21950 PyObject * obj0 = 0 ;
21951 PyObject * obj1 = 0 ;
21952 PyObject * obj2 = 0 ;
21953 PyObject * obj3 = 0 ;
21954 char *kwnames[] = {
21955 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21956 };
21957
21958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21959 if (obj0) {
21960 arg1 = (long)SWIG_As_long(obj0);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 if (obj1) {
21964 arg2 = (long)SWIG_As_long(obj1);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 if (obj2) {
21968 arg3 = (long)SWIG_As_long(obj2);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 if (obj3) {
21972 arg4 = (long)SWIG_As_long(obj3);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21983 return resultobj;
21984 fail:
21985 return NULL;
21986 }
21987
21988
21989 static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21990 PyObject *resultobj;
21991 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21992 PyObject * obj0 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 delete arg1;
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 Py_INCREF(Py_None); resultobj = Py_None;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22017 wxTimeSpan *arg2 = 0 ;
22018 wxTimeSpan *result;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self",(char *) "diff", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22029 SWIG_POINTER_EXCEPTION | 0)) == -1)
22030 SWIG_fail;
22031 if (arg2 == NULL) {
22032 PyErr_SetString(PyExc_TypeError,"null reference");
22033 SWIG_fail;
22034 }
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 {
22038 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22039 result = (wxTimeSpan *) &_result_ref;
22040 }
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22046 return resultobj;
22047 fail:
22048 return NULL;
22049 }
22050
22051
22052 static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22055 wxTimeSpan *arg2 = 0 ;
22056 wxTimeSpan *result;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "diff", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22066 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22067 SWIG_POINTER_EXCEPTION | 0)) == -1)
22068 SWIG_fail;
22069 if (arg2 == NULL) {
22070 PyErr_SetString(PyExc_TypeError,"null reference");
22071 SWIG_fail;
22072 }
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 {
22076 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22077 result = (wxTimeSpan *) &_result_ref;
22078 }
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22093 int arg2 ;
22094 wxTimeSpan *result;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self",(char *) "n", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 arg2 = (int)SWIG_As_int(obj1);
22105 if (PyErr_Occurred()) SWIG_fail;
22106 {
22107 PyThreadState* __tstate = wxPyBeginAllowThreads();
22108 {
22109 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
22110 result = (wxTimeSpan *) &_result_ref;
22111 }
22112
22113 wxPyEndAllowThreads(__tstate);
22114 if (PyErr_Occurred()) SWIG_fail;
22115 }
22116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22117 return resultobj;
22118 fail:
22119 return NULL;
22120 }
22121
22122
22123 static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
22124 PyObject *resultobj;
22125 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22126 wxTimeSpan *result;
22127 PyObject * obj0 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 {
22138 wxTimeSpan &_result_ref = (arg1)->Neg();
22139 result = (wxTimeSpan *) &_result_ref;
22140 }
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22146 return resultobj;
22147 fail:
22148 return NULL;
22149 }
22150
22151
22152 static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22155 wxTimeSpan result;
22156 PyObject * obj0 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = ((wxTimeSpan const *)arg1)->Abs();
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 {
22172 wxTimeSpan * resultptr;
22173 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22175 }
22176 return resultobj;
22177 fail:
22178 return NULL;
22179 }
22180
22181
22182 static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
22183 PyObject *resultobj;
22184 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22185 wxTimeSpan *arg2 = 0 ;
22186 wxTimeSpan *result;
22187 PyObject * obj0 = 0 ;
22188 PyObject * obj1 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self",(char *) "diff", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22195 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22196 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22197 SWIG_POINTER_EXCEPTION | 0)) == -1)
22198 SWIG_fail;
22199 if (arg2 == NULL) {
22200 PyErr_SetString(PyExc_TypeError,"null reference");
22201 SWIG_fail;
22202 }
22203 {
22204 PyThreadState* __tstate = wxPyBeginAllowThreads();
22205 {
22206 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22207 result = (wxTimeSpan *) &_result_ref;
22208 }
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22223 wxTimeSpan *arg2 = 0 ;
22224 wxTimeSpan *result;
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self",(char *) "diff", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22233 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22235 SWIG_POINTER_EXCEPTION | 0)) == -1)
22236 SWIG_fail;
22237 if (arg2 == NULL) {
22238 PyErr_SetString(PyExc_TypeError,"null reference");
22239 SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 {
22244 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22245 result = (wxTimeSpan *) &_result_ref;
22246 }
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22261 int arg2 ;
22262 wxTimeSpan *result;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "n", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22271 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22272 arg2 = (int)SWIG_As_int(obj1);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 {
22277 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
22278 result = (wxTimeSpan *) &_result_ref;
22279 }
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
22285 return resultobj;
22286 fail:
22287 return NULL;
22288 }
22289
22290
22291 static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22294 wxTimeSpan *result;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 {
22306 wxTimeSpan &_result_ref = (arg1)->operator -();
22307 result = (wxTimeSpan *) &_result_ref;
22308 }
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22323 wxTimeSpan *arg2 = 0 ;
22324 wxTimeSpan result;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "other", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22335 SWIG_POINTER_EXCEPTION | 0)) == -1)
22336 SWIG_fail;
22337 if (arg2 == NULL) {
22338 PyErr_SetString(PyExc_TypeError,"null reference");
22339 SWIG_fail;
22340 }
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 {
22349 wxTimeSpan * resultptr;
22350 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22351 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22352 }
22353 return resultobj;
22354 fail:
22355 return NULL;
22356 }
22357
22358
22359 static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
22360 PyObject *resultobj;
22361 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22362 wxTimeSpan *arg2 = 0 ;
22363 wxTimeSpan result;
22364 PyObject * obj0 = 0 ;
22365 PyObject * obj1 = 0 ;
22366 char *kwnames[] = {
22367 (char *) "self",(char *) "other", NULL
22368 };
22369
22370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22373 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22374 SWIG_POINTER_EXCEPTION | 0)) == -1)
22375 SWIG_fail;
22376 if (arg2 == NULL) {
22377 PyErr_SetString(PyExc_TypeError,"null reference");
22378 SWIG_fail;
22379 }
22380 {
22381 PyThreadState* __tstate = wxPyBeginAllowThreads();
22382 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
22383
22384 wxPyEndAllowThreads(__tstate);
22385 if (PyErr_Occurred()) SWIG_fail;
22386 }
22387 {
22388 wxTimeSpan * resultptr;
22389 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22390 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22391 }
22392 return resultobj;
22393 fail:
22394 return NULL;
22395 }
22396
22397
22398 static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj;
22400 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22401 int arg2 ;
22402 wxTimeSpan result;
22403 PyObject * obj0 = 0 ;
22404 PyObject * obj1 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self",(char *) "n", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22412 arg2 = (int)SWIG_As_int(obj1);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 result = wxTimeSpan___mul__(arg1,arg2);
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 {
22422 wxTimeSpan * resultptr;
22423 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22424 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22425 }
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22435 int arg2 ;
22436 wxTimeSpan result;
22437 PyObject * obj0 = 0 ;
22438 PyObject * obj1 = 0 ;
22439 char *kwnames[] = {
22440 (char *) "self",(char *) "n", NULL
22441 };
22442
22443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22446 arg2 = (int)SWIG_As_int(obj1);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = wxTimeSpan___rmul__(arg1,arg2);
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 {
22456 wxTimeSpan * resultptr;
22457 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22459 }
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22469 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22470 bool result;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "other", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22480 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 {
22490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22491 }
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj;
22500 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22501 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22502 bool result;
22503 PyObject * obj0 = 0 ;
22504 PyObject * obj1 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "other", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 {
22522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22523 }
22524 return resultobj;
22525 fail:
22526 return NULL;
22527 }
22528
22529
22530 static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
22531 PyObject *resultobj;
22532 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22533 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22534 bool result;
22535 PyObject * obj0 = 0 ;
22536 PyObject * obj1 = 0 ;
22537 char *kwnames[] = {
22538 (char *) "self",(char *) "other", NULL
22539 };
22540
22541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22565 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22566 bool result;
22567 PyObject * obj0 = 0 ;
22568 PyObject * obj1 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self",(char *) "other", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22581
22582 wxPyEndAllowThreads(__tstate);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 {
22586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22587 }
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22597 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22598 bool result;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "other", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22619 }
22620 return resultobj;
22621 fail:
22622 return NULL;
22623 }
22624
22625
22626 static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22627 PyObject *resultobj;
22628 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22629 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22630 bool result;
22631 PyObject * obj0 = 0 ;
22632 PyObject * obj1 = 0 ;
22633 char *kwnames[] = {
22634 (char *) "self",(char *) "other", NULL
22635 };
22636
22637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 {
22650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22651 }
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22661 bool result;
22662 PyObject * obj0 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22670 {
22671 PyThreadState* __tstate = wxPyBeginAllowThreads();
22672 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22673
22674 wxPyEndAllowThreads(__tstate);
22675 if (PyErr_Occurred()) SWIG_fail;
22676 }
22677 {
22678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22679 }
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
22687 PyObject *resultobj;
22688 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22689 bool result;
22690 PyObject * obj0 = 0 ;
22691 char *kwnames[] = {
22692 (char *) "self", NULL
22693 };
22694
22695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22701
22702 wxPyEndAllowThreads(__tstate);
22703 if (PyErr_Occurred()) SWIG_fail;
22704 }
22705 {
22706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22707 }
22708 return resultobj;
22709 fail:
22710 return NULL;
22711 }
22712
22713
22714 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
22715 PyObject *resultobj;
22716 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22717 bool result;
22718 PyObject * obj0 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22726 {
22727 PyThreadState* __tstate = wxPyBeginAllowThreads();
22728 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22729
22730 wxPyEndAllowThreads(__tstate);
22731 if (PyErr_Occurred()) SWIG_fail;
22732 }
22733 {
22734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22735 }
22736 return resultobj;
22737 fail:
22738 return NULL;
22739 }
22740
22741
22742 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj;
22744 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22745 wxTimeSpan *arg2 = 0 ;
22746 bool result;
22747 PyObject * obj0 = 0 ;
22748 PyObject * obj1 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self",(char *) "ts", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22756 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22757 SWIG_POINTER_EXCEPTION | 0)) == -1)
22758 SWIG_fail;
22759 if (arg2 == NULL) {
22760 PyErr_SetString(PyExc_TypeError,"null reference");
22761 SWIG_fail;
22762 }
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 {
22771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22772 }
22773 return resultobj;
22774 fail:
22775 return NULL;
22776 }
22777
22778
22779 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
22780 PyObject *resultobj;
22781 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22782 wxTimeSpan *arg2 = 0 ;
22783 bool result;
22784 PyObject * obj0 = 0 ;
22785 PyObject * obj1 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "ts", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22794 SWIG_POINTER_EXCEPTION | 0)) == -1)
22795 SWIG_fail;
22796 if (arg2 == NULL) {
22797 PyErr_SetString(PyExc_TypeError,"null reference");
22798 SWIG_fail;
22799 }
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 {
22808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22809 }
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj;
22818 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22819 wxTimeSpan *arg2 = 0 ;
22820 bool result;
22821 PyObject * obj0 = 0 ;
22822 PyObject * obj1 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "self",(char *) "t", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22831 SWIG_POINTER_EXCEPTION | 0)) == -1)
22832 SWIG_fail;
22833 if (arg2 == NULL) {
22834 PyErr_SetString(PyExc_TypeError,"null reference");
22835 SWIG_fail;
22836 }
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22846 }
22847 return resultobj;
22848 fail:
22849 return NULL;
22850 }
22851
22852
22853 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22854 PyObject *resultobj;
22855 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22856 int result;
22857 PyObject * obj0 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 resultobj = SWIG_From_int((int)result);
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22882 int result;
22883 PyObject * obj0 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_From_int((int)result);
22899 return resultobj;
22900 fail:
22901 return NULL;
22902 }
22903
22904
22905 static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22908 int result;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 resultobj = SWIG_From_int((int)result);
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22934 int result;
22935 PyObject * obj0 = 0 ;
22936 char *kwnames[] = {
22937 (char *) "self", NULL
22938 };
22939
22940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22943 {
22944 PyThreadState* __tstate = wxPyBeginAllowThreads();
22945 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22946
22947 wxPyEndAllowThreads(__tstate);
22948 if (PyErr_Occurred()) SWIG_fail;
22949 }
22950 resultobj = SWIG_From_int((int)result);
22951 return resultobj;
22952 fail:
22953 return NULL;
22954 }
22955
22956
22957 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
22958 PyObject *resultobj;
22959 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22960 wxLongLong result;
22961 PyObject * obj0 = 0 ;
22962 char *kwnames[] = {
22963 (char *) "self", NULL
22964 };
22965
22966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22969 {
22970 PyThreadState* __tstate = wxPyBeginAllowThreads();
22971 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22972
22973 wxPyEndAllowThreads(__tstate);
22974 if (PyErr_Occurred()) SWIG_fail;
22975 }
22976 {
22977 PyObject *hi, *lo, *shifter, *shifted;
22978 hi = PyLong_FromLong( (&result)->GetHi() );
22979 lo = PyLong_FromLong( (&result)->GetLo() );
22980 shifter = PyLong_FromLong(32);
22981 shifted = PyNumber_Lshift(hi, shifter);
22982 resultobj = PyNumber_Or(shifted, lo);
22983 Py_DECREF(hi);
22984 Py_DECREF(lo);
22985 Py_DECREF(shifter);
22986 Py_DECREF(shifted);
22987 }
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22997 wxLongLong result;
22998 PyObject * obj0 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23006 {
23007 PyThreadState* __tstate = wxPyBeginAllowThreads();
23008 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
23009
23010 wxPyEndAllowThreads(__tstate);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 {
23014 PyObject *hi, *lo, *shifter, *shifted;
23015 hi = PyLong_FromLong( (&result)->GetHi() );
23016 lo = PyLong_FromLong( (&result)->GetLo() );
23017 shifter = PyLong_FromLong(32);
23018 shifted = PyNumber_Lshift(hi, shifter);
23019 resultobj = PyNumber_Or(shifted, lo);
23020 Py_DECREF(hi);
23021 Py_DECREF(lo);
23022 Py_DECREF(shifter);
23023 Py_DECREF(shifted);
23024 }
23025 return resultobj;
23026 fail:
23027 return NULL;
23028 }
23029
23030
23031 static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
23032 PyObject *resultobj;
23033 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
23034 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
23035 wxString *arg2 = (wxString *) &arg2_defvalue ;
23036 wxString result;
23037 bool temp2 = false ;
23038 PyObject * obj0 = 0 ;
23039 PyObject * obj1 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self",(char *) "format", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 if (obj1) {
23048 {
23049 arg2 = wxString_in_helper(obj1);
23050 if (arg2 == NULL) SWIG_fail;
23051 temp2 = true;
23052 }
23053 }
23054 {
23055 PyThreadState* __tstate = wxPyBeginAllowThreads();
23056 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
23057
23058 wxPyEndAllowThreads(__tstate);
23059 if (PyErr_Occurred()) SWIG_fail;
23060 }
23061 {
23062 #if wxUSE_UNICODE
23063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23064 #else
23065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23066 #endif
23067 }
23068 {
23069 if (temp2)
23070 delete arg2;
23071 }
23072 return resultobj;
23073 fail:
23074 {
23075 if (temp2)
23076 delete arg2;
23077 }
23078 return NULL;
23079 }
23080
23081
23082 static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
23083 PyObject *obj;
23084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23085 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
23086 Py_INCREF(obj);
23087 return Py_BuildValue((char *)"");
23088 }
23089 static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
23090 PyObject *resultobj;
23091 int arg1 = (int) 0 ;
23092 int arg2 = (int) 0 ;
23093 int arg3 = (int) 0 ;
23094 int arg4 = (int) 0 ;
23095 wxDateSpan *result;
23096 PyObject * obj0 = 0 ;
23097 PyObject * obj1 = 0 ;
23098 PyObject * obj2 = 0 ;
23099 PyObject * obj3 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23105 if (obj0) {
23106 arg1 = (int)SWIG_As_int(obj0);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 if (obj1) {
23110 arg2 = (int)SWIG_As_int(obj1);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 if (obj2) {
23114 arg3 = (int)SWIG_As_int(obj2);
23115 if (PyErr_Occurred()) SWIG_fail;
23116 }
23117 if (obj3) {
23118 arg4 = (int)SWIG_As_int(obj3);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 {
23122 PyThreadState* __tstate = wxPyBeginAllowThreads();
23123 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
23124
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23129 return resultobj;
23130 fail:
23131 return NULL;
23132 }
23133
23134
23135 static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj;
23137 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23138 PyObject * obj0 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 delete arg1;
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 Py_INCREF(Py_None); resultobj = Py_None;
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
23161 PyObject *resultobj;
23162 int arg1 ;
23163 wxDateSpan result;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "days", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
23170 arg1 = (int)SWIG_As_int(obj0);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = wxDateSpan::Days(arg1);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 {
23180 wxDateSpan * resultptr;
23181 resultptr = new wxDateSpan((wxDateSpan &) result);
23182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23183 }
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxDateSpan result;
23193 char *kwnames[] = {
23194 NULL
23195 };
23196
23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
23198 {
23199 PyThreadState* __tstate = wxPyBeginAllowThreads();
23200 result = wxDateSpan::Day();
23201
23202 wxPyEndAllowThreads(__tstate);
23203 if (PyErr_Occurred()) SWIG_fail;
23204 }
23205 {
23206 wxDateSpan * resultptr;
23207 resultptr = new wxDateSpan((wxDateSpan &) result);
23208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23209 }
23210 return resultobj;
23211 fail:
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 int arg1 ;
23219 wxDateSpan result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "weeks", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
23226 arg1 = (int)SWIG_As_int(obj0);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = wxDateSpan::Weeks(arg1);
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 {
23236 wxDateSpan * resultptr;
23237 resultptr = new wxDateSpan((wxDateSpan &) result);
23238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23239 }
23240 return resultobj;
23241 fail:
23242 return NULL;
23243 }
23244
23245
23246 static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
23247 PyObject *resultobj;
23248 wxDateSpan result;
23249 char *kwnames[] = {
23250 NULL
23251 };
23252
23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 result = wxDateSpan::Week();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 {
23262 wxDateSpan * resultptr;
23263 resultptr = new wxDateSpan((wxDateSpan &) result);
23264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23265 }
23266 return resultobj;
23267 fail:
23268 return NULL;
23269 }
23270
23271
23272 static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 int arg1 ;
23275 wxDateSpan result;
23276 PyObject * obj0 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "mon", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
23282 arg1 = (int)SWIG_As_int(obj0);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 result = wxDateSpan::Months(arg1);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 {
23292 wxDateSpan * resultptr;
23293 resultptr = new wxDateSpan((wxDateSpan &) result);
23294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23295 }
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 wxDateSpan result;
23305 char *kwnames[] = {
23306 NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = wxDateSpan::Month();
23313
23314 wxPyEndAllowThreads(__tstate);
23315 if (PyErr_Occurred()) SWIG_fail;
23316 }
23317 {
23318 wxDateSpan * resultptr;
23319 resultptr = new wxDateSpan((wxDateSpan &) result);
23320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23321 }
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 int arg1 ;
23331 wxDateSpan result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "years", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
23338 arg1 = (int)SWIG_As_int(obj0);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = wxDateSpan::Years(arg1);
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 {
23348 wxDateSpan * resultptr;
23349 resultptr = new wxDateSpan((wxDateSpan &) result);
23350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23351 }
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxDateSpan result;
23361 char *kwnames[] = {
23362 NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
23366 {
23367 PyThreadState* __tstate = wxPyBeginAllowThreads();
23368 result = wxDateSpan::Year();
23369
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 {
23374 wxDateSpan * resultptr;
23375 resultptr = new wxDateSpan((wxDateSpan &) result);
23376 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23377 }
23378 return resultobj;
23379 fail:
23380 return NULL;
23381 }
23382
23383
23384 static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23387 int arg2 ;
23388 wxDateSpan *result;
23389 PyObject * obj0 = 0 ;
23390 PyObject * obj1 = 0 ;
23391 char *kwnames[] = {
23392 (char *) "self",(char *) "n", NULL
23393 };
23394
23395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
23396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23398 arg2 = (int)SWIG_As_int(obj1);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 {
23401 PyThreadState* __tstate = wxPyBeginAllowThreads();
23402 {
23403 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
23404 result = (wxDateSpan *) &_result_ref;
23405 }
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23411 return resultobj;
23412 fail:
23413 return NULL;
23414 }
23415
23416
23417 static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23418 PyObject *resultobj;
23419 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23420 int arg2 ;
23421 wxDateSpan *result;
23422 PyObject * obj0 = 0 ;
23423 PyObject * obj1 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "self",(char *) "n", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
23429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23431 arg2 = (int)SWIG_As_int(obj1);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 {
23434 PyThreadState* __tstate = wxPyBeginAllowThreads();
23435 {
23436 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
23437 result = (wxDateSpan *) &_result_ref;
23438 }
23439
23440 wxPyEndAllowThreads(__tstate);
23441 if (PyErr_Occurred()) SWIG_fail;
23442 }
23443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23444 return resultobj;
23445 fail:
23446 return NULL;
23447 }
23448
23449
23450 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23451 PyObject *resultobj;
23452 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23453 int arg2 ;
23454 wxDateSpan *result;
23455 PyObject * obj0 = 0 ;
23456 PyObject * obj1 = 0 ;
23457 char *kwnames[] = {
23458 (char *) "self",(char *) "n", NULL
23459 };
23460
23461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23464 arg2 = (int)SWIG_As_int(obj1);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 {
23469 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23470 result = (wxDateSpan *) &_result_ref;
23471 }
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23484 PyObject *resultobj;
23485 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23486 int arg2 ;
23487 wxDateSpan *result;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self",(char *) "n", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23497 arg2 = (int)SWIG_As_int(obj1);
23498 if (PyErr_Occurred()) SWIG_fail;
23499 {
23500 PyThreadState* __tstate = wxPyBeginAllowThreads();
23501 {
23502 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23503 result = (wxDateSpan *) &_result_ref;
23504 }
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23510 return resultobj;
23511 fail:
23512 return NULL;
23513 }
23514
23515
23516 static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23519 int result;
23520 PyObject * obj0 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 result = (int)((wxDateSpan const *)arg1)->GetYears();
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 resultobj = SWIG_From_int((int)result);
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj;
23544 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23545 int result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_From_int((int)result);
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23569 PyObject *resultobj;
23570 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23571 int result;
23572 PyObject * obj0 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 resultobj = SWIG_From_int((int)result);
23588 return resultobj;
23589 fail:
23590 return NULL;
23591 }
23592
23593
23594 static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23595 PyObject *resultobj;
23596 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23597 int result;
23598 PyObject * obj0 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = (int)((wxDateSpan const *)arg1)->GetDays();
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 resultobj = SWIG_From_int((int)result);
23614 return resultobj;
23615 fail:
23616 return NULL;
23617 }
23618
23619
23620 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
23621 PyObject *resultobj;
23622 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23623 int result;
23624 PyObject * obj0 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23632 {
23633 PyThreadState* __tstate = wxPyBeginAllowThreads();
23634 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23635
23636 wxPyEndAllowThreads(__tstate);
23637 if (PyErr_Occurred()) SWIG_fail;
23638 }
23639 resultobj = SWIG_From_int((int)result);
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj;
23648 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23649 wxDateSpan *arg2 = 0 ;
23650 wxDateSpan *result;
23651 PyObject * obj0 = 0 ;
23652 PyObject * obj1 = 0 ;
23653 char *kwnames[] = {
23654 (char *) "self",(char *) "other", NULL
23655 };
23656
23657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23661 SWIG_POINTER_EXCEPTION | 0)) == -1)
23662 SWIG_fail;
23663 if (arg2 == NULL) {
23664 PyErr_SetString(PyExc_TypeError,"null reference");
23665 SWIG_fail;
23666 }
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 {
23670 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23671 result = (wxDateSpan *) &_result_ref;
23672 }
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23678 return resultobj;
23679 fail:
23680 return NULL;
23681 }
23682
23683
23684 static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
23685 PyObject *resultobj;
23686 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23687 wxDateSpan *arg2 = 0 ;
23688 wxDateSpan *result;
23689 PyObject * obj0 = 0 ;
23690 PyObject * obj1 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self",(char *) "other", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23699 SWIG_POINTER_EXCEPTION | 0)) == -1)
23700 SWIG_fail;
23701 if (arg2 == NULL) {
23702 PyErr_SetString(PyExc_TypeError,"null reference");
23703 SWIG_fail;
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 {
23708 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23709 result = (wxDateSpan *) &_result_ref;
23710 }
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23725 wxDateSpan *result;
23726 PyObject * obj0 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 {
23737 wxDateSpan &_result_ref = (arg1)->Neg();
23738 result = (wxDateSpan *) &_result_ref;
23739 }
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23754 int arg2 ;
23755 wxDateSpan *result;
23756 PyObject * obj0 = 0 ;
23757 PyObject * obj1 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self",(char *) "factor", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23765 arg2 = (int)SWIG_As_int(obj1);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 {
23770 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23771 result = (wxDateSpan *) &_result_ref;
23772 }
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23787 wxDateSpan *arg2 = 0 ;
23788 wxDateSpan *result;
23789 PyObject * obj0 = 0 ;
23790 PyObject * obj1 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self",(char *) "other", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23797 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23799 SWIG_POINTER_EXCEPTION | 0)) == -1)
23800 SWIG_fail;
23801 if (arg2 == NULL) {
23802 PyErr_SetString(PyExc_TypeError,"null reference");
23803 SWIG_fail;
23804 }
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 {
23808 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23809 result = (wxDateSpan *) &_result_ref;
23810 }
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23816 return resultobj;
23817 fail:
23818 return NULL;
23819 }
23820
23821
23822 static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
23823 PyObject *resultobj;
23824 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23825 wxDateSpan *arg2 = 0 ;
23826 wxDateSpan *result;
23827 PyObject * obj0 = 0 ;
23828 PyObject * obj1 = 0 ;
23829 char *kwnames[] = {
23830 (char *) "self",(char *) "other", NULL
23831 };
23832
23833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23835 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23837 SWIG_POINTER_EXCEPTION | 0)) == -1)
23838 SWIG_fail;
23839 if (arg2 == NULL) {
23840 PyErr_SetString(PyExc_TypeError,"null reference");
23841 SWIG_fail;
23842 }
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 {
23846 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23847 result = (wxDateSpan *) &_result_ref;
23848 }
23849
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23854 return resultobj;
23855 fail:
23856 return NULL;
23857 }
23858
23859
23860 static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
23861 PyObject *resultobj;
23862 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23863 wxDateSpan *result;
23864 PyObject * obj0 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "self", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 {
23875 wxDateSpan &_result_ref = (arg1)->operator -();
23876 result = (wxDateSpan *) &_result_ref;
23877 }
23878
23879 wxPyEndAllowThreads(__tstate);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 }
23882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23892 int arg2 ;
23893 wxDateSpan *result;
23894 PyObject * obj0 = 0 ;
23895 PyObject * obj1 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "self",(char *) "factor", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23902 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23903 arg2 = (int)SWIG_As_int(obj1);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 {
23908 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23909 result = (wxDateSpan *) &_result_ref;
23910 }
23911
23912 wxPyEndAllowThreads(__tstate);
23913 if (PyErr_Occurred()) SWIG_fail;
23914 }
23915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
23916 return resultobj;
23917 fail:
23918 return NULL;
23919 }
23920
23921
23922 static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
23923 PyObject *resultobj;
23924 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23925 wxDateSpan *arg2 = 0 ;
23926 wxDateSpan result;
23927 PyObject * obj0 = 0 ;
23928 PyObject * obj1 = 0 ;
23929 char *kwnames[] = {
23930 (char *) "self",(char *) "other", NULL
23931 };
23932
23933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23936 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23937 SWIG_POINTER_EXCEPTION | 0)) == -1)
23938 SWIG_fail;
23939 if (arg2 == NULL) {
23940 PyErr_SetString(PyExc_TypeError,"null reference");
23941 SWIG_fail;
23942 }
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 {
23951 wxDateSpan * resultptr;
23952 resultptr = new wxDateSpan((wxDateSpan &) result);
23953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23954 }
23955 return resultobj;
23956 fail:
23957 return NULL;
23958 }
23959
23960
23961 static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
23962 PyObject *resultobj;
23963 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23964 wxDateSpan *arg2 = 0 ;
23965 wxDateSpan result;
23966 PyObject * obj0 = 0 ;
23967 PyObject * obj1 = 0 ;
23968 char *kwnames[] = {
23969 (char *) "self",(char *) "other", NULL
23970 };
23971
23972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23975 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23976 SWIG_POINTER_EXCEPTION | 0)) == -1)
23977 SWIG_fail;
23978 if (arg2 == NULL) {
23979 PyErr_SetString(PyExc_TypeError,"null reference");
23980 SWIG_fail;
23981 }
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
23988 }
23989 {
23990 wxDateSpan * resultptr;
23991 resultptr = new wxDateSpan((wxDateSpan &) result);
23992 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23993 }
23994 return resultobj;
23995 fail:
23996 return NULL;
23997 }
23998
23999
24000 static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
24001 PyObject *resultobj;
24002 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24003 int arg2 ;
24004 wxDateSpan result;
24005 PyObject * obj0 = 0 ;
24006 PyObject * obj1 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "n", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 arg2 = (int)SWIG_As_int(obj1);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = wxDateSpan___mul__(arg1,arg2);
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
24024 wxDateSpan * resultptr;
24025 resultptr = new wxDateSpan((wxDateSpan &) result);
24026 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24027 }
24028 return resultobj;
24029 fail:
24030 return NULL;
24031 }
24032
24033
24034 static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24037 int arg2 ;
24038 wxDateSpan result;
24039 PyObject * obj0 = 0 ;
24040 PyObject * obj1 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "n", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 arg2 = (int)SWIG_As_int(obj1);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 {
24051 PyThreadState* __tstate = wxPyBeginAllowThreads();
24052 result = wxDateSpan___rmul__(arg1,arg2);
24053
24054 wxPyEndAllowThreads(__tstate);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 }
24057 {
24058 wxDateSpan * resultptr;
24059 resultptr = new wxDateSpan((wxDateSpan &) result);
24060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj;
24070 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24071 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24072 bool result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "other", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
24080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24082 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 {
24092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24093 }
24094 return resultobj;
24095 fail:
24096 return NULL;
24097 }
24098
24099
24100 static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24101 PyObject *resultobj;
24102 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
24103 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
24104 bool result;
24105 PyObject * obj0 = 0 ;
24106 PyObject * obj1 = 0 ;
24107 char *kwnames[] = {
24108 (char *) "self",(char *) "other", NULL
24109 };
24110
24111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
24112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
24113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24114 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
24115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 {
24124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24125 }
24126 return resultobj;
24127 fail:
24128 return NULL;
24129 }
24130
24131
24132 static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
24133 PyObject *obj;
24134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24135 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
24136 Py_INCREF(obj);
24137 return Py_BuildValue((char *)"");
24138 }
24139 static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj;
24141 long result;
24142 char *kwnames[] = {
24143 NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (long)wxGetLocalTime();
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 resultobj = SWIG_From_long((long)result);
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 long result;
24164 char *kwnames[] = {
24165 NULL
24166 };
24167
24168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
24169 {
24170 PyThreadState* __tstate = wxPyBeginAllowThreads();
24171 result = (long)wxGetUTCTime();
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 resultobj = SWIG_From_long((long)result);
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 long result;
24186 char *kwnames[] = {
24187 NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 result = (long)wxGetCurrentTime();
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 resultobj = SWIG_From_long((long)result);
24199 return resultobj;
24200 fail:
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxLongLong result;
24208 char *kwnames[] = {
24209 NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 result = wxGetLocalTimeMillis();
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 {
24221 PyObject *hi, *lo, *shifter, *shifted;
24222 hi = PyLong_FromLong( (&result)->GetHi() );
24223 lo = PyLong_FromLong( (&result)->GetLo() );
24224 shifter = PyLong_FromLong(32);
24225 shifted = PyNumber_Lshift(hi, shifter);
24226 resultobj = PyNumber_Or(shifted, lo);
24227 Py_DECREF(hi);
24228 Py_DECREF(lo);
24229 Py_DECREF(shifter);
24230 Py_DECREF(shifted);
24231 }
24232 return resultobj;
24233 fail:
24234 return NULL;
24235 }
24236
24237
24238 static int _wrap_DefaultDateTime_set(PyObject *) {
24239 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
24240 return 1;
24241 }
24242
24243
24244 static PyObject *_wrap_DefaultDateTime_get() {
24245 PyObject *pyobj;
24246
24247 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
24248 return pyobj;
24249 }
24250
24251
24252 static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24253 PyObject *resultobj;
24254 int arg1 ;
24255 wxDataFormat *result;
24256 PyObject * obj0 = 0 ;
24257 char *kwnames[] = {
24258 (char *) "type", NULL
24259 };
24260
24261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
24262 arg1 = (int)SWIG_As_int(obj0);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxString *arg1 = 0 ;
24281 wxDataFormat *result;
24282 bool temp1 = false ;
24283 PyObject * obj0 = 0 ;
24284 char *kwnames[] = {
24285 (char *) "format", NULL
24286 };
24287
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
24289 {
24290 arg1 = wxString_in_helper(obj0);
24291 if (arg1 == NULL) SWIG_fail;
24292 temp1 = true;
24293 }
24294 {
24295 PyThreadState* __tstate = wxPyBeginAllowThreads();
24296 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
24297
24298 wxPyEndAllowThreads(__tstate);
24299 if (PyErr_Occurred()) SWIG_fail;
24300 }
24301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
24302 {
24303 if (temp1)
24304 delete arg1;
24305 }
24306 return resultobj;
24307 fail:
24308 {
24309 if (temp1)
24310 delete arg1;
24311 }
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 delete arg1;
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 Py_INCREF(Py_None); resultobj = Py_None;
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
24342 PyObject *resultobj;
24343 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24344 int arg2 ;
24345 bool result;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
24348
24349 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24352 arg2 = (int)SWIG_As_int(obj1);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24363 }
24364 return resultobj;
24365 fail:
24366 return NULL;
24367 }
24368
24369
24370 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
24371 PyObject *resultobj;
24372 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24373 int arg2 ;
24374 bool result;
24375 PyObject * obj0 = 0 ;
24376 PyObject * obj1 = 0 ;
24377
24378 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24381 arg2 = (int)SWIG_As_int(obj1);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
24386
24387 wxPyEndAllowThreads(__tstate);
24388 if (PyErr_Occurred()) SWIG_fail;
24389 }
24390 {
24391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24392 }
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
24400 PyObject *resultobj;
24401 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24402 wxDataFormat *arg2 = 0 ;
24403 bool result;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406
24407 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24411 SWIG_POINTER_EXCEPTION | 0)) == -1)
24412 SWIG_fail;
24413 if (arg2 == NULL) {
24414 PyErr_SetString(PyExc_TypeError,"null reference");
24415 SWIG_fail;
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 {
24425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24426 }
24427 return resultobj;
24428 fail:
24429 return NULL;
24430 }
24431
24432
24433 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
24434 int argc;
24435 PyObject *argv[3];
24436 int ii;
24437
24438 argc = PyObject_Length(args);
24439 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24440 argv[ii] = PyTuple_GetItem(args,ii);
24441 }
24442 if (argc == 2) {
24443 int _v;
24444 {
24445 void *ptr;
24446 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24447 _v = 0;
24448 PyErr_Clear();
24449 } else {
24450 _v = 1;
24451 }
24452 }
24453 if (_v) {
24454 {
24455 void *ptr;
24456 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24457 _v = 0;
24458 PyErr_Clear();
24459 } else {
24460 _v = 1;
24461 }
24462 }
24463 if (_v) {
24464 return _wrap_DataFormat___eq____SWIG_1(self,args);
24465 }
24466 }
24467 }
24468 if (argc == 2) {
24469 int _v;
24470 {
24471 void *ptr;
24472 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24473 _v = 0;
24474 PyErr_Clear();
24475 } else {
24476 _v = 1;
24477 }
24478 }
24479 if (_v) {
24480 _v = SWIG_Check_int(argv[1]);
24481 if (_v) {
24482 return _wrap_DataFormat___eq____SWIG_0(self,args);
24483 }
24484 }
24485 }
24486
24487 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24488 return NULL;
24489 }
24490
24491
24492 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
24493 PyObject *resultobj;
24494 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24495 wxDataFormat *arg2 = 0 ;
24496 bool result;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499
24500 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24504 SWIG_POINTER_EXCEPTION | 0)) == -1)
24505 SWIG_fail;
24506 if (arg2 == NULL) {
24507 PyErr_SetString(PyExc_TypeError,"null reference");
24508 SWIG_fail;
24509 }
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 {
24518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24519 }
24520 return resultobj;
24521 fail:
24522 return NULL;
24523 }
24524
24525
24526 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24527 int argc;
24528 PyObject *argv[3];
24529 int ii;
24530
24531 argc = PyObject_Length(args);
24532 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24533 argv[ii] = PyTuple_GetItem(args,ii);
24534 }
24535 if (argc == 2) {
24536 int _v;
24537 {
24538 void *ptr;
24539 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24540 _v = 0;
24541 PyErr_Clear();
24542 } else {
24543 _v = 1;
24544 }
24545 }
24546 if (_v) {
24547 {
24548 void *ptr;
24549 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24550 _v = 0;
24551 PyErr_Clear();
24552 } else {
24553 _v = 1;
24554 }
24555 }
24556 if (_v) {
24557 return _wrap_DataFormat___ne____SWIG_1(self,args);
24558 }
24559 }
24560 }
24561 if (argc == 2) {
24562 int _v;
24563 {
24564 void *ptr;
24565 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24566 _v = 0;
24567 PyErr_Clear();
24568 } else {
24569 _v = 1;
24570 }
24571 }
24572 if (_v) {
24573 _v = SWIG_Check_int(argv[1]);
24574 if (_v) {
24575 return _wrap_DataFormat___ne____SWIG_0(self,args);
24576 }
24577 }
24578 }
24579
24580 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24581 return NULL;
24582 }
24583
24584
24585 static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj;
24587 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24588 int arg2 ;
24589 PyObject * obj0 = 0 ;
24590 PyObject * obj1 = 0 ;
24591 char *kwnames[] = {
24592 (char *) "self",(char *) "format", NULL
24593 };
24594
24595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24598 arg2 = (int)SWIG_As_int(obj1);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 (arg1)->SetType((wxDataFormatId )arg2);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 Py_INCREF(Py_None); resultobj = Py_None;
24608 return resultobj;
24609 fail:
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24617 int result;
24618 PyObject * obj0 = 0 ;
24619 char *kwnames[] = {
24620 (char *) "self", NULL
24621 };
24622
24623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (int)((wxDataFormat const *)arg1)->GetType();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 resultobj = SWIG_From_int((int)result);
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj;
24642 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24643 wxString result;
24644 PyObject * obj0 = 0 ;
24645 char *kwnames[] = {
24646 (char *) "self", NULL
24647 };
24648
24649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = ((wxDataFormat const *)arg1)->GetId();
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 {
24660 #if wxUSE_UNICODE
24661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24662 #else
24663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24664 #endif
24665 }
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24675 wxString *arg2 = 0 ;
24676 bool temp2 = false ;
24677 PyObject * obj0 = 0 ;
24678 PyObject * obj1 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "format", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24686 {
24687 arg2 = wxString_in_helper(obj1);
24688 if (arg2 == NULL) SWIG_fail;
24689 temp2 = true;
24690 }
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 (arg1)->SetId((wxString const &)*arg2);
24694
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 Py_INCREF(Py_None); resultobj = Py_None;
24699 {
24700 if (temp2)
24701 delete arg2;
24702 }
24703 return resultobj;
24704 fail:
24705 {
24706 if (temp2)
24707 delete arg2;
24708 }
24709 return NULL;
24710 }
24711
24712
24713 static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
24714 PyObject *obj;
24715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24717 Py_INCREF(obj);
24718 return Py_BuildValue((char *)"");
24719 }
24720 static int _wrap_FormatInvalid_set(PyObject *) {
24721 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24722 return 1;
24723 }
24724
24725
24726 static PyObject *_wrap_FormatInvalid_get() {
24727 PyObject *pyobj;
24728
24729 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24730 return pyobj;
24731 }
24732
24733
24734 static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxDataObject *arg1 = (wxDataObject *) 0 ;
24737 PyObject * obj0 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 delete arg1;
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 Py_INCREF(Py_None); resultobj = Py_None;
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxDataObject *arg1 = (wxDataObject *) 0 ;
24762 int arg2 = (int) wxDataObject::Get ;
24763 SwigValueWrapper< wxDataFormat > result;
24764 PyObject * obj0 = 0 ;
24765 PyObject * obj1 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self",(char *) "dir", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24773 if (obj1) {
24774 arg2 = (int)SWIG_As_int(obj1);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 {
24785 wxDataFormat * resultptr;
24786 resultptr = new wxDataFormat((wxDataFormat &) result);
24787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxDataObject *arg1 = (wxDataObject *) 0 ;
24798 int arg2 = (int) wxDataObject::Get ;
24799 size_t result;
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "dir", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24809 if (obj1) {
24810 arg2 = (int)SWIG_As_int(obj1);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
24820 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
24821 return resultobj;
24822 fail:
24823 return NULL;
24824 }
24825
24826
24827 static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
24828 PyObject *resultobj;
24829 wxDataObject *arg1 = (wxDataObject *) 0 ;
24830 wxDataFormat *arg2 = 0 ;
24831 int arg3 = (int) wxDataObject::Get ;
24832 bool result;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "format",(char *) "dir", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1)
24845 SWIG_fail;
24846 if (arg2 == NULL) {
24847 PyErr_SetString(PyExc_TypeError,"null reference");
24848 SWIG_fail;
24849 }
24850 if (obj2) {
24851 arg3 = (int)SWIG_As_int(obj2);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 {
24862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24863 }
24864 return resultobj;
24865 fail:
24866 return NULL;
24867 }
24868
24869
24870 static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
24871 PyObject *resultobj;
24872 wxDataObject *arg1 = (wxDataObject *) 0 ;
24873 wxDataFormat *arg2 = 0 ;
24874 size_t result;
24875 PyObject * obj0 = 0 ;
24876 PyObject * obj1 = 0 ;
24877 char *kwnames[] = {
24878 (char *) "self",(char *) "format", NULL
24879 };
24880
24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24884 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24885 SWIG_POINTER_EXCEPTION | 0)) == -1)
24886 SWIG_fail;
24887 if (arg2 == NULL) {
24888 PyErr_SetString(PyExc_TypeError,"null reference");
24889 SWIG_fail;
24890 }
24891 {
24892 PyThreadState* __tstate = wxPyBeginAllowThreads();
24893 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24894
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
24899 return resultobj;
24900 fail:
24901 return NULL;
24902 }
24903
24904
24905 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
24906 PyObject *resultobj;
24907 wxDataObject *arg1 = (wxDataObject *) 0 ;
24908 int arg2 = (int) wxDataObject::Get ;
24909 PyObject *result;
24910 PyObject * obj0 = 0 ;
24911 PyObject * obj1 = 0 ;
24912 char *kwnames[] = {
24913 (char *) "self",(char *) "dir", NULL
24914 };
24915
24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
24917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24919 if (obj1) {
24920 arg2 = (int)SWIG_As_int(obj1);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
24926
24927 wxPyEndAllowThreads(__tstate);
24928 if (PyErr_Occurred()) SWIG_fail;
24929 }
24930 resultobj = result;
24931 return resultobj;
24932 fail:
24933 return NULL;
24934 }
24935
24936
24937 static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
24938 PyObject *resultobj;
24939 wxDataObject *arg1 = (wxDataObject *) 0 ;
24940 wxDataFormat *arg2 = 0 ;
24941 PyObject *result;
24942 PyObject * obj0 = 0 ;
24943 PyObject * obj1 = 0 ;
24944 char *kwnames[] = {
24945 (char *) "self",(char *) "format", NULL
24946 };
24947
24948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
24949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24952 SWIG_POINTER_EXCEPTION | 0)) == -1)
24953 SWIG_fail;
24954 if (arg2 == NULL) {
24955 PyErr_SetString(PyExc_TypeError,"null reference");
24956 SWIG_fail;
24957 }
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 resultobj = result;
24966 return resultobj;
24967 fail:
24968 return NULL;
24969 }
24970
24971
24972 static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24973 PyObject *resultobj;
24974 wxDataObject *arg1 = (wxDataObject *) 0 ;
24975 wxDataFormat *arg2 = 0 ;
24976 PyObject *arg3 = (PyObject *) 0 ;
24977 bool result;
24978 PyObject * obj0 = 0 ;
24979 PyObject * obj1 = 0 ;
24980 PyObject * obj2 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self",(char *) "format",(char *) "data", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24989 SWIG_POINTER_EXCEPTION | 0)) == -1)
24990 SWIG_fail;
24991 if (arg2 == NULL) {
24992 PyErr_SetString(PyExc_TypeError,"null reference");
24993 SWIG_fail;
24994 }
24995 arg3 = obj2;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 {
25004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25005 }
25006 return resultobj;
25007 fail:
25008 return NULL;
25009 }
25010
25011
25012 static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
25013 PyObject *obj;
25014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25015 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
25016 Py_INCREF(obj);
25017 return Py_BuildValue((char *)"");
25018 }
25019 static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj;
25021 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25022 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25023 wxDataObjectSimple *result;
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "format", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
25030 if (obj0) {
25031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25032 SWIG_POINTER_EXCEPTION | 0)) == -1)
25033 SWIG_fail;
25034 if (arg1 == NULL) {
25035 PyErr_SetString(PyExc_TypeError,"null reference");
25036 SWIG_fail;
25037 }
25038 }
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
25047 return resultobj;
25048 fail:
25049 return NULL;
25050 }
25051
25052
25053 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25056 wxDataFormat *result;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
25063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 {
25068 wxDataFormat const &_result_ref = (arg1)->GetFormat();
25069 result = (wxDataFormat *) &_result_ref;
25070 }
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
25076 return resultobj;
25077 fail:
25078 return NULL;
25079 }
25080
25081
25082 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
25083 PyObject *resultobj;
25084 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25085 wxDataFormat *arg2 = 0 ;
25086 PyObject * obj0 = 0 ;
25087 PyObject * obj1 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "self",(char *) "format", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
25096 SWIG_POINTER_EXCEPTION | 0)) == -1)
25097 SWIG_fail;
25098 if (arg2 == NULL) {
25099 PyErr_SetString(PyExc_TypeError,"null reference");
25100 SWIG_fail;
25101 }
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->SetFormat((wxDataFormat const &)*arg2);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25119 size_t result;
25120 PyObject * obj0 = 0 ;
25121 char *kwnames[] = {
25122 (char *) "self", NULL
25123 };
25124
25125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
25126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
25131
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
25143 PyObject *resultobj;
25144 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25145 PyObject *result;
25146 PyObject * obj0 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
25152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
25157
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 resultobj = result;
25162 return resultobj;
25163 fail:
25164 return NULL;
25165 }
25166
25167
25168 static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25169 PyObject *resultobj;
25170 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
25171 PyObject *arg2 = (PyObject *) 0 ;
25172 bool result;
25173 PyObject * obj0 = 0 ;
25174 PyObject * obj1 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "self",(char *) "data", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
25180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
25181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25182 arg2 = obj1;
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 {
25191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25192 }
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
25200 PyObject *obj;
25201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25202 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
25203 Py_INCREF(obj);
25204 return Py_BuildValue((char *)"");
25205 }
25206 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj;
25208 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25209 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25210 wxPyDataObjectSimple *result;
25211 PyObject * obj0 = 0 ;
25212 char *kwnames[] = {
25213 (char *) "format", NULL
25214 };
25215
25216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
25217 if (obj0) {
25218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25219 SWIG_POINTER_EXCEPTION | 0)) == -1)
25220 SWIG_fail;
25221 if (arg1 == NULL) {
25222 PyErr_SetString(PyExc_TypeError,"null reference");
25223 SWIG_fail;
25224 }
25225 }
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25241 PyObject *resultobj;
25242 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
25243 PyObject *arg2 = (PyObject *) 0 ;
25244 PyObject *arg3 = (PyObject *) 0 ;
25245 PyObject * obj0 = 0 ;
25246 PyObject * obj1 = 0 ;
25247 PyObject * obj2 = 0 ;
25248 char *kwnames[] = {
25249 (char *) "self",(char *) "self",(char *) "_class", NULL
25250 };
25251
25252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
25254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25255 arg2 = obj1;
25256 arg3 = obj2;
25257 {
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 (arg1)->_setCallbackInfo(arg2,arg3);
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 Py_INCREF(Py_None); resultobj = Py_None;
25265 return resultobj;
25266 fail:
25267 return NULL;
25268 }
25269
25270
25271 static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
25272 PyObject *obj;
25273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25274 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
25275 Py_INCREF(obj);
25276 return Py_BuildValue((char *)"");
25277 }
25278 static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
25279 PyObject *resultobj;
25280 wxDataObjectComposite *result;
25281 char *kwnames[] = {
25282 NULL
25283 };
25284
25285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 result = (wxDataObjectComposite *)new wxDataObjectComposite();
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
25294 return resultobj;
25295 fail:
25296 return NULL;
25297 }
25298
25299
25300 static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
25301 PyObject *resultobj;
25302 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
25303 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
25304 bool arg3 = (bool) false ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj1 = 0 ;
25307 PyObject * obj2 = 0 ;
25308 char *kwnames[] = {
25309 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25310 };
25311
25312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
25313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
25314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
25316 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25317 if (obj2) {
25318 arg3 = (bool)SWIG_As_bool(obj2);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 (arg1)->Add(arg2,arg3);
25324
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 Py_INCREF(Py_None); resultobj = Py_None;
25329 return resultobj;
25330 fail:
25331 return NULL;
25332 }
25333
25334
25335 static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
25336 PyObject *obj;
25337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25338 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
25339 Py_INCREF(obj);
25340 return Py_BuildValue((char *)"");
25341 }
25342 static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxString const &arg1_defvalue = wxPyEmptyString ;
25345 wxString *arg1 = (wxString *) &arg1_defvalue ;
25346 wxTextDataObject *result;
25347 bool temp1 = false ;
25348 PyObject * obj0 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "text", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
25354 if (obj0) {
25355 {
25356 arg1 = wxString_in_helper(obj0);
25357 if (arg1 == NULL) SWIG_fail;
25358 temp1 = true;
25359 }
25360 }
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
25369 {
25370 if (temp1)
25371 delete arg1;
25372 }
25373 return resultobj;
25374 fail:
25375 {
25376 if (temp1)
25377 delete arg1;
25378 }
25379 return NULL;
25380 }
25381
25382
25383 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25386 size_t result;
25387 PyObject * obj0 = 0 ;
25388 char *kwnames[] = {
25389 (char *) "self", NULL
25390 };
25391
25392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
25393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 result = (size_t)(arg1)->GetTextLength();
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25403 return resultobj;
25404 fail:
25405 return NULL;
25406 }
25407
25408
25409 static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
25410 PyObject *resultobj;
25411 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25412 wxString result;
25413 PyObject * obj0 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
25419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = (arg1)->GetText();
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 {
25429 #if wxUSE_UNICODE
25430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25431 #else
25432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25433 #endif
25434 }
25435 return resultobj;
25436 fail:
25437 return NULL;
25438 }
25439
25440
25441 static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
25442 PyObject *resultobj;
25443 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
25444 wxString *arg2 = 0 ;
25445 bool temp2 = false ;
25446 PyObject * obj0 = 0 ;
25447 PyObject * obj1 = 0 ;
25448 char *kwnames[] = {
25449 (char *) "self",(char *) "text", NULL
25450 };
25451
25452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
25453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
25454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25455 {
25456 arg2 = wxString_in_helper(obj1);
25457 if (arg2 == NULL) SWIG_fail;
25458 temp2 = true;
25459 }
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->SetText((wxString const &)*arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 Py_INCREF(Py_None); resultobj = Py_None;
25468 {
25469 if (temp2)
25470 delete arg2;
25471 }
25472 return resultobj;
25473 fail:
25474 {
25475 if (temp2)
25476 delete arg2;
25477 }
25478 return NULL;
25479 }
25480
25481
25482 static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
25483 PyObject *obj;
25484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25485 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
25486 Py_INCREF(obj);
25487 return Py_BuildValue((char *)"");
25488 }
25489 static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25490 PyObject *resultobj;
25491 wxString const &arg1_defvalue = wxPyEmptyString ;
25492 wxString *arg1 = (wxString *) &arg1_defvalue ;
25493 wxPyTextDataObject *result;
25494 bool temp1 = false ;
25495 PyObject * obj0 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "text", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
25501 if (obj0) {
25502 {
25503 arg1 = wxString_in_helper(obj0);
25504 if (arg1 == NULL) SWIG_fail;
25505 temp1 = true;
25506 }
25507 }
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
25516 {
25517 if (temp1)
25518 delete arg1;
25519 }
25520 return resultobj;
25521 fail:
25522 {
25523 if (temp1)
25524 delete arg1;
25525 }
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25533 PyObject *arg2 = (PyObject *) 0 ;
25534 PyObject *arg3 = (PyObject *) 0 ;
25535 PyObject * obj0 = 0 ;
25536 PyObject * obj1 = 0 ;
25537 PyObject * obj2 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self",(char *) "self",(char *) "_class", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25545 arg2 = obj1;
25546 arg3 = obj2;
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 (arg1)->_setCallbackInfo(arg2,arg3);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
25554 Py_INCREF(Py_None); resultobj = Py_None;
25555 return resultobj;
25556 fail:
25557 return NULL;
25558 }
25559
25560
25561 static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
25562 PyObject *obj;
25563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25564 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25565 Py_INCREF(obj);
25566 return Py_BuildValue((char *)"");
25567 }
25568 static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25569 PyObject *resultobj;
25570 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25571 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25572 wxBitmapDataObject *result;
25573 PyObject * obj0 = 0 ;
25574 char *kwnames[] = {
25575 (char *) "bitmap", NULL
25576 };
25577
25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25579 if (obj0) {
25580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25581 SWIG_POINTER_EXCEPTION | 0)) == -1)
25582 SWIG_fail;
25583 if (arg1 == NULL) {
25584 PyErr_SetString(PyExc_TypeError,"null reference");
25585 SWIG_fail;
25586 }
25587 }
25588 {
25589 PyThreadState* __tstate = wxPyBeginAllowThreads();
25590 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25591
25592 wxPyEndAllowThreads(__tstate);
25593 if (PyErr_Occurred()) SWIG_fail;
25594 }
25595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25605 wxBitmap result;
25606 PyObject * obj0 = 0 ;
25607 char *kwnames[] = {
25608 (char *) "self", NULL
25609 };
25610
25611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25617
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
25621 {
25622 wxBitmap * resultptr;
25623 resultptr = new wxBitmap((wxBitmap &) result);
25624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25625 }
25626 return resultobj;
25627 fail:
25628 return NULL;
25629 }
25630
25631
25632 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj;
25634 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25635 wxBitmap *arg2 = 0 ;
25636 PyObject * obj0 = 0 ;
25637 PyObject * obj1 = 0 ;
25638 char *kwnames[] = {
25639 (char *) "self",(char *) "bitmap", NULL
25640 };
25641
25642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25646 SWIG_POINTER_EXCEPTION | 0)) == -1)
25647 SWIG_fail;
25648 if (arg2 == NULL) {
25649 PyErr_SetString(PyExc_TypeError,"null reference");
25650 SWIG_fail;
25651 }
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 Py_INCREF(Py_None); resultobj = Py_None;
25660 return resultobj;
25661 fail:
25662 return NULL;
25663 }
25664
25665
25666 static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
25667 PyObject *obj;
25668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25669 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25670 Py_INCREF(obj);
25671 return Py_BuildValue((char *)"");
25672 }
25673 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25676 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25677 wxPyBitmapDataObject *result;
25678 PyObject * obj0 = 0 ;
25679 char *kwnames[] = {
25680 (char *) "bitmap", NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25684 if (obj0) {
25685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25686 SWIG_POINTER_EXCEPTION | 0)) == -1)
25687 SWIG_fail;
25688 if (arg1 == NULL) {
25689 PyErr_SetString(PyExc_TypeError,"null reference");
25690 SWIG_fail;
25691 }
25692 }
25693 {
25694 PyThreadState* __tstate = wxPyBeginAllowThreads();
25695 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25696
25697 wxPyEndAllowThreads(__tstate);
25698 if (PyErr_Occurred()) SWIG_fail;
25699 }
25700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25701 return resultobj;
25702 fail:
25703 return NULL;
25704 }
25705
25706
25707 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25708 PyObject *resultobj;
25709 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25710 PyObject *arg2 = (PyObject *) 0 ;
25711 PyObject *arg3 = (PyObject *) 0 ;
25712 PyObject * obj0 = 0 ;
25713 PyObject * obj1 = 0 ;
25714 PyObject * obj2 = 0 ;
25715 char *kwnames[] = {
25716 (char *) "self",(char *) "self",(char *) "_class", NULL
25717 };
25718
25719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25722 arg2 = obj1;
25723 arg3 = obj2;
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 (arg1)->_setCallbackInfo(arg2,arg3);
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 Py_INCREF(Py_None); resultobj = Py_None;
25732 return resultobj;
25733 fail:
25734 return NULL;
25735 }
25736
25737
25738 static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
25739 PyObject *obj;
25740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25741 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25742 Py_INCREF(obj);
25743 return Py_BuildValue((char *)"");
25744 }
25745 static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj;
25747 wxFileDataObject *result;
25748 char *kwnames[] = {
25749 NULL
25750 };
25751
25752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 result = (wxFileDataObject *)new wxFileDataObject();
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25761 return resultobj;
25762 fail:
25763 return NULL;
25764 }
25765
25766
25767 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
25768 PyObject *resultobj;
25769 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25770 wxArrayString *result;
25771 PyObject * obj0 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 {
25782 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25783 result = (wxArrayString *) &_result_ref;
25784 }
25785
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 {
25790 resultobj = wxArrayString2PyList_helper(*result);
25791 }
25792 return resultobj;
25793 fail:
25794 return NULL;
25795 }
25796
25797
25798 static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
25799 PyObject *resultobj;
25800 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25801 wxString *arg2 = 0 ;
25802 bool temp2 = false ;
25803 PyObject * obj0 = 0 ;
25804 PyObject * obj1 = 0 ;
25805 char *kwnames[] = {
25806 (char *) "self",(char *) "filename", NULL
25807 };
25808
25809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25812 {
25813 arg2 = wxString_in_helper(obj1);
25814 if (arg2 == NULL) SWIG_fail;
25815 temp2 = true;
25816 }
25817 {
25818 PyThreadState* __tstate = wxPyBeginAllowThreads();
25819 (arg1)->AddFile((wxString const &)*arg2);
25820
25821 wxPyEndAllowThreads(__tstate);
25822 if (PyErr_Occurred()) SWIG_fail;
25823 }
25824 Py_INCREF(Py_None); resultobj = Py_None;
25825 {
25826 if (temp2)
25827 delete arg2;
25828 }
25829 return resultobj;
25830 fail:
25831 {
25832 if (temp2)
25833 delete arg2;
25834 }
25835 return NULL;
25836 }
25837
25838
25839 static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
25840 PyObject *obj;
25841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25842 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25843 Py_INCREF(obj);
25844 return Py_BuildValue((char *)"");
25845 }
25846 static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj;
25848 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25849 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25850 wxCustomDataObject *result;
25851 PyObject * obj0 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "format", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25857 if (obj0) {
25858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25859 SWIG_POINTER_EXCEPTION | 0)) == -1)
25860 SWIG_fail;
25861 if (arg1 == NULL) {
25862 PyErr_SetString(PyExc_TypeError,"null reference");
25863 SWIG_fail;
25864 }
25865 }
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25869
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25874 return resultobj;
25875 fail:
25876 return NULL;
25877 }
25878
25879
25880 static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25881 PyObject *resultobj;
25882 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25883 PyObject *arg2 = (PyObject *) 0 ;
25884 bool result;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 char *kwnames[] = {
25888 (char *) "self",(char *) "data", NULL
25889 };
25890
25891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25894 arg2 = obj1;
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 {
25903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25904 }
25905 return resultobj;
25906 fail:
25907 return NULL;
25908 }
25909
25910
25911 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
25912 PyObject *resultobj;
25913 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25914 size_t result;
25915 PyObject * obj0 = 0 ;
25916 char *kwnames[] = {
25917 (char *) "self", NULL
25918 };
25919
25920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 result = (size_t)(arg1)->GetSize();
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25940 PyObject *result;
25941 PyObject * obj0 = 0 ;
25942 char *kwnames[] = {
25943 (char *) "self", NULL
25944 };
25945
25946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25949 {
25950 PyThreadState* __tstate = wxPyBeginAllowThreads();
25951 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25952
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 resultobj = result;
25957 return resultobj;
25958 fail:
25959 return NULL;
25960 }
25961
25962
25963 static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
25964 PyObject *obj;
25965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25966 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25967 Py_INCREF(obj);
25968 return Py_BuildValue((char *)"");
25969 }
25970 static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxURLDataObject *result;
25973 char *kwnames[] = {
25974 NULL
25975 };
25976
25977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 result = (wxURLDataObject *)new wxURLDataObject();
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25993 PyObject *resultobj;
25994 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25995 wxString result;
25996 PyObject * obj0 = 0 ;
25997 char *kwnames[] = {
25998 (char *) "self", NULL
25999 };
26000
26001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
26002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26004 {
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 result = (arg1)->GetURL();
26007
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 {
26012 #if wxUSE_UNICODE
26013 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26014 #else
26015 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26016 #endif
26017 }
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
26027 wxString *arg2 = 0 ;
26028 bool temp2 = false ;
26029 PyObject * obj0 = 0 ;
26030 PyObject * obj1 = 0 ;
26031 char *kwnames[] = {
26032 (char *) "self",(char *) "url", NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
26036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
26037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26038 {
26039 arg2 = wxString_in_helper(obj1);
26040 if (arg2 == NULL) SWIG_fail;
26041 temp2 = true;
26042 }
26043 {
26044 PyThreadState* __tstate = wxPyBeginAllowThreads();
26045 (arg1)->SetURL((wxString const &)*arg2);
26046
26047 wxPyEndAllowThreads(__tstate);
26048 if (PyErr_Occurred()) SWIG_fail;
26049 }
26050 Py_INCREF(Py_None); resultobj = Py_None;
26051 {
26052 if (temp2)
26053 delete arg2;
26054 }
26055 return resultobj;
26056 fail:
26057 {
26058 if (temp2)
26059 delete arg2;
26060 }
26061 return NULL;
26062 }
26063
26064
26065 static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
26066 PyObject *obj;
26067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26068 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
26069 Py_INCREF(obj);
26070 return Py_BuildValue((char *)"");
26071 }
26072 static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26073 PyObject *resultobj;
26074 wxMetafileDataObject *result;
26075 char *kwnames[] = {
26076 NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (wxMetafileDataObject *)new wxMetafileDataObject();
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
26088 return resultobj;
26089 fail:
26090 return NULL;
26091 }
26092
26093
26094 static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
26095 PyObject *obj;
26096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26097 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
26098 Py_INCREF(obj);
26099 return Py_BuildValue((char *)"");
26100 }
26101 static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
26102 PyObject *resultobj;
26103 int arg1 ;
26104 bool result;
26105 PyObject * obj0 = 0 ;
26106 char *kwnames[] = {
26107 (char *) "res", NULL
26108 };
26109
26110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
26111 arg1 = (int)SWIG_As_int(obj0);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 {
26121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26122 }
26123 return resultobj;
26124 fail:
26125 return NULL;
26126 }
26127
26128
26129 static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
26130 PyObject *resultobj;
26131 wxWindow *arg1 = (wxWindow *) 0 ;
26132 wxIcon const &arg2_defvalue = wxNullIcon ;
26133 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
26134 wxIcon const &arg3_defvalue = wxNullIcon ;
26135 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
26136 wxIcon const &arg4_defvalue = wxNullIcon ;
26137 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
26138 wxPyDropSource *result;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 PyObject * obj2 = 0 ;
26142 PyObject * obj3 = 0 ;
26143 char *kwnames[] = {
26144 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26145 };
26146
26147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26150 if (obj1) {
26151 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
26152 SWIG_POINTER_EXCEPTION | 0)) == -1)
26153 SWIG_fail;
26154 if (arg2 == NULL) {
26155 PyErr_SetString(PyExc_TypeError,"null reference");
26156 SWIG_fail;
26157 }
26158 }
26159 if (obj2) {
26160 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIcon,
26161 SWIG_POINTER_EXCEPTION | 0)) == -1)
26162 SWIG_fail;
26163 if (arg3 == NULL) {
26164 PyErr_SetString(PyExc_TypeError,"null reference");
26165 SWIG_fail;
26166 }
26167 }
26168 if (obj3) {
26169 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxIcon,
26170 SWIG_POINTER_EXCEPTION | 0)) == -1)
26171 SWIG_fail;
26172 if (arg4 == NULL) {
26173 PyErr_SetString(PyExc_TypeError,"null reference");
26174 SWIG_fail;
26175 }
26176 }
26177 {
26178 PyThreadState* __tstate = wxPyBeginAllowThreads();
26179 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
26180
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
26184 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
26185 return resultobj;
26186 fail:
26187 return NULL;
26188 }
26189
26190
26191 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26192 PyObject *resultobj;
26193 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26194 PyObject *arg2 = (PyObject *) 0 ;
26195 PyObject *arg3 = (PyObject *) 0 ;
26196 int arg4 ;
26197 PyObject * obj0 = 0 ;
26198 PyObject * obj1 = 0 ;
26199 PyObject * obj2 = 0 ;
26200 PyObject * obj3 = 0 ;
26201 char *kwnames[] = {
26202 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26203 };
26204
26205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26208 arg2 = obj1;
26209 arg3 = obj2;
26210 arg4 = (int)SWIG_As_int(obj3);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 {
26213 PyThreadState* __tstate = wxPyBeginAllowThreads();
26214 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
26215
26216 wxPyEndAllowThreads(__tstate);
26217 if (PyErr_Occurred()) SWIG_fail;
26218 }
26219 Py_INCREF(Py_None); resultobj = Py_None;
26220 return resultobj;
26221 fail:
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj;
26228 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26229 PyObject * obj0 = 0 ;
26230 char *kwnames[] = {
26231 (char *) "self", NULL
26232 };
26233
26234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
26235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26237 {
26238 PyThreadState* __tstate = wxPyBeginAllowThreads();
26239 delete arg1;
26240
26241 wxPyEndAllowThreads(__tstate);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 Py_INCREF(Py_None); resultobj = Py_None;
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
26252 PyObject *resultobj;
26253 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26254 wxDataObject *arg2 = 0 ;
26255 PyObject * obj0 = 0 ;
26256 PyObject * obj1 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self",(char *) "data", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
26262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26265 SWIG_POINTER_EXCEPTION | 0)) == -1)
26266 SWIG_fail;
26267 if (arg2 == NULL) {
26268 PyErr_SetString(PyExc_TypeError,"null reference");
26269 SWIG_fail;
26270 }
26271 {
26272 PyThreadState* __tstate = wxPyBeginAllowThreads();
26273 (arg1)->SetData(*arg2);
26274
26275 wxPyEndAllowThreads(__tstate);
26276 if (PyErr_Occurred()) SWIG_fail;
26277 }
26278 Py_INCREF(Py_None); resultobj = Py_None;
26279 return resultobj;
26280 fail:
26281 return NULL;
26282 }
26283
26284
26285 static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26286 PyObject *resultobj;
26287 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26288 wxDataObject *result;
26289 PyObject * obj0 = 0 ;
26290 char *kwnames[] = {
26291 (char *) "self", NULL
26292 };
26293
26294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
26295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26297 {
26298 PyThreadState* __tstate = wxPyBeginAllowThreads();
26299 result = (wxDataObject *)(arg1)->GetDataObject();
26300
26301 wxPyEndAllowThreads(__tstate);
26302 if (PyErr_Occurred()) SWIG_fail;
26303 }
26304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
26312 PyObject *resultobj;
26313 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26314 int arg2 ;
26315 wxCursor *arg3 = 0 ;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 PyObject * obj2 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "res",(char *) "cursor", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26326 arg2 = (int)SWIG_As_int(obj1);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1)
26330 SWIG_fail;
26331 if (arg3 == NULL) {
26332 PyErr_SetString(PyExc_TypeError,"null reference");
26333 SWIG_fail;
26334 }
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 Py_INCREF(Py_None); resultobj = Py_None;
26343 return resultobj;
26344 fail:
26345 return NULL;
26346 }
26347
26348
26349 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj;
26351 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26352 int arg2 = (int) wxDrag_CopyOnly ;
26353 int result;
26354 PyObject * obj0 = 0 ;
26355 PyObject * obj1 = 0 ;
26356 char *kwnames[] = {
26357 (char *) "self",(char *) "flags", NULL
26358 };
26359
26360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
26361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26363 if (obj1) {
26364 arg2 = (int)SWIG_As_int(obj1);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 {
26368 PyThreadState* __tstate = wxPyBeginAllowThreads();
26369 result = (int)(arg1)->DoDragDrop(arg2);
26370
26371 wxPyEndAllowThreads(__tstate);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
26374 resultobj = SWIG_From_int((int)result);
26375 return resultobj;
26376 fail:
26377 return NULL;
26378 }
26379
26380
26381 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
26382 PyObject *resultobj;
26383 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
26384 int arg2 ;
26385 bool result;
26386 PyObject * obj0 = 0 ;
26387 PyObject * obj1 = 0 ;
26388 char *kwnames[] = {
26389 (char *) "self",(char *) "effect", NULL
26390 };
26391
26392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
26393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
26394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26395 arg2 = (int)SWIG_As_int(obj1);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
26400
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 {
26405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26406 }
26407 return resultobj;
26408 fail:
26409 return NULL;
26410 }
26411
26412
26413 static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
26414 PyObject *obj;
26415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26416 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
26417 Py_INCREF(obj);
26418 return Py_BuildValue((char *)"");
26419 }
26420 static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj;
26422 wxDataObject *arg1 = (wxDataObject *) NULL ;
26423 wxPyDropTarget *result;
26424 PyObject * obj0 = 0 ;
26425 char *kwnames[] = {
26426 (char *) "dataObject", NULL
26427 };
26428
26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
26430 if (obj0) {
26431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
26432 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26449 PyObject *resultobj;
26450 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26451 PyObject *arg2 = (PyObject *) 0 ;
26452 PyObject *arg3 = (PyObject *) 0 ;
26453 PyObject * obj0 = 0 ;
26454 PyObject * obj1 = 0 ;
26455 PyObject * obj2 = 0 ;
26456 char *kwnames[] = {
26457 (char *) "self",(char *) "self",(char *) "_class", NULL
26458 };
26459
26460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26463 arg2 = obj1;
26464 arg3 = obj2;
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 (arg1)->_setCallbackInfo(arg2,arg3);
26468
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 Py_INCREF(Py_None); resultobj = Py_None;
26473 return resultobj;
26474 fail:
26475 return NULL;
26476 }
26477
26478
26479 static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26480 PyObject *resultobj;
26481 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26482 PyObject * obj0 = 0 ;
26483 char *kwnames[] = {
26484 (char *) "self", NULL
26485 };
26486
26487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 delete arg1;
26493
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 Py_INCREF(Py_None); resultobj = Py_None;
26498 return resultobj;
26499 fail:
26500 return NULL;
26501 }
26502
26503
26504 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26505 PyObject *resultobj;
26506 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26507 wxDataObject *result;
26508 PyObject * obj0 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "self", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 result = (wxDataObject *)(arg1)->GetDataObject();
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26533 wxDataObject *arg2 = (wxDataObject *) 0 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self",(char *) "dataObject", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26544 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 (arg1)->SetDataObject(arg2);
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 Py_INCREF(Py_None); resultobj = Py_None;
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26562 int arg2 ;
26563 int arg3 ;
26564 int arg4 ;
26565 int result;
26566 PyObject * obj0 = 0 ;
26567 PyObject * obj1 = 0 ;
26568 PyObject * obj2 = 0 ;
26569 PyObject * obj3 = 0 ;
26570 char *kwnames[] = {
26571 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26572 };
26573
26574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26577 arg2 = (int)SWIG_As_int(obj1);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 arg3 = (int)SWIG_As_int(obj2);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 arg4 = (int)SWIG_As_int(obj3);
26582 if (PyErr_Occurred()) SWIG_fail;
26583 {
26584 PyThreadState* __tstate = wxPyBeginAllowThreads();
26585 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26586
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 resultobj = SWIG_From_int((int)result);
26591 return resultobj;
26592 fail:
26593 return NULL;
26594 }
26595
26596
26597 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26598 PyObject *resultobj;
26599 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26600 int arg2 ;
26601 int arg3 ;
26602 int arg4 ;
26603 int result;
26604 PyObject * obj0 = 0 ;
26605 PyObject * obj1 = 0 ;
26606 PyObject * obj2 = 0 ;
26607 PyObject * obj3 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26615 arg2 = (int)SWIG_As_int(obj1);
26616 if (PyErr_Occurred()) SWIG_fail;
26617 arg3 = (int)SWIG_As_int(obj2);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 arg4 = (int)SWIG_As_int(obj3);
26620 if (PyErr_Occurred()) SWIG_fail;
26621 {
26622 PyThreadState* __tstate = wxPyBeginAllowThreads();
26623 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26624
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 resultobj = SWIG_From_int((int)result);
26629 return resultobj;
26630 fail:
26631 return NULL;
26632 }
26633
26634
26635 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26636 PyObject *resultobj;
26637 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26638 PyObject * obj0 = 0 ;
26639 char *kwnames[] = {
26640 (char *) "self", NULL
26641 };
26642
26643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26646 {
26647 PyThreadState* __tstate = wxPyBeginAllowThreads();
26648 (arg1)->base_OnLeave();
26649
26650 wxPyEndAllowThreads(__tstate);
26651 if (PyErr_Occurred()) SWIG_fail;
26652 }
26653 Py_INCREF(Py_None); resultobj = Py_None;
26654 return resultobj;
26655 fail:
26656 return NULL;
26657 }
26658
26659
26660 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26661 PyObject *resultobj;
26662 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26663 int arg2 ;
26664 int arg3 ;
26665 bool result;
26666 PyObject * obj0 = 0 ;
26667 PyObject * obj1 = 0 ;
26668 PyObject * obj2 = 0 ;
26669 char *kwnames[] = {
26670 (char *) "self",(char *) "x",(char *) "y", NULL
26671 };
26672
26673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26676 arg2 = (int)SWIG_As_int(obj1);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 arg3 = (int)SWIG_As_int(obj2);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 {
26681 PyThreadState* __tstate = wxPyBeginAllowThreads();
26682 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26683
26684 wxPyEndAllowThreads(__tstate);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 }
26687 {
26688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26689 }
26690 return resultobj;
26691 fail:
26692 return NULL;
26693 }
26694
26695
26696 static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj;
26698 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26699 bool result;
26700 PyObject * obj0 = 0 ;
26701 char *kwnames[] = {
26702 (char *) "self", NULL
26703 };
26704
26705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = (bool)(arg1)->GetData();
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 {
26716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26717 }
26718 return resultobj;
26719 fail:
26720 return NULL;
26721 }
26722
26723
26724 static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
26725 PyObject *obj;
26726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26727 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26728 Py_INCREF(obj);
26729 return Py_BuildValue((char *)"");
26730 }
26731 static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26732 PyObject *resultobj;
26733 wxPyTextDropTarget *result;
26734 char *kwnames[] = {
26735 NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26739 {
26740 PyThreadState* __tstate = wxPyBeginAllowThreads();
26741 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26742
26743 wxPyEndAllowThreads(__tstate);
26744 if (PyErr_Occurred()) SWIG_fail;
26745 }
26746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26747 return resultobj;
26748 fail:
26749 return NULL;
26750 }
26751
26752
26753 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26754 PyObject *resultobj;
26755 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26756 PyObject *arg2 = (PyObject *) 0 ;
26757 PyObject *arg3 = (PyObject *) 0 ;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 PyObject * obj2 = 0 ;
26761 char *kwnames[] = {
26762 (char *) "self",(char *) "self",(char *) "_class", NULL
26763 };
26764
26765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26768 arg2 = obj1;
26769 arg3 = obj2;
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 (arg1)->_setCallbackInfo(arg2,arg3);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 Py_INCREF(Py_None); resultobj = Py_None;
26778 return resultobj;
26779 fail:
26780 return NULL;
26781 }
26782
26783
26784 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26785 PyObject *resultobj;
26786 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26787 int arg2 ;
26788 int arg3 ;
26789 int arg4 ;
26790 int result;
26791 PyObject * obj0 = 0 ;
26792 PyObject * obj1 = 0 ;
26793 PyObject * obj2 = 0 ;
26794 PyObject * obj3 = 0 ;
26795 char *kwnames[] = {
26796 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26797 };
26798
26799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26802 arg2 = (int)SWIG_As_int(obj1);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 arg3 = (int)SWIG_As_int(obj2);
26805 if (PyErr_Occurred()) SWIG_fail;
26806 arg4 = (int)SWIG_As_int(obj3);
26807 if (PyErr_Occurred()) SWIG_fail;
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 resultobj = SWIG_From_int((int)result);
26816 return resultobj;
26817 fail:
26818 return NULL;
26819 }
26820
26821
26822 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26823 PyObject *resultobj;
26824 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26825 int arg2 ;
26826 int arg3 ;
26827 int arg4 ;
26828 int result;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 PyObject * obj2 = 0 ;
26832 PyObject * obj3 = 0 ;
26833 char *kwnames[] = {
26834 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26835 };
26836
26837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26840 arg2 = (int)SWIG_As_int(obj1);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 arg3 = (int)SWIG_As_int(obj2);
26843 if (PyErr_Occurred()) SWIG_fail;
26844 arg4 = (int)SWIG_As_int(obj3);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
26848 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26849
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 resultobj = SWIG_From_int((int)result);
26854 return resultobj;
26855 fail:
26856 return NULL;
26857 }
26858
26859
26860 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26861 PyObject *resultobj;
26862 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26863 PyObject * obj0 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 (arg1)->base_OnLeave();
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 Py_INCREF(Py_None); resultobj = Py_None;
26879 return resultobj;
26880 fail:
26881 return NULL;
26882 }
26883
26884
26885 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26886 PyObject *resultobj;
26887 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26888 int arg2 ;
26889 int arg3 ;
26890 bool result;
26891 PyObject * obj0 = 0 ;
26892 PyObject * obj1 = 0 ;
26893 PyObject * obj2 = 0 ;
26894 char *kwnames[] = {
26895 (char *) "self",(char *) "x",(char *) "y", NULL
26896 };
26897
26898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26901 arg2 = (int)SWIG_As_int(obj1);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 arg3 = (int)SWIG_As_int(obj2);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 {
26906 PyThreadState* __tstate = wxPyBeginAllowThreads();
26907 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26908
26909 wxPyEndAllowThreads(__tstate);
26910 if (PyErr_Occurred()) SWIG_fail;
26911 }
26912 {
26913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26914 }
26915 return resultobj;
26916 fail:
26917 return NULL;
26918 }
26919
26920
26921 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26922 PyObject *resultobj;
26923 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26924 int arg2 ;
26925 int arg3 ;
26926 int arg4 ;
26927 int result;
26928 PyObject * obj0 = 0 ;
26929 PyObject * obj1 = 0 ;
26930 PyObject * obj2 = 0 ;
26931 PyObject * obj3 = 0 ;
26932 char *kwnames[] = {
26933 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26934 };
26935
26936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26939 arg2 = (int)SWIG_As_int(obj1);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 arg3 = (int)SWIG_As_int(obj2);
26942 if (PyErr_Occurred()) SWIG_fail;
26943 arg4 = (int)SWIG_As_int(obj3);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 {
26946 PyThreadState* __tstate = wxPyBeginAllowThreads();
26947 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26948
26949 wxPyEndAllowThreads(__tstate);
26950 if (PyErr_Occurred()) SWIG_fail;
26951 }
26952 resultobj = SWIG_From_int((int)result);
26953 return resultobj;
26954 fail:
26955 return NULL;
26956 }
26957
26958
26959 static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
26960 PyObject *obj;
26961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26962 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26963 Py_INCREF(obj);
26964 return Py_BuildValue((char *)"");
26965 }
26966 static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26967 PyObject *resultobj;
26968 wxPyFileDropTarget *result;
26969 char *kwnames[] = {
26970 NULL
26971 };
26972
26973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26977
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26982 return resultobj;
26983 fail:
26984 return NULL;
26985 }
26986
26987
26988 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26989 PyObject *resultobj;
26990 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26991 PyObject *arg2 = (PyObject *) 0 ;
26992 PyObject *arg3 = (PyObject *) 0 ;
26993 PyObject * obj0 = 0 ;
26994 PyObject * obj1 = 0 ;
26995 PyObject * obj2 = 0 ;
26996 char *kwnames[] = {
26997 (char *) "self",(char *) "self",(char *) "_class", NULL
26998 };
26999
27000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27003 arg2 = obj1;
27004 arg3 = obj2;
27005 {
27006 PyThreadState* __tstate = wxPyBeginAllowThreads();
27007 (arg1)->_setCallbackInfo(arg2,arg3);
27008
27009 wxPyEndAllowThreads(__tstate);
27010 if (PyErr_Occurred()) SWIG_fail;
27011 }
27012 Py_INCREF(Py_None); resultobj = Py_None;
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27022 int arg2 ;
27023 int arg3 ;
27024 int arg4 ;
27025 int result;
27026 PyObject * obj0 = 0 ;
27027 PyObject * obj1 = 0 ;
27028 PyObject * obj2 = 0 ;
27029 PyObject * obj3 = 0 ;
27030 char *kwnames[] = {
27031 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27032 };
27033
27034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27037 arg2 = (int)SWIG_As_int(obj1);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 arg3 = (int)SWIG_As_int(obj2);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 arg4 = (int)SWIG_As_int(obj3);
27042 if (PyErr_Occurred()) SWIG_fail;
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
27050 resultobj = SWIG_From_int((int)result);
27051 return resultobj;
27052 fail:
27053 return NULL;
27054 }
27055
27056
27057 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
27058 PyObject *resultobj;
27059 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27060 int arg2 ;
27061 int arg3 ;
27062 int arg4 ;
27063 int result;
27064 PyObject * obj0 = 0 ;
27065 PyObject * obj1 = 0 ;
27066 PyObject * obj2 = 0 ;
27067 PyObject * obj3 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27075 arg2 = (int)SWIG_As_int(obj1);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 arg3 = (int)SWIG_As_int(obj2);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 arg4 = (int)SWIG_As_int(obj3);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 {
27082 PyThreadState* __tstate = wxPyBeginAllowThreads();
27083 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
27084
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 resultobj = SWIG_From_int((int)result);
27089 return resultobj;
27090 fail:
27091 return NULL;
27092 }
27093
27094
27095 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
27096 PyObject *resultobj;
27097 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27098 PyObject * obj0 = 0 ;
27099 char *kwnames[] = {
27100 (char *) "self", NULL
27101 };
27102
27103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
27104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 (arg1)->base_OnLeave();
27109
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 Py_INCREF(Py_None); resultobj = Py_None;
27114 return resultobj;
27115 fail:
27116 return NULL;
27117 }
27118
27119
27120 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
27121 PyObject *resultobj;
27122 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27123 int arg2 ;
27124 int arg3 ;
27125 bool result;
27126 PyObject * obj0 = 0 ;
27127 PyObject * obj1 = 0 ;
27128 PyObject * obj2 = 0 ;
27129 char *kwnames[] = {
27130 (char *) "self",(char *) "x",(char *) "y", NULL
27131 };
27132
27133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
27134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27136 arg2 = (int)SWIG_As_int(obj1);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 arg3 = (int)SWIG_As_int(obj2);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 {
27141 PyThreadState* __tstate = wxPyBeginAllowThreads();
27142 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
27143
27144 wxPyEndAllowThreads(__tstate);
27145 if (PyErr_Occurred()) SWIG_fail;
27146 }
27147 {
27148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27149 }
27150 return resultobj;
27151 fail:
27152 return NULL;
27153 }
27154
27155
27156 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
27157 PyObject *resultobj;
27158 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
27159 int arg2 ;
27160 int arg3 ;
27161 int arg4 ;
27162 int result;
27163 PyObject * obj0 = 0 ;
27164 PyObject * obj1 = 0 ;
27165 PyObject * obj2 = 0 ;
27166 PyObject * obj3 = 0 ;
27167 char *kwnames[] = {
27168 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27169 };
27170
27171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
27173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27174 arg2 = (int)SWIG_As_int(obj1);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 arg3 = (int)SWIG_As_int(obj2);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 arg4 = (int)SWIG_As_int(obj3);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 {
27181 PyThreadState* __tstate = wxPyBeginAllowThreads();
27182 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
27183
27184 wxPyEndAllowThreads(__tstate);
27185 if (PyErr_Occurred()) SWIG_fail;
27186 }
27187 resultobj = SWIG_From_int((int)result);
27188 return resultobj;
27189 fail:
27190 return NULL;
27191 }
27192
27193
27194 static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
27195 PyObject *obj;
27196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27197 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
27198 Py_INCREF(obj);
27199 return Py_BuildValue((char *)"");
27200 }
27201 static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
27202 PyObject *resultobj;
27203 wxClipboard *result;
27204 char *kwnames[] = {
27205 NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
27209 {
27210 PyThreadState* __tstate = wxPyBeginAllowThreads();
27211 result = (wxClipboard *)new wxClipboard();
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
27217 return resultobj;
27218 fail:
27219 return NULL;
27220 }
27221
27222
27223 static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
27224 PyObject *resultobj;
27225 wxClipboard *arg1 = (wxClipboard *) 0 ;
27226 PyObject * obj0 = 0 ;
27227 char *kwnames[] = {
27228 (char *) "self", NULL
27229 };
27230
27231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
27232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27234 {
27235 PyThreadState* __tstate = wxPyBeginAllowThreads();
27236 delete arg1;
27237
27238 wxPyEndAllowThreads(__tstate);
27239 if (PyErr_Occurred()) SWIG_fail;
27240 }
27241 Py_INCREF(Py_None); resultobj = Py_None;
27242 return resultobj;
27243 fail:
27244 return NULL;
27245 }
27246
27247
27248 static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
27249 PyObject *resultobj;
27250 wxClipboard *arg1 = (wxClipboard *) 0 ;
27251 bool result;
27252 PyObject * obj0 = 0 ;
27253 char *kwnames[] = {
27254 (char *) "self", NULL
27255 };
27256
27257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
27258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27260 {
27261 PyThreadState* __tstate = wxPyBeginAllowThreads();
27262 result = (bool)(arg1)->Open();
27263
27264 wxPyEndAllowThreads(__tstate);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 }
27267 {
27268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27269 }
27270 return resultobj;
27271 fail:
27272 return NULL;
27273 }
27274
27275
27276 static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
27277 PyObject *resultobj;
27278 wxClipboard *arg1 = (wxClipboard *) 0 ;
27279 PyObject * obj0 = 0 ;
27280 char *kwnames[] = {
27281 (char *) "self", NULL
27282 };
27283
27284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
27285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27287 {
27288 PyThreadState* __tstate = wxPyBeginAllowThreads();
27289 (arg1)->Close();
27290
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 Py_INCREF(Py_None); resultobj = Py_None;
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
27302 PyObject *resultobj;
27303 wxClipboard *arg1 = (wxClipboard *) 0 ;
27304 bool result;
27305 PyObject * obj0 = 0 ;
27306 char *kwnames[] = {
27307 (char *) "self", NULL
27308 };
27309
27310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
27311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (bool)((wxClipboard const *)arg1)->IsOpened();
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 {
27321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27322 }
27323 return resultobj;
27324 fail:
27325 return NULL;
27326 }
27327
27328
27329 static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
27330 PyObject *resultobj;
27331 wxClipboard *arg1 = (wxClipboard *) 0 ;
27332 wxDataObject *arg2 = (wxDataObject *) 0 ;
27333 bool result;
27334 PyObject * obj0 = 0 ;
27335 PyObject * obj1 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "self",(char *) "data", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
27341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27344 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27345 {
27346 PyThreadState* __tstate = wxPyBeginAllowThreads();
27347 result = (bool)(arg1)->AddData(arg2);
27348
27349 wxPyEndAllowThreads(__tstate);
27350 if (PyErr_Occurred()) SWIG_fail;
27351 }
27352 {
27353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27354 }
27355 return resultobj;
27356 fail:
27357 return NULL;
27358 }
27359
27360
27361 static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxClipboard *arg1 = (wxClipboard *) 0 ;
27364 wxDataObject *arg2 = (wxDataObject *) 0 ;
27365 bool result;
27366 PyObject * obj0 = 0 ;
27367 PyObject * obj1 = 0 ;
27368 char *kwnames[] = {
27369 (char *) "self",(char *) "data", NULL
27370 };
27371
27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
27373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27376 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 result = (bool)(arg1)->SetData(arg2);
27380
27381 wxPyEndAllowThreads(__tstate);
27382 if (PyErr_Occurred()) SWIG_fail;
27383 }
27384 {
27385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27386 }
27387 return resultobj;
27388 fail:
27389 return NULL;
27390 }
27391
27392
27393 static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
27394 PyObject *resultobj;
27395 wxClipboard *arg1 = (wxClipboard *) 0 ;
27396 wxDataFormat *arg2 = 0 ;
27397 bool result;
27398 PyObject * obj0 = 0 ;
27399 PyObject * obj1 = 0 ;
27400 char *kwnames[] = {
27401 (char *) "self",(char *) "format", NULL
27402 };
27403
27404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
27405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
27408 SWIG_POINTER_EXCEPTION | 0)) == -1)
27409 SWIG_fail;
27410 if (arg2 == NULL) {
27411 PyErr_SetString(PyExc_TypeError,"null reference");
27412 SWIG_fail;
27413 }
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 {
27422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27423 }
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 wxClipboard *arg1 = (wxClipboard *) 0 ;
27433 wxDataObject *arg2 = 0 ;
27434 bool result;
27435 PyObject * obj0 = 0 ;
27436 PyObject * obj1 = 0 ;
27437 char *kwnames[] = {
27438 (char *) "self",(char *) "data", NULL
27439 };
27440
27441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27445 SWIG_POINTER_EXCEPTION | 0)) == -1)
27446 SWIG_fail;
27447 if (arg2 == NULL) {
27448 PyErr_SetString(PyExc_TypeError,"null reference");
27449 SWIG_fail;
27450 }
27451 {
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = (bool)(arg1)->GetData(*arg2);
27454
27455 wxPyEndAllowThreads(__tstate);
27456 if (PyErr_Occurred()) SWIG_fail;
27457 }
27458 {
27459 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27460 }
27461 return resultobj;
27462 fail:
27463 return NULL;
27464 }
27465
27466
27467 static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
27468 PyObject *resultobj;
27469 wxClipboard *arg1 = (wxClipboard *) 0 ;
27470 PyObject * obj0 = 0 ;
27471 char *kwnames[] = {
27472 (char *) "self", NULL
27473 };
27474
27475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27478 {
27479 PyThreadState* __tstate = wxPyBeginAllowThreads();
27480 (arg1)->Clear();
27481
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 Py_INCREF(Py_None); resultobj = Py_None;
27486 return resultobj;
27487 fail:
27488 return NULL;
27489 }
27490
27491
27492 static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
27493 PyObject *resultobj;
27494 wxClipboard *arg1 = (wxClipboard *) 0 ;
27495 bool result;
27496 PyObject * obj0 = 0 ;
27497 char *kwnames[] = {
27498 (char *) "self", NULL
27499 };
27500
27501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
27506 result = (bool)(arg1)->Flush();
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
27511 {
27512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27513 }
27514 return resultobj;
27515 fail:
27516 return NULL;
27517 }
27518
27519
27520 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
27521 PyObject *resultobj;
27522 wxClipboard *arg1 = (wxClipboard *) 0 ;
27523 bool arg2 = (bool) true ;
27524 PyObject * obj0 = 0 ;
27525 PyObject * obj1 = 0 ;
27526 char *kwnames[] = {
27527 (char *) "self",(char *) "primary", NULL
27528 };
27529
27530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27533 if (obj1) {
27534 arg2 = (bool)SWIG_As_bool(obj1);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 (arg1)->UsePrimarySelection(arg2);
27540
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 Py_INCREF(Py_None); resultobj = Py_None;
27545 return resultobj;
27546 fail:
27547 return NULL;
27548 }
27549
27550
27551 static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj;
27553 wxClipboard *result;
27554 char *kwnames[] = {
27555 NULL
27556 };
27557
27558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 result = (wxClipboard *)wxClipboard::Get();
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
27567 return resultobj;
27568 fail:
27569 return NULL;
27570 }
27571
27572
27573 static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
27574 PyObject *obj;
27575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27576 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27577 Py_INCREF(obj);
27578 return Py_BuildValue((char *)"");
27579 }
27580 static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27581 PyObject *resultobj;
27582 wxClipboard *arg1 = (wxClipboard *) NULL ;
27583 wxClipboardLocker *result;
27584 PyObject * obj0 = 0 ;
27585 char *kwnames[] = {
27586 (char *) "clipboard", NULL
27587 };
27588
27589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27590 if (obj0) {
27591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj;
27610 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27611 PyObject * obj0 = 0 ;
27612 char *kwnames[] = {
27613 (char *) "self", NULL
27614 };
27615
27616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 delete arg1;
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 Py_INCREF(Py_None); resultobj = Py_None;
27627 return resultobj;
27628 fail:
27629 return NULL;
27630 }
27631
27632
27633 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
27634 PyObject *resultobj;
27635 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27636 bool result;
27637 PyObject * obj0 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27645 {
27646 PyThreadState* __tstate = wxPyBeginAllowThreads();
27647 result = (bool)wxClipboardLocker___nonzero__(arg1);
27648
27649 wxPyEndAllowThreads(__tstate);
27650 if (PyErr_Occurred()) SWIG_fail;
27651 }
27652 {
27653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27654 }
27655 return resultobj;
27656 fail:
27657 return NULL;
27658 }
27659
27660
27661 static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
27662 PyObject *obj;
27663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27664 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27665 Py_INCREF(obj);
27666 return Py_BuildValue((char *)"");
27667 }
27668 static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj;
27670 int arg1 = (int) 0 ;
27671 int arg2 = (int) 0 ;
27672 int arg3 = (int) 0 ;
27673 int arg4 = (int) 0 ;
27674 wxVideoMode *result;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 PyObject * obj2 = 0 ;
27678 PyObject * obj3 = 0 ;
27679 char *kwnames[] = {
27680 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27684 if (obj0) {
27685 arg1 = (int)SWIG_As_int(obj0);
27686 if (PyErr_Occurred()) SWIG_fail;
27687 }
27688 if (obj1) {
27689 arg2 = (int)SWIG_As_int(obj1);
27690 if (PyErr_Occurred()) SWIG_fail;
27691 }
27692 if (obj2) {
27693 arg3 = (int)SWIG_As_int(obj2);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 if (obj3) {
27697 arg4 = (int)SWIG_As_int(obj3);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27703
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27708 return resultobj;
27709 fail:
27710 return NULL;
27711 }
27712
27713
27714 static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27715 PyObject *resultobj;
27716 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27717 PyObject * obj0 = 0 ;
27718 char *kwnames[] = {
27719 (char *) "self", NULL
27720 };
27721
27722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 delete arg1;
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 Py_INCREF(Py_None); resultobj = Py_None;
27733 return resultobj;
27734 fail:
27735 return NULL;
27736 }
27737
27738
27739 static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
27740 PyObject *resultobj;
27741 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27742 wxVideoMode *arg2 = 0 ;
27743 bool result;
27744 PyObject * obj0 = 0 ;
27745 PyObject * obj1 = 0 ;
27746 char *kwnames[] = {
27747 (char *) "self",(char *) "other", NULL
27748 };
27749
27750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27754 SWIG_POINTER_EXCEPTION | 0)) == -1)
27755 SWIG_fail;
27756 if (arg2 == NULL) {
27757 PyErr_SetString(PyExc_TypeError,"null reference");
27758 SWIG_fail;
27759 }
27760 {
27761 PyThreadState* __tstate = wxPyBeginAllowThreads();
27762 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27763
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 {
27768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27769 }
27770 return resultobj;
27771 fail:
27772 return NULL;
27773 }
27774
27775
27776 static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27777 PyObject *resultobj;
27778 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27779 int result;
27780 PyObject * obj0 = 0 ;
27781 char *kwnames[] = {
27782 (char *) "self", NULL
27783 };
27784
27785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
27795 resultobj = SWIG_From_int((int)result);
27796 return resultobj;
27797 fail:
27798 return NULL;
27799 }
27800
27801
27802 static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27803 PyObject *resultobj;
27804 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27805 int result;
27806 PyObject * obj0 = 0 ;
27807 char *kwnames[] = {
27808 (char *) "self", NULL
27809 };
27810
27811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27814 {
27815 PyThreadState* __tstate = wxPyBeginAllowThreads();
27816 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27817
27818 wxPyEndAllowThreads(__tstate);
27819 if (PyErr_Occurred()) SWIG_fail;
27820 }
27821 resultobj = SWIG_From_int((int)result);
27822 return resultobj;
27823 fail:
27824 return NULL;
27825 }
27826
27827
27828 static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
27829 PyObject *resultobj;
27830 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27831 int result;
27832 PyObject * obj0 = 0 ;
27833 char *kwnames[] = {
27834 (char *) "self", NULL
27835 };
27836
27837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27840 {
27841 PyThreadState* __tstate = wxPyBeginAllowThreads();
27842 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27843
27844 wxPyEndAllowThreads(__tstate);
27845 if (PyErr_Occurred()) SWIG_fail;
27846 }
27847 resultobj = SWIG_From_int((int)result);
27848 return resultobj;
27849 fail:
27850 return NULL;
27851 }
27852
27853
27854 static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27855 PyObject *resultobj;
27856 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27857 bool result;
27858 PyObject * obj0 = 0 ;
27859 char *kwnames[] = {
27860 (char *) "self", NULL
27861 };
27862
27863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 {
27874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27875 }
27876 return resultobj;
27877 fail:
27878 return NULL;
27879 }
27880
27881
27882 static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27883 PyObject *resultobj;
27884 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27885 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27886 bool result;
27887 PyObject * obj0 = 0 ;
27888 PyObject * obj1 = 0 ;
27889 char *kwnames[] = {
27890 (char *) "self",(char *) "other", NULL
27891 };
27892
27893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27901
27902 wxPyEndAllowThreads(__tstate);
27903 if (PyErr_Occurred()) SWIG_fail;
27904 }
27905 {
27906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27907 }
27908 return resultobj;
27909 fail:
27910 return NULL;
27911 }
27912
27913
27914 static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27915 PyObject *resultobj;
27916 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27917 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27918 bool result;
27919 PyObject * obj0 = 0 ;
27920 PyObject * obj1 = 0 ;
27921 char *kwnames[] = {
27922 (char *) "self",(char *) "other", NULL
27923 };
27924
27925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27930 {
27931 PyThreadState* __tstate = wxPyBeginAllowThreads();
27932 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27933
27934 wxPyEndAllowThreads(__tstate);
27935 if (PyErr_Occurred()) SWIG_fail;
27936 }
27937 {
27938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27939 }
27940 return resultobj;
27941 fail:
27942 return NULL;
27943 }
27944
27945
27946 static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
27947 PyObject *resultobj;
27948 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27949 int arg2 ;
27950 PyObject * obj0 = 0 ;
27951 PyObject * obj1 = 0 ;
27952 char *kwnames[] = {
27953 (char *) "self",(char *) "w", NULL
27954 };
27955
27956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27959 arg2 = (int)SWIG_As_int(obj1);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 if (arg1) (arg1)->w = arg2;
27962
27963 Py_INCREF(Py_None); resultobj = Py_None;
27964 return resultobj;
27965 fail:
27966 return NULL;
27967 }
27968
27969
27970 static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
27971 PyObject *resultobj;
27972 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27973 int result;
27974 PyObject * obj0 = 0 ;
27975 char *kwnames[] = {
27976 (char *) "self", NULL
27977 };
27978
27979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27982 result = (int) ((arg1)->w);
27983
27984 resultobj = SWIG_From_int((int)result);
27985 return resultobj;
27986 fail:
27987 return NULL;
27988 }
27989
27990
27991 static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
27992 PyObject *resultobj;
27993 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27994 int arg2 ;
27995 PyObject * obj0 = 0 ;
27996 PyObject * obj1 = 0 ;
27997 char *kwnames[] = {
27998 (char *) "self",(char *) "h", NULL
27999 };
28000
28001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
28002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28004 arg2 = (int)SWIG_As_int(obj1);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 if (arg1) (arg1)->h = arg2;
28007
28008 Py_INCREF(Py_None); resultobj = Py_None;
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28018 int result;
28019 PyObject * obj0 = 0 ;
28020 char *kwnames[] = {
28021 (char *) "self", NULL
28022 };
28023
28024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
28025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28027 result = (int) ((arg1)->h);
28028
28029 resultobj = SWIG_From_int((int)result);
28030 return resultobj;
28031 fail:
28032 return NULL;
28033 }
28034
28035
28036 static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj;
28038 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28039 int arg2 ;
28040 PyObject * obj0 = 0 ;
28041 PyObject * obj1 = 0 ;
28042 char *kwnames[] = {
28043 (char *) "self",(char *) "bpp", NULL
28044 };
28045
28046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
28047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28049 arg2 = (int)SWIG_As_int(obj1);
28050 if (PyErr_Occurred()) SWIG_fail;
28051 if (arg1) (arg1)->bpp = arg2;
28052
28053 Py_INCREF(Py_None); resultobj = Py_None;
28054 return resultobj;
28055 fail:
28056 return NULL;
28057 }
28058
28059
28060 static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
28061 PyObject *resultobj;
28062 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28063 int result;
28064 PyObject * obj0 = 0 ;
28065 char *kwnames[] = {
28066 (char *) "self", NULL
28067 };
28068
28069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
28070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28072 result = (int) ((arg1)->bpp);
28073
28074 resultobj = SWIG_From_int((int)result);
28075 return resultobj;
28076 fail:
28077 return NULL;
28078 }
28079
28080
28081 static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
28082 PyObject *resultobj;
28083 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28084 int arg2 ;
28085 PyObject * obj0 = 0 ;
28086 PyObject * obj1 = 0 ;
28087 char *kwnames[] = {
28088 (char *) "self",(char *) "refresh", NULL
28089 };
28090
28091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
28092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28094 arg2 = (int)SWIG_As_int(obj1);
28095 if (PyErr_Occurred()) SWIG_fail;
28096 if (arg1) (arg1)->refresh = arg2;
28097
28098 Py_INCREF(Py_None); resultobj = Py_None;
28099 return resultobj;
28100 fail:
28101 return NULL;
28102 }
28103
28104
28105 static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
28106 PyObject *resultobj;
28107 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
28108 int result;
28109 PyObject * obj0 = 0 ;
28110 char *kwnames[] = {
28111 (char *) "self", NULL
28112 };
28113
28114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
28115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
28116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28117 result = (int) ((arg1)->refresh);
28118
28119 resultobj = SWIG_From_int((int)result);
28120 return resultobj;
28121 fail:
28122 return NULL;
28123 }
28124
28125
28126 static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
28127 PyObject *obj;
28128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28129 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
28130 Py_INCREF(obj);
28131 return Py_BuildValue((char *)"");
28132 }
28133 static int _wrap_DefaultVideoMode_set(PyObject *) {
28134 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
28135 return 1;
28136 }
28137
28138
28139 static PyObject *_wrap_DefaultVideoMode_get() {
28140 PyObject *pyobj;
28141
28142 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
28143 return pyobj;
28144 }
28145
28146
28147 static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
28148 PyObject *resultobj;
28149 size_t arg1 = (size_t) 0 ;
28150 wxDisplay *result;
28151 PyObject * obj0 = 0 ;
28152 char *kwnames[] = {
28153 (char *) "index", NULL
28154 };
28155
28156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
28157 if (obj0) {
28158 arg1 = (size_t)SWIG_As_unsigned_SS_long(obj0);
28159 if (PyErr_Occurred()) SWIG_fail;
28160 }
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (wxDisplay *)new wxDisplay(arg1);
28164
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
28169 return resultobj;
28170 fail:
28171 return NULL;
28172 }
28173
28174
28175 static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
28176 PyObject *resultobj;
28177 wxDisplay *arg1 = (wxDisplay *) 0 ;
28178 PyObject * obj0 = 0 ;
28179 char *kwnames[] = {
28180 (char *) "self", NULL
28181 };
28182
28183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
28184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28186 {
28187 PyThreadState* __tstate = wxPyBeginAllowThreads();
28188 delete arg1;
28189
28190 wxPyEndAllowThreads(__tstate);
28191 if (PyErr_Occurred()) SWIG_fail;
28192 }
28193 Py_INCREF(Py_None); resultobj = Py_None;
28194 return resultobj;
28195 fail:
28196 return NULL;
28197 }
28198
28199
28200 static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
28201 PyObject *resultobj;
28202 size_t result;
28203 char *kwnames[] = {
28204 NULL
28205 };
28206
28207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = (size_t)wxDisplay::GetCount();
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
28216 return resultobj;
28217 fail:
28218 return NULL;
28219 }
28220
28221
28222 static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
28223 PyObject *resultobj;
28224 wxPoint *arg1 = 0 ;
28225 int result;
28226 wxPoint temp1 ;
28227 PyObject * obj0 = 0 ;
28228 char *kwnames[] = {
28229 (char *) "pt", NULL
28230 };
28231
28232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
28233 {
28234 arg1 = &temp1;
28235 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
28236 }
28237 {
28238 PyThreadState* __tstate = wxPyBeginAllowThreads();
28239 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
28240
28241 wxPyEndAllowThreads(__tstate);
28242 if (PyErr_Occurred()) SWIG_fail;
28243 }
28244 resultobj = SWIG_From_int((int)result);
28245 return resultobj;
28246 fail:
28247 return NULL;
28248 }
28249
28250
28251 static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
28252 PyObject *resultobj;
28253 wxWindow *arg1 = (wxWindow *) 0 ;
28254 int result;
28255 PyObject * obj0 = 0 ;
28256 char *kwnames[] = {
28257 (char *) "window", NULL
28258 };
28259
28260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
28261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 result = (int)Display_GetFromWindow(arg1);
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
28270 resultobj = SWIG_From_int((int)result);
28271 return resultobj;
28272 fail:
28273 return NULL;
28274 }
28275
28276
28277 static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj;
28279 wxDisplay *arg1 = (wxDisplay *) 0 ;
28280 bool result;
28281 PyObject * obj0 = 0 ;
28282 char *kwnames[] = {
28283 (char *) "self", NULL
28284 };
28285
28286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
28287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 result = (bool)((wxDisplay const *)arg1)->IsOk();
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 {
28297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28298 }
28299 return resultobj;
28300 fail:
28301 return NULL;
28302 }
28303
28304
28305 static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
28306 PyObject *resultobj;
28307 wxDisplay *arg1 = (wxDisplay *) 0 ;
28308 wxRect result;
28309 PyObject * obj0 = 0 ;
28310 char *kwnames[] = {
28311 (char *) "self", NULL
28312 };
28313
28314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
28315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28317 {
28318 PyThreadState* __tstate = wxPyBeginAllowThreads();
28319 result = ((wxDisplay const *)arg1)->GetGeometry();
28320
28321 wxPyEndAllowThreads(__tstate);
28322 if (PyErr_Occurred()) SWIG_fail;
28323 }
28324 {
28325 wxRect * resultptr;
28326 resultptr = new wxRect((wxRect &) result);
28327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
28328 }
28329 return resultobj;
28330 fail:
28331 return NULL;
28332 }
28333
28334
28335 static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
28336 PyObject *resultobj;
28337 wxDisplay *arg1 = (wxDisplay *) 0 ;
28338 wxString result;
28339 PyObject * obj0 = 0 ;
28340 char *kwnames[] = {
28341 (char *) "self", NULL
28342 };
28343
28344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
28345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 result = ((wxDisplay const *)arg1)->GetName();
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 {
28355 #if wxUSE_UNICODE
28356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28357 #else
28358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28359 #endif
28360 }
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj;
28369 wxDisplay *arg1 = (wxDisplay *) 0 ;
28370 bool result;
28371 PyObject * obj0 = 0 ;
28372 char *kwnames[] = {
28373 (char *) "self", NULL
28374 };
28375
28376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
28377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28379 {
28380 PyThreadState* __tstate = wxPyBeginAllowThreads();
28381 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
28382
28383 wxPyEndAllowThreads(__tstate);
28384 if (PyErr_Occurred()) SWIG_fail;
28385 }
28386 {
28387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28388 }
28389 return resultobj;
28390 fail:
28391 return NULL;
28392 }
28393
28394
28395 static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
28396 PyObject *resultobj;
28397 wxDisplay *arg1 = (wxDisplay *) 0 ;
28398 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28399 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28400 PyObject *result;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self",(char *) "mode", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
28408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28410 if (obj1) {
28411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28412 SWIG_POINTER_EXCEPTION | 0)) == -1)
28413 SWIG_fail;
28414 if (arg2 == NULL) {
28415 PyErr_SetString(PyExc_TypeError,"null reference");
28416 SWIG_fail;
28417 }
28418 }
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 resultobj = result;
28427 return resultobj;
28428 fail:
28429 return NULL;
28430 }
28431
28432
28433 static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
28434 PyObject *resultobj;
28435 wxDisplay *arg1 = (wxDisplay *) 0 ;
28436 wxVideoMode result;
28437 PyObject * obj0 = 0 ;
28438 char *kwnames[] = {
28439 (char *) "self", NULL
28440 };
28441
28442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28445 {
28446 PyThreadState* __tstate = wxPyBeginAllowThreads();
28447 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28448
28449 wxPyEndAllowThreads(__tstate);
28450 if (PyErr_Occurred()) SWIG_fail;
28451 }
28452 {
28453 wxVideoMode * resultptr;
28454 resultptr = new wxVideoMode((wxVideoMode &) result);
28455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28456 }
28457 return resultobj;
28458 fail:
28459 return NULL;
28460 }
28461
28462
28463 static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
28464 PyObject *resultobj;
28465 wxDisplay *arg1 = (wxDisplay *) 0 ;
28466 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28467 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28468 bool result;
28469 PyObject * obj0 = 0 ;
28470 PyObject * obj1 = 0 ;
28471 char *kwnames[] = {
28472 (char *) "self",(char *) "mode", NULL
28473 };
28474
28475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28478 if (obj1) {
28479 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28480 SWIG_POINTER_EXCEPTION | 0)) == -1)
28481 SWIG_fail;
28482 if (arg2 == NULL) {
28483 PyErr_SetString(PyExc_TypeError,"null reference");
28484 SWIG_fail;
28485 }
28486 }
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28490
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
28494 {
28495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28496 }
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
28504 PyObject *resultobj;
28505 wxDisplay *arg1 = (wxDisplay *) 0 ;
28506 PyObject * obj0 = 0 ;
28507 char *kwnames[] = {
28508 (char *) "self", NULL
28509 };
28510
28511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28514 {
28515 PyThreadState* __tstate = wxPyBeginAllowThreads();
28516 (arg1)->ResetMode();
28517
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 Py_INCREF(Py_None); resultobj = Py_None;
28522 return resultobj;
28523 fail:
28524 return NULL;
28525 }
28526
28527
28528 static PyObject * Display_swigregister(PyObject *, PyObject *args) {
28529 PyObject *obj;
28530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28531 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28532 Py_INCREF(obj);
28533 return Py_BuildValue((char *)"");
28534 }
28535 static PyMethodDef SwigMethods[] = {
28536 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
28537 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
28538 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
28539 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
28540 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28541 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28542 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
28543 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
28544 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28545 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28546 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28547 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28548 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
28549 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
28550 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
28551 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
28552 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
28553 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL },
28554 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
28555 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL },
28556 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
28557 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28558 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
28559 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
28560 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
28561 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28562 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
28563 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
28564 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
28565 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28566 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
28567 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
28568 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
28569 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL },
28570 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL },
28571 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
28572 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
28573 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
28574 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28575 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28576 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
28577 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
28578 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
28579 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
28580 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
28581 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
28582 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28583 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28584 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28585 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28586 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28587 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28588 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
28589 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28590 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
28591 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28592 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
28593 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28594 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28595 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28596 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28597 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28598 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28599 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28600 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28601 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28602 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28603 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28604 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28605 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28606 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
28607 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
28608 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
28609 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28610 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28611 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28612 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28613 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
28614 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
28615 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
28616 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28617 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28618 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28619 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
28620 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
28621 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
28622 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28623 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28624 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28625 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
28626 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28627 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28628 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28629 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28630 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28631 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
28632 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
28633 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
28634 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28635 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28636 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
28637 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
28638 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28639 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28640 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28641 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28642 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
28643 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28644 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28645 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
28646 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28647 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28648 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
28649 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
28650 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28651 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
28652 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28653 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
28654 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
28655 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28656 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28657 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28658 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28659 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
28660 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28661 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28662 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
28663 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
28664 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28665 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28666 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
28667 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28668 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
28669 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28670 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28671 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28672 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28673 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28674 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
28675 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
28676 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28677 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28678 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
28679 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
28680 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
28681 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28682 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28683 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
28684 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
28685 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28686 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28687 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28688 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28689 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
28690 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
28691 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28692 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28693 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28694 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28695 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
28696 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28697 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
28698 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28699 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28700 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
28701 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
28702 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
28703 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28704 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
28705 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
28706 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
28707 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
28708 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
28709 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28710 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
28711 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28712 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28713 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
28714 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28715 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28716 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28717 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28718 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28719 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28720 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28721 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28722 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28723 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28724 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28725 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28726 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28727 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28728 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28729 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
28730 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28731 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
28732 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
28733 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
28734 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
28735 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
28736 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
28737 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
28738 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28739 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28740 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28741 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28742 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28743 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28744 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
28745 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
28746 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
28747 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28748 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28749 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28750 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
28751 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
28752 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
28753 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
28754 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
28755 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
28756 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28757 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28758 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
28759 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28760 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
28761 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28762 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
28763 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
28764 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
28765 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28766 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28767 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28768 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
28769 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
28770 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28771 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
28772 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
28773 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28774 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28775 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
28776 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28777 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
28778 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
28779 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
28780 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
28781 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28782 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
28783 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28784 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
28785 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28786 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28787 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28788 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
28789 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28790 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
28791 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
28792 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
28793 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
28794 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
28795 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
28796 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
28797 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
28798 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28799 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28800 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28801 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28802 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28803 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28804 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28805 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28806 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28807 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28808 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28809 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28810 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28811 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
28812 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
28813 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
28814 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
28815 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
28816 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
28817 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
28818 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
28819 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
28820 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
28821 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28822 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28823 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28824 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28825 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
28826 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
28827 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
28828 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
28829 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
28830 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
28831 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
28832 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
28833 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
28834 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
28835 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
28836 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
28837 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
28838 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
28839 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
28840 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28841 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28842 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
28843 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
28844 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
28845 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
28846 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
28847 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
28848 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
28849 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
28850 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
28851 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
28852 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
28853 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28854 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28855 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28856 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28857 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28858 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28859 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28860 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28861 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28862 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28863 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28864 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
28865 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
28866 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
28867 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
28868 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
28869 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
28870 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
28871 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
28872 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL },
28873 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
28874 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28875 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL },
28876 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28877 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL },
28878 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL },
28879 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28880 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
28881 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28882 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
28883 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28884 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28885 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28886 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28887 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28888 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28889 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28890 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28891 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28892 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28893 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
28894 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
28895 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28896 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
28897 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28898 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28899 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28900 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28901 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28902 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28903 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28904 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28905 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28906 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28907 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
28908 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28909 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28910 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28911 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28912 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
28913 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
28914 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28915 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
28916 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
28917 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
28918 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28919 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
28920 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28921 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28922 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
28923 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
28924 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28925 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28926 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
28927 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28928 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28929 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28930 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28931 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28932 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28933 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28934 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28935 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
28936 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
28937 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28938 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
28939 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28940 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28941 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28942 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28943 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28944 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28945 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28946 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28947 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
28948 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
28949 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28950 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28951 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28952 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
28953 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
28954 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
28955 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28956 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
28957 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
28958 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
28959 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28960 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
28961 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28962 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28963 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28964 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28965 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28966 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
28967 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28968 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28969 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28970 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28971 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28972 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28973 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28974 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28975 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28976 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28977 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28978 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
28979 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28980 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28981 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
28982 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28983 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28984 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
28985 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28986 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28987 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
28988 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
28989 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28990 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28991 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28992 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28993 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
28994 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
28995 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28996 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
28997 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
28998 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
28999 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29000 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
29001 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
29002 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
29003 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
29004 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
29005 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
29006 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
29007 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
29008 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
29009 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29010 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29011 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29012 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29013 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
29014 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29015 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
29016 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
29017 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29018 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
29019 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
29020 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
29021 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29022 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29023 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29024 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29025 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29026 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29027 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29028 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29029 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29030 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29031 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29032 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29033 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29034 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29035 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29036 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29037 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29038 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
29039 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29040 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29041 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
29042 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29043 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
29044 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29045 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
29046 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
29047 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
29048 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
29049 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29050 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
29051 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29052 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
29053 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
29054 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
29055 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
29056 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
29057 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29058 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
29059 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
29060 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
29061 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
29062 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
29063 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
29064 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29065 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
29066 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
29067 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
29068 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29069 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
29070 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29071 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29072 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
29073 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
29074 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
29075 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
29076 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
29077 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
29078 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
29079 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
29080 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29081 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
29082 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
29083 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
29084 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
29085 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
29086 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
29087 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
29088 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
29089 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
29090 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
29091 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
29092 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29093 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
29094 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
29095 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
29096 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29097 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
29098 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
29099 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
29100 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
29101 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
29102 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
29103 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
29104 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
29105 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
29106 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
29107 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
29108 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29109 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29110 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29111 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29112 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29113 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29114 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29115 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29116 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29117 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29118 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
29119 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29120 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29121 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29122 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29123 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29124 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29125 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29126 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29127 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
29128 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
29129 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
29130 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
29131 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29132 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29133 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
29134 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
29135 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
29136 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
29137 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
29138 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
29139 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29140 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29141 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
29142 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
29143 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
29144 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
29145 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
29146 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
29147 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29148 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
29149 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
29150 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
29151 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
29152 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
29153 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
29154 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
29155 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
29156 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
29157 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29158 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29159 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29160 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29161 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
29162 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
29163 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
29164 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
29165 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
29166 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29167 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
29168 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
29169 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
29170 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
29171 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
29172 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
29173 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
29174 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
29175 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
29176 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
29177 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
29178 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29179 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29180 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
29181 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
29182 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
29183 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
29184 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
29185 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29186 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29187 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29188 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
29189 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
29190 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
29191 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
29192 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
29193 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
29194 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
29195 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29196 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29197 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
29198 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29199 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29200 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
29201 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29202 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29203 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
29204 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29205 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29206 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
29207 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
29208 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
29209 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29210 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
29211 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
29212 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29213 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
29214 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
29215 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
29216 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
29217 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29218 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
29219 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
29220 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
29221 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
29222 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29223 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29224 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
29225 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29226 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29227 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
29228 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
29229 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29230 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29231 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
29232 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29233 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
29234 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
29235 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
29236 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29237 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29238 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
29239 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29240 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
29241 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29242 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29243 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
29244 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
29245 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29246 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
29247 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
29248 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29249 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29250 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
29251 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29252 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29253 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
29254 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29255 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
29256 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
29257 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29258 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29259 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29260 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29261 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
29262 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29263 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29264 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29265 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29266 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29267 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
29268 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29269 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29270 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29271 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29272 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29273 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29274 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29275 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
29276 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
29277 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
29278 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
29279 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
29280 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
29281 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
29282 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
29283 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
29284 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29285 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
29286 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
29287 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
29288 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
29289 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
29290 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
29291 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
29292 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
29293 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
29294 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
29295 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
29296 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL },
29297 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
29298 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29299 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
29300 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
29301 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
29302 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29303 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
29304 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
29305 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
29306 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
29307 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
29308 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29309 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
29310 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
29311 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
29312 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
29313 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
29314 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
29315 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
29316 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
29317 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
29318 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
29319 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
29320 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29321 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
29322 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
29323 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
29324 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
29325 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
29326 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
29327 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
29328 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
29329 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
29330 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
29331 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
29332 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
29333 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
29334 { NULL, NULL, 0, NULL }
29335 };
29336
29337
29338 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29339
29340 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29341 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29342 }
29343 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29344 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29345 }
29346 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29347 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29348 }
29349 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29350 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29351 }
29352 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29353 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29354 }
29355 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29356 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29357 }
29358 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
29359 return (void *)((wxEvent *) ((wxTimerEvent *) x));
29360 }
29361 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29362 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29363 }
29364 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29366 }
29367 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29368 return (void *)((wxEvent *) ((wxPyEvent *) x));
29369 }
29370 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29371 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29372 }
29373 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
29374 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
29375 }
29376 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29377 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29378 }
29379 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29380 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29381 }
29382 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29383 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29384 }
29385 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29386 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29387 }
29388 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29389 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29390 }
29391 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29392 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29393 }
29394 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29395 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29396 }
29397 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29398 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29399 }
29400 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29401 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29402 }
29403 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29404 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29405 }
29406 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29408 }
29409 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29410 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29411 }
29412 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29413 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29414 }
29415 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29416 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29417 }
29418 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29419 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29420 }
29421 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29422 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29423 }
29424 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29425 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29426 }
29427 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29429 }
29430 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
29431 return (void *)((wxEvent *) ((wxProcessEvent *) x));
29432 }
29433 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29434 return (void *)((wxEvent *) ((wxShowEvent *) x));
29435 }
29436 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29437 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29438 }
29439 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29441 }
29442 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29444 }
29445 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29446 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29447 }
29448 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29449 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29450 }
29451 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29452 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29453 }
29454 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29455 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29456 }
29457 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29458 return (void *)((wxConfigBase *) ((wxConfig *) x));
29459 }
29460 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29461 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29462 }
29463 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29464 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29465 }
29466 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29467 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29468 }
29469 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29470 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29471 }
29472 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29473 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29474 }
29475 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29476 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29477 }
29478 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29479 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29480 }
29481 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29482 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29483 }
29484 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29485 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29486 }
29487 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29488 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29489 }
29490 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29491 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29492 }
29493 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29494 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29495 }
29496 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29497 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29498 }
29499 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29500 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29501 }
29502 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29503 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29504 }
29505 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29506 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29507 }
29508 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29509 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29510 }
29511 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29512 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29513 }
29514 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29515 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29516 }
29517 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29518 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29519 }
29520 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29521 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29522 }
29523 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29524 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29525 }
29526 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29527 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29528 }
29529 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29530 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29531 }
29532 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29533 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29534 }
29535 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29536 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29537 }
29538 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29539 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29540 }
29541 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29542 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29543 }
29544 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29545 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29546 }
29547 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29548 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29549 }
29550 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29551 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29552 }
29553 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29554 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29555 }
29556 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29557 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29558 }
29559 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29560 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29561 }
29562 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29563 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29564 }
29565 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29566 return (void *)((wxObject *) ((wxSizerItem *) x));
29567 }
29568 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29569 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29570 }
29571 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29572 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29573 }
29574 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29575 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29576 }
29577 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29578 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29579 }
29580 static void *_p_wxSizerTo_p_wxObject(void *x) {
29581 return (void *)((wxObject *) ((wxSizer *) x));
29582 }
29583 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29584 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29585 }
29586 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29587 return (void *)((wxObject *) ((wxFileHistory *) x));
29588 }
29589 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29590 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29591 }
29592 static void *_p_wxEventTo_p_wxObject(void *x) {
29593 return (void *)((wxObject *) ((wxEvent *) x));
29594 }
29595 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29596 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29597 }
29598 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29599 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29600 }
29601 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29602 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29603 }
29604 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29605 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29606 }
29607 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29608 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29609 }
29610 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29611 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29612 }
29613 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29614 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29615 }
29616 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29617 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29618 }
29619 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29620 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29621 }
29622 static void *_p_wxControlTo_p_wxObject(void *x) {
29623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29624 }
29625 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29626 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29627 }
29628 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29629 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29630 }
29631 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29632 return (void *)((wxObject *) ((wxFSFile *) x));
29633 }
29634 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29635 return (void *)((wxObject *) ((wxClipboard *) x));
29636 }
29637 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29638 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29639 }
29640 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29641 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29642 }
29643 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29645 }
29646 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29647 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29648 }
29649 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29650 return (void *)((wxObject *) ((wxToolTip *) x));
29651 }
29652 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29653 return (void *)((wxObject *) ((wxMenuItem *) x));
29654 }
29655 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29656 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29657 }
29658 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29660 }
29661 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29662 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29663 }
29664 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29665 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29666 }
29667 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29668 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29669 }
29670 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29671 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29672 }
29673 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29674 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29675 }
29676 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29677 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29678 }
29679 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29680 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29681 }
29682 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29683 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29684 }
29685 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29686 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29687 }
29688 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29689 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29690 }
29691 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29692 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29693 }
29694 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29695 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29696 }
29697 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29698 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29699 }
29700 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29701 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29702 }
29703 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29704 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29705 }
29706 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29707 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29708 }
29709 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29710 return (void *)((wxObject *) ((wxImageHandler *) x));
29711 }
29712 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29713 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29714 }
29715 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29716 return (void *)((wxObject *) ((wxEvtHandler *) x));
29717 }
29718 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29719 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29720 }
29721 static void *_p_wxImageTo_p_wxObject(void *x) {
29722 return (void *)((wxObject *) ((wxImage *) x));
29723 }
29724 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29725 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29726 }
29727 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29728 return (void *)((wxObject *) ((wxSystemOptions *) x));
29729 }
29730 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29731 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29732 }
29733 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29734 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29735 }
29736 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29737 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29738 }
29739 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29740 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29741 }
29742 static void *_p_wxWindowTo_p_wxObject(void *x) {
29743 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29744 }
29745 static void *_p_wxMenuTo_p_wxObject(void *x) {
29746 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29747 }
29748 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29750 }
29751 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29752 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29753 }
29754 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29755 return (void *)((wxObject *) ((wxFileSystem *) x));
29756 }
29757 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29758 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29759 }
29760 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29761 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29762 }
29763 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29764 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29765 }
29766 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29767 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29768 }
29769 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29770 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29771 }
29772 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29773 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29774 }
29775 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29776 return (void *)((wxObject *) ((wxBusyInfo *) x));
29777 }
29778 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29780 }
29781 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29782 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29783 }
29784 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29785 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29786 }
29787 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29788 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29789 }
29790 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29792 }
29793 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29794 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29795 }
29796 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29798 }
29799 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29800 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29801 }
29802 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29803 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29804 }
29805 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29806 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29807 }
29808 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29809 return (void *)((wxLog *) ((wxLogStderr *) x));
29810 }
29811 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29812 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29813 }
29814 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29815 return (void *)((wxLog *) ((wxLogWindow *) x));
29816 }
29817 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29818 return (void *)((wxLog *) ((wxLogChain *) x));
29819 }
29820 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29821 return (void *)((wxLog *) ((wxLogGui *) x));
29822 }
29823 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29824 return (void *)((wxLog *) ((wxPyLog *) x));
29825 }
29826 static void *_p_wxControlTo_p_wxWindow(void *x) {
29827 return (void *)((wxWindow *) ((wxControl *) x));
29828 }
29829 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29830 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29831 }
29832 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29833 return (void *)((wxWindow *) ((wxMenuBar *) x));
29834 }
29835 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29836 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29837 }
29838 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29839 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29840 }
29841 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}};
29842 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}};
29843 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}};
29844 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}};
29845 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}};
29846 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}};
29847 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}};
29848 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}};
29849 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}};
29850 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}};
29851 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}};
29852 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}};
29853 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}};
29854 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}};
29855 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}};
29856 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}};
29857 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}};
29858 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}};
29859 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}};
29860 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}};
29861 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}};
29862 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}};
29863 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}};
29864 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}};
29865 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}};
29866 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}};
29867 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}};
29868 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}};
29869 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}};
29870 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}};
29871 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}};
29872 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}};
29873 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}};
29874 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}};
29875 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}};
29876 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}};
29877 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}};
29878 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}};
29879 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}};
29880 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}};
29881 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}};
29882 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}};
29883 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}};
29884 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}};
29885 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}};
29886 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}};
29887 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}};
29888 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}};
29889 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}};
29890 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}};
29891 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}};
29892 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}};
29893 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}};
29894 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}};
29895 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}};
29896 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}};
29897 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}};
29898 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}};
29899 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}};
29900 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}};
29901 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}};
29902 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}};
29903 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}};
29904 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}};
29905 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}};
29906 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}};
29907 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}};
29908 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}};
29909 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}};
29910 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}};
29911 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}};
29912 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}};
29913 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}};
29914 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}};
29915 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}};
29916 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}};
29917 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}};
29918 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}};
29919 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}};
29920 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}};
29921 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}};
29922 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}};
29923 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}};
29924 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}};
29925 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}};
29926
29927 static swig_type_info *swig_types_initial[] = {
29928 _swigt__p_wxLogChain,
29929 _swigt__p_wxMutexGuiLocker,
29930 _swigt__p_wxFileHistory,
29931 _swigt__p_wxLog,
29932 _swigt__p_wxDateTime__TimeZone,
29933 _swigt__p_wxMenu,
29934 _swigt__p_wxEvent,
29935 _swigt__p_wxConfigBase,
29936 _swigt__p_wxDisplay,
29937 _swigt__p_wxFileType,
29938 _swigt__p_wxLogGui,
29939 _swigt__p_wxFont,
29940 _swigt__p_wxDataFormat,
29941 _swigt__p_wxTimerEvent,
29942 _swigt__p_wxCaret,
29943 _swigt__p_int,
29944 _swigt__p_wxSize,
29945 _swigt__p_wxClipboard,
29946 _swigt__p_wxStopWatch,
29947 _swigt__p_wxDC,
29948 _swigt__p_wxClipboardLocker,
29949 _swigt__p_wxIcon,
29950 _swigt__p_wxLogStderr,
29951 _swigt__p_wxLogTextCtrl,
29952 _swigt__p_wxTextCtrl,
29953 _swigt__p_wxBusyCursor,
29954 _swigt__p_wxPyBitmapDataObject,
29955 _swigt__p_wxPyTextDataObject,
29956 _swigt__p_wxBitmapDataObject,
29957 _swigt__p_wxTextDataObject,
29958 _swigt__p_wxDataObject,
29959 _swigt__p_wxFileDataObject,
29960 _swigt__p_wxCustomDataObject,
29961 _swigt__p_wxURLDataObject,
29962 _swigt__p_wxMetafileDataObject,
29963 _swigt__p_wxSound,
29964 _swigt__p_wxTimerRunner,
29965 _swigt__p_wxLogWindow,
29966 _swigt__p_wxTimeSpan,
29967 _swigt__p_wxArrayString,
29968 _swigt__p_wxWindowDisabler,
29969 _swigt__p_wxToolTip,
29970 _swigt__p_wxDataObjectComposite,
29971 _swigt__p_wxFileConfig,
29972 _swigt__p_wxSystemSettings,
29973 _swigt__p_wxVideoMode,
29974 _swigt__p_wxPyDataObjectSimple,
29975 _swigt__p_wxDataObjectSimple,
29976 _swigt__p_wxEvtHandler,
29977 _swigt__p_wxRect,
29978 _swigt__p_char,
29979 _swigt__p_wxSingleInstanceChecker,
29980 _swigt__p_wxFileTypeInfo,
29981 _swigt__p_wxFrame,
29982 _swigt__p_wxTimer,
29983 _swigt__p_wxMimeTypesManager,
29984 _swigt__p_wxPyArtProvider,
29985 _swigt__p_wxPyTipProvider,
29986 _swigt__p_wxTipProvider,
29987 _swigt__p_wxJoystick,
29988 _swigt__p_wxSystemOptions,
29989 _swigt__p_wxPoint,
29990 _swigt__p_wxJoystickEvent,
29991 _swigt__p_wxCursor,
29992 _swigt__p_wxObject,
29993 _swigt__p_wxOutputStream,
29994 _swigt__p_wxDateTime,
29995 _swigt__p_wxPyDropSource,
29996 _swigt__p_wxWindow,
29997 _swigt__p_wxString,
29998 _swigt__p_wxPyProcess,
29999 _swigt__p_wxBitmap,
30000 _swigt__p_wxConfig,
30001 _swigt__p_wxChar,
30002 _swigt__p_wxBusyInfo,
30003 _swigt__p_wxPyDropTarget,
30004 _swigt__p_wxPyTextDropTarget,
30005 _swigt__p_wxPyFileDropTarget,
30006 _swigt__p_wxProcessEvent,
30007 _swigt__p_wxPyLog,
30008 _swigt__p_wxLogNull,
30009 _swigt__p_wxColour,
30010 _swigt__p_wxConfigPathChanger,
30011 _swigt__p_wxPyTimer,
30012 _swigt__p_wxDateSpan,
30013 0
30014 };
30015
30016
30017 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30018
30019 static swig_const_info swig_const_table[] = {
30020 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
30021 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
30022 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
30023 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
30024 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
30025 {0, 0, 0, 0.0, 0, 0}};
30026
30027 #ifdef __cplusplus
30028 }
30029 #endif
30030
30031 #ifdef __cplusplus
30032 extern "C"
30033 #endif
30034 SWIGEXPORT(void) SWIG_init(void) {
30035 static PyObject *SWIG_globals = 0;
30036 static int typeinit = 0;
30037 PyObject *m, *d;
30038 int i;
30039 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30040 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30041 d = PyModule_GetDict(m);
30042
30043 if (!typeinit) {
30044 for (i = 0; swig_types_initial[i]; i++) {
30045 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30046 }
30047 typeinit = 1;
30048 }
30049 SWIG_InstallConstants(d,swig_const_table);
30050
30051 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT));
30052 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT));
30053 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT));
30054 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT));
30055 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT));
30056 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE));
30057 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT));
30058 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT));
30059 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT));
30060 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR));
30061 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND));
30062 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP));
30063 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION));
30064 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION));
30065 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU));
30066 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW));
30067 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME));
30068 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT));
30069 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT));
30070 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT));
30071 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER));
30072 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER));
30073 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE));
30074 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT));
30075 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
30076 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE));
30077 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE));
30078 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW));
30079 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW));
30080 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT));
30081 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT));
30082 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
30083 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT));
30084 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT));
30085 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT));
30086 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT));
30087 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW));
30088 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT));
30089 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT));
30090 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK));
30091 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX));
30092 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT));
30093 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
30094 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
30095 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT));
30096 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR));
30097 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX));
30098 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS));
30099 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X));
30100 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y));
30101 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X));
30102 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y));
30103 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X));
30104 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y));
30105 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X));
30106 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y));
30107 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X));
30108 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y));
30109 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X));
30110 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y));
30111 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X));
30112 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X));
30113 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y));
30114 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X));
30115 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y));
30116 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X));
30117 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y));
30118 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X));
30119 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y));
30120 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X));
30121 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y));
30122 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X));
30123 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y));
30124 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y));
30125 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X));
30126 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X));
30127 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y));
30128 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y));
30129 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y));
30130 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y));
30131 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT));
30132 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT));
30133 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS));
30134 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS));
30135 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
30136 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME));
30137 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE));
30138 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY));
30139 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA));
30140 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL));
30141 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP));
30142 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30143 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
30144 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30145 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30146 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30147 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF));
30148 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT));
30149 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS));
30150 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT));
30151 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
30152
30153 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30154
30155 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError));
30156 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)wxLOG_Error));
30157 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning));
30158 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)wxLOG_Message));
30159 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)wxLOG_Status));
30160 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)wxLOG_Info));
30161 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug));
30162 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace));
30163 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress));
30164 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)wxLOG_User));
30165 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)wxLOG_Max));
30166 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30167 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30168 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30169 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30170 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30171 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30172 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)0x0002));
30173 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)0x0004));
30174 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)0x0008));
30175 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)0x0100));
30176 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT));
30177 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT));
30178 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)wxKILL_OK));
30179 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL));
30180 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED));
30181 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS));
30182 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR));
30183 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)wxSIGNONE));
30184 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)wxSIGHUP));
30185 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)wxSIGINT));
30186 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT));
30187 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)wxSIGILL));
30188 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP));
30189 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)wxSIGABRT));
30190 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)wxSIGIOT));
30191 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)wxSIGEMT));
30192 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)wxSIGFPE));
30193 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)wxSIGKILL));
30194 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)wxSIGBUS));
30195 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV));
30196 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)wxSIGSYS));
30197 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE));
30198 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)wxSIGALRM));
30199 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)wxSIGTERM));
30200 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
30201 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC));
30202 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC));
30203 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE));
30204 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER));
30205
30206 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30207
30208 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1));
30209 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2));
30210 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY));
30211 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1));
30212 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2));
30213 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3));
30214 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4));
30215 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
30216 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
30217 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
30218 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
30219 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC));
30220 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC));
30221 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP));
30222 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD));
30223 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE));
30224 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE));
30225 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME));
30226 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL));
30227 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
30228 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
30229 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
30230 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
30231 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
30232 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
30233 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
30234 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
30235 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
30236 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
30237 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
30238 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
30239 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
30240 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
30241 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
30242 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
30243 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
30244 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
30245 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
30246 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
30247 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
30248 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
30249 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
30250 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
30251 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
30252 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
30253 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
30254 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
30255 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
30256 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
30257 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
30258 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
30259 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
30260 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
30261 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
30262 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
30263 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
30264 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
30265 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
30266 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
30267
30268 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30269
30270 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE));
30271 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE));
30272 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH));
30273 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
30274 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown));
30275 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String));
30276 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean));
30277 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer));
30278 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float));
30279 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
30280 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
30281 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local));
30282 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12));
30283 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11));
30284 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10));
30285 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9));
30286 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8));
30287 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7));
30288 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6));
30289 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5));
30290 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4));
30291 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3));
30292 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2));
30293 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1));
30294 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0));
30295 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1));
30296 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2));
30297 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3));
30298 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4));
30299 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5));
30300 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6));
30301 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7));
30302 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8));
30303 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9));
30304 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10));
30305 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11));
30306 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12));
30307 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET));
30308 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST));
30309 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET));
30310 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST));
30311 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET));
30312 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST));
30313 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK));
30314 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD));
30315 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST));
30316 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT));
30317 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST));
30318 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT));
30319 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST));
30320 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT));
30321 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST));
30322 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT));
30323 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST));
30324 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT));
30325 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST));
30326 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST));
30327 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT));
30328 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST));
30329 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST));
30330 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST));
30331 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST));
30332 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC));
30333 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian));
30334 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian));
30335 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown));
30336 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard));
30337 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska));
30338 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania));
30339 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria));
30340 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen));
30341 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg));
30342 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol));
30343 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia));
30344 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria));
30345 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium));
30346 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria));
30347 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1));
30348 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2));
30349 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3));
30350 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada));
30351 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China));
30352 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1));
30353 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2));
30354 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia));
30355 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark));
30356 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt));
30357 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia));
30358 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland));
30359 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France));
30360 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace));
30361 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine));
30362 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg));
30363 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany));
30364 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic));
30365 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia));
30366 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant));
30367 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain));
30368 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece));
30369 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary));
30370 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland));
30371 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy));
30372 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan));
30373 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1));
30374 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2));
30375 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3));
30376 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia));
30377 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania));
30378 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg));
30379 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands));
30380 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen));
30381 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland));
30382 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht));
30383 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland));
30384 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway));
30385 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland));
30386 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal));
30387 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania));
30388 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia));
30389 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland));
30390 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain));
30391 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden));
30392 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland));
30393 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic));
30394 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant));
30395 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey));
30396 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA));
30397 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales));
30398 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia));
30399 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown));
30400 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default));
30401 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start));
30402 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC));
30403 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)wxDateTime::France));
30404 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany));
30405 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK));
30406 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End));
30407 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia));
30408 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA));
30409 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan));
30410 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb));
30411 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar));
30412 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr));
30413 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)wxDateTime::May));
30414 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun));
30415 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul));
30416 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug));
30417 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep));
30418 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct));
30419 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov));
30420 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec));
30421 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month));
30422 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun));
30423 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon));
30424 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue));
30425 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed));
30426 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu));
30427 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri));
30428 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat));
30429 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay));
30430 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year));
30431 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full));
30432 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr));
30433 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First));
30434 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First));
30435 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First));
30436 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
30437 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID));
30438 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT));
30439 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP));
30440 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE));
30441 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK));
30442 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)wxDF_DIF));
30443 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF));
30444 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT));
30445 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)wxDF_DIB));
30446 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE));
30447 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA));
30448 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF));
30449 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE));
30450 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT));
30451 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE));
30452 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME));
30453 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE));
30454 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE));
30455 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)wxDF_HTML));
30456 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)wxDF_MAX));
30457 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30458 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get));
30459 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set));
30460 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both));
30461 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly));
30462 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove));
30463 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove));
30464 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)wxDragError));
30465 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)wxDragNone));
30466 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)wxDragCopy));
30467 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)wxDragMove));
30468 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)wxDragLink));
30469 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)wxDragCancel));
30470
30471 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30472 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30473 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30474 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30475
30476 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30477 }
30478