]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_misc_wrap.cpp
removed a debugging print
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info *swig_types[88];
297
298 /* -------- TYPES TABLE (END) -------- */
299
300
301 /*-----------------------------------------------
302 @(target):= _misc_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_misc_
305
306 #define SWIG_name "_misc_"
307
308 /* Auxiliar swig macros */
309
310 #ifdef __cplusplus
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #else
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
323 #endif
324
325 #else /* C case */
326
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
335
336 #endif /* __cplusplus */
337
338
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
349
350
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
354
355
356 static const wxString wxPyEmptyString(wxEmptyString);
357
358
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
428 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
429 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
430
431 SWIGSTATICINLINE(int)
432 SWIG_CheckLong(PyObject* obj)
433 {
434 SWIG_AsLong(obj);
435 if (PyErr_Occurred()) {
436 PyErr_Clear();
437 return 0;
438 } else {
439 return 1;
440 }
441 }
442
443
444 SWIGSTATICINLINE(bool)
445 SWIG_AsBool(PyObject *obj)
446 {
447 return PyObject_IsTrue(obj) ? true : false;
448 }
449
450
451 SWIGSTATICINLINE(int)
452 SWIG_CheckBool(PyObject* obj)
453 {
454 SWIG_AsBool(obj);
455 if (PyErr_Occurred()) {
456 PyErr_Clear();
457 return 0;
458 } else {
459 return 1;
460 }
461 }
462
463
464 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
465 PyObject* o2;
466 PyObject* o3;
467
468 if (!target) {
469 target = o;
470 } else if (target == Py_None) {
471 Py_DECREF(Py_None);
472 target = o;
473 } else {
474 if (!PyTuple_Check(target)) {
475 o2 = target;
476 target = PyTuple_New(1);
477 PyTuple_SetItem(target, 0, o2);
478 }
479 o3 = PyTuple_New(1);
480 PyTuple_SetItem(o3, 0, o);
481
482 o2 = target;
483 target = PySequence_Concat(o2, o3);
484 Py_DECREF(o2);
485 Py_DECREF(o3);
486 }
487 return target;
488 }
489
490
491 SWIGSTATICINLINE(unsigned long)
492 SWIG_AsUnsignedLong(PyObject * obj)
493 {
494 if (PyLong_Check(obj)) {
495 return PyLong_AsUnsignedLong(obj);
496 } else {
497 long i = SWIG_AsLong(obj);
498 if ( !PyErr_Occurred() && (i < 0)) {
499 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
500 }
501 return i;
502 }
503 }
504
505
506 SWIGSTATICINLINE(int)
507 SWIG_CheckUnsignedLong(PyObject* obj)
508 {
509 SWIG_AsUnsignedLong(obj);
510 if (PyErr_Occurred()) {
511 PyErr_Clear();
512 return 0;
513 } else {
514 return 1;
515 }
516 }
517
518
519 SWIGSTATICINLINE(PyObject* )
520 SWIG_FromUnsignedLong(unsigned long value)
521 {
522 return (value > LONG_MAX) ?
523 PyLong_FromUnsignedLong(value)
524 : PyInt_FromLong(swig_numeric_cast(long,value));
525 }
526
527
528 bool wxThread_IsMain() {
529 #ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
531 #else
532 return True;
533 #endif
534 }
535
536
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
539 }
540
541 void wxCaret_SetBlinkTime(int milliseconds) {
542 wxCaret::SetBlinkTime(milliseconds);
543 }
544
545
546 #include <wx/snglinst.h>
547
548
549 #ifdef __WXMSW__
550 #include <wx/msw/private.h>
551 #include <wx/dynload.h>
552 #endif
553
554
555
556 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
557 {
558 #ifdef __WXMSW__
559
560 switch (method)
561 {
562 case 1:
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
566 // not be painted.
567 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
568 break;
569
570 case 2:
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
575 // Win2k.
576 //
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
581 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
582 PRF_ERASEBKGND | PRF_OWNED );
583 break;
584
585 case 3:
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
592
593 // fall through
594
595 case 4:
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
601 static bool s_triedToLoad = False;
602 static PrintWindow_t pfnPrintWindow = NULL;
603 if ( !s_triedToLoad )
604 {
605
606 s_triedToLoad = True;
607 wxDynamicLibrary dllUser32(_T("user32.dll"));
608 if ( dllUser32.IsLoaded() )
609 {
610 wxLogNull nolog; // Don't report errors here
611 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
612 }
613 }
614 if (pfnPrintWindow)
615 {
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
618 }
619 else
620 {
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
623 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
624 }
625 }
626 #endif
627 }
628
629
630
631 #include <wx/tipdlg.h>
632
633
634 class wxPyTipProvider : public wxTipProvider {
635 public:
636 wxPyTipProvider(size_t currentTip)
637 : wxTipProvider(currentTip) {}
638
639 DEC_PYCALLBACK_STRING__pure(GetTip);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
641 PYPRIVATE;
642 };
643
644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
646
647
648 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
649
650 void wxPyTimer::Notify() {
651 bool found;
652 bool blocked = wxPyBeginBlockThreads();
653 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
654 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked);
656 if (! found)
657 wxTimer::Notify();
658 }
659 void wxPyTimer::base_Notify() {
660 wxTimer::Notify();
661 }
662
663
664
665 SWIGSTATICINLINE(PyObject *)
666 SWIG_FromCharPtr(const char* cptr)
667 {
668 size_t size = cptr ? strlen(cptr) : 0;
669 if (cptr) {
670 if (size > INT_MAX) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr),
672 SWIG_TypeQuery("char *"), 0);
673 } else {
674 return PyString_FromStringAndSize(cptr, swig_numeric_cast(int,size));
675 }
676 } else {
677 Py_INCREF(Py_None);
678 return Py_None;
679 }
680 }
681
682
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
685 unsigned long max_value)
686 {
687 if (!PyErr_Occurred()) {
688 if (value > max_value) {
689 PyObject *err =
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value, type, max_value);
692 PyErr_SetObject(PyExc_OverflowError, err);
693 Py_DECREF(err);
694 }
695 }
696 return value;
697 }
698
699
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject *obj)
703 {
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
706 "unsigned int", UINT_MAX));
707 }
708 #else
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
710 #endif
711
712
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject* obj)
715 {
716 SWIG_AsUnsignedInt(obj);
717 if (PyErr_Occurred()) {
718 PyErr_Clear();
719 return 0;
720 } else {
721 return 1;
722 }
723 }
724
725 wxString Log_TimeStamp(){
726 wxString msg;
727 wxLog::TimeStamp(&msg);
728 return msg;
729 }
730 void wxLog_Destroy(wxLog *self){ delete self; }
731
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog : public wxLog {
734 public:
735 wxPyLog() : wxLog() {}
736
737 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
738 bool found;
739 bool blocked = wxPyBeginBlockThreads();
740 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
741 PyObject* s = wx2PyString(szString);
742 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
743 Py_DECREF(s);
744 }
745 wxPyEndBlockThreads(blocked);
746 if (! found)
747 wxLog::DoLog(level, szString, t);
748 }
749
750 virtual void DoLogString(const wxChar *szString, time_t t) {
751 bool found;
752 bool blocked = wxPyBeginBlockThreads();
753 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
754 PyObject* s = wx2PyString(szString);
755 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
756 Py_DECREF(s);
757 }
758 wxPyEndBlockThreads(blocked);
759 if (! found)
760 wxLog::DoLogString(szString, t);
761 }
762
763 PYPRIVATE;
764 };
765
766
767
768
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
770
771
772 #include <wx/joystick.h>
773
774
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick : public wxObject {
778 public:
779 wxJoystick(int joystick = wxJOYSTICK1) {
780 bool blocked = wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked);
784 }
785 wxPoint GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold) {}
795
796 bool IsOk(void) { return False; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString GetProductName() { return ""; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
819
820 bool HasRudder() { return False; }
821 bool HasZ() { return False; }
822 bool HasU() { return False; }
823 bool HasV() { return False; }
824 bool HasPOV() { return False; }
825 bool HasPOV4Dir() { return False; }
826 bool HasPOVCTS() { return False; }
827
828 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
829 bool ReleaseCapture() { return False; }
830 };
831 #endif
832
833
834 #include <wx/sound.h>
835
836
837 #if !wxUSE_SOUND
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound : public wxObject
840 {
841 public:
842 wxSound() {
843 bool blocked = wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked);
847 }
848 wxSound(const wxString&, bool) {
849 bool blocked = wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked);
853 }
854 wxSound(int, const wxByte*) {
855 bool blocked = wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked);
859 }
860
861 ~wxSound() {};
862
863 bool Create(const wxString&, bool) { return false; }
864 bool Create(int, const wxByte*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString&, unsigned) { return false; }
868 static void Stop() {}
869 };
870
871 #endif
872
873 bool wxSound_Create__SWIG_1(wxSound *self,int size,wxByte const *data){
874 bool blocked = wxPyBeginBlockThreads();
875 PyErr_SetString(PyExc_NotImplementedError,
876 "Create from data is not available on this platform.");
877 wxPyEndBlockThreads(blocked);
878 return False;
879 }
880 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
881
882 #include <wx/mimetype.h>
883
884 PyObject *wxFileType_GetMimeType(wxFileType *self){
885 wxString str;
886 if (self->GetMimeType(&str))
887 return wx2PyString(str);
888 else
889 RETURN_NONE();
890 }
891 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
892 wxArrayString arr;
893 if (self->GetMimeTypes(arr))
894 return wxArrayString2PyList_helper(arr);
895 else
896 RETURN_NONE();
897 }
898 PyObject *wxFileType_GetExtensions(wxFileType *self){
899 wxArrayString arr;
900 if (self->GetExtensions(arr))
901 return wxArrayString2PyList_helper(arr);
902 else
903 RETURN_NONE();
904 }
905 wxIcon *wxFileType_GetIcon(wxFileType *self){
906 wxIconLocation loc;
907 if (self->GetIcon(&loc))
908 return new wxIcon(loc);
909 else
910 return NULL;
911 }
912 PyObject *wxFileType_GetIconInfo(wxFileType *self){
913 wxIconLocation loc;
914 if (self->GetIcon(&loc)) {
915 wxString iconFile = loc.GetFileName();
916 int iconIndex = -1;
917
918
919
920 // Make a tuple and put the values in it
921 bool blocked = wxPyBeginBlockThreads();
922 PyObject* tuple = PyTuple_New(3);
923 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
924 wxT("wxIcon"), True));
925 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
926 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
927 wxPyEndBlockThreads(blocked);
928 return tuple;
929 }
930 else
931 RETURN_NONE();
932 }
933 PyObject *wxFileType_GetDescription(wxFileType *self){
934 wxString str;
935 if (self->GetDescription(&str))
936 return wx2PyString(str);
937 else
938 RETURN_NONE();
939 }
940 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
941 wxString str;
942 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
943 return wx2PyString(str);
944 else
945 RETURN_NONE();
946 }
947 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
948 wxString str;
949 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
950 return wx2PyString(str);
951 else
952 RETURN_NONE();
953 }
954 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
955 wxArrayString verbs;
956 wxArrayString commands;
957 if (self->GetAllCommands(&verbs, &commands,
958 wxFileType::MessageParameters(filename, mimetype))) {
959 bool blocked = wxPyBeginBlockThreads();
960 PyObject* tuple = PyTuple_New(2);
961 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
962 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
963 wxPyEndBlockThreads(blocked);
964 return tuple;
965 }
966 else
967 RETURN_NONE();
968 }
969 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
970 return wxFileType::ExpandCommand(command,
971 wxFileType::MessageParameters(filename, mimetype));
972 }
973 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
974 wxArrayString arr;
975 self->EnumAllFileTypes(arr);
976 return wxArrayString2PyList_helper(arr);
977 }
978
979 #include <wx/artprov.h>
980
981 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
982 static const wxString wxPyART_MENU(wxART_MENU);
983 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
984 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
985 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
986 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
987 static const wxString wxPyART_OTHER(wxART_OTHER);
988 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
989 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
990 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
991 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
992 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
993 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
994 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
995 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
996 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
997 static const wxString wxPyART_GO_UP(wxART_GO_UP);
998 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
999 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
1000 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
1001 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
1002 static const wxString wxPyART_PRINT(wxART_PRINT);
1003 static const wxString wxPyART_HELP(wxART_HELP);
1004 static const wxString wxPyART_TIP(wxART_TIP);
1005 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
1006 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
1007 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
1008 static const wxString wxPyART_FOLDER(wxART_FOLDER);
1009 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
1010 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
1011 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
1012 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
1013 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
1014 static const wxString wxPyART_ERROR(wxART_ERROR);
1015 static const wxString wxPyART_QUESTION(wxART_QUESTION);
1016 static const wxString wxPyART_WARNING(wxART_WARNING);
1017 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
1018 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
1019 // Python aware wxArtProvider
1020 class wxPyArtProvider : public wxArtProvider {
1021 public:
1022
1023 virtual wxBitmap CreateBitmap(const wxArtID& id,
1024 const wxArtClient& client,
1025 const wxSize& size) {
1026 wxBitmap rval = wxNullBitmap;
1027 bool blocked = wxPyBeginBlockThreads();
1028 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
1029 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
1030 PyObject* ro;
1031 wxBitmap* ptr;
1032 PyObject* s1, *s2;
1033 s1 = wx2PyString(id);
1034 s2 = wx2PyString(client);
1035 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
1036 Py_DECREF(so);
1037 Py_DECREF(s1);
1038 Py_DECREF(s2);
1039 if (ro) {
1040 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
1041 rval = *ptr;
1042 Py_DECREF(ro);
1043 }
1044 }
1045 wxPyEndBlockThreads(blocked);
1046 return rval;
1047 }
1048
1049 PYPRIVATE;
1050 };
1051
1052 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
1053
1054
1055
1056 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
1057 PyObject* ret = PyTuple_New(3);
1058 if (ret) {
1059 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
1060 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
1061 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
1062 }
1063 return ret;
1064 }
1065
1066 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
1067 bool cont;
1068 long index = 0;
1069 wxString value;
1070
1071 cont = self->GetFirstGroup(value, index);
1072 return __EnumerationHelper(cont, value, index);
1073 }
1074 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
1075 bool cont;
1076 wxString value;
1077
1078 cont = self->GetNextGroup(value, index);
1079 return __EnumerationHelper(cont, value, index);
1080 }
1081 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
1082 bool cont;
1083 long index = 0;
1084 wxString value;
1085
1086 cont = self->GetFirstEntry(value, index);
1087 return __EnumerationHelper(cont, value, index);
1088 }
1089 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
1090 bool cont;
1091 wxString value;
1092
1093 cont = self->GetNextEntry(value, index);
1094 return __EnumerationHelper(cont, value, index);
1095 }
1096 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
1097 long rv;
1098 self->Read(key, &rv, defaultVal);
1099 return rv;
1100 }
1101
1102 SWIGSTATICINLINE(double)
1103 SWIG_AsDouble(PyObject *obj)
1104 {
1105 if (PyNumber_Check(obj))
1106 return PyFloat_AsDouble(obj);
1107 else {
1108 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
1109 obj->ob_type->tp_name);
1110 PyErr_SetObject(PyExc_TypeError, errmsg);
1111 Py_DECREF(errmsg);
1112 return 0;
1113 }
1114 }
1115
1116
1117 SWIGSTATICINLINE(int)
1118 SWIG_CheckDouble(PyObject* obj)
1119 {
1120 SWIG_AsDouble(obj);
1121 if (PyErr_Occurred()) {
1122 PyErr_Clear();
1123 return 0;
1124 } else {
1125 return 1;
1126 }
1127 }
1128
1129 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
1130 double rv;
1131 self->Read(key, &rv, defaultVal);
1132 return rv;
1133 }
1134 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
1135 bool rv;
1136 self->Read(key, &rv, defaultVal);
1137 return rv;
1138 }
1139
1140 #include <wx/datetime.h>
1141
1142
1143 static const wxString wxPyDateFormatStr(wxT("%c"));
1144 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1145
1146 #define LOCAL_TZ wxDateTime::Local
1147
1148
1149 #if UINT_MAX < LONG_MAX
1150 #define SWIG_FromUnsignedInt SWIG_FromLong
1151 #else
1152 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1153 #endif
1154
1155 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
1156 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
1157 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
1158 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
1159 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
1160 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
1161 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
1162 return (*self < *other);
1163 }
1164 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
1165 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
1166 return (*self <= *other);
1167 }
1168 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
1169 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
1170 return (*self > *other);
1171 }
1172 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
1173 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
1174 return (*self >= *other);
1175 }
1176 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
1177 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
1178 return (*self == *other);
1179 }
1180 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
1181 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
1182 return (*self != *other);
1183 }
1184 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1185 const wxChar* rv;
1186 const wxChar* _date = date;
1187 rv = self->ParseRfc822Date(_date);
1188 if (rv == NULL) return -1;
1189 return rv - _date;
1190 }
1191 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1192 const wxChar* rv;
1193 const wxChar* _date = date;
1194 rv = self->ParseFormat(_date, format, dateDef);
1195 if (rv == NULL) return -1;
1196 return rv - _date;
1197 }
1198 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1199 const wxChar* rv;
1200 const wxChar* _datetime = datetime;
1201 rv = self->ParseDateTime(_datetime);
1202 if (rv == NULL) return -1;
1203 return rv - _datetime;
1204 }
1205 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1206 const wxChar* rv;
1207 const wxChar* _date = date;
1208 rv = self->ParseDate(_date);
1209 if (rv == NULL) return -1;
1210 return rv - _date;
1211 }
1212 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1213 const wxChar* rv;
1214 const wxChar* _time = time;
1215 rv = self->ParseTime(_time);
1216 if (rv == NULL) return -1;
1217 return rv - _time;
1218 }
1219 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1220 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1221 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1222 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1223 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1224 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1225 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1226 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1227 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1228 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1229 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1230 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1231 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1232 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1233 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1234 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1235
1236 #include <wx/dataobj.h>
1237
1238 // Create a new class for wxPython to use
1239 class wxPyDataObjectSimple : public wxDataObjectSimple {
1240 public:
1241 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1242 : wxDataObjectSimple(format) {}
1243
1244 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1245 bool GetDataHere(void *buf) const;
1246 bool SetData(size_t len, const void *buf) const;
1247 PYPRIVATE;
1248 };
1249
1250 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1251
1252 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1253 // We need to get the data for this object and write it to buf. I think
1254 // the best way to do this for wxPython is to have the Python method
1255 // return either a string or None and then act appropriately with the
1256 // C++ version.
1257
1258 bool rval = False;
1259 bool blocked = wxPyBeginBlockThreads();
1260 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1261 PyObject* ro;
1262 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1263 if (ro) {
1264 rval = (ro != Py_None && PyString_Check(ro));
1265 if (rval)
1266 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1267 Py_DECREF(ro);
1268 }
1269 }
1270 wxPyEndBlockThreads(blocked);
1271 return rval;
1272 }
1273
1274 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1275 // For this one we simply need to make a string from buf and len
1276 // and send it to the Python method.
1277 bool rval = False;
1278 bool blocked = wxPyBeginBlockThreads();
1279 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1280 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1281 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1282 Py_DECREF(data);
1283 }
1284 wxPyEndBlockThreads(blocked);
1285 return rval;
1286 }
1287
1288 // Create a new class for wxPython to use
1289 class wxPyTextDataObject : public wxTextDataObject {
1290 public:
1291 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1292 : wxTextDataObject(text) {}
1293
1294 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1295 DEC_PYCALLBACK_STRING__const(GetText);
1296 DEC_PYCALLBACK__STRING(SetText);
1297 PYPRIVATE;
1298 };
1299
1300 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1301 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1302 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1303
1304
1305 // Create a new class for wxPython to use
1306 class wxPyBitmapDataObject : public wxBitmapDataObject {
1307 public:
1308 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1309 : wxBitmapDataObject(bitmap) {}
1310
1311 wxBitmap GetBitmap() const;
1312 void SetBitmap(const wxBitmap& bitmap);
1313 PYPRIVATE;
1314 };
1315
1316 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1317 wxBitmap* rval = &wxNullBitmap;
1318 bool blocked = wxPyBeginBlockThreads();
1319 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1320 PyObject* ro;
1321 wxBitmap* ptr;
1322 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1323 if (ro) {
1324 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1325 rval = ptr;
1326 Py_DECREF(ro);
1327 }
1328 }
1329 wxPyEndBlockThreads(blocked);
1330 return *rval;
1331 }
1332
1333 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1334 bool blocked = wxPyBeginBlockThreads();
1335 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1336 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1337 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1338 Py_DECREF(bo);
1339 }
1340 wxPyEndBlockThreads(blocked);
1341 }
1342
1343 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1344 if (PyString_Check(data)) {
1345 // for Python we just call SetData here since we always need it to make a copy.
1346 self->SetData(PyString_Size(data), PyString_AsString(data));
1347 }
1348 else {
1349 // raise a TypeError if not a string
1350 PyErr_SetString(PyExc_TypeError, "String expected.");
1351 }
1352 }
1353 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1354 if (PyString_Check(data)) {
1355 return self->SetData(PyString_Size(data), PyString_AsString(data));
1356 }
1357 else {
1358 // raise a TypeError if not a string
1359 PyErr_SetString(PyExc_TypeError, "String expected.");
1360 return False;
1361 }
1362 }
1363 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1364 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1365 }
1366
1367 #include <wx/metafile.h>
1368
1369
1370 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1371
1372
1373 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1374 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1375 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1376 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1377 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1378
1379
1380 class wxPyTextDropTarget : public wxTextDropTarget {
1381 public:
1382 wxPyTextDropTarget() {}
1383
1384 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1385
1386 DEC_PYCALLBACK__(OnLeave);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1388 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1389 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1390 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1391
1392 PYPRIVATE;
1393 };
1394
1395 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1396 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1397 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1398 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1399 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1400 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1401
1402
1403
1404 class wxPyFileDropTarget : public wxFileDropTarget {
1405 public:
1406 wxPyFileDropTarget() {}
1407
1408 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1409
1410 DEC_PYCALLBACK__(OnLeave);
1411 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1412 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1413 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1414 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1415
1416 PYPRIVATE;
1417 };
1418
1419 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1420 const wxArrayString& filenames) {
1421 bool rval = False;
1422 bool blocked = wxPyBeginBlockThreads();
1423 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1424 PyObject* list = wxArrayString2PyList_helper(filenames);
1425 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1426 Py_DECREF(list);
1427 }
1428 wxPyEndBlockThreads(blocked);
1429 return rval;
1430 }
1431
1432
1433
1434 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1435 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1436 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1437 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1438 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1439
1440
1441
1442
1443 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1444
1445 #include "wx/display.h"
1446
1447 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1448 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1449 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1450 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1451 PyObject* pyList = NULL;
1452 wxArrayVideoModes arr = self->GetModes(mode);
1453 bool blocked = wxPyBeginBlockThreads();
1454 pyList = PyList_New(0);
1455 for (int i=0; i < arr.GetCount(); i++) {
1456 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1457 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1458 PyList_Append(pyList, pyObj);
1459 }
1460 wxPyEndBlockThreads(blocked);
1461 return pyList;
1462 }
1463 #ifdef __cplusplus
1464 extern "C" {
1465 #endif
1466 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 int arg1 ;
1469 wxColour result;
1470 PyObject * obj0 = 0 ;
1471 char *kwnames[] = {
1472 (char *) "index", NULL
1473 };
1474
1475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1476 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1477 if (PyErr_Occurred()) SWIG_fail;
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 {
1486 wxColour * resultptr;
1487 resultptr = new wxColour((wxColour &) result);
1488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1489 }
1490 return resultobj;
1491 fail:
1492 return NULL;
1493 }
1494
1495
1496 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1497 PyObject *resultobj;
1498 int arg1 ;
1499 wxFont result;
1500 PyObject * obj0 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "index", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1506 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 {
1516 wxFont * resultptr;
1517 resultptr = new wxFont((wxFont &) result);
1518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1519 }
1520 return resultobj;
1521 fail:
1522 return NULL;
1523 }
1524
1525
1526 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject *resultobj;
1528 int arg1 ;
1529 int result;
1530 PyObject * obj0 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "index", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1536 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1537 if (PyErr_Occurred()) SWIG_fail;
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 resultobj = SWIG_FromInt((int)result);
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 int arg1 ;
1555 bool result;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "index", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1562 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 {
1572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1573 }
1574 return resultobj;
1575 fail:
1576 return NULL;
1577 }
1578
1579
1580 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject *resultobj;
1582 int result;
1583 char *kwnames[] = {
1584 NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1588 {
1589 PyThreadState* __tstate = wxPyBeginAllowThreads();
1590 result = (int)wxSystemSettings::GetScreenType();
1591
1592 wxPyEndAllowThreads(__tstate);
1593 if (PyErr_Occurred()) SWIG_fail;
1594 }
1595 resultobj = SWIG_FromInt((int)result);
1596 return resultobj;
1597 fail:
1598 return NULL;
1599 }
1600
1601
1602 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1603 PyObject *resultobj;
1604 int arg1 ;
1605 PyObject * obj0 = 0 ;
1606 char *kwnames[] = {
1607 (char *) "screen", NULL
1608 };
1609
1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1611 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 Py_INCREF(Py_None); resultobj = Py_None;
1621 return resultobj;
1622 fail:
1623 return NULL;
1624 }
1625
1626
1627 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1628 PyObject *obj;
1629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1630 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1631 Py_INCREF(obj);
1632 return Py_BuildValue((char *)"");
1633 }
1634 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxSystemOptions *result;
1637 char *kwnames[] = {
1638 NULL
1639 };
1640
1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 result = (wxSystemOptions *)new wxSystemOptions();
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1650 return resultobj;
1651 fail:
1652 return NULL;
1653 }
1654
1655
1656 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxString *arg1 = 0 ;
1659 wxString *arg2 = 0 ;
1660 bool temp1 = False ;
1661 bool temp2 = False ;
1662 PyObject * obj0 = 0 ;
1663 PyObject * obj1 = 0 ;
1664 char *kwnames[] = {
1665 (char *) "name",(char *) "value", NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1669 {
1670 arg1 = wxString_in_helper(obj0);
1671 if (arg1 == NULL) SWIG_fail;
1672 temp1 = True;
1673 }
1674 {
1675 arg2 = wxString_in_helper(obj1);
1676 if (arg2 == NULL) SWIG_fail;
1677 temp2 = True;
1678 }
1679 {
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 Py_INCREF(Py_None); resultobj = Py_None;
1687 {
1688 if (temp1)
1689 delete arg1;
1690 }
1691 {
1692 if (temp2)
1693 delete arg2;
1694 }
1695 return resultobj;
1696 fail:
1697 {
1698 if (temp1)
1699 delete arg1;
1700 }
1701 {
1702 if (temp2)
1703 delete arg2;
1704 }
1705 return NULL;
1706 }
1707
1708
1709 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1710 PyObject *resultobj;
1711 wxString *arg1 = 0 ;
1712 int arg2 ;
1713 bool temp1 = False ;
1714 PyObject * obj0 = 0 ;
1715 PyObject * obj1 = 0 ;
1716 char *kwnames[] = {
1717 (char *) "name",(char *) "value", NULL
1718 };
1719
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1721 {
1722 arg1 = wxString_in_helper(obj0);
1723 if (arg1 == NULL) SWIG_fail;
1724 temp1 = True;
1725 }
1726 arg2 = (int) SWIG_AsInt(obj1);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 Py_INCREF(Py_None); resultobj = Py_None;
1736 {
1737 if (temp1)
1738 delete arg1;
1739 }
1740 return resultobj;
1741 fail:
1742 {
1743 if (temp1)
1744 delete arg1;
1745 }
1746 return NULL;
1747 }
1748
1749
1750 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 wxString *arg1 = 0 ;
1753 wxString result;
1754 bool temp1 = False ;
1755 PyObject * obj0 = 0 ;
1756 char *kwnames[] = {
1757 (char *) "name", NULL
1758 };
1759
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1761 {
1762 arg1 = wxString_in_helper(obj0);
1763 if (arg1 == NULL) SWIG_fail;
1764 temp1 = True;
1765 }
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
1773 {
1774 #if wxUSE_UNICODE
1775 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1776 #else
1777 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1778 #endif
1779 }
1780 {
1781 if (temp1)
1782 delete arg1;
1783 }
1784 return resultobj;
1785 fail:
1786 {
1787 if (temp1)
1788 delete arg1;
1789 }
1790 return NULL;
1791 }
1792
1793
1794 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject *resultobj;
1796 wxString *arg1 = 0 ;
1797 int result;
1798 bool temp1 = False ;
1799 PyObject * obj0 = 0 ;
1800 char *kwnames[] = {
1801 (char *) "name", NULL
1802 };
1803
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1805 {
1806 arg1 = wxString_in_helper(obj0);
1807 if (arg1 == NULL) SWIG_fail;
1808 temp1 = True;
1809 }
1810 {
1811 PyThreadState* __tstate = wxPyBeginAllowThreads();
1812 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1813
1814 wxPyEndAllowThreads(__tstate);
1815 if (PyErr_Occurred()) SWIG_fail;
1816 }
1817 resultobj = SWIG_FromInt((int)result);
1818 {
1819 if (temp1)
1820 delete arg1;
1821 }
1822 return resultobj;
1823 fail:
1824 {
1825 if (temp1)
1826 delete arg1;
1827 }
1828 return NULL;
1829 }
1830
1831
1832 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject *resultobj;
1834 wxString *arg1 = 0 ;
1835 bool result;
1836 bool temp1 = False ;
1837 PyObject * obj0 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "name", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1843 {
1844 arg1 = wxString_in_helper(obj0);
1845 if (arg1 == NULL) SWIG_fail;
1846 temp1 = True;
1847 }
1848 {
1849 PyThreadState* __tstate = wxPyBeginAllowThreads();
1850 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1851
1852 wxPyEndAllowThreads(__tstate);
1853 if (PyErr_Occurred()) SWIG_fail;
1854 }
1855 {
1856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1857 }
1858 {
1859 if (temp1)
1860 delete arg1;
1861 }
1862 return resultobj;
1863 fail:
1864 {
1865 if (temp1)
1866 delete arg1;
1867 }
1868 return NULL;
1869 }
1870
1871
1872 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1873 PyObject *obj;
1874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1875 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1876 Py_INCREF(obj);
1877 return Py_BuildValue((char *)"");
1878 }
1879 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1880 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1881 return 1;
1882 }
1883
1884
1885 static PyObject *_wrap_FileSelectorPromptStr_get() {
1886 PyObject *pyobj;
1887
1888 {
1889 #if wxUSE_UNICODE
1890 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1891 #else
1892 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1893 #endif
1894 }
1895 return pyobj;
1896 }
1897
1898
1899 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1900 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1901 return 1;
1902 }
1903
1904
1905 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1906 PyObject *pyobj;
1907
1908 {
1909 #if wxUSE_UNICODE
1910 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1911 #else
1912 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1913 #endif
1914 }
1915 return pyobj;
1916 }
1917
1918
1919 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1920 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1921 return 1;
1922 }
1923
1924
1925 static PyObject *_wrap_DirSelectorPromptStr_get() {
1926 PyObject *pyobj;
1927
1928 {
1929 #if wxUSE_UNICODE
1930 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1931 #else
1932 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1933 #endif
1934 }
1935 return pyobj;
1936 }
1937
1938
1939 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1940 PyObject *resultobj;
1941 long result;
1942 char *kwnames[] = {
1943 NULL
1944 };
1945
1946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1947 {
1948 PyThreadState* __tstate = wxPyBeginAllowThreads();
1949 result = (long)wxNewId();
1950
1951 wxPyEndAllowThreads(__tstate);
1952 if (PyErr_Occurred()) SWIG_fail;
1953 }
1954 resultobj = SWIG_FromLong((long)result);
1955 return resultobj;
1956 fail:
1957 return NULL;
1958 }
1959
1960
1961 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject *resultobj;
1963 long arg1 ;
1964 PyObject * obj0 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "id", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1970 arg1 = (long) SWIG_AsLong(obj0);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 wxRegisterId(arg1);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983 }
1984
1985
1986 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 long result;
1989 char *kwnames[] = {
1990 NULL
1991 };
1992
1993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 result = (long)wxGetCurrentId();
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 resultobj = SWIG_FromLong((long)result);
2002 return resultobj;
2003 fail:
2004 return NULL;
2005 }
2006
2007
2008 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 char *kwnames[] = {
2011 NULL
2012 };
2013
2014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 wxBell();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 Py_INCREF(Py_None); resultobj = Py_None;
2023 return resultobj;
2024 fail:
2025 return NULL;
2026 }
2027
2028
2029 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
2030 PyObject *resultobj;
2031 char *kwnames[] = {
2032 NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 wxEndBusyCursor();
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 Py_INCREF(Py_None); resultobj = Py_None;
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 bool arg1 = (bool) True ;
2053 long result;
2054 PyObject * obj0 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "resetTimer", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2060 if (obj0) {
2061 arg1 = (bool) SWIG_AsBool(obj0);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (long)wxGetElapsedTime(arg1);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 resultobj = SWIG_FromLong((long)result);
2072 return resultobj;
2073 fail:
2074 return NULL;
2075 }
2076
2077
2078 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2079 PyObject *resultobj;
2080 int *arg1 = (int *) 0 ;
2081 int *arg2 = (int *) 0 ;
2082 int temp1 ;
2083 int temp2 ;
2084 char *kwnames[] = {
2085 NULL
2086 };
2087
2088 arg1 = &temp1;
2089 arg2 = &temp2;
2090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2091 {
2092 PyThreadState* __tstate = wxPyBeginAllowThreads();
2093 wxGetMousePosition(arg1,arg2);
2094
2095 wxPyEndAllowThreads(__tstate);
2096 if (PyErr_Occurred()) SWIG_fail;
2097 }
2098 Py_INCREF(Py_None); resultobj = Py_None;
2099 {
2100 PyObject *o = PyInt_FromLong((long) (*arg1));
2101 resultobj = t_output_helper(resultobj,o);
2102 }
2103 {
2104 PyObject *o = PyInt_FromLong((long) (*arg2));
2105 resultobj = t_output_helper(resultobj,o);
2106 }
2107 return resultobj;
2108 fail:
2109 return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
2114 PyObject *resultobj;
2115 bool result;
2116 char *kwnames[] = {
2117 NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 result = (bool)wxIsBusy();
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 {
2129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2130 }
2131 return resultobj;
2132 fail:
2133 return NULL;
2134 }
2135
2136
2137 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
2138 PyObject *resultobj;
2139 wxString result;
2140 char *kwnames[] = {
2141 NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 result = wxNow();
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 {
2153 #if wxUSE_UNICODE
2154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2155 #else
2156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2157 #endif
2158 }
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxString const &arg1_defvalue = wxPyEmptyString ;
2168 wxString *arg1 = (wxString *) &arg1_defvalue ;
2169 bool result;
2170 bool temp1 = False ;
2171 PyObject * obj0 = 0 ;
2172 char *kwnames[] = {
2173 (char *) "command", NULL
2174 };
2175
2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2177 if (obj0) {
2178 {
2179 arg1 = wxString_in_helper(obj0);
2180 if (arg1 == NULL) SWIG_fail;
2181 temp1 = True;
2182 }
2183 }
2184 {
2185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2186 result = (bool)wxShell((wxString const &)*arg1);
2187
2188 wxPyEndAllowThreads(__tstate);
2189 if (PyErr_Occurred()) SWIG_fail;
2190 }
2191 {
2192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2193 }
2194 {
2195 if (temp1)
2196 delete arg1;
2197 }
2198 return resultobj;
2199 fail:
2200 {
2201 if (temp1)
2202 delete arg1;
2203 }
2204 return NULL;
2205 }
2206
2207
2208 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 char *kwnames[] = {
2211 NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 wxStartTimer();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 int *arg1 = (int *) 0 ;
2232 int *arg2 = (int *) 0 ;
2233 int result;
2234 int temp1 ;
2235 int temp2 ;
2236 char *kwnames[] = {
2237 NULL
2238 };
2239
2240 arg1 = &temp1;
2241 arg2 = &temp2;
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = (int)wxGetOsVersion(arg1,arg2);
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 resultobj = SWIG_FromInt((int)result);
2251 {
2252 PyObject *o = PyInt_FromLong((long) (*arg1));
2253 resultobj = t_output_helper(resultobj,o);
2254 }
2255 {
2256 PyObject *o = PyInt_FromLong((long) (*arg2));
2257 resultobj = t_output_helper(resultobj,o);
2258 }
2259 return resultobj;
2260 fail:
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2266 PyObject *resultobj;
2267 wxString result;
2268 char *kwnames[] = {
2269 NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 result = wxGetOsDescription();
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 {
2281 #if wxUSE_UNICODE
2282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2283 #else
2284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2285 #endif
2286 }
2287 return resultobj;
2288 fail:
2289 return NULL;
2290 }
2291
2292
2293 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2294 PyObject *resultobj;
2295 long result;
2296 char *kwnames[] = {
2297 NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 result = (long)wxGetFreeMemory();
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 }
2308 resultobj = SWIG_FromLong((long)result);
2309 return resultobj;
2310 fail:
2311 return NULL;
2312 }
2313
2314
2315 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 int arg1 ;
2318 bool result;
2319 PyObject * obj0 = 0 ;
2320 char *kwnames[] = {
2321 (char *) "wFlags", NULL
2322 };
2323
2324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2325 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 {
2335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2336 }
2337 return resultobj;
2338 fail:
2339 return NULL;
2340 }
2341
2342
2343 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2344 PyObject *resultobj;
2345 int arg1 ;
2346 PyObject * obj0 = 0 ;
2347 char *kwnames[] = {
2348 (char *) "secs", NULL
2349 };
2350
2351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2352 arg1 = (int) SWIG_AsInt(obj0);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 {
2355 PyThreadState* __tstate = wxPyBeginAllowThreads();
2356 wxSleep(arg1);
2357
2358 wxPyEndAllowThreads(__tstate);
2359 if (PyErr_Occurred()) SWIG_fail;
2360 }
2361 Py_INCREF(Py_None); resultobj = Py_None;
2362 return resultobj;
2363 fail:
2364 return NULL;
2365 }
2366
2367
2368 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 unsigned long arg1 ;
2371 PyObject * obj0 = 0 ;
2372 char *kwnames[] = {
2373 (char *) "milliseconds", NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2377 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 wxUsleep(arg1);
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2386 Py_INCREF(Py_None); resultobj = Py_None;
2387 return resultobj;
2388 fail:
2389 return NULL;
2390 }
2391
2392
2393 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2394 PyObject *resultobj;
2395 bool arg1 ;
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "enable", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2402 arg1 = (bool) SWIG_AsBool(obj0);
2403 if (PyErr_Occurred()) SWIG_fail;
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 wxEnableTopLevelWindows(arg1);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 Py_INCREF(Py_None); resultobj = Py_None;
2412 return resultobj;
2413 fail:
2414 return NULL;
2415 }
2416
2417
2418 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxString *arg1 = 0 ;
2421 wxString result;
2422 bool temp1 = False ;
2423 PyObject * obj0 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "in", NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2429 {
2430 arg1 = wxString_in_helper(obj0);
2431 if (arg1 == NULL) SWIG_fail;
2432 temp1 = True;
2433 }
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = wxStripMenuCodes((wxString const &)*arg1);
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442 #if wxUSE_UNICODE
2443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2444 #else
2445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2446 #endif
2447 }
2448 {
2449 if (temp1)
2450 delete arg1;
2451 }
2452 return resultobj;
2453 fail:
2454 {
2455 if (temp1)
2456 delete arg1;
2457 }
2458 return NULL;
2459 }
2460
2461
2462 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject *resultobj;
2464 wxString result;
2465 char *kwnames[] = {
2466 NULL
2467 };
2468
2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = wxGetEmailAddress();
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 {
2478 #if wxUSE_UNICODE
2479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2480 #else
2481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2482 #endif
2483 }
2484 return resultobj;
2485 fail:
2486 return NULL;
2487 }
2488
2489
2490 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2491 PyObject *resultobj;
2492 wxString result;
2493 char *kwnames[] = {
2494 NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2498 {
2499 PyThreadState* __tstate = wxPyBeginAllowThreads();
2500 result = wxGetHostName();
2501
2502 wxPyEndAllowThreads(__tstate);
2503 if (PyErr_Occurred()) SWIG_fail;
2504 }
2505 {
2506 #if wxUSE_UNICODE
2507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2508 #else
2509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2510 #endif
2511 }
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxString result;
2521 char *kwnames[] = {
2522 NULL
2523 };
2524
2525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = wxGetFullHostName();
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 {
2534 #if wxUSE_UNICODE
2535 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2536 #else
2537 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2538 #endif
2539 }
2540 return resultobj;
2541 fail:
2542 return NULL;
2543 }
2544
2545
2546 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2547 PyObject *resultobj;
2548 wxString result;
2549 char *kwnames[] = {
2550 NULL
2551 };
2552
2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2554 {
2555 PyThreadState* __tstate = wxPyBeginAllowThreads();
2556 result = wxGetUserId();
2557
2558 wxPyEndAllowThreads(__tstate);
2559 if (PyErr_Occurred()) SWIG_fail;
2560 }
2561 {
2562 #if wxUSE_UNICODE
2563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2564 #else
2565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2566 #endif
2567 }
2568 return resultobj;
2569 fail:
2570 return NULL;
2571 }
2572
2573
2574 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2575 PyObject *resultobj;
2576 wxString result;
2577 char *kwnames[] = {
2578 NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2582 {
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = wxGetUserName();
2585
2586 wxPyEndAllowThreads(__tstate);
2587 if (PyErr_Occurred()) SWIG_fail;
2588 }
2589 {
2590 #if wxUSE_UNICODE
2591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2592 #else
2593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2594 #endif
2595 }
2596 return resultobj;
2597 fail:
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxString result;
2605 char *kwnames[] = {
2606 NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2610 {
2611 PyThreadState* __tstate = wxPyBeginAllowThreads();
2612 result = wxGetHomeDir();
2613
2614 wxPyEndAllowThreads(__tstate);
2615 if (PyErr_Occurred()) SWIG_fail;
2616 }
2617 {
2618 #if wxUSE_UNICODE
2619 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2620 #else
2621 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2622 #endif
2623 }
2624 return resultobj;
2625 fail:
2626 return NULL;
2627 }
2628
2629
2630 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxString const &arg1_defvalue = wxPyEmptyString ;
2633 wxString *arg1 = (wxString *) &arg1_defvalue ;
2634 wxString result;
2635 bool temp1 = False ;
2636 PyObject * obj0 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "user", NULL
2639 };
2640
2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2642 if (obj0) {
2643 {
2644 arg1 = wxString_in_helper(obj0);
2645 if (arg1 == NULL) SWIG_fail;
2646 temp1 = True;
2647 }
2648 }
2649 {
2650 PyThreadState* __tstate = wxPyBeginAllowThreads();
2651 result = wxGetUserHome((wxString const &)*arg1);
2652
2653 wxPyEndAllowThreads(__tstate);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 {
2657 #if wxUSE_UNICODE
2658 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2659 #else
2660 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2661 #endif
2662 }
2663 {
2664 if (temp1)
2665 delete arg1;
2666 }
2667 return resultobj;
2668 fail:
2669 {
2670 if (temp1)
2671 delete arg1;
2672 }
2673 return NULL;
2674 }
2675
2676
2677 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 unsigned long result;
2680 char *kwnames[] = {
2681 NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 result = (unsigned long)wxGetProcessId();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 char *kwnames[] = {
2702 NULL
2703 };
2704
2705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 wxTrap();
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 Py_INCREF(Py_None); resultobj = Py_None;
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2723 wxString *arg1 = (wxString *) &arg1_defvalue ;
2724 wxString const &arg2_defvalue = wxPyEmptyString ;
2725 wxString *arg2 = (wxString *) &arg2_defvalue ;
2726 wxString const &arg3_defvalue = wxPyEmptyString ;
2727 wxString *arg3 = (wxString *) &arg3_defvalue ;
2728 wxString const &arg4_defvalue = wxPyEmptyString ;
2729 wxString *arg4 = (wxString *) &arg4_defvalue ;
2730 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2731 wxString *arg5 = (wxString *) &arg5_defvalue ;
2732 int arg6 = (int) 0 ;
2733 wxWindow *arg7 = (wxWindow *) NULL ;
2734 int arg8 = (int) -1 ;
2735 int arg9 = (int) -1 ;
2736 wxString result;
2737 bool temp1 = False ;
2738 bool temp2 = False ;
2739 bool temp3 = False ;
2740 bool temp4 = False ;
2741 bool temp5 = False ;
2742 PyObject * obj0 = 0 ;
2743 PyObject * obj1 = 0 ;
2744 PyObject * obj2 = 0 ;
2745 PyObject * obj3 = 0 ;
2746 PyObject * obj4 = 0 ;
2747 PyObject * obj5 = 0 ;
2748 PyObject * obj6 = 0 ;
2749 PyObject * obj7 = 0 ;
2750 PyObject * obj8 = 0 ;
2751 char *kwnames[] = {
2752 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2753 };
2754
2755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2756 if (obj0) {
2757 {
2758 arg1 = wxString_in_helper(obj0);
2759 if (arg1 == NULL) SWIG_fail;
2760 temp1 = True;
2761 }
2762 }
2763 if (obj1) {
2764 {
2765 arg2 = wxString_in_helper(obj1);
2766 if (arg2 == NULL) SWIG_fail;
2767 temp2 = True;
2768 }
2769 }
2770 if (obj2) {
2771 {
2772 arg3 = wxString_in_helper(obj2);
2773 if (arg3 == NULL) SWIG_fail;
2774 temp3 = True;
2775 }
2776 }
2777 if (obj3) {
2778 {
2779 arg4 = wxString_in_helper(obj3);
2780 if (arg4 == NULL) SWIG_fail;
2781 temp4 = True;
2782 }
2783 }
2784 if (obj4) {
2785 {
2786 arg5 = wxString_in_helper(obj4);
2787 if (arg5 == NULL) SWIG_fail;
2788 temp5 = True;
2789 }
2790 }
2791 if (obj5) {
2792 arg6 = (int) SWIG_AsInt(obj5);
2793 if (PyErr_Occurred()) SWIG_fail;
2794 }
2795 if (obj6) {
2796 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 }
2799 if (obj7) {
2800 arg8 = (int) SWIG_AsInt(obj7);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 if (obj8) {
2804 arg9 = (int) SWIG_AsInt(obj8);
2805 if (PyErr_Occurred()) SWIG_fail;
2806 }
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 {
2815 #if wxUSE_UNICODE
2816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2817 #else
2818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2819 #endif
2820 }
2821 {
2822 if (temp1)
2823 delete arg1;
2824 }
2825 {
2826 if (temp2)
2827 delete arg2;
2828 }
2829 {
2830 if (temp3)
2831 delete arg3;
2832 }
2833 {
2834 if (temp4)
2835 delete arg4;
2836 }
2837 {
2838 if (temp5)
2839 delete arg5;
2840 }
2841 return resultobj;
2842 fail:
2843 {
2844 if (temp1)
2845 delete arg1;
2846 }
2847 {
2848 if (temp2)
2849 delete arg2;
2850 }
2851 {
2852 if (temp3)
2853 delete arg3;
2854 }
2855 {
2856 if (temp4)
2857 delete arg4;
2858 }
2859 {
2860 if (temp5)
2861 delete arg5;
2862 }
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxString *arg1 = 0 ;
2870 wxString *arg2 = 0 ;
2871 wxString const &arg3_defvalue = wxPyEmptyString ;
2872 wxString *arg3 = (wxString *) &arg3_defvalue ;
2873 wxWindow *arg4 = (wxWindow *) NULL ;
2874 wxString result;
2875 bool temp1 = False ;
2876 bool temp2 = False ;
2877 bool temp3 = False ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 PyObject * obj3 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2887 {
2888 arg1 = wxString_in_helper(obj0);
2889 if (arg1 == NULL) SWIG_fail;
2890 temp1 = True;
2891 }
2892 {
2893 arg2 = wxString_in_helper(obj1);
2894 if (arg2 == NULL) SWIG_fail;
2895 temp2 = True;
2896 }
2897 if (obj2) {
2898 {
2899 arg3 = wxString_in_helper(obj2);
2900 if (arg3 == NULL) SWIG_fail;
2901 temp3 = True;
2902 }
2903 }
2904 if (obj3) {
2905 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2907 }
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 #if wxUSE_UNICODE
2917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2918 #else
2919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2920 #endif
2921 }
2922 {
2923 if (temp1)
2924 delete arg1;
2925 }
2926 {
2927 if (temp2)
2928 delete arg2;
2929 }
2930 {
2931 if (temp3)
2932 delete arg3;
2933 }
2934 return resultobj;
2935 fail:
2936 {
2937 if (temp1)
2938 delete arg1;
2939 }
2940 {
2941 if (temp2)
2942 delete arg2;
2943 }
2944 {
2945 if (temp3)
2946 delete arg3;
2947 }
2948 return NULL;
2949 }
2950
2951
2952 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject *resultobj;
2954 wxString *arg1 = 0 ;
2955 wxString *arg2 = 0 ;
2956 wxString const &arg3_defvalue = wxPyEmptyString ;
2957 wxString *arg3 = (wxString *) &arg3_defvalue ;
2958 wxWindow *arg4 = (wxWindow *) NULL ;
2959 wxString result;
2960 bool temp1 = False ;
2961 bool temp2 = False ;
2962 bool temp3 = False ;
2963 PyObject * obj0 = 0 ;
2964 PyObject * obj1 = 0 ;
2965 PyObject * obj2 = 0 ;
2966 PyObject * obj3 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2972 {
2973 arg1 = wxString_in_helper(obj0);
2974 if (arg1 == NULL) SWIG_fail;
2975 temp1 = True;
2976 }
2977 {
2978 arg2 = wxString_in_helper(obj1);
2979 if (arg2 == NULL) SWIG_fail;
2980 temp2 = True;
2981 }
2982 if (obj2) {
2983 {
2984 arg3 = wxString_in_helper(obj2);
2985 if (arg3 == NULL) SWIG_fail;
2986 temp3 = True;
2987 }
2988 }
2989 if (obj3) {
2990 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2992 }
2993 {
2994 PyThreadState* __tstate = wxPyBeginAllowThreads();
2995 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2996
2997 wxPyEndAllowThreads(__tstate);
2998 if (PyErr_Occurred()) SWIG_fail;
2999 }
3000 {
3001 #if wxUSE_UNICODE
3002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3003 #else
3004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3005 #endif
3006 }
3007 {
3008 if (temp1)
3009 delete arg1;
3010 }
3011 {
3012 if (temp2)
3013 delete arg2;
3014 }
3015 {
3016 if (temp3)
3017 delete arg3;
3018 }
3019 return resultobj;
3020 fail:
3021 {
3022 if (temp1)
3023 delete arg1;
3024 }
3025 {
3026 if (temp2)
3027 delete arg2;
3028 }
3029 {
3030 if (temp3)
3031 delete arg3;
3032 }
3033 return NULL;
3034 }
3035
3036
3037 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
3038 PyObject *resultobj;
3039 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3040 wxString *arg1 = (wxString *) &arg1_defvalue ;
3041 wxString const &arg2_defvalue = wxPyEmptyString ;
3042 wxString *arg2 = (wxString *) &arg2_defvalue ;
3043 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3046 wxWindow *arg5 = (wxWindow *) NULL ;
3047 wxString result;
3048 bool temp1 = False ;
3049 bool temp2 = False ;
3050 wxPoint temp4 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 PyObject * obj2 = 0 ;
3054 PyObject * obj3 = 0 ;
3055 PyObject * obj4 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3061 if (obj0) {
3062 {
3063 arg1 = wxString_in_helper(obj0);
3064 if (arg1 == NULL) SWIG_fail;
3065 temp1 = True;
3066 }
3067 }
3068 if (obj1) {
3069 {
3070 arg2 = wxString_in_helper(obj1);
3071 if (arg2 == NULL) SWIG_fail;
3072 temp2 = True;
3073 }
3074 }
3075 if (obj2) {
3076 arg3 = (long) SWIG_AsLong(obj2);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 if (obj3) {
3080 {
3081 arg4 = &temp4;
3082 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3083 }
3084 }
3085 if (obj4) {
3086 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) SWIG_fail;
3095 }
3096 {
3097 #if wxUSE_UNICODE
3098 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3099 #else
3100 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3101 #endif
3102 }
3103 {
3104 if (temp1)
3105 delete arg1;
3106 }
3107 {
3108 if (temp2)
3109 delete arg2;
3110 }
3111 return resultobj;
3112 fail:
3113 {
3114 if (temp1)
3115 delete arg1;
3116 }
3117 {
3118 if (temp2)
3119 delete arg2;
3120 }
3121 return NULL;
3122 }
3123
3124
3125 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject *resultobj;
3127 wxString *arg1 = 0 ;
3128 wxString const &arg2_defvalue = wxPyEmptyString ;
3129 wxString *arg2 = (wxString *) &arg2_defvalue ;
3130 wxString const &arg3_defvalue = wxPyEmptyString ;
3131 wxString *arg3 = (wxString *) &arg3_defvalue ;
3132 wxWindow *arg4 = (wxWindow *) NULL ;
3133 int arg5 = (int) -1 ;
3134 int arg6 = (int) -1 ;
3135 bool arg7 = (bool) True ;
3136 wxString result;
3137 bool temp1 = False ;
3138 bool temp2 = False ;
3139 bool temp3 = False ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj1 = 0 ;
3142 PyObject * obj2 = 0 ;
3143 PyObject * obj3 = 0 ;
3144 PyObject * obj4 = 0 ;
3145 PyObject * obj5 = 0 ;
3146 PyObject * obj6 = 0 ;
3147 char *kwnames[] = {
3148 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3149 };
3150
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3152 {
3153 arg1 = wxString_in_helper(obj0);
3154 if (arg1 == NULL) SWIG_fail;
3155 temp1 = True;
3156 }
3157 if (obj1) {
3158 {
3159 arg2 = wxString_in_helper(obj1);
3160 if (arg2 == NULL) SWIG_fail;
3161 temp2 = True;
3162 }
3163 }
3164 if (obj2) {
3165 {
3166 arg3 = wxString_in_helper(obj2);
3167 if (arg3 == NULL) SWIG_fail;
3168 temp3 = True;
3169 }
3170 }
3171 if (obj3) {
3172 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3174 }
3175 if (obj4) {
3176 arg5 = (int) SWIG_AsInt(obj4);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 if (obj5) {
3180 arg6 = (int) SWIG_AsInt(obj5);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 if (obj6) {
3184 arg7 = (bool) SWIG_AsBool(obj6);
3185 if (PyErr_Occurred()) SWIG_fail;
3186 }
3187 {
3188 PyThreadState* __tstate = wxPyBeginAllowThreads();
3189 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3190
3191 wxPyEndAllowThreads(__tstate);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 {
3195 #if wxUSE_UNICODE
3196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3197 #else
3198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3199 #endif
3200 }
3201 {
3202 if (temp1)
3203 delete arg1;
3204 }
3205 {
3206 if (temp2)
3207 delete arg2;
3208 }
3209 {
3210 if (temp3)
3211 delete arg3;
3212 }
3213 return resultobj;
3214 fail:
3215 {
3216 if (temp1)
3217 delete arg1;
3218 }
3219 {
3220 if (temp2)
3221 delete arg2;
3222 }
3223 {
3224 if (temp3)
3225 delete arg3;
3226 }
3227 return NULL;
3228 }
3229
3230
3231 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj;
3233 wxString *arg1 = 0 ;
3234 wxString const &arg2_defvalue = wxPyEmptyString ;
3235 wxString *arg2 = (wxString *) &arg2_defvalue ;
3236 wxString const &arg3_defvalue = wxPyEmptyString ;
3237 wxString *arg3 = (wxString *) &arg3_defvalue ;
3238 wxWindow *arg4 = (wxWindow *) NULL ;
3239 wxString result;
3240 bool temp1 = False ;
3241 bool temp2 = False ;
3242 bool temp3 = False ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj1 = 0 ;
3245 PyObject * obj2 = 0 ;
3246 PyObject * obj3 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3252 {
3253 arg1 = wxString_in_helper(obj0);
3254 if (arg1 == NULL) SWIG_fail;
3255 temp1 = True;
3256 }
3257 if (obj1) {
3258 {
3259 arg2 = wxString_in_helper(obj1);
3260 if (arg2 == NULL) SWIG_fail;
3261 temp2 = True;
3262 }
3263 }
3264 if (obj2) {
3265 {
3266 arg3 = wxString_in_helper(obj2);
3267 if (arg3 == NULL) SWIG_fail;
3268 temp3 = True;
3269 }
3270 }
3271 if (obj3) {
3272 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3274 }
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 {
3283 #if wxUSE_UNICODE
3284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3285 #else
3286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3287 #endif
3288 }
3289 {
3290 if (temp1)
3291 delete arg1;
3292 }
3293 {
3294 if (temp2)
3295 delete arg2;
3296 }
3297 {
3298 if (temp3)
3299 delete arg3;
3300 }
3301 return resultobj;
3302 fail:
3303 {
3304 if (temp1)
3305 delete arg1;
3306 }
3307 {
3308 if (temp2)
3309 delete arg2;
3310 }
3311 {
3312 if (temp3)
3313 delete arg3;
3314 }
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxString *arg1 = 0 ;
3322 wxString *arg2 = 0 ;
3323 int arg3 ;
3324 wxString *arg4 = (wxString *) 0 ;
3325 wxWindow *arg5 = (wxWindow *) NULL ;
3326 int arg6 = (int) -1 ;
3327 int arg7 = (int) -1 ;
3328 bool arg8 = (bool) True ;
3329 int arg9 = (int) 150 ;
3330 int arg10 = (int) 200 ;
3331 wxString result;
3332 bool temp1 = False ;
3333 bool temp2 = False ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 PyObject * obj3 = 0 ;
3338 PyObject * obj4 = 0 ;
3339 PyObject * obj5 = 0 ;
3340 PyObject * obj6 = 0 ;
3341 PyObject * obj7 = 0 ;
3342 PyObject * obj8 = 0 ;
3343 char *kwnames[] = {
3344 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3345 };
3346
3347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3348 {
3349 arg1 = wxString_in_helper(obj0);
3350 if (arg1 == NULL) SWIG_fail;
3351 temp1 = True;
3352 }
3353 {
3354 arg2 = wxString_in_helper(obj1);
3355 if (arg2 == NULL) SWIG_fail;
3356 temp2 = True;
3357 }
3358 {
3359 arg3 = PyList_Size(obj2);
3360 arg4 = wxString_LIST_helper(obj2);
3361 if (arg4 == NULL) SWIG_fail;
3362 }
3363 if (obj3) {
3364 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3366 }
3367 if (obj4) {
3368 arg6 = (int) SWIG_AsInt(obj4);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 if (obj5) {
3372 arg7 = (int) SWIG_AsInt(obj5);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 if (obj6) {
3376 arg8 = (bool) SWIG_AsBool(obj6);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 if (obj7) {
3380 arg9 = (int) SWIG_AsInt(obj7);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 if (obj8) {
3384 arg10 = (int) SWIG_AsInt(obj8);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 {
3388 PyThreadState* __tstate = wxPyBeginAllowThreads();
3389 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3390
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 {
3395 #if wxUSE_UNICODE
3396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3397 #else
3398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3399 #endif
3400 }
3401 {
3402 if (temp1)
3403 delete arg1;
3404 }
3405 {
3406 if (temp2)
3407 delete arg2;
3408 }
3409 {
3410 if (arg4) delete [] arg4;
3411 }
3412 return resultobj;
3413 fail:
3414 {
3415 if (temp1)
3416 delete arg1;
3417 }
3418 {
3419 if (temp2)
3420 delete arg2;
3421 }
3422 {
3423 if (arg4) delete [] arg4;
3424 }
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxString *arg1 = 0 ;
3432 wxString *arg2 = 0 ;
3433 int arg3 ;
3434 wxString *arg4 = (wxString *) 0 ;
3435 wxWindow *arg5 = (wxWindow *) NULL ;
3436 int arg6 = (int) -1 ;
3437 int arg7 = (int) -1 ;
3438 bool arg8 = (bool) True ;
3439 int arg9 = (int) 150 ;
3440 int arg10 = (int) 200 ;
3441 int result;
3442 bool temp1 = False ;
3443 bool temp2 = False ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 PyObject * obj2 = 0 ;
3447 PyObject * obj3 = 0 ;
3448 PyObject * obj4 = 0 ;
3449 PyObject * obj5 = 0 ;
3450 PyObject * obj6 = 0 ;
3451 PyObject * obj7 = 0 ;
3452 PyObject * obj8 = 0 ;
3453 char *kwnames[] = {
3454 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3458 {
3459 arg1 = wxString_in_helper(obj0);
3460 if (arg1 == NULL) SWIG_fail;
3461 temp1 = True;
3462 }
3463 {
3464 arg2 = wxString_in_helper(obj1);
3465 if (arg2 == NULL) SWIG_fail;
3466 temp2 = True;
3467 }
3468 {
3469 arg3 = PyList_Size(obj2);
3470 arg4 = wxString_LIST_helper(obj2);
3471 if (arg4 == NULL) SWIG_fail;
3472 }
3473 if (obj3) {
3474 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3476 }
3477 if (obj4) {
3478 arg6 = (int) SWIG_AsInt(obj4);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 if (obj5) {
3482 arg7 = (int) SWIG_AsInt(obj5);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 if (obj6) {
3486 arg8 = (bool) SWIG_AsBool(obj6);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
3489 if (obj7) {
3490 arg9 = (int) SWIG_AsInt(obj7);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 if (obj8) {
3494 arg10 = (int) SWIG_AsInt(obj8);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 {
3498 PyThreadState* __tstate = wxPyBeginAllowThreads();
3499 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3500
3501 wxPyEndAllowThreads(__tstate);
3502 if (PyErr_Occurred()) SWIG_fail;
3503 }
3504 resultobj = SWIG_FromInt((int)result);
3505 {
3506 if (temp1)
3507 delete arg1;
3508 }
3509 {
3510 if (temp2)
3511 delete arg2;
3512 }
3513 {
3514 if (arg4) delete [] arg4;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp1)
3520 delete arg1;
3521 }
3522 {
3523 if (temp2)
3524 delete arg2;
3525 }
3526 {
3527 if (arg4) delete [] arg4;
3528 }
3529 return NULL;
3530 }
3531
3532
3533 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 wxString *arg1 = 0 ;
3536 wxString const &arg2_defvalue = wxPyEmptyString ;
3537 wxString *arg2 = (wxString *) &arg2_defvalue ;
3538 int arg3 = (int) wxOK|wxCENTRE ;
3539 wxWindow *arg4 = (wxWindow *) NULL ;
3540 int arg5 = (int) -1 ;
3541 int arg6 = (int) -1 ;
3542 int result;
3543 bool temp1 = False ;
3544 bool temp2 = False ;
3545 PyObject * obj0 = 0 ;
3546 PyObject * obj1 = 0 ;
3547 PyObject * obj2 = 0 ;
3548 PyObject * obj3 = 0 ;
3549 PyObject * obj4 = 0 ;
3550 PyObject * obj5 = 0 ;
3551 char *kwnames[] = {
3552 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3553 };
3554
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3556 {
3557 arg1 = wxString_in_helper(obj0);
3558 if (arg1 == NULL) SWIG_fail;
3559 temp1 = True;
3560 }
3561 if (obj1) {
3562 {
3563 arg2 = wxString_in_helper(obj1);
3564 if (arg2 == NULL) SWIG_fail;
3565 temp2 = True;
3566 }
3567 }
3568 if (obj2) {
3569 arg3 = (int) SWIG_AsInt(obj2);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 if (obj3) {
3573 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3575 }
3576 if (obj4) {
3577 arg5 = (int) SWIG_AsInt(obj4);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 if (obj5) {
3581 arg6 = (int) SWIG_AsInt(obj5);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 resultobj = SWIG_FromInt((int)result);
3592 {
3593 if (temp1)
3594 delete arg1;
3595 }
3596 {
3597 if (temp2)
3598 delete arg2;
3599 }
3600 return resultobj;
3601 fail:
3602 {
3603 if (temp1)
3604 delete arg1;
3605 }
3606 {
3607 if (temp2)
3608 delete arg2;
3609 }
3610 return NULL;
3611 }
3612
3613
3614 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxString *arg1 = 0 ;
3617 wxString *arg2 = 0 ;
3618 wxString *arg3 = 0 ;
3619 long arg4 ;
3620 long arg5 = (long) 0 ;
3621 long arg6 = (long) 100 ;
3622 wxWindow *arg7 = (wxWindow *) NULL ;
3623 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3624 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3625 long result;
3626 bool temp1 = False ;
3627 bool temp2 = False ;
3628 bool temp3 = False ;
3629 wxPoint temp8 ;
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 PyObject * obj2 = 0 ;
3633 PyObject * obj3 = 0 ;
3634 PyObject * obj4 = 0 ;
3635 PyObject * obj5 = 0 ;
3636 PyObject * obj6 = 0 ;
3637 PyObject * obj7 = 0 ;
3638 char *kwnames[] = {
3639 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3640 };
3641
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3643 {
3644 arg1 = wxString_in_helper(obj0);
3645 if (arg1 == NULL) SWIG_fail;
3646 temp1 = True;
3647 }
3648 {
3649 arg2 = wxString_in_helper(obj1);
3650 if (arg2 == NULL) SWIG_fail;
3651 temp2 = True;
3652 }
3653 {
3654 arg3 = wxString_in_helper(obj2);
3655 if (arg3 == NULL) SWIG_fail;
3656 temp3 = True;
3657 }
3658 arg4 = (long) SWIG_AsLong(obj3);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 if (obj4) {
3661 arg5 = (long) SWIG_AsLong(obj4);
3662 if (PyErr_Occurred()) SWIG_fail;
3663 }
3664 if (obj5) {
3665 arg6 = (long) SWIG_AsLong(obj5);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 if (obj6) {
3669 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3671 }
3672 if (obj7) {
3673 {
3674 arg8 = &temp8;
3675 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3676 }
3677 }
3678 {
3679 PyThreadState* __tstate = wxPyBeginAllowThreads();
3680 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3681
3682 wxPyEndAllowThreads(__tstate);
3683 if (PyErr_Occurred()) SWIG_fail;
3684 }
3685 resultobj = SWIG_FromLong((long)result);
3686 {
3687 if (temp1)
3688 delete arg1;
3689 }
3690 {
3691 if (temp2)
3692 delete arg2;
3693 }
3694 {
3695 if (temp3)
3696 delete arg3;
3697 }
3698 return resultobj;
3699 fail:
3700 {
3701 if (temp1)
3702 delete arg1;
3703 }
3704 {
3705 if (temp2)
3706 delete arg2;
3707 }
3708 {
3709 if (temp3)
3710 delete arg3;
3711 }
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 bool result;
3719 char *kwnames[] = {
3720 NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (bool)wxColourDisplay();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 {
3732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3733 }
3734 return resultobj;
3735 fail:
3736 return NULL;
3737 }
3738
3739
3740 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj;
3742 int result;
3743 char *kwnames[] = {
3744 NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (int)wxDisplayDepth();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 resultobj = SWIG_FromInt((int)result);
3756 return resultobj;
3757 fail:
3758 return NULL;
3759 }
3760
3761
3762 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj;
3764 int result;
3765 char *kwnames[] = {
3766 NULL
3767 };
3768
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3770 {
3771 PyThreadState* __tstate = wxPyBeginAllowThreads();
3772 result = (int)wxGetDisplayDepth();
3773
3774 wxPyEndAllowThreads(__tstate);
3775 if (PyErr_Occurred()) SWIG_fail;
3776 }
3777 resultobj = SWIG_FromInt((int)result);
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 int *arg1 = (int *) 0 ;
3787 int *arg2 = (int *) 0 ;
3788 int temp1 ;
3789 int temp2 ;
3790 char *kwnames[] = {
3791 NULL
3792 };
3793
3794 arg1 = &temp1;
3795 arg2 = &temp2;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 wxDisplaySize(arg1,arg2);
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 Py_INCREF(Py_None); resultobj = Py_None;
3805 {
3806 PyObject *o = PyInt_FromLong((long) (*arg1));
3807 resultobj = t_output_helper(resultobj,o);
3808 }
3809 {
3810 PyObject *o = PyInt_FromLong((long) (*arg2));
3811 resultobj = t_output_helper(resultobj,o);
3812 }
3813 return resultobj;
3814 fail:
3815 return NULL;
3816 }
3817
3818
3819 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject *resultobj;
3821 wxSize result;
3822 char *kwnames[] = {
3823 NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3827 {
3828 PyThreadState* __tstate = wxPyBeginAllowThreads();
3829 result = wxGetDisplaySize();
3830
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 {
3835 wxSize * resultptr;
3836 resultptr = new wxSize((wxSize &) result);
3837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3838 }
3839 return resultobj;
3840 fail:
3841 return NULL;
3842 }
3843
3844
3845 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3846 PyObject *resultobj;
3847 int *arg1 = (int *) 0 ;
3848 int *arg2 = (int *) 0 ;
3849 int temp1 ;
3850 int temp2 ;
3851 char *kwnames[] = {
3852 NULL
3853 };
3854
3855 arg1 = &temp1;
3856 arg2 = &temp2;
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 wxDisplaySizeMM(arg1,arg2);
3861
3862 wxPyEndAllowThreads(__tstate);
3863 if (PyErr_Occurred()) SWIG_fail;
3864 }
3865 Py_INCREF(Py_None); resultobj = Py_None;
3866 {
3867 PyObject *o = PyInt_FromLong((long) (*arg1));
3868 resultobj = t_output_helper(resultobj,o);
3869 }
3870 {
3871 PyObject *o = PyInt_FromLong((long) (*arg2));
3872 resultobj = t_output_helper(resultobj,o);
3873 }
3874 return resultobj;
3875 fail:
3876 return NULL;
3877 }
3878
3879
3880 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxSize result;
3883 char *kwnames[] = {
3884 NULL
3885 };
3886
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = wxGetDisplaySizeMM();
3891
3892 wxPyEndAllowThreads(__tstate);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
3896 wxSize * resultptr;
3897 resultptr = new wxSize((wxSize &) result);
3898 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3899 }
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3907 PyObject *resultobj;
3908 int *arg1 = (int *) 0 ;
3909 int *arg2 = (int *) 0 ;
3910 int *arg3 = (int *) 0 ;
3911 int *arg4 = (int *) 0 ;
3912 int temp1 ;
3913 int temp2 ;
3914 int temp3 ;
3915 int temp4 ;
3916 char *kwnames[] = {
3917 NULL
3918 };
3919
3920 arg1 = &temp1;
3921 arg2 = &temp2;
3922 arg3 = &temp3;
3923 arg4 = &temp4;
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 Py_INCREF(Py_None); resultobj = Py_None;
3933 {
3934 PyObject *o = PyInt_FromLong((long) (*arg1));
3935 resultobj = t_output_helper(resultobj,o);
3936 }
3937 {
3938 PyObject *o = PyInt_FromLong((long) (*arg2));
3939 resultobj = t_output_helper(resultobj,o);
3940 }
3941 {
3942 PyObject *o = PyInt_FromLong((long) (*arg3));
3943 resultobj = t_output_helper(resultobj,o);
3944 }
3945 {
3946 PyObject *o = PyInt_FromLong((long) (*arg4));
3947 resultobj = t_output_helper(resultobj,o);
3948 }
3949 return resultobj;
3950 fail:
3951 return NULL;
3952 }
3953
3954
3955 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxRect result;
3958 char *kwnames[] = {
3959 NULL
3960 };
3961
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = wxGetClientDisplayRect();
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 wxRect * resultptr;
3972 resultptr = new wxRect((wxRect &) result);
3973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3974 }
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 wxCursor *arg1 = 0 ;
3984 PyObject * obj0 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "cursor", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3991 SWIG_POINTER_EXCEPTION | 0)) == -1)
3992 SWIG_fail;
3993 if (arg1 == NULL) {
3994 PyErr_SetString(PyExc_TypeError,"null reference");
3995 SWIG_fail;
3996 }
3997 {
3998 PyThreadState* __tstate = wxPyBeginAllowThreads();
3999 wxSetCursor(*arg1);
4000
4001 wxPyEndAllowThreads(__tstate);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 Py_INCREF(Py_None); resultobj = Py_None;
4005 return resultobj;
4006 fail:
4007 return NULL;
4008 }
4009
4010
4011 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject *resultobj;
4013 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4014 PyObject * obj0 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "cursor", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4020 if (obj0) {
4021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 wxBeginBusyCursor(arg1);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 Py_INCREF(Py_None); resultobj = Py_None;
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxWindow *result;
4041 char *kwnames[] = {
4042 NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (wxWindow *)wxGetActiveWindow();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 {
4054 resultobj = wxPyMake_wxObject(result);
4055 }
4056 return resultobj;
4057 fail:
4058 return NULL;
4059 }
4060
4061
4062 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject *resultobj;
4064 wxPoint *arg1 = 0 ;
4065 wxWindow *result;
4066 wxPoint temp1 ;
4067 PyObject * obj0 = 0 ;
4068 char *kwnames[] = {
4069 (char *) "pt", NULL
4070 };
4071
4072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4073 {
4074 arg1 = &temp1;
4075 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4076 }
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 {
4085 resultobj = wxPyMake_wxObject(result);
4086 }
4087 return resultobj;
4088 fail:
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxPoint *arg1 = 0 ;
4096 wxWindow *result;
4097 wxPoint temp1 ;
4098 PyObject * obj0 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "pt", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4104 {
4105 arg1 = &temp1;
4106 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4107 }
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4115 {
4116 resultobj = wxPyMake_wxObject(result);
4117 }
4118 return resultobj;
4119 fail:
4120 return NULL;
4121 }
4122
4123
4124 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject *resultobj;
4126 wxWindow *arg1 = (wxWindow *) 0 ;
4127 wxWindow *result;
4128 PyObject * obj0 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "win", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 result = (wxWindow *)wxGetTopLevelParent(arg1);
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4143 {
4144 resultobj = wxPyMake_wxObject(result);
4145 }
4146 return resultobj;
4147 fail:
4148 return NULL;
4149 }
4150
4151
4152 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
4153 PyObject *resultobj;
4154 int arg1 ;
4155 bool result;
4156 PyObject * obj0 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "key", NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4162 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 {
4172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4173 }
4174 return resultobj;
4175 fail:
4176 return NULL;
4177 }
4178
4179
4180 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 char *kwnames[] = {
4183 NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 wxWakeUpMainThread();
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 Py_INCREF(Py_None); resultobj = Py_None;
4195 return resultobj;
4196 fail:
4197 return NULL;
4198 }
4199
4200
4201 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 char *kwnames[] = {
4204 NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 wxMutexGuiEnter();
4211
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 Py_INCREF(Py_None); resultobj = Py_None;
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj;
4224 char *kwnames[] = {
4225 NULL
4226 };
4227
4228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 wxMutexGuiLeave();
4232
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 Py_INCREF(Py_None); resultobj = Py_None;
4237 return resultobj;
4238 fail:
4239 return NULL;
4240 }
4241
4242
4243 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxMutexGuiLocker *result;
4246 char *kwnames[] = {
4247 NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4268 PyObject * obj0 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "self", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 delete arg1;
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4291 PyObject *obj;
4292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4293 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4294 Py_INCREF(obj);
4295 return Py_BuildValue((char *)"");
4296 }
4297 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 bool result;
4300 char *kwnames[] = {
4301 NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 result = (bool)wxThread_IsMain();
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 {
4313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4314 }
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 wxString *arg1 = 0 ;
4324 wxToolTip *result;
4325 bool temp1 = False ;
4326 PyObject * obj0 = 0 ;
4327 char *kwnames[] = {
4328 (char *) "tip", NULL
4329 };
4330
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4332 {
4333 arg1 = wxString_in_helper(obj0);
4334 if (arg1 == NULL) SWIG_fail;
4335 temp1 = True;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 {
4345 resultobj = wxPyMake_wxObject(result);
4346 }
4347 {
4348 if (temp1)
4349 delete arg1;
4350 }
4351 return resultobj;
4352 fail:
4353 {
4354 if (temp1)
4355 delete arg1;
4356 }
4357 return NULL;
4358 }
4359
4360
4361 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject *resultobj;
4363 wxToolTip *arg1 = (wxToolTip *) 0 ;
4364 wxString *arg2 = 0 ;
4365 bool temp2 = False ;
4366 PyObject * obj0 = 0 ;
4367 PyObject * obj1 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self",(char *) "tip", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4375 {
4376 arg2 = wxString_in_helper(obj1);
4377 if (arg2 == NULL) SWIG_fail;
4378 temp2 = True;
4379 }
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->SetTip((wxString const &)*arg2);
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 Py_INCREF(Py_None); resultobj = Py_None;
4388 {
4389 if (temp2)
4390 delete arg2;
4391 }
4392 return resultobj;
4393 fail:
4394 {
4395 if (temp2)
4396 delete arg2;
4397 }
4398 return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj;
4404 wxToolTip *arg1 = (wxToolTip *) 0 ;
4405 wxString result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 result = (arg1)->GetTip();
4417
4418 wxPyEndAllowThreads(__tstate);
4419 if (PyErr_Occurred()) SWIG_fail;
4420 }
4421 {
4422 #if wxUSE_UNICODE
4423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4424 #else
4425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4426 #endif
4427 }
4428 return resultobj;
4429 fail:
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxToolTip *arg1 = (wxToolTip *) 0 ;
4437 wxWindow *result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (wxWindow *)(arg1)->GetWindow();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454 resultobj = wxPyMake_wxObject(result);
4455 }
4456 return resultobj;
4457 fail:
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 bool arg1 ;
4465 PyObject * obj0 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "flag", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4471 arg1 = (bool) SWIG_AsBool(obj0);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 wxToolTip::Enable(arg1);
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 Py_INCREF(Py_None); resultobj = Py_None;
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 long arg1 ;
4490 PyObject * obj0 = 0 ;
4491 char *kwnames[] = {
4492 (char *) "milliseconds", NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4496 arg1 = (long) SWIG_AsLong(obj0);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 wxToolTip::SetDelay(arg1);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509 }
4510
4511
4512 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4513 PyObject *obj;
4514 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4515 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4516 Py_INCREF(obj);
4517 return Py_BuildValue((char *)"");
4518 }
4519 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxWindow *arg1 = (wxWindow *) 0 ;
4522 wxSize *arg2 = 0 ;
4523 wxCaret *result;
4524 wxSize temp2 ;
4525 PyObject * obj0 = 0 ;
4526 PyObject * obj1 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "window",(char *) "size", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4534 {
4535 arg2 = &temp2;
4536 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4537 }
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxCaret *arg1 = (wxCaret *) 0 ;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 delete arg1;
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 Py_INCREF(Py_None); resultobj = Py_None;
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxCaret *arg1 = (wxCaret *) 0 ;
4580 bool result;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (bool)(arg1)->IsOk();
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4598 }
4599 return resultobj;
4600 fail:
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxCaret *arg1 = (wxCaret *) 0 ;
4608 bool result;
4609 PyObject * obj0 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "self", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (bool)(arg1)->IsVisible();
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 {
4625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4626 }
4627 return resultobj;
4628 fail:
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxCaret *arg1 = (wxCaret *) 0 ;
4636 wxPoint result;
4637 PyObject * obj0 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 result = (arg1)->GetPosition();
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 {
4653 wxPoint * resultptr;
4654 resultptr = new wxPoint((wxPoint &) result);
4655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4656 }
4657 return resultobj;
4658 fail:
4659 return NULL;
4660 }
4661
4662
4663 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4664 PyObject *resultobj;
4665 wxCaret *arg1 = (wxCaret *) 0 ;
4666 int *arg2 = (int *) 0 ;
4667 int *arg3 = (int *) 0 ;
4668 int temp2 ;
4669 int temp3 ;
4670 PyObject * obj0 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self", NULL
4673 };
4674
4675 arg2 = &temp2;
4676 arg3 = &temp3;
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 (arg1)->GetPosition(arg2,arg3);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 Py_INCREF(Py_None); resultobj = Py_None;
4688 {
4689 PyObject *o = PyInt_FromLong((long) (*arg2));
4690 resultobj = t_output_helper(resultobj,o);
4691 }
4692 {
4693 PyObject *o = PyInt_FromLong((long) (*arg3));
4694 resultobj = t_output_helper(resultobj,o);
4695 }
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxCaret *arg1 = (wxCaret *) 0 ;
4705 wxSize result;
4706 PyObject * obj0 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self", NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (arg1)->GetSize();
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 {
4722 wxSize * resultptr;
4723 resultptr = new wxSize((wxSize &) result);
4724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4725 }
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxCaret *arg1 = (wxCaret *) 0 ;
4735 int *arg2 = (int *) 0 ;
4736 int *arg3 = (int *) 0 ;
4737 int temp2 ;
4738 int temp3 ;
4739 PyObject * obj0 = 0 ;
4740 char *kwnames[] = {
4741 (char *) "self", NULL
4742 };
4743
4744 arg2 = &temp2;
4745 arg3 = &temp3;
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->GetSize(arg2,arg3);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 {
4758 PyObject *o = PyInt_FromLong((long) (*arg2));
4759 resultobj = t_output_helper(resultobj,o);
4760 }
4761 {
4762 PyObject *o = PyInt_FromLong((long) (*arg3));
4763 resultobj = t_output_helper(resultobj,o);
4764 }
4765 return resultobj;
4766 fail:
4767 return NULL;
4768 }
4769
4770
4771 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxCaret *arg1 = (wxCaret *) 0 ;
4774 wxWindow *result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxWindow *)(arg1)->GetWindow();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = wxPyMake_wxObject(result);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxCaret *arg1 = (wxCaret *) 0 ;
4802 int arg2 ;
4803 int arg3 ;
4804 PyObject * obj0 = 0 ;
4805 PyObject * obj1 = 0 ;
4806 PyObject * obj2 = 0 ;
4807 char *kwnames[] = {
4808 (char *) "self",(char *) "x",(char *) "y", NULL
4809 };
4810
4811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4814 arg2 = (int) SWIG_AsInt(obj1);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 arg3 = (int) SWIG_AsInt(obj2);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 (arg1)->Move(arg2,arg3);
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 Py_INCREF(Py_None); resultobj = Py_None;
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 wxCaret *arg1 = (wxCaret *) 0 ;
4835 wxPoint *arg2 = 0 ;
4836 wxPoint temp2 ;
4837 PyObject * obj0 = 0 ;
4838 PyObject * obj1 = 0 ;
4839 char *kwnames[] = {
4840 (char *) "self",(char *) "pt", NULL
4841 };
4842
4843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4846 {
4847 arg2 = &temp2;
4848 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4849 }
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 (arg1)->Move((wxPoint const &)*arg2);
4853
4854 wxPyEndAllowThreads(__tstate);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 Py_INCREF(Py_None); resultobj = Py_None;
4858 return resultobj;
4859 fail:
4860 return NULL;
4861 }
4862
4863
4864 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4865 PyObject *resultobj;
4866 wxCaret *arg1 = (wxCaret *) 0 ;
4867 int arg2 ;
4868 int arg3 ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 PyObject * obj2 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "width",(char *) "height", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4879 arg2 = (int) SWIG_AsInt(obj1);
4880 if (PyErr_Occurred()) SWIG_fail;
4881 arg3 = (int) SWIG_AsInt(obj2);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->SetSize(arg2,arg3);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxCaret *arg1 = (wxCaret *) 0 ;
4900 wxSize *arg2 = 0 ;
4901 wxSize temp2 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "size", NULL
4906 };
4907
4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4911 {
4912 arg2 = &temp2;
4913 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->SetSize((wxSize const &)*arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926 }
4927
4928
4929 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4930 PyObject *resultobj;
4931 wxCaret *arg1 = (wxCaret *) 0 ;
4932 int arg2 = (int) True ;
4933 PyObject * obj0 = 0 ;
4934 PyObject * obj1 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "show", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4942 if (obj1) {
4943 arg2 = (int) SWIG_AsInt(obj1);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->Show(arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957 }
4958
4959
4960 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxCaret *arg1 = (wxCaret *) 0 ;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 (arg1)->Hide();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 Py_INCREF(Py_None); resultobj = Py_None;
4979 return resultobj;
4980 fail:
4981 return NULL;
4982 }
4983
4984
4985 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4986 PyObject *obj;
4987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4988 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4989 Py_INCREF(obj);
4990 return Py_BuildValue((char *)"");
4991 }
4992 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 int result;
4995 char *kwnames[] = {
4996 NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 result = (int)wxCaret_GetBlinkTime();
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_FromInt((int)result);
5008 return resultobj;
5009 fail:
5010 return NULL;
5011 }
5012
5013
5014 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
5015 PyObject *resultobj;
5016 int arg1 ;
5017 PyObject * obj0 = 0 ;
5018 char *kwnames[] = {
5019 (char *) "milliseconds", NULL
5020 };
5021
5022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5023 arg1 = (int) SWIG_AsInt(obj0);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 wxCaret_SetBlinkTime(arg1);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 Py_INCREF(Py_None); resultobj = Py_None;
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5042 wxBusyCursor *result;
5043 PyObject * obj0 = 0 ;
5044 char *kwnames[] = {
5045 (char *) "cursor", NULL
5046 };
5047
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5049 if (obj0) {
5050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5052 }
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5061 return resultobj;
5062 fail:
5063 return NULL;
5064 }
5065
5066
5067 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5070 PyObject * obj0 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 delete arg1;
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089 }
5090
5091
5092 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
5093 PyObject *obj;
5094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5095 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5096 Py_INCREF(obj);
5097 return Py_BuildValue((char *)"");
5098 }
5099 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxWindow *arg1 = (wxWindow *) NULL ;
5102 wxWindowDisabler *result;
5103 PyObject * obj0 = 0 ;
5104 char *kwnames[] = {
5105 (char *) "winToSkip", NULL
5106 };
5107
5108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5109 if (obj0) {
5110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5121 return resultobj;
5122 fail:
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5130 PyObject * obj0 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 delete arg1;
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 Py_INCREF(Py_None); resultobj = Py_None;
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
5153 PyObject *obj;
5154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5155 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5156 Py_INCREF(obj);
5157 return Py_BuildValue((char *)"");
5158 }
5159 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5160 PyObject *resultobj;
5161 wxString *arg1 = 0 ;
5162 wxBusyInfo *result;
5163 bool temp1 = False ;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "message", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5170 {
5171 arg1 = wxString_in_helper(obj0);
5172 if (arg1 == NULL) SWIG_fail;
5173 temp1 = True;
5174 }
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5183 {
5184 if (temp1)
5185 delete arg1;
5186 }
5187 return resultobj;
5188 fail:
5189 {
5190 if (temp1)
5191 delete arg1;
5192 }
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5200 PyObject * obj0 = 0 ;
5201 char *kwnames[] = {
5202 (char *) "self", NULL
5203 };
5204
5205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 delete arg1;
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 Py_INCREF(Py_None); resultobj = Py_None;
5216 return resultobj;
5217 fail:
5218 return NULL;
5219 }
5220
5221
5222 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5223 PyObject *obj;
5224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5225 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5226 Py_INCREF(obj);
5227 return Py_BuildValue((char *)"");
5228 }
5229 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj;
5231 wxStopWatch *result;
5232 char *kwnames[] = {
5233 NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 result = (wxStopWatch *)new wxStopWatch();
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5245 return resultobj;
5246 fail:
5247 return NULL;
5248 }
5249
5250
5251 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5252 PyObject *resultobj;
5253 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5254 long arg2 = (long) 0 ;
5255 PyObject * obj0 = 0 ;
5256 PyObject * obj1 = 0 ;
5257 char *kwnames[] = {
5258 (char *) "self",(char *) "t0", NULL
5259 };
5260
5261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5264 if (obj1) {
5265 arg2 = (long) SWIG_AsLong(obj1);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->Start(arg2);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 (arg1)->Pause();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 Py_INCREF(Py_None); resultobj = Py_None;
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5310 PyObject * obj0 = 0 ;
5311 char *kwnames[] = {
5312 (char *) "self", NULL
5313 };
5314
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 (arg1)->Resume();
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 Py_INCREF(Py_None); resultobj = Py_None;
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5335 long result;
5336 PyObject * obj0 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (long)((wxStopWatch const *)arg1)->Time();
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_FromLong((long)result);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5359 PyObject *obj;
5360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5362 Py_INCREF(obj);
5363 return Py_BuildValue((char *)"");
5364 }
5365 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5366 PyObject *resultobj;
5367 int arg1 = (int) 9 ;
5368 wxFileHistory *result;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "maxFiles", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5375 if (obj0) {
5376 arg1 = (int) SWIG_AsInt(obj0);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 result = (wxFileHistory *)new wxFileHistory(arg1);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj;
5395 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5396 PyObject * obj0 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 delete arg1;
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5421 wxString *arg2 = 0 ;
5422 bool temp2 = False ;
5423 PyObject * obj0 = 0 ;
5424 PyObject * obj1 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self",(char *) "file", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5432 {
5433 arg2 = wxString_in_helper(obj1);
5434 if (arg2 == NULL) SWIG_fail;
5435 temp2 = True;
5436 }
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 (arg1)->AddFileToHistory((wxString const &)*arg2);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 {
5446 if (temp2)
5447 delete arg2;
5448 }
5449 return resultobj;
5450 fail:
5451 {
5452 if (temp2)
5453 delete arg2;
5454 }
5455 return NULL;
5456 }
5457
5458
5459 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5462 int arg2 ;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "i", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5472 arg2 = (int) SWIG_AsInt(obj1);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 (arg1)->RemoveFileFromHistory(arg2);
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 Py_INCREF(Py_None); resultobj = Py_None;
5482 return resultobj;
5483 fail:
5484 return NULL;
5485 }
5486
5487
5488 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5491 int result;
5492 PyObject * obj0 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5500 {
5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
5502 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5503
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 resultobj = SWIG_FromInt((int)result);
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5517 wxMenu *arg2 = (wxMenu *) 0 ;
5518 PyObject * obj0 = 0 ;
5519 PyObject * obj1 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self",(char *) "menu", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5527 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 (arg1)->UseMenu(arg2);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 Py_INCREF(Py_None); resultobj = Py_None;
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5546 wxMenu *arg2 = (wxMenu *) 0 ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "menu", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 (arg1)->RemoveMenu(arg2);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 Py_INCREF(Py_None); resultobj = Py_None;
5566 return resultobj;
5567 fail:
5568 return NULL;
5569 }
5570
5571
5572 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5575 wxConfigBase *arg2 = 0 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "config", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5585 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5586 SWIG_POINTER_EXCEPTION | 0)) == -1)
5587 SWIG_fail;
5588 if (arg2 == NULL) {
5589 PyErr_SetString(PyExc_TypeError,"null reference");
5590 SWIG_fail;
5591 }
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 (arg1)->Load(*arg2);
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 Py_INCREF(Py_None); resultobj = Py_None;
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5609 wxConfigBase *arg2 = 0 ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 char *kwnames[] = {
5613 (char *) "self",(char *) "config", NULL
5614 };
5615
5616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5619 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5620 SWIG_POINTER_EXCEPTION | 0)) == -1)
5621 SWIG_fail;
5622 if (arg2 == NULL) {
5623 PyErr_SetString(PyExc_TypeError,"null reference");
5624 SWIG_fail;
5625 }
5626 {
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 (arg1)->Save(*arg2);
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 Py_INCREF(Py_None); resultobj = Py_None;
5634 return resultobj;
5635 fail:
5636 return NULL;
5637 }
5638
5639
5640 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5641 PyObject *resultobj;
5642 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5651 {
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 (arg1)->AddFilesToMenu();
5654
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 Py_INCREF(Py_None); resultobj = Py_None;
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5668 wxMenu *arg2 = (wxMenu *) 0 ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self",(char *) "menu", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5678 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5680 {
5681 PyThreadState* __tstate = wxPyBeginAllowThreads();
5682 (arg1)->AddFilesToMenu(arg2);
5683
5684 wxPyEndAllowThreads(__tstate);
5685 if (PyErr_Occurred()) SWIG_fail;
5686 }
5687 Py_INCREF(Py_None); resultobj = Py_None;
5688 return resultobj;
5689 fail:
5690 return NULL;
5691 }
5692
5693
5694 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5695 PyObject *resultobj;
5696 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5697 int arg2 ;
5698 wxString result;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self",(char *) "i", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5708 arg2 = (int) SWIG_AsInt(obj1);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 {
5718 #if wxUSE_UNICODE
5719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5720 #else
5721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5722 #endif
5723 }
5724 return resultobj;
5725 fail:
5726 return NULL;
5727 }
5728
5729
5730 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5731 PyObject *resultobj;
5732 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5733 int result;
5734 PyObject * obj0 = 0 ;
5735 char *kwnames[] = {
5736 (char *) "self", NULL
5737 };
5738
5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (int)((wxFileHistory const *)arg1)->GetCount();
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 resultobj = SWIG_FromInt((int)result);
5750 return resultobj;
5751 fail:
5752 return NULL;
5753 }
5754
5755
5756 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5757 PyObject *obj;
5758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5759 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5760 Py_INCREF(obj);
5761 return Py_BuildValue((char *)"");
5762 }
5763 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5764 PyObject *resultobj;
5765 wxString *arg1 = 0 ;
5766 wxString const &arg2_defvalue = wxPyEmptyString ;
5767 wxString *arg2 = (wxString *) &arg2_defvalue ;
5768 wxSingleInstanceChecker *result;
5769 bool temp1 = False ;
5770 bool temp2 = False ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "name",(char *) "path", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5778 {
5779 arg1 = wxString_in_helper(obj0);
5780 if (arg1 == NULL) SWIG_fail;
5781 temp1 = True;
5782 }
5783 if (obj1) {
5784 {
5785 arg2 = wxString_in_helper(obj1);
5786 if (arg2 == NULL) SWIG_fail;
5787 temp2 = True;
5788 }
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5798 {
5799 if (temp1)
5800 delete arg1;
5801 }
5802 {
5803 if (temp2)
5804 delete arg2;
5805 }
5806 return resultobj;
5807 fail:
5808 {
5809 if (temp1)
5810 delete arg1;
5811 }
5812 {
5813 if (temp2)
5814 delete arg2;
5815 }
5816 return NULL;
5817 }
5818
5819
5820 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxSingleInstanceChecker *result;
5823 char *kwnames[] = {
5824 NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5845 PyObject * obj0 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 delete arg1;
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5870 wxString *arg2 = 0 ;
5871 wxString const &arg3_defvalue = wxPyEmptyString ;
5872 wxString *arg3 = (wxString *) &arg3_defvalue ;
5873 bool result;
5874 bool temp2 = False ;
5875 bool temp3 = False ;
5876 PyObject * obj0 = 0 ;
5877 PyObject * obj1 = 0 ;
5878 PyObject * obj2 = 0 ;
5879 char *kwnames[] = {
5880 (char *) "self",(char *) "name",(char *) "path", NULL
5881 };
5882
5883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5886 {
5887 arg2 = wxString_in_helper(obj1);
5888 if (arg2 == NULL) SWIG_fail;
5889 temp2 = True;
5890 }
5891 if (obj2) {
5892 {
5893 arg3 = wxString_in_helper(obj2);
5894 if (arg3 == NULL) SWIG_fail;
5895 temp3 = True;
5896 }
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 {
5906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5907 }
5908 {
5909 if (temp2)
5910 delete arg2;
5911 }
5912 {
5913 if (temp3)
5914 delete arg3;
5915 }
5916 return resultobj;
5917 fail:
5918 {
5919 if (temp2)
5920 delete arg2;
5921 }
5922 {
5923 if (temp3)
5924 delete arg3;
5925 }
5926 return NULL;
5927 }
5928
5929
5930 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5931 PyObject *resultobj;
5932 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5933 bool result;
5934 PyObject * obj0 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5951 }
5952 return resultobj;
5953 fail:
5954 return NULL;
5955 }
5956
5957
5958 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5959 PyObject *obj;
5960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5961 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5962 Py_INCREF(obj);
5963 return Py_BuildValue((char *)"");
5964 }
5965 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj;
5967 wxWindow *arg1 = (wxWindow *) 0 ;
5968 wxDC *arg2 = 0 ;
5969 int arg3 ;
5970 PyObject * obj0 = 0 ;
5971 PyObject * obj1 = 0 ;
5972 PyObject * obj2 = 0 ;
5973 char *kwnames[] = {
5974 (char *) "window",(char *) "dc",(char *) "method", NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5980 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5981 SWIG_POINTER_EXCEPTION | 0)) == -1)
5982 SWIG_fail;
5983 if (arg2 == NULL) {
5984 PyErr_SetString(PyExc_TypeError,"null reference");
5985 SWIG_fail;
5986 }
5987 arg3 = (int) SWIG_AsInt(obj2);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 Py_INCREF(Py_None); resultobj = Py_None;
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 delete arg1;
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 Py_INCREF(Py_None); resultobj = Py_None;
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6031 wxString result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (arg1)->GetTip();
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 {
6048 #if wxUSE_UNICODE
6049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6050 #else
6051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6052 #endif
6053 }
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6063 size_t result;
6064 PyObject * obj0 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (size_t)(arg1)->GetCurrentTip();
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6080 return resultobj;
6081 fail:
6082 return NULL;
6083 }
6084
6085
6086 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj;
6088 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6089 wxString *arg2 = 0 ;
6090 wxString result;
6091 bool temp2 = False ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj1 = 0 ;
6094 char *kwnames[] = {
6095 (char *) "self",(char *) "tip", NULL
6096 };
6097
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6101 {
6102 arg2 = wxString_in_helper(obj1);
6103 if (arg2 == NULL) SWIG_fail;
6104 temp2 = True;
6105 }
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 {
6114 #if wxUSE_UNICODE
6115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6116 #else
6117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6118 #endif
6119 }
6120 {
6121 if (temp2)
6122 delete arg2;
6123 }
6124 return resultobj;
6125 fail:
6126 {
6127 if (temp2)
6128 delete arg2;
6129 }
6130 return NULL;
6131 }
6132
6133
6134 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
6135 PyObject *obj;
6136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6137 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6138 Py_INCREF(obj);
6139 return Py_BuildValue((char *)"");
6140 }
6141 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject *resultobj;
6143 size_t arg1 ;
6144 wxPyTipProvider *result;
6145 PyObject * obj0 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "currentTip", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6151 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6170 PyObject *arg2 = (PyObject *) 0 ;
6171 PyObject *arg3 = (PyObject *) 0 ;
6172 PyObject * obj0 = 0 ;
6173 PyObject * obj1 = 0 ;
6174 PyObject * obj2 = 0 ;
6175 char *kwnames[] = {
6176 (char *) "self",(char *) "self",(char *) "_class", NULL
6177 };
6178
6179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6182 arg2 = obj1;
6183 arg3 = obj2;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->_setCallbackInfo(arg2,arg3);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 Py_INCREF(Py_None); resultobj = Py_None;
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
6199 PyObject *obj;
6200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6201 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6202 Py_INCREF(obj);
6203 return Py_BuildValue((char *)"");
6204 }
6205 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxWindow *arg1 = (wxWindow *) 0 ;
6208 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6209 bool arg3 = (bool) True ;
6210 bool result;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6221 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6223 if (obj2) {
6224 arg3 = (bool) SWIG_AsBool(obj2);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = (bool)wxShowTip(arg1,arg2,arg3);
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 {
6235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6236 }
6237 return resultobj;
6238 fail:
6239 return NULL;
6240 }
6241
6242
6243 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj;
6245 wxString *arg1 = 0 ;
6246 size_t arg2 ;
6247 wxTipProvider *result;
6248 bool temp1 = False ;
6249 PyObject * obj0 = 0 ;
6250 PyObject * obj1 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "filename",(char *) "currentTip", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6256 {
6257 arg1 = wxString_in_helper(obj0);
6258 if (arg1 == NULL) SWIG_fail;
6259 temp1 = True;
6260 }
6261 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 {
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6266
6267 wxPyEndAllowThreads(__tstate);
6268 if (PyErr_Occurred()) SWIG_fail;
6269 }
6270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6271 {
6272 if (temp1)
6273 delete arg1;
6274 }
6275 return resultobj;
6276 fail:
6277 {
6278 if (temp1)
6279 delete arg1;
6280 }
6281 return NULL;
6282 }
6283
6284
6285 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6286 PyObject *resultobj;
6287 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6288 int arg2 = (int) -1 ;
6289 wxPyTimer *result;
6290 PyObject * obj0 = 0 ;
6291 PyObject * obj1 = 0 ;
6292 char *kwnames[] = {
6293 (char *) "owner",(char *) "id", NULL
6294 };
6295
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6297 if (obj0) {
6298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6300 }
6301 if (obj1) {
6302 arg2 = (int) SWIG_AsInt(obj1);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 delete arg1;
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 Py_INCREF(Py_None); resultobj = Py_None;
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6347 PyObject *arg2 = (PyObject *) 0 ;
6348 PyObject *arg3 = (PyObject *) 0 ;
6349 int arg4 = (int) 1 ;
6350 PyObject * obj0 = 0 ;
6351 PyObject * obj1 = 0 ;
6352 PyObject * obj2 = 0 ;
6353 PyObject * obj3 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6361 arg2 = obj1;
6362 arg3 = obj2;
6363 if (obj3) {
6364 arg4 = (int) SWIG_AsInt(obj3);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6370
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 Py_INCREF(Py_None); resultobj = Py_None;
6375 return resultobj;
6376 fail:
6377 return NULL;
6378 }
6379
6380
6381 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj;
6383 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6384 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6385 int arg3 = (int) -1 ;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 PyObject * obj2 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self",(char *) "owner",(char *) "id", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6398 if (obj2) {
6399 arg3 = (int) SWIG_AsInt(obj2);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 (arg1)->SetOwner(arg2,arg3);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 Py_INCREF(Py_None); resultobj = Py_None;
6410 return resultobj;
6411 fail:
6412 return NULL;
6413 }
6414
6415
6416 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj;
6418 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6419 int arg2 = (int) -1 ;
6420 bool arg3 = (bool) False ;
6421 bool result;
6422 PyObject * obj0 = 0 ;
6423 PyObject * obj1 = 0 ;
6424 PyObject * obj2 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6432 if (obj1) {
6433 arg2 = (int) SWIG_AsInt(obj1);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 if (obj2) {
6437 arg3 = (bool) SWIG_AsBool(obj2);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (bool)(arg1)->Start(arg2,arg3);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 {
6448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6449 }
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6459 PyObject * obj0 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->Stop();
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 Py_INCREF(Py_None); resultobj = Py_None;
6475 return resultobj;
6476 fail:
6477 return NULL;
6478 }
6479
6480
6481 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6482 PyObject *resultobj;
6483 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6484 bool result;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6493 {
6494 PyThreadState* __tstate = wxPyBeginAllowThreads();
6495 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6496
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 {
6501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6502 }
6503 return resultobj;
6504 fail:
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6512 int result;
6513 PyObject * obj0 = 0 ;
6514 char *kwnames[] = {
6515 (char *) "self", NULL
6516 };
6517
6518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 resultobj = SWIG_FromInt((int)result);
6529 return resultobj;
6530 fail:
6531 return NULL;
6532 }
6533
6534
6535 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject *resultobj;
6537 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6538 bool result;
6539 PyObject * obj0 = 0 ;
6540 char *kwnames[] = {
6541 (char *) "self", NULL
6542 };
6543
6544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 {
6555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6556 }
6557 return resultobj;
6558 fail:
6559 return NULL;
6560 }
6561
6562
6563 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6566 int result;
6567 PyObject * obj0 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6575 {
6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6577 result = (int)((wxPyTimer const *)arg1)->GetId();
6578
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 resultobj = SWIG_FromInt((int)result);
6583 return resultobj;
6584 fail:
6585 return NULL;
6586 }
6587
6588
6589 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6590 PyObject *obj;
6591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6592 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6593 Py_INCREF(obj);
6594 return Py_BuildValue((char *)"");
6595 }
6596 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 int arg1 = (int) 0 ;
6599 int arg2 = (int) 0 ;
6600 wxTimerEvent *result;
6601 PyObject * obj0 = 0 ;
6602 PyObject * obj1 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "timerid",(char *) "interval", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6608 if (obj0) {
6609 arg1 = (int) SWIG_AsInt(obj0);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 if (obj1) {
6613 arg2 = (int) SWIG_AsInt(obj1);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6633 int result;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = SWIG_FromInt((int)result);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6657 PyObject *obj;
6658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6659 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6660 Py_INCREF(obj);
6661 return Py_BuildValue((char *)"");
6662 }
6663 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6664 PyObject *resultobj;
6665 wxTimer *arg1 = 0 ;
6666 wxTimerRunner *result;
6667 PyObject * obj0 = 0 ;
6668
6669 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6671 SWIG_POINTER_EXCEPTION | 0)) == -1)
6672 SWIG_fail;
6673 if (arg1 == NULL) {
6674 PyErr_SetString(PyExc_TypeError,"null reference");
6675 SWIG_fail;
6676 }
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6685 return resultobj;
6686 fail:
6687 return NULL;
6688 }
6689
6690
6691 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6692 PyObject *resultobj;
6693 wxTimer *arg1 = 0 ;
6694 int arg2 ;
6695 bool arg3 = (bool) False ;
6696 wxTimerRunner *result;
6697 PyObject * obj0 = 0 ;
6698 PyObject * obj1 = 0 ;
6699 PyObject * obj2 = 0 ;
6700
6701 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6703 SWIG_POINTER_EXCEPTION | 0)) == -1)
6704 SWIG_fail;
6705 if (arg1 == NULL) {
6706 PyErr_SetString(PyExc_TypeError,"null reference");
6707 SWIG_fail;
6708 }
6709 arg2 = (int) SWIG_AsInt(obj1);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 if (obj2) {
6712 arg3 = (bool) SWIG_AsBool(obj2);
6713 if (PyErr_Occurred()) SWIG_fail;
6714 }
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6723 return resultobj;
6724 fail:
6725 return NULL;
6726 }
6727
6728
6729 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6730 int argc;
6731 PyObject *argv[4];
6732 int ii;
6733
6734 argc = PyObject_Length(args);
6735 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6736 argv[ii] = PyTuple_GetItem(args,ii);
6737 }
6738 if (argc == 1) {
6739 int _v;
6740 {
6741 void *ptr;
6742 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6743 _v = 0;
6744 PyErr_Clear();
6745 } else {
6746 _v = 1;
6747 }
6748 }
6749 if (_v) {
6750 return _wrap_new_TimerRunner__SWIG_0(self,args);
6751 }
6752 }
6753 if ((argc >= 2) && (argc <= 3)) {
6754 int _v;
6755 {
6756 void *ptr;
6757 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6758 _v = 0;
6759 PyErr_Clear();
6760 } else {
6761 _v = 1;
6762 }
6763 }
6764 if (_v) {
6765 _v = SWIG_CheckInt(argv[1]);
6766 if (_v) {
6767 if (argc <= 2) {
6768 return _wrap_new_TimerRunner__SWIG_1(self,args);
6769 }
6770 _v = SWIG_CheckBool(argv[2]);
6771 if (_v) {
6772 return _wrap_new_TimerRunner__SWIG_1(self,args);
6773 }
6774 }
6775 }
6776 }
6777
6778 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6786 PyObject * obj0 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 delete arg1;
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 Py_INCREF(Py_None); resultobj = Py_None;
6802 return resultobj;
6803 fail:
6804 return NULL;
6805 }
6806
6807
6808 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject *resultobj;
6810 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6811 int arg2 ;
6812 bool arg3 = (bool) False ;
6813 PyObject * obj0 = 0 ;
6814 PyObject * obj1 = 0 ;
6815 PyObject * obj2 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6823 arg2 = (int) SWIG_AsInt(obj1);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 if (obj2) {
6826 arg3 = (bool) SWIG_AsBool(obj2);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 (arg1)->Start(arg2,arg3);
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 Py_INCREF(Py_None); resultobj = Py_None;
6837 return resultobj;
6838 fail:
6839 return NULL;
6840 }
6841
6842
6843 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6844 PyObject *obj;
6845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6846 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6847 Py_INCREF(obj);
6848 return Py_BuildValue((char *)"");
6849 }
6850 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxLog *result;
6853 char *kwnames[] = {
6854 NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (wxLog *)new wxLog();
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 bool result;
6875 char *kwnames[] = {
6876 NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 result = (bool)wxLog::IsEnabled();
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 {
6888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6889 }
6890 return resultobj;
6891 fail:
6892 return NULL;
6893 }
6894
6895
6896 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 bool arg1 = (bool) True ;
6899 bool result;
6900 PyObject * obj0 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "doIt", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6906 if (obj0) {
6907 arg1 = (bool) SWIG_AsBool(obj0);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 {
6911 PyThreadState* __tstate = wxPyBeginAllowThreads();
6912 result = (bool)wxLog::EnableLogging(arg1);
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 {
6918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6919 }
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxLogLevel arg1 ;
6929 wxChar *arg2 = (wxChar *) 0 ;
6930 time_t arg3 ;
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
6934 char *kwnames[] = {
6935 (char *) "level",(char *) "szString",(char *) "t", NULL
6936 };
6937
6938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6939 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6943 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 Py_INCREF(Py_None); resultobj = Py_None;
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxLog *arg1 = (wxLog *) 0 ;
6962 PyObject * obj0 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 (arg1)->Flush();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 Py_INCREF(Py_None); resultobj = Py_None;
6978 return resultobj;
6979 fail:
6980 return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 char *kwnames[] = {
6987 NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 wxLog::FlushActive();
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 Py_INCREF(Py_None); resultobj = Py_None;
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxLog *result;
7008 char *kwnames[] = {
7009 NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 result = (wxLog *)wxLog::GetActiveTarget();
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7021 return resultobj;
7022 fail:
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxLog *arg1 = (wxLog *) 0 ;
7030 wxLog *result;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "pLogger", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7042
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7047 return resultobj;
7048 fail:
7049 return NULL;
7050 }
7051
7052
7053 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
7054 PyObject *resultobj;
7055 char *kwnames[] = {
7056 NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 wxLog::Suspend();
7063
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 Py_INCREF(Py_None); resultobj = Py_None;
7068 return resultobj;
7069 fail:
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 char *kwnames[] = {
7077 NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 wxLog::Resume();
7084
7085 wxPyEndAllowThreads(__tstate);
7086 if (PyErr_Occurred()) SWIG_fail;
7087 }
7088 Py_INCREF(Py_None); resultobj = Py_None;
7089 return resultobj;
7090 fail:
7091 return NULL;
7092 }
7093
7094
7095 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7096 PyObject *resultobj;
7097 bool arg1 = (bool) True ;
7098 PyObject * obj0 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "bVerbose", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7104 if (obj0) {
7105 arg1 = (bool) SWIG_AsBool(obj0);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 {
7109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7110 wxLog::SetVerbose(arg1);
7111
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 Py_INCREF(Py_None); resultobj = Py_None;
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj;
7124 wxLogLevel arg1 ;
7125 PyObject * obj0 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "logLevel", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7131 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 wxLog::SetLogLevel(arg1);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 char *kwnames[] = {
7150 NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 wxLog::DontCreateOnDemand();
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 Py_INCREF(Py_None); resultobj = Py_None;
7162 return resultobj;
7163 fail:
7164 return NULL;
7165 }
7166
7167
7168 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj;
7170 wxTraceMask arg1 ;
7171 PyObject * obj0 = 0 ;
7172 char *kwnames[] = {
7173 (char *) "ulMask", NULL
7174 };
7175
7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7177 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 wxLog::SetTraceMask(arg1);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 Py_INCREF(Py_None); resultobj = Py_None;
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxString *arg1 = 0 ;
7196 bool temp1 = False ;
7197 PyObject * obj0 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "str", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7203 {
7204 arg1 = wxString_in_helper(obj0);
7205 if (arg1 == NULL) SWIG_fail;
7206 temp1 = True;
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 wxLog::AddTraceMask((wxString const &)*arg1);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 Py_INCREF(Py_None); resultobj = Py_None;
7216 {
7217 if (temp1)
7218 delete arg1;
7219 }
7220 return resultobj;
7221 fail:
7222 {
7223 if (temp1)
7224 delete arg1;
7225 }
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxString *arg1 = 0 ;
7233 bool temp1 = False ;
7234 PyObject * obj0 = 0 ;
7235 char *kwnames[] = {
7236 (char *) "str", NULL
7237 };
7238
7239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7240 {
7241 arg1 = wxString_in_helper(obj0);
7242 if (arg1 == NULL) SWIG_fail;
7243 temp1 = True;
7244 }
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 wxLog::RemoveTraceMask((wxString const &)*arg1);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 Py_INCREF(Py_None); resultobj = Py_None;
7253 {
7254 if (temp1)
7255 delete arg1;
7256 }
7257 return resultobj;
7258 fail:
7259 {
7260 if (temp1)
7261 delete arg1;
7262 }
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 char *kwnames[] = {
7270 NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 wxLog::ClearTraceMasks();
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 Py_INCREF(Py_None); resultobj = Py_None;
7282 return resultobj;
7283 fail:
7284 return NULL;
7285 }
7286
7287
7288 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxArrayString *result;
7291 char *kwnames[] = {
7292 NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 {
7299 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7300 result = (wxArrayString *) &_result_ref;
7301 }
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 {
7307 resultobj = wxArrayString2PyList_helper(*result);
7308 }
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxChar *arg1 = (wxChar *) 0 ;
7318 PyObject * obj0 = 0 ;
7319 char *kwnames[] = {
7320 (char *) "ts", NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 wxLog::SetTimestamp((wxChar const *)arg1);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 bool result;
7343 char *kwnames[] = {
7344 NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (bool)wxLog::GetVerbose();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 {
7356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7357 }
7358 return resultobj;
7359 fail:
7360 return NULL;
7361 }
7362
7363
7364 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxTraceMask result;
7367 char *kwnames[] = {
7368 NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (wxTraceMask)wxLog::GetTraceMask();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxChar *arg1 = (wxChar *) 0 ;
7389 bool result;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "mask", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7398 {
7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
7400 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7401
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 {
7406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7407 }
7408 return resultobj;
7409 fail:
7410 return NULL;
7411 }
7412
7413
7414 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxLogLevel result;
7417 char *kwnames[] = {
7418 NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (wxLogLevel)wxLog::GetLogLevel();
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxChar *result;
7439 char *kwnames[] = {
7440 NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 result = (wxChar *)wxLog::GetTimestamp();
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7452 return resultobj;
7453 fail:
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxString result;
7461 char *kwnames[] = {
7462 NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 result = Log_TimeStamp();
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 {
7474 #if wxUSE_UNICODE
7475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7476 #else
7477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7478 #endif
7479 }
7480 return resultobj;
7481 fail:
7482 return NULL;
7483 }
7484
7485
7486 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxLog *arg1 = (wxLog *) 0 ;
7489 PyObject * obj0 = 0 ;
7490 char *kwnames[] = {
7491 (char *) "self", NULL
7492 };
7493
7494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 wxLog_Destroy(arg1);
7500
7501 wxPyEndAllowThreads(__tstate);
7502 if (PyErr_Occurred()) SWIG_fail;
7503 }
7504 Py_INCREF(Py_None); resultobj = Py_None;
7505 return resultobj;
7506 fail:
7507 return NULL;
7508 }
7509
7510
7511 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7512 PyObject *obj;
7513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7514 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7515 Py_INCREF(obj);
7516 return Py_BuildValue((char *)"");
7517 }
7518 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxLogStderr *result;
7521 char *kwnames[] = {
7522 NULL
7523 };
7524
7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (wxLogStderr *)new wxLogStderr();
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7534 return resultobj;
7535 fail:
7536 return NULL;
7537 }
7538
7539
7540 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7541 PyObject *obj;
7542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7543 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7544 Py_INCREF(obj);
7545 return Py_BuildValue((char *)"");
7546 }
7547 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7550 wxLogTextCtrl *result;
7551 PyObject * obj0 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "pTextCtrl", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7574 PyObject *obj;
7575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7576 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7577 Py_INCREF(obj);
7578 return Py_BuildValue((char *)"");
7579 }
7580 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxLogGui *result;
7583 char *kwnames[] = {
7584 NULL
7585 };
7586
7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (wxLogGui *)new wxLogGui();
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7603 PyObject *obj;
7604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7606 Py_INCREF(obj);
7607 return Py_BuildValue((char *)"");
7608 }
7609 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxFrame *arg1 = (wxFrame *) 0 ;
7612 wxString *arg2 = 0 ;
7613 bool arg3 = (bool) True ;
7614 bool arg4 = (bool) True ;
7615 wxLogWindow *result;
7616 bool temp2 = False ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 PyObject * obj3 = 0 ;
7621 char *kwnames[] = {
7622 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7623 };
7624
7625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7628 {
7629 arg2 = wxString_in_helper(obj1);
7630 if (arg2 == NULL) SWIG_fail;
7631 temp2 = True;
7632 }
7633 if (obj2) {
7634 arg3 = (bool) SWIG_AsBool(obj2);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 if (obj3) {
7638 arg4 = (bool) SWIG_AsBool(obj3);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7649 {
7650 if (temp2)
7651 delete arg2;
7652 }
7653 return resultobj;
7654 fail:
7655 {
7656 if (temp2)
7657 delete arg2;
7658 }
7659 return NULL;
7660 }
7661
7662
7663 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj;
7665 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7666 bool arg2 = (bool) True ;
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self",(char *) "bShow", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7676 if (obj1) {
7677 arg2 = (bool) SWIG_AsBool(obj1);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->Show(arg2);
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7697 wxFrame *result;
7698 PyObject * obj0 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 {
7714 resultobj = wxPyMake_wxObject(result);
7715 }
7716 return resultobj;
7717 fail:
7718 return NULL;
7719 }
7720
7721
7722 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7725 wxLog *result;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7751 bool result;
7752 PyObject * obj0 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 {
7768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7769 }
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7779 bool arg2 ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self",(char *) "bDoPass", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 arg2 = (bool) SWIG_AsBool(obj1);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 (arg1)->PassMessages(arg2);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 Py_INCREF(Py_None); resultobj = Py_None;
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7806 PyObject *obj;
7807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7808 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7809 Py_INCREF(obj);
7810 return Py_BuildValue((char *)"");
7811 }
7812 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj;
7814 wxLog *arg1 = (wxLog *) 0 ;
7815 wxLogChain *result;
7816 PyObject * obj0 = 0 ;
7817 char *kwnames[] = {
7818 (char *) "logger", NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (wxLogChain *)new wxLogChain(arg1);
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxLogChain *arg1 = (wxLogChain *) 0 ;
7841 wxLog *arg2 = (wxLog *) 0 ;
7842 PyObject * obj0 = 0 ;
7843 PyObject * obj1 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "logger", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 (arg1)->SetLog(arg2);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 Py_INCREF(Py_None); resultobj = Py_None;
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj;
7869 wxLogChain *arg1 = (wxLogChain *) 0 ;
7870 bool arg2 ;
7871 PyObject * obj0 = 0 ;
7872 PyObject * obj1 = 0 ;
7873 char *kwnames[] = {
7874 (char *) "self",(char *) "bDoPass", NULL
7875 };
7876
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7880 arg2 = (bool) SWIG_AsBool(obj1);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 {
7883 PyThreadState* __tstate = wxPyBeginAllowThreads();
7884 (arg1)->PassMessages(arg2);
7885
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 Py_INCREF(Py_None); resultobj = Py_None;
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj;
7898 wxLogChain *arg1 = (wxLogChain *) 0 ;
7899 bool result;
7900 PyObject * obj0 = 0 ;
7901 char *kwnames[] = {
7902 (char *) "self", NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = (bool)(arg1)->IsPassingMessages();
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 {
7916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7917 }
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxLogChain *arg1 = (wxLogChain *) 0 ;
7927 wxLog *result;
7928 PyObject * obj0 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (wxLog *)(arg1)->GetOldLog();
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7951 PyObject *obj;
7952 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7953 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7954 Py_INCREF(obj);
7955 return Py_BuildValue((char *)"");
7956 }
7957 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 unsigned long result;
7960 char *kwnames[] = {
7961 NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (unsigned long)wxSysErrorCode();
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 unsigned long arg1 = (unsigned long) 0 ;
7982 wxString result;
7983 PyObject * obj0 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "nErrCode", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7989 if (obj0) {
7990 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 result = wxSysErrorMsg(arg1);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 {
8001 #if wxUSE_UNICODE
8002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8003 #else
8004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8005 #endif
8006 }
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxString *arg1 = 0 ;
8016 bool temp1 = False ;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "msg", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8023 {
8024 arg1 = wxString_in_helper(obj0);
8025 if (arg1 == NULL) SWIG_fail;
8026 temp1 = True;
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 wxLogFatalError((wxString const &)*arg1);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 {
8037 if (temp1)
8038 delete arg1;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp1)
8044 delete arg1;
8045 }
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxString *arg1 = 0 ;
8053 bool temp1 = False ;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "msg", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8060 {
8061 arg1 = wxString_in_helper(obj0);
8062 if (arg1 == NULL) SWIG_fail;
8063 temp1 = True;
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 wxLogError((wxString const &)*arg1);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 {
8074 if (temp1)
8075 delete arg1;
8076 }
8077 return resultobj;
8078 fail:
8079 {
8080 if (temp1)
8081 delete arg1;
8082 }
8083 return NULL;
8084 }
8085
8086
8087 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxString *arg1 = 0 ;
8090 bool temp1 = False ;
8091 PyObject * obj0 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "msg", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8097 {
8098 arg1 = wxString_in_helper(obj0);
8099 if (arg1 == NULL) SWIG_fail;
8100 temp1 = True;
8101 }
8102 {
8103 PyThreadState* __tstate = wxPyBeginAllowThreads();
8104 wxLogWarning((wxString const &)*arg1);
8105
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 Py_INCREF(Py_None); resultobj = Py_None;
8110 {
8111 if (temp1)
8112 delete arg1;
8113 }
8114 return resultobj;
8115 fail:
8116 {
8117 if (temp1)
8118 delete arg1;
8119 }
8120 return NULL;
8121 }
8122
8123
8124 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject *resultobj;
8126 wxString *arg1 = 0 ;
8127 bool temp1 = False ;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "msg", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8134 {
8135 arg1 = wxString_in_helper(obj0);
8136 if (arg1 == NULL) SWIG_fail;
8137 temp1 = True;
8138 }
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 wxLogMessage((wxString const &)*arg1);
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) SWIG_fail;
8145 }
8146 Py_INCREF(Py_None); resultobj = Py_None;
8147 {
8148 if (temp1)
8149 delete arg1;
8150 }
8151 return resultobj;
8152 fail:
8153 {
8154 if (temp1)
8155 delete arg1;
8156 }
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxString *arg1 = 0 ;
8164 bool temp1 = False ;
8165 PyObject * obj0 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "msg", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8171 {
8172 arg1 = wxString_in_helper(obj0);
8173 if (arg1 == NULL) SWIG_fail;
8174 temp1 = True;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 wxLogInfo((wxString const &)*arg1);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 {
8185 if (temp1)
8186 delete arg1;
8187 }
8188 return resultobj;
8189 fail:
8190 {
8191 if (temp1)
8192 delete arg1;
8193 }
8194 return NULL;
8195 }
8196
8197
8198 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj;
8200 wxString *arg1 = 0 ;
8201 bool temp1 = False ;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "msg", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8208 {
8209 arg1 = wxString_in_helper(obj0);
8210 if (arg1 == NULL) SWIG_fail;
8211 temp1 = True;
8212 }
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 wxLogDebug((wxString const &)*arg1);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 Py_INCREF(Py_None); resultobj = Py_None;
8221 {
8222 if (temp1)
8223 delete arg1;
8224 }
8225 return resultobj;
8226 fail:
8227 {
8228 if (temp1)
8229 delete arg1;
8230 }
8231 return NULL;
8232 }
8233
8234
8235 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxString *arg1 = 0 ;
8238 bool temp1 = False ;
8239 PyObject * obj0 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "msg", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8245 {
8246 arg1 = wxString_in_helper(obj0);
8247 if (arg1 == NULL) SWIG_fail;
8248 temp1 = True;
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 wxLogVerbose((wxString const &)*arg1);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 Py_INCREF(Py_None); resultobj = Py_None;
8258 {
8259 if (temp1)
8260 delete arg1;
8261 }
8262 return resultobj;
8263 fail:
8264 {
8265 if (temp1)
8266 delete arg1;
8267 }
8268 return NULL;
8269 }
8270
8271
8272 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj;
8274 wxString *arg1 = 0 ;
8275 bool temp1 = False ;
8276 PyObject * obj0 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "msg", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8282 {
8283 arg1 = wxString_in_helper(obj0);
8284 if (arg1 == NULL) SWIG_fail;
8285 temp1 = True;
8286 }
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 wxLogStatus((wxString const &)*arg1);
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 Py_INCREF(Py_None); resultobj = Py_None;
8295 {
8296 if (temp1)
8297 delete arg1;
8298 }
8299 return resultobj;
8300 fail:
8301 {
8302 if (temp1)
8303 delete arg1;
8304 }
8305 return NULL;
8306 }
8307
8308
8309 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxFrame *arg1 = (wxFrame *) 0 ;
8312 wxString *arg2 = 0 ;
8313 bool temp2 = False ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "pFrame",(char *) "msg", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 {
8324 arg2 = wxString_in_helper(obj1);
8325 if (arg2 == NULL) SWIG_fail;
8326 temp2 = True;
8327 }
8328 {
8329 PyThreadState* __tstate = wxPyBeginAllowThreads();
8330 wxLogStatus(arg1,(wxString const &)*arg2);
8331
8332 wxPyEndAllowThreads(__tstate);
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 Py_INCREF(Py_None); resultobj = Py_None;
8336 {
8337 if (temp2)
8338 delete arg2;
8339 }
8340 return resultobj;
8341 fail:
8342 {
8343 if (temp2)
8344 delete arg2;
8345 }
8346 return NULL;
8347 }
8348
8349
8350 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj;
8352 wxString *arg1 = 0 ;
8353 bool temp1 = False ;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "msg", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8360 {
8361 arg1 = wxString_in_helper(obj0);
8362 if (arg1 == NULL) SWIG_fail;
8363 temp1 = True;
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 wxLogSysError((wxString const &)*arg1);
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 Py_INCREF(Py_None); resultobj = Py_None;
8373 {
8374 if (temp1)
8375 delete arg1;
8376 }
8377 return resultobj;
8378 fail:
8379 {
8380 if (temp1)
8381 delete arg1;
8382 }
8383 return NULL;
8384 }
8385
8386
8387 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8388 PyObject *resultobj;
8389 unsigned long arg1 ;
8390 wxString *arg2 = 0 ;
8391 bool temp2 = False ;
8392 PyObject * obj0 = 0 ;
8393 PyObject * obj1 = 0 ;
8394
8395 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8396 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 {
8399 arg2 = wxString_in_helper(obj1);
8400 if (arg2 == NULL) SWIG_fail;
8401 temp2 = True;
8402 }
8403 {
8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
8405 wxLogTrace(arg1,(wxString const &)*arg2);
8406
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 Py_INCREF(Py_None); resultobj = Py_None;
8411 {
8412 if (temp2)
8413 delete arg2;
8414 }
8415 return resultobj;
8416 fail:
8417 {
8418 if (temp2)
8419 delete arg2;
8420 }
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8426 PyObject *resultobj;
8427 wxString *arg1 = 0 ;
8428 wxString *arg2 = 0 ;
8429 bool temp1 = False ;
8430 bool temp2 = False ;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433
8434 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8435 {
8436 arg1 = wxString_in_helper(obj0);
8437 if (arg1 == NULL) SWIG_fail;
8438 temp1 = True;
8439 }
8440 {
8441 arg2 = wxString_in_helper(obj1);
8442 if (arg2 == NULL) SWIG_fail;
8443 temp2 = True;
8444 }
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 {
8454 if (temp1)
8455 delete arg1;
8456 }
8457 {
8458 if (temp2)
8459 delete arg2;
8460 }
8461 return resultobj;
8462 fail:
8463 {
8464 if (temp1)
8465 delete arg1;
8466 }
8467 {
8468 if (temp2)
8469 delete arg2;
8470 }
8471 return NULL;
8472 }
8473
8474
8475 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8476 int argc;
8477 PyObject *argv[3];
8478 int ii;
8479
8480 argc = PyObject_Length(args);
8481 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8482 argv[ii] = PyTuple_GetItem(args,ii);
8483 }
8484 if (argc == 2) {
8485 int _v;
8486 {
8487 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8488 }
8489 if (_v) {
8490 {
8491 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8492 }
8493 if (_v) {
8494 return _wrap_LogTrace__SWIG_1(self,args);
8495 }
8496 }
8497 }
8498 if (argc == 2) {
8499 int _v;
8500 _v = SWIG_CheckUnsignedLong(argv[0]);
8501 if (_v) {
8502 {
8503 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8504 }
8505 if (_v) {
8506 return _wrap_LogTrace__SWIG_0(self,args);
8507 }
8508 }
8509 }
8510
8511 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8512 return NULL;
8513 }
8514
8515
8516 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 unsigned long arg1 ;
8519 wxString *arg2 = 0 ;
8520 bool temp2 = False ;
8521 PyObject * obj0 = 0 ;
8522 PyObject * obj1 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "level",(char *) "msg", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8528 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 {
8531 arg2 = wxString_in_helper(obj1);
8532 if (arg2 == NULL) SWIG_fail;
8533 temp2 = True;
8534 }
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 wxLogGeneric(arg1,(wxString const &)*arg2);
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 Py_INCREF(Py_None); resultobj = Py_None;
8543 {
8544 if (temp2)
8545 delete arg2;
8546 }
8547 return resultobj;
8548 fail:
8549 {
8550 if (temp2)
8551 delete arg2;
8552 }
8553 return NULL;
8554 }
8555
8556
8557 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8558 PyObject *resultobj;
8559 wxString *arg1 = 0 ;
8560 wxString *arg2 = 0 ;
8561 bool temp1 = False ;
8562 bool temp2 = False ;
8563 PyObject * obj0 = 0 ;
8564 PyObject * obj1 = 0 ;
8565 char *kwnames[] = {
8566 (char *) "title",(char *) "text", NULL
8567 };
8568
8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8570 {
8571 arg1 = wxString_in_helper(obj0);
8572 if (arg1 == NULL) SWIG_fail;
8573 temp1 = True;
8574 }
8575 {
8576 arg2 = wxString_in_helper(obj1);
8577 if (arg2 == NULL) SWIG_fail;
8578 temp2 = True;
8579 }
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 {
8589 if (temp1)
8590 delete arg1;
8591 }
8592 {
8593 if (temp2)
8594 delete arg2;
8595 }
8596 return resultobj;
8597 fail:
8598 {
8599 if (temp1)
8600 delete arg1;
8601 }
8602 {
8603 if (temp2)
8604 delete arg2;
8605 }
8606 return NULL;
8607 }
8608
8609
8610 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj;
8612 wxLogNull *result;
8613 char *kwnames[] = {
8614 NULL
8615 };
8616
8617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (wxLogNull *)new wxLogNull();
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxLogNull *arg1 = (wxLogNull *) 0 ;
8635 PyObject * obj0 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 delete arg1;
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 Py_INCREF(Py_None); resultobj = Py_None;
8651 return resultobj;
8652 fail:
8653 return NULL;
8654 }
8655
8656
8657 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8658 PyObject *obj;
8659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8660 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8661 Py_INCREF(obj);
8662 return Py_BuildValue((char *)"");
8663 }
8664 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj;
8666 wxPyLog *result;
8667 char *kwnames[] = {
8668 NULL
8669 };
8670
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (wxPyLog *)new wxPyLog();
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyLog *arg1 = (wxPyLog *) 0 ;
8689 PyObject *arg2 = (PyObject *) 0 ;
8690 PyObject *arg3 = (PyObject *) 0 ;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 PyObject * obj2 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "self",(char *) "_class", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8701 arg2 = obj1;
8702 arg3 = obj2;
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 (arg1)->_setCallbackInfo(arg2,arg3);
8706
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 Py_INCREF(Py_None); resultobj = Py_None;
8711 return resultobj;
8712 fail:
8713 return NULL;
8714 }
8715
8716
8717 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8718 PyObject *obj;
8719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8720 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8721 Py_INCREF(obj);
8722 return Py_BuildValue((char *)"");
8723 }
8724 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 int arg1 ;
8727 int arg2 = (int) wxSIGTERM ;
8728 int result;
8729 PyObject * obj0 = 0 ;
8730 PyObject * obj1 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "pid",(char *) "sig", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8736 arg1 = (int) SWIG_AsInt(obj0);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 if (obj1) {
8739 arg2 = (wxSignal) SWIG_AsInt(obj1);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
8744 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8745
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 resultobj = SWIG_FromInt((int)result);
8750 return resultobj;
8751 fail:
8752 return NULL;
8753 }
8754
8755
8756 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj;
8758 int arg1 ;
8759 bool result;
8760 PyObject * obj0 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "pid", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8766 arg1 = (int) SWIG_AsInt(obj0);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (bool)wxPyProcess::Exists(arg1);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 {
8776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8777 }
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxString *arg1 = 0 ;
8787 int arg2 = (int) wxEXEC_ASYNC ;
8788 wxPyProcess *result;
8789 bool temp1 = False ;
8790 PyObject * obj0 = 0 ;
8791 PyObject * obj1 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "cmd",(char *) "flags", NULL
8794 };
8795
8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8797 {
8798 arg1 = wxString_in_helper(obj0);
8799 if (arg1 == NULL) SWIG_fail;
8800 temp1 = True;
8801 }
8802 if (obj1) {
8803 arg2 = (int) SWIG_AsInt(obj1);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
8814 {
8815 if (temp1)
8816 delete arg1;
8817 }
8818 return resultobj;
8819 fail:
8820 {
8821 if (temp1)
8822 delete arg1;
8823 }
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8831 int arg2 = (int) -1 ;
8832 wxPyProcess *result;
8833 PyObject * obj0 = 0 ;
8834 PyObject * obj1 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "parent",(char *) "id", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8840 if (obj0) {
8841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8843 }
8844 if (obj1) {
8845 arg2 = (int) SWIG_AsInt(obj1);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
8856 return resultobj;
8857 fail:
8858 return NULL;
8859 }
8860
8861
8862 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8865 PyObject *arg2 = (PyObject *) 0 ;
8866 PyObject *arg3 = (PyObject *) 0 ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 PyObject * obj2 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "self",(char *) "_class", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8877 arg2 = obj1;
8878 arg3 = obj2;
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->_setCallbackInfo(arg2,arg3);
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8896 int arg2 ;
8897 int arg3 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 PyObject * obj2 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self",(char *) "pid",(char *) "status", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8908 arg2 = (int) SWIG_AsInt(obj1);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 arg3 = (int) SWIG_AsInt(obj2);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 {
8913 PyThreadState* __tstate = wxPyBeginAllowThreads();
8914 (arg1)->base_OnTerminate(arg2,arg3);
8915
8916 wxPyEndAllowThreads(__tstate);
8917 if (PyErr_Occurred()) SWIG_fail;
8918 }
8919 Py_INCREF(Py_None); resultobj = Py_None;
8920 return resultobj;
8921 fail:
8922 return NULL;
8923 }
8924
8925
8926 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8927 PyObject *resultobj;
8928 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8929 PyObject * obj0 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8937 {
8938 PyThreadState* __tstate = wxPyBeginAllowThreads();
8939 (arg1)->Redirect();
8940
8941 wxPyEndAllowThreads(__tstate);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 }
8944 Py_INCREF(Py_None); resultobj = Py_None;
8945 return resultobj;
8946 fail:
8947 return NULL;
8948 }
8949
8950
8951 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject *resultobj;
8953 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8954 bool result;
8955 PyObject * obj0 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 {
8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
8965 result = (bool)(arg1)->IsRedirected();
8966
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 {
8971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8972 }
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8982 PyObject * obj0 = 0 ;
8983 char *kwnames[] = {
8984 (char *) "self", NULL
8985 };
8986
8987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->Detach();
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 return resultobj;
8999 fail:
9000 return NULL;
9001 }
9002
9003
9004 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9007 wxInputStream *result;
9008 PyObject * obj0 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 {
9017 PyThreadState* __tstate = wxPyBeginAllowThreads();
9018 result = (wxInputStream *)(arg1)->GetInputStream();
9019
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 {
9024 wxPyInputStream * _ptr = NULL;
9025
9026 if (result) {
9027 _ptr = new wxPyInputStream(result);
9028 }
9029 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9030 }
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9040 wxInputStream *result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = (wxInputStream *)(arg1)->GetErrorStream();
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 {
9057 wxPyInputStream * _ptr = NULL;
9058
9059 if (result) {
9060 _ptr = new wxPyInputStream(result);
9061 }
9062 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9063 }
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9073 wxOutputStream *result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (wxOutputStream *)(arg1)->GetOutputStream();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9099 PyObject * obj0 = 0 ;
9100 char *kwnames[] = {
9101 (char *) "self", NULL
9102 };
9103
9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 (arg1)->CloseOutput();
9110
9111 wxPyEndAllowThreads(__tstate);
9112 if (PyErr_Occurred()) SWIG_fail;
9113 }
9114 Py_INCREF(Py_None); resultobj = Py_None;
9115 return resultobj;
9116 fail:
9117 return NULL;
9118 }
9119
9120
9121 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
9122 PyObject *resultobj;
9123 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9124 bool result;
9125 PyObject * obj0 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 {
9141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9142 }
9143 return resultobj;
9144 fail:
9145 return NULL;
9146 }
9147
9148
9149 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj;
9151 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9152 bool result;
9153 PyObject * obj0 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self", NULL
9156 };
9157
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 {
9169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9170 }
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9180 bool result;
9181 PyObject * obj0 = 0 ;
9182 char *kwnames[] = {
9183 (char *) "self", NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 {
9197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9198 }
9199 return resultobj;
9200 fail:
9201 return NULL;
9202 }
9203
9204
9205 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9206 PyObject *obj;
9207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9208 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9209 Py_INCREF(obj);
9210 return Py_BuildValue((char *)"");
9211 }
9212 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj;
9214 int arg1 = (int) 0 ;
9215 int arg2 = (int) 0 ;
9216 int arg3 = (int) 0 ;
9217 wxProcessEvent *result;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 PyObject * obj2 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9226 if (obj0) {
9227 arg1 = (int) SWIG_AsInt(obj0);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 if (obj1) {
9231 arg2 = (int) SWIG_AsInt(obj1);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 if (obj2) {
9235 arg3 = (int) SWIG_AsInt(obj2);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9255 int result;
9256 PyObject * obj0 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (int)(arg1)->GetPid();
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_FromInt((int)result);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9281 int result;
9282 PyObject * obj0 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (int)(arg1)->GetExitCode();
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_FromInt((int)result);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9307 int arg2 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 char *kwnames[] = {
9311 (char *) "self",(char *) "m_pid", NULL
9312 };
9313
9314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9317 arg2 = (int) SWIG_AsInt(obj1);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 if (arg1) (arg1)->m_pid = arg2;
9320
9321 Py_INCREF(Py_None); resultobj = Py_None;
9322 return resultobj;
9323 fail:
9324 return NULL;
9325 }
9326
9327
9328 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9331 int result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9340 result = (int) ((arg1)->m_pid);
9341
9342 resultobj = SWIG_FromInt((int)result);
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9352 int arg2 ;
9353 PyObject * obj0 = 0 ;
9354 PyObject * obj1 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self",(char *) "m_exitcode", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9362 arg2 = (int) SWIG_AsInt(obj1);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 if (arg1) (arg1)->m_exitcode = arg2;
9365
9366 Py_INCREF(Py_None); resultobj = Py_None;
9367 return resultobj;
9368 fail:
9369 return NULL;
9370 }
9371
9372
9373 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9376 int result;
9377 PyObject * obj0 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9385 result = (int) ((arg1)->m_exitcode);
9386
9387 resultobj = SWIG_FromInt((int)result);
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9395 PyObject *obj;
9396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9397 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9398 Py_INCREF(obj);
9399 return Py_BuildValue((char *)"");
9400 }
9401 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxString *arg1 = 0 ;
9404 int arg2 = (int) wxEXEC_ASYNC ;
9405 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9406 long result;
9407 bool temp1 = False ;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 PyObject * obj2 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "command",(char *) "flags",(char *) "process", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9416 {
9417 arg1 = wxString_in_helper(obj0);
9418 if (arg1 == NULL) SWIG_fail;
9419 temp1 = True;
9420 }
9421 if (obj1) {
9422 arg2 = (int) SWIG_AsInt(obj1);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 if (obj2) {
9426 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 resultobj = SWIG_FromLong((long)result);
9437 {
9438 if (temp1)
9439 delete arg1;
9440 }
9441 return resultobj;
9442 fail:
9443 {
9444 if (temp1)
9445 delete arg1;
9446 }
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 int arg1 = (int) wxJOYSTICK1 ;
9454 wxJoystick *result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "joystick", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9461 if (obj0) {
9462 arg1 = (int) SWIG_AsInt(obj0);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 {
9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
9467 result = (wxJoystick *)new wxJoystick(arg1);
9468
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 wxJoystick *arg1 = (wxJoystick *) 0 ;
9482 PyObject * obj0 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9490 {
9491 PyThreadState* __tstate = wxPyBeginAllowThreads();
9492 delete arg1;
9493
9494 wxPyEndAllowThreads(__tstate);
9495 if (PyErr_Occurred()) SWIG_fail;
9496 }
9497 Py_INCREF(Py_None); resultobj = Py_None;
9498 return resultobj;
9499 fail:
9500 return NULL;
9501 }
9502
9503
9504 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxJoystick *arg1 = (wxJoystick *) 0 ;
9507 wxPoint result;
9508 PyObject * obj0 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = (arg1)->GetPosition();
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 {
9524 wxPoint * resultptr;
9525 resultptr = new wxPoint((wxPoint &) result);
9526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9527 }
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxJoystick *arg1 = (wxJoystick *) 0 ;
9537 int result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 result = (int)(arg1)->GetZPosition();
9549
9550 wxPyEndAllowThreads(__tstate);
9551 if (PyErr_Occurred()) SWIG_fail;
9552 }
9553 resultobj = SWIG_FromInt((int)result);
9554 return resultobj;
9555 fail:
9556 return NULL;
9557 }
9558
9559
9560 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9561 PyObject *resultobj;
9562 wxJoystick *arg1 = (wxJoystick *) 0 ;
9563 int result;
9564 PyObject * obj0 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (int)(arg1)->GetButtonState();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = SWIG_FromInt((int)result);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (int)(arg1)->GetPOVPosition();
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 resultobj = SWIG_FromInt((int)result);
9606 return resultobj;
9607 fail:
9608 return NULL;
9609 }
9610
9611
9612 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxJoystick *arg1 = (wxJoystick *) 0 ;
9615 int result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (int)(arg1)->GetPOVCTSPosition();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_FromInt((int)result);
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxJoystick *arg1 = (wxJoystick *) 0 ;
9641 int result;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (int)(arg1)->GetRudderPosition();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 resultobj = SWIG_FromInt((int)result);
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxJoystick *arg1 = (wxJoystick *) 0 ;
9667 int result;
9668 PyObject * obj0 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 result = (int)(arg1)->GetUPosition();
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 resultobj = SWIG_FromInt((int)result);
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxJoystick *arg1 = (wxJoystick *) 0 ;
9693 int result;
9694 PyObject * obj0 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (int)(arg1)->GetVPosition();
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = SWIG_FromInt((int)result);
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxJoystick *arg1 = (wxJoystick *) 0 ;
9719 int result;
9720 PyObject * obj0 = 0 ;
9721 char *kwnames[] = {
9722 (char *) "self", NULL
9723 };
9724
9725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (int)(arg1)->GetMovementThreshold();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_FromInt((int)result);
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxJoystick *arg1 = (wxJoystick *) 0 ;
9745 int arg2 ;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "threshold", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9755 arg2 = (int) SWIG_AsInt(obj1);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 (arg1)->SetMovementThreshold(arg2);
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 Py_INCREF(Py_None); resultobj = Py_None;
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxJoystick *arg1 = (wxJoystick *) 0 ;
9774 bool result;
9775 PyObject * obj0 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "self", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (bool)(arg1)->IsOk();
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 {
9791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9792 }
9793 return resultobj;
9794 fail:
9795 return NULL;
9796 }
9797
9798
9799 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxJoystick *arg1 = (wxJoystick *) 0 ;
9802 int result;
9803 PyObject * obj0 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 result = (int)(arg1)->GetNumberJoysticks();
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 resultobj = SWIG_FromInt((int)result);
9819 return resultobj;
9820 fail:
9821 return NULL;
9822 }
9823
9824
9825 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9826 PyObject *resultobj;
9827 wxJoystick *arg1 = (wxJoystick *) 0 ;
9828 int result;
9829 PyObject * obj0 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (int)(arg1)->GetManufacturerId();
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = SWIG_FromInt((int)result);
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9852 PyObject *resultobj;
9853 wxJoystick *arg1 = (wxJoystick *) 0 ;
9854 int result;
9855 PyObject * obj0 = 0 ;
9856 char *kwnames[] = {
9857 (char *) "self", NULL
9858 };
9859
9860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 result = (int)(arg1)->GetProductId();
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 resultobj = SWIG_FromInt((int)result);
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxJoystick *arg1 = (wxJoystick *) 0 ;
9880 wxString result;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (arg1)->GetProductName();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 {
9897 #if wxUSE_UNICODE
9898 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9899 #else
9900 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9901 #endif
9902 }
9903 return resultobj;
9904 fail:
9905 return NULL;
9906 }
9907
9908
9909 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject *resultobj;
9911 wxJoystick *arg1 = (wxJoystick *) 0 ;
9912 int result;
9913 PyObject * obj0 = 0 ;
9914 char *kwnames[] = {
9915 (char *) "self", NULL
9916 };
9917
9918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = (int)(arg1)->GetXMin();
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 resultobj = SWIG_FromInt((int)result);
9929 return resultobj;
9930 fail:
9931 return NULL;
9932 }
9933
9934
9935 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj;
9937 wxJoystick *arg1 = (wxJoystick *) 0 ;
9938 int result;
9939 PyObject * obj0 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "self", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (int)(arg1)->GetYMin();
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 resultobj = SWIG_FromInt((int)result);
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxJoystick *arg1 = (wxJoystick *) 0 ;
9964 int result;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 result = (int)(arg1)->GetZMin();
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) SWIG_fail;
9979 }
9980 resultobj = SWIG_FromInt((int)result);
9981 return resultobj;
9982 fail:
9983 return NULL;
9984 }
9985
9986
9987 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9988 PyObject *resultobj;
9989 wxJoystick *arg1 = (wxJoystick *) 0 ;
9990 int result;
9991 PyObject * obj0 = 0 ;
9992 char *kwnames[] = {
9993 (char *) "self", NULL
9994 };
9995
9996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (int)(arg1)->GetXMax();
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = SWIG_FromInt((int)result);
10007 return resultobj;
10008 fail:
10009 return NULL;
10010 }
10011
10012
10013 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject *resultobj;
10015 wxJoystick *arg1 = (wxJoystick *) 0 ;
10016 int result;
10017 PyObject * obj0 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 result = (int)(arg1)->GetYMax();
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 resultobj = SWIG_FromInt((int)result);
10033 return resultobj;
10034 fail:
10035 return NULL;
10036 }
10037
10038
10039 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj;
10041 wxJoystick *arg1 = (wxJoystick *) 0 ;
10042 int result;
10043 PyObject * obj0 = 0 ;
10044 char *kwnames[] = {
10045 (char *) "self", NULL
10046 };
10047
10048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 result = (int)(arg1)->GetZMax();
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 resultobj = SWIG_FromInt((int)result);
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxJoystick *arg1 = (wxJoystick *) 0 ;
10068 int result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (int)(arg1)->GetNumberButtons();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 resultobj = SWIG_FromInt((int)result);
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxJoystick *arg1 = (wxJoystick *) 0 ;
10094 int result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)(arg1)->GetNumberAxes();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_FromInt((int)result);
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxJoystick *arg1 = (wxJoystick *) 0 ;
10120 int result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)(arg1)->GetMaxButtons();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_FromInt((int)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxJoystick *arg1 = (wxJoystick *) 0 ;
10146 int result;
10147 PyObject * obj0 = 0 ;
10148 char *kwnames[] = {
10149 (char *) "self", NULL
10150 };
10151
10152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (int)(arg1)->GetMaxAxes();
10158
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 resultobj = SWIG_FromInt((int)result);
10163 return resultobj;
10164 fail:
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj;
10171 wxJoystick *arg1 = (wxJoystick *) 0 ;
10172 int result;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = (int)(arg1)->GetPollingMin();
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = SWIG_FromInt((int)result);
10189 return resultobj;
10190 fail:
10191 return NULL;
10192 }
10193
10194
10195 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10196 PyObject *resultobj;
10197 wxJoystick *arg1 = (wxJoystick *) 0 ;
10198 int result;
10199 PyObject * obj0 = 0 ;
10200 char *kwnames[] = {
10201 (char *) "self", NULL
10202 };
10203
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (int)(arg1)->GetPollingMax();
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_FromInt((int)result);
10215 return resultobj;
10216 fail:
10217 return NULL;
10218 }
10219
10220
10221 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxJoystick *arg1 = (wxJoystick *) 0 ;
10224 int result;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (int)(arg1)->GetRudderMin();
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 resultobj = SWIG_FromInt((int)result);
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxJoystick *arg1 = (wxJoystick *) 0 ;
10250 int result;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 result = (int)(arg1)->GetRudderMax();
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 resultobj = SWIG_FromInt((int)result);
10267 return resultobj;
10268 fail:
10269 return NULL;
10270 }
10271
10272
10273 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxJoystick *arg1 = (wxJoystick *) 0 ;
10276 int result;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (int)(arg1)->GetUMin();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 resultobj = SWIG_FromInt((int)result);
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxJoystick *arg1 = (wxJoystick *) 0 ;
10302 int result;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = (int)(arg1)->GetUMax();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_FromInt((int)result);
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxJoystick *arg1 = (wxJoystick *) 0 ;
10328 int result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (int)(arg1)->GetVMin();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_FromInt((int)result);
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxJoystick *arg1 = (wxJoystick *) 0 ;
10354 int result;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 result = (int)(arg1)->GetVMax();
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 resultobj = SWIG_FromInt((int)result);
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxJoystick *arg1 = (wxJoystick *) 0 ;
10380 bool result;
10381 PyObject * obj0 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10389 {
10390 PyThreadState* __tstate = wxPyBeginAllowThreads();
10391 result = (bool)(arg1)->HasRudder();
10392
10393 wxPyEndAllowThreads(__tstate);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 }
10396 {
10397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10398 }
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxJoystick *arg1 = (wxJoystick *) 0 ;
10408 bool result;
10409 PyObject * obj0 = 0 ;
10410 char *kwnames[] = {
10411 (char *) "self", NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 result = (bool)(arg1)->HasZ();
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 {
10425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10426 }
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxJoystick *arg1 = (wxJoystick *) 0 ;
10436 bool result;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (bool)(arg1)->HasU();
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 return resultobj;
10456 fail:
10457 return NULL;
10458 }
10459
10460
10461 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10462 PyObject *resultobj;
10463 wxJoystick *arg1 = (wxJoystick *) 0 ;
10464 bool result;
10465 PyObject * obj0 = 0 ;
10466 char *kwnames[] = {
10467 (char *) "self", NULL
10468 };
10469
10470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = (bool)(arg1)->HasV();
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 {
10481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10482 }
10483 return resultobj;
10484 fail:
10485 return NULL;
10486 }
10487
10488
10489 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxJoystick *arg1 = (wxJoystick *) 0 ;
10492 bool result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)(arg1)->HasPOV();
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 {
10509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10510 }
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxJoystick *arg1 = (wxJoystick *) 0 ;
10520 bool result;
10521 PyObject * obj0 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (bool)(arg1)->HasPOV4Dir();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10538 }
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxJoystick *arg1 = (wxJoystick *) 0 ;
10548 bool result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (bool)(arg1)->HasPOVCTS();
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 {
10565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10566 }
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxJoystick *arg1 = (wxJoystick *) 0 ;
10576 wxWindow *arg2 = (wxWindow *) 0 ;
10577 int arg3 = (int) 0 ;
10578 bool result;
10579 PyObject * obj0 = 0 ;
10580 PyObject * obj1 = 0 ;
10581 PyObject * obj2 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10591 if (obj2) {
10592 arg3 = (int) SWIG_AsInt(obj2);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (bool)(arg1)->SetCapture(arg2,arg3);
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 {
10603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10604 }
10605 return resultobj;
10606 fail:
10607 return NULL;
10608 }
10609
10610
10611 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject *resultobj;
10613 wxJoystick *arg1 = (wxJoystick *) 0 ;
10614 bool result;
10615 PyObject * obj0 = 0 ;
10616 char *kwnames[] = {
10617 (char *) "self", NULL
10618 };
10619
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (bool)(arg1)->ReleaseCapture();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 {
10631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10632 }
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10640 PyObject *obj;
10641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10642 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10643 Py_INCREF(obj);
10644 return Py_BuildValue((char *)"");
10645 }
10646 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10647 PyObject *resultobj;
10648 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10649 wxPoint *arg2 = (wxPoint *) 0 ;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "m_pos", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10661 if (arg1) (arg1)->m_pos = *arg2;
10662
10663 Py_INCREF(Py_None); resultobj = Py_None;
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10673 wxPoint *result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 result = (wxPoint *)& ((arg1)->m_pos);
10683
10684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj;
10693 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10694 int arg2 ;
10695 PyObject * obj0 = 0 ;
10696 PyObject * obj1 = 0 ;
10697 char *kwnames[] = {
10698 (char *) "self",(char *) "m_zPosition", NULL
10699 };
10700
10701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10704 arg2 = (int) SWIG_AsInt(obj1);
10705 if (PyErr_Occurred()) SWIG_fail;
10706 if (arg1) (arg1)->m_zPosition = arg2;
10707
10708 Py_INCREF(Py_None); resultobj = Py_None;
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10718 int result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10727 result = (int) ((arg1)->m_zPosition);
10728
10729 resultobj = SWIG_FromInt((int)result);
10730 return resultobj;
10731 fail:
10732 return NULL;
10733 }
10734
10735
10736 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10737 PyObject *resultobj;
10738 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10739 int arg2 ;
10740 PyObject * obj0 = 0 ;
10741 PyObject * obj1 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self",(char *) "m_buttonChange", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10749 arg2 = (int) SWIG_AsInt(obj1);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 if (arg1) (arg1)->m_buttonChange = arg2;
10752
10753 Py_INCREF(Py_None); resultobj = Py_None;
10754 return resultobj;
10755 fail:
10756 return NULL;
10757 }
10758
10759
10760 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10761 PyObject *resultobj;
10762 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10763 int result;
10764 PyObject * obj0 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 result = (int) ((arg1)->m_buttonChange);
10773
10774 resultobj = SWIG_FromInt((int)result);
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10784 int arg2 ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "m_buttonState", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 arg2 = (int) SWIG_AsInt(obj1);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 if (arg1) (arg1)->m_buttonState = arg2;
10797
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802 }
10803
10804
10805 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj;
10807 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10808 int result;
10809 PyObject * obj0 = 0 ;
10810 char *kwnames[] = {
10811 (char *) "self", NULL
10812 };
10813
10814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10817 result = (int) ((arg1)->m_buttonState);
10818
10819 resultobj = SWIG_FromInt((int)result);
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10829 int arg2 ;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "m_joyStick", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10839 arg2 = (int) SWIG_AsInt(obj1);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 if (arg1) (arg1)->m_joyStick = arg2;
10842
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10853 int result;
10854 PyObject * obj0 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10862 result = (int) ((arg1)->m_joyStick);
10863
10864 resultobj = SWIG_FromInt((int)result);
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10874 int arg2 = (int) 0 ;
10875 int arg3 = (int) wxJOYSTICK1 ;
10876 int arg4 = (int) 0 ;
10877 wxJoystickEvent *result;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj1 = 0 ;
10880 PyObject * obj2 = 0 ;
10881 PyObject * obj3 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10887 if (obj0) {
10888 arg1 = (wxEventType) SWIG_AsInt(obj0);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 }
10891 if (obj1) {
10892 arg2 = (int) SWIG_AsInt(obj1);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 if (obj2) {
10896 arg3 = (int) SWIG_AsInt(obj2);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 if (obj3) {
10900 arg4 = (int) SWIG_AsInt(obj3);
10901 if (PyErr_Occurred()) SWIG_fail;
10902 }
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10920 wxPoint result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 {
10937 wxPoint * resultptr;
10938 resultptr = new wxPoint((wxPoint &) result);
10939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10940 }
10941 return resultobj;
10942 fail:
10943 return NULL;
10944 }
10945
10946
10947 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10950 int result;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 resultobj = SWIG_FromInt((int)result);
10967 return resultobj;
10968 fail:
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10976 int result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 resultobj = SWIG_FromInt((int)result);
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11002 int result;
11003 PyObject * obj0 = 0 ;
11004 char *kwnames[] = {
11005 (char *) "self", NULL
11006 };
11007
11008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
11009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11011 {
11012 PyThreadState* __tstate = wxPyBeginAllowThreads();
11013 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
11014
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 resultobj = SWIG_FromInt((int)result);
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11028 int result;
11029 PyObject * obj0 = 0 ;
11030 char *kwnames[] = {
11031 (char *) "self", NULL
11032 };
11033
11034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11040
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 resultobj = SWIG_FromInt((int)result);
11045 return resultobj;
11046 fail:
11047 return NULL;
11048 }
11049
11050
11051 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
11052 PyObject *resultobj;
11053 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11054 int arg2 ;
11055 PyObject * obj0 = 0 ;
11056 PyObject * obj1 = 0 ;
11057 char *kwnames[] = {
11058 (char *) "self",(char *) "stick", NULL
11059 };
11060
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11064 arg2 = (int) SWIG_AsInt(obj1);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 {
11067 PyThreadState* __tstate = wxPyBeginAllowThreads();
11068 (arg1)->SetJoystick(arg2);
11069
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 Py_INCREF(Py_None); resultobj = Py_None;
11074 return resultobj;
11075 fail:
11076 return NULL;
11077 }
11078
11079
11080 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11083 int arg2 ;
11084 PyObject * obj0 = 0 ;
11085 PyObject * obj1 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "self",(char *) "state", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11093 arg2 = (int) SWIG_AsInt(obj1);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 (arg1)->SetButtonState(arg2);
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 Py_INCREF(Py_None); resultobj = Py_None;
11103 return resultobj;
11104 fail:
11105 return NULL;
11106 }
11107
11108
11109 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
11110 PyObject *resultobj;
11111 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11112 int arg2 ;
11113 PyObject * obj0 = 0 ;
11114 PyObject * obj1 = 0 ;
11115 char *kwnames[] = {
11116 (char *) "self",(char *) "change", NULL
11117 };
11118
11119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11122 arg2 = (int) SWIG_AsInt(obj1);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->SetButtonChange(arg2);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11141 wxPoint *arg2 = 0 ;
11142 wxPoint temp2 ;
11143 PyObject * obj0 = 0 ;
11144 PyObject * obj1 = 0 ;
11145 char *kwnames[] = {
11146 (char *) "self",(char *) "pos", NULL
11147 };
11148
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11152 {
11153 arg2 = &temp2;
11154 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11155 }
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 (arg1)->SetPosition((wxPoint const &)*arg2);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 Py_INCREF(Py_None); resultobj = Py_None;
11164 return resultobj;
11165 fail:
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject *resultobj;
11172 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11173 int arg2 ;
11174 PyObject * obj0 = 0 ;
11175 PyObject * obj1 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "zPos", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11183 arg2 = (int) SWIG_AsInt(obj1);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 {
11186 PyThreadState* __tstate = wxPyBeginAllowThreads();
11187 (arg1)->SetZPosition(arg2);
11188
11189 wxPyEndAllowThreads(__tstate);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 Py_INCREF(Py_None); resultobj = Py_None;
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11202 bool result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11214
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 {
11219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11220 }
11221 return resultobj;
11222 fail:
11223 return NULL;
11224 }
11225
11226
11227 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj;
11229 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11230 bool result;
11231 PyObject * obj0 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 {
11247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11248 }
11249 return resultobj;
11250 fail:
11251 return NULL;
11252 }
11253
11254
11255 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject *resultobj;
11257 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11258 bool result;
11259 PyObject * obj0 = 0 ;
11260 char *kwnames[] = {
11261 (char *) "self", NULL
11262 };
11263
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 {
11275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11276 }
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11286 int arg2 = (int) wxJOY_BUTTON_ANY ;
11287 bool result;
11288 PyObject * obj0 = 0 ;
11289 PyObject * obj1 = 0 ;
11290 char *kwnames[] = {
11291 (char *) "self",(char *) "but", NULL
11292 };
11293
11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11297 if (obj1) {
11298 arg2 = (int) SWIG_AsInt(obj1);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 {
11309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11310 }
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11320 int arg2 = (int) wxJOY_BUTTON_ANY ;
11321 bool result;
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 char *kwnames[] = {
11325 (char *) "self",(char *) "but", NULL
11326 };
11327
11328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11331 if (obj1) {
11332 arg2 = (int) SWIG_AsInt(obj1);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 {
11343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11344 }
11345 return resultobj;
11346 fail:
11347 return NULL;
11348 }
11349
11350
11351 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject *resultobj;
11353 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11354 int arg2 = (int) wxJOY_BUTTON_ANY ;
11355 bool result;
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 char *kwnames[] = {
11359 (char *) "self",(char *) "but", NULL
11360 };
11361
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11365 if (obj1) {
11366 arg2 = (int) SWIG_AsInt(obj1);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11372
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 {
11377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11378 }
11379 return resultobj;
11380 fail:
11381 return NULL;
11382 }
11383
11384
11385 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11386 PyObject *obj;
11387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11388 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11389 Py_INCREF(obj);
11390 return Py_BuildValue((char *)"");
11391 }
11392 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11393 PyObject *resultobj;
11394 wxSound *result;
11395
11396 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 result = (wxSound *)new wxSound();
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11405 return resultobj;
11406 fail:
11407 return NULL;
11408 }
11409
11410
11411 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
11412 PyObject *resultobj;
11413 wxString *arg1 = 0 ;
11414 bool arg2 = (bool) false ;
11415 wxSound *result;
11416 bool temp1 = False ;
11417 PyObject * obj0 = 0 ;
11418 PyObject * obj1 = 0 ;
11419
11420 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11421 {
11422 arg1 = wxString_in_helper(obj0);
11423 if (arg1 == NULL) SWIG_fail;
11424 temp1 = True;
11425 }
11426 if (obj1) {
11427 arg2 = (bool) SWIG_AsBool(obj1);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
11432 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11438 {
11439 if (temp1)
11440 delete arg1;
11441 }
11442 return resultobj;
11443 fail:
11444 {
11445 if (temp1)
11446 delete arg1;
11447 }
11448 return NULL;
11449 }
11450
11451
11452 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
11453 PyObject *resultobj;
11454 int arg1 ;
11455 wxByte *arg2 = (wxByte *) 0 ;
11456 wxSound *result;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459
11460 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11461 arg1 = (int) SWIG_AsInt(obj0);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11480 int argc;
11481 PyObject *argv[3];
11482 int ii;
11483
11484 argc = PyObject_Length(args);
11485 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11486 argv[ii] = PyTuple_GetItem(args,ii);
11487 }
11488 if (argc == 0) {
11489 return _wrap_new_Sound__SWIG_0(self,args);
11490 }
11491 if ((argc >= 1) && (argc <= 2)) {
11492 int _v;
11493 {
11494 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11495 }
11496 if (_v) {
11497 if (argc <= 1) {
11498 return _wrap_new_Sound__SWIG_1(self,args);
11499 }
11500 _v = SWIG_CheckBool(argv[1]);
11501 if (_v) {
11502 return _wrap_new_Sound__SWIG_1(self,args);
11503 }
11504 }
11505 }
11506 if (argc == 2) {
11507 int _v;
11508 _v = SWIG_CheckInt(argv[0]);
11509 if (_v) {
11510 {
11511 void *ptr;
11512 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11513 _v = 0;
11514 PyErr_Clear();
11515 } else {
11516 _v = 1;
11517 }
11518 }
11519 if (_v) {
11520 return _wrap_new_Sound__SWIG_2(self,args);
11521 }
11522 }
11523 }
11524
11525 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxSound *arg1 = (wxSound *) 0 ;
11533 PyObject * obj0 = 0 ;
11534 char *kwnames[] = {
11535 (char *) "self", NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11541 {
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 delete arg1;
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 Py_INCREF(Py_None); resultobj = Py_None;
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
11556 PyObject *resultobj;
11557 wxSound *arg1 = (wxSound *) 0 ;
11558 wxString *arg2 = 0 ;
11559 bool arg3 = (bool) false ;
11560 bool result;
11561 bool temp2 = False ;
11562 PyObject * obj0 = 0 ;
11563 PyObject * obj1 = 0 ;
11564 PyObject * obj2 = 0 ;
11565
11566 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11569 {
11570 arg2 = wxString_in_helper(obj1);
11571 if (arg2 == NULL) SWIG_fail;
11572 temp2 = True;
11573 }
11574 if (obj2) {
11575 arg3 = (bool) SWIG_AsBool(obj2);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 {
11586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11587 }
11588 {
11589 if (temp2)
11590 delete arg2;
11591 }
11592 return resultobj;
11593 fail:
11594 {
11595 if (temp2)
11596 delete arg2;
11597 }
11598 return NULL;
11599 }
11600
11601
11602 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
11603 PyObject *resultobj;
11604 wxSound *arg1 = (wxSound *) 0 ;
11605 int arg2 ;
11606 wxByte *arg3 = (wxByte *) 0 ;
11607 bool result;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 PyObject * obj2 = 0 ;
11611
11612 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11615 arg2 = (int) SWIG_AsInt(obj1);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 result = (bool)wxSound_Create__SWIG_1(arg1,arg2,(wxByte const *)arg3);
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 {
11627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11628 }
11629 return resultobj;
11630 fail:
11631 return NULL;
11632 }
11633
11634
11635 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11636 int argc;
11637 PyObject *argv[4];
11638 int ii;
11639
11640 argc = PyObject_Length(args);
11641 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11642 argv[ii] = PyTuple_GetItem(args,ii);
11643 }
11644 if ((argc >= 2) && (argc <= 3)) {
11645 int _v;
11646 {
11647 void *ptr;
11648 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11649 _v = 0;
11650 PyErr_Clear();
11651 } else {
11652 _v = 1;
11653 }
11654 }
11655 if (_v) {
11656 {
11657 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11658 }
11659 if (_v) {
11660 if (argc <= 2) {
11661 return _wrap_Sound_Create__SWIG_0(self,args);
11662 }
11663 _v = SWIG_CheckBool(argv[2]);
11664 if (_v) {
11665 return _wrap_Sound_Create__SWIG_0(self,args);
11666 }
11667 }
11668 }
11669 }
11670 if (argc == 3) {
11671 int _v;
11672 {
11673 void *ptr;
11674 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11675 _v = 0;
11676 PyErr_Clear();
11677 } else {
11678 _v = 1;
11679 }
11680 }
11681 if (_v) {
11682 _v = SWIG_CheckInt(argv[1]);
11683 if (_v) {
11684 {
11685 void *ptr;
11686 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11687 _v = 0;
11688 PyErr_Clear();
11689 } else {
11690 _v = 1;
11691 }
11692 }
11693 if (_v) {
11694 return _wrap_Sound_Create__SWIG_1(self,args);
11695 }
11696 }
11697 }
11698 }
11699
11700 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11701 return NULL;
11702 }
11703
11704
11705 static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxSound *arg1 = (wxSound *) 0 ;
11708 bool result;
11709 PyObject * obj0 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 result = (bool)(arg1)->IsOk();
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 {
11725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11726 }
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11734 PyObject *resultobj;
11735 wxSound *arg1 = (wxSound *) 0 ;
11736 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11737 bool result;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740
11741 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11744 if (obj1) {
11745 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (bool)((wxSound const *)arg1)->Play(arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 {
11756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11757 }
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11765 PyObject *resultobj;
11766 wxString *arg1 = 0 ;
11767 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11768 bool result;
11769 bool temp1 = False ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772
11773 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11774 {
11775 arg1 = wxString_in_helper(obj0);
11776 if (arg1 == NULL) SWIG_fail;
11777 temp1 = True;
11778 }
11779 if (obj1) {
11780 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 {
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11786
11787 wxPyEndAllowThreads(__tstate);
11788 if (PyErr_Occurred()) SWIG_fail;
11789 }
11790 {
11791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11792 }
11793 {
11794 if (temp1)
11795 delete arg1;
11796 }
11797 return resultobj;
11798 fail:
11799 {
11800 if (temp1)
11801 delete arg1;
11802 }
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 char *kwnames[] = {
11810 NULL
11811 };
11812
11813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 Sound_Stop();
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 Py_INCREF(Py_None); resultobj = Py_None;
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11829 PyObject *obj;
11830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11831 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11832 Py_INCREF(obj);
11833 return Py_BuildValue((char *)"");
11834 }
11835 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject *resultobj;
11837 wxString *arg1 = 0 ;
11838 wxString *arg2 = 0 ;
11839 wxString *arg3 = 0 ;
11840 wxString *arg4 = 0 ;
11841 wxFileTypeInfo *result;
11842 bool temp1 = False ;
11843 bool temp2 = False ;
11844 bool temp3 = False ;
11845 bool temp4 = False ;
11846 PyObject * obj0 = 0 ;
11847 PyObject * obj1 = 0 ;
11848 PyObject * obj2 = 0 ;
11849 PyObject * obj3 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11855 {
11856 arg1 = wxString_in_helper(obj0);
11857 if (arg1 == NULL) SWIG_fail;
11858 temp1 = True;
11859 }
11860 {
11861 arg2 = wxString_in_helper(obj1);
11862 if (arg2 == NULL) SWIG_fail;
11863 temp2 = True;
11864 }
11865 {
11866 arg3 = wxString_in_helper(obj2);
11867 if (arg3 == NULL) SWIG_fail;
11868 temp3 = True;
11869 }
11870 {
11871 arg4 = wxString_in_helper(obj3);
11872 if (arg4 == NULL) SWIG_fail;
11873 temp4 = True;
11874 }
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11883 {
11884 if (temp1)
11885 delete arg1;
11886 }
11887 {
11888 if (temp2)
11889 delete arg2;
11890 }
11891 {
11892 if (temp3)
11893 delete arg3;
11894 }
11895 {
11896 if (temp4)
11897 delete arg4;
11898 }
11899 return resultobj;
11900 fail:
11901 {
11902 if (temp1)
11903 delete arg1;
11904 }
11905 {
11906 if (temp2)
11907 delete arg2;
11908 }
11909 {
11910 if (temp3)
11911 delete arg3;
11912 }
11913 {
11914 if (temp4)
11915 delete arg4;
11916 }
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxArrayString *arg1 = 0 ;
11924 wxFileTypeInfo *result;
11925 bool temp1 = False ;
11926 PyObject * obj0 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "sArray", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11932 {
11933 if (! PySequence_Check(obj0)) {
11934 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11935 SWIG_fail;
11936 }
11937 arg1 = new wxArrayString;
11938 temp1 = True;
11939 int i, len=PySequence_Length(obj0);
11940 for (i=0; i<len; i++) {
11941 PyObject* item = PySequence_GetItem(obj0, i);
11942 #if wxUSE_UNICODE
11943 PyObject* str = PyObject_Unicode(item);
11944 #else
11945 PyObject* str = PyObject_Str(item);
11946 #endif
11947 if (PyErr_Occurred()) SWIG_fail;
11948 arg1->Add(Py2wxString(str));
11949 Py_DECREF(item);
11950 Py_DECREF(str);
11951 }
11952 }
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11961 {
11962 if (temp1) delete arg1;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp1) delete arg1;
11968 }
11969 return NULL;
11970 }
11971
11972
11973 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxFileTypeInfo *result;
11976 char *kwnames[] = {
11977 NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11981 {
11982 PyThreadState* __tstate = wxPyBeginAllowThreads();
11983 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11984
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11998 bool result;
11999 PyObject * obj0 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
12005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12007 {
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) SWIG_fail;
12013 }
12014 {
12015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12016 }
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12026 wxString *arg2 = 0 ;
12027 int arg3 = (int) 0 ;
12028 bool temp2 = False ;
12029 PyObject * obj0 = 0 ;
12030 PyObject * obj1 = 0 ;
12031 PyObject * obj2 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12039 {
12040 arg2 = wxString_in_helper(obj1);
12041 if (arg2 == NULL) SWIG_fail;
12042 temp2 = True;
12043 }
12044 if (obj2) {
12045 arg3 = (int) SWIG_AsInt(obj2);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 Py_INCREF(Py_None); resultobj = Py_None;
12056 {
12057 if (temp2)
12058 delete arg2;
12059 }
12060 return resultobj;
12061 fail:
12062 {
12063 if (temp2)
12064 delete arg2;
12065 }
12066 return NULL;
12067 }
12068
12069
12070 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12071 PyObject *resultobj;
12072 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12073 wxString *arg2 = 0 ;
12074 bool temp2 = False ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char *kwnames[] = {
12078 (char *) "self",(char *) "shortDesc", NULL
12079 };
12080
12081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12084 {
12085 arg2 = wxString_in_helper(obj1);
12086 if (arg2 == NULL) SWIG_fail;
12087 temp2 = True;
12088 }
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetShortDesc((wxString const &)*arg2);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 {
12098 if (temp2)
12099 delete arg2;
12100 }
12101 return resultobj;
12102 fail:
12103 {
12104 if (temp2)
12105 delete arg2;
12106 }
12107 return NULL;
12108 }
12109
12110
12111 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12114 wxString *result;
12115 PyObject * obj0 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 {
12126 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12127 result = (wxString *) &_result_ref;
12128 }
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 {
12134 #if wxUSE_UNICODE
12135 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12136 #else
12137 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12138 #endif
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143 }
12144
12145
12146 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12147 PyObject *resultobj;
12148 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12149 wxString *result;
12150 PyObject * obj0 = 0 ;
12151 char *kwnames[] = {
12152 (char *) "self", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 {
12161 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12162 result = (wxString *) &_result_ref;
12163 }
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 #if wxUSE_UNICODE
12170 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12171 #else
12172 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12173 #endif
12174 }
12175 return resultobj;
12176 fail:
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12184 wxString *result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 {
12196 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12197 result = (wxString *) &_result_ref;
12198 }
12199
12200 wxPyEndAllowThreads(__tstate);
12201 if (PyErr_Occurred()) SWIG_fail;
12202 }
12203 {
12204 #if wxUSE_UNICODE
12205 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12206 #else
12207 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12208 #endif
12209 }
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12219 wxString *result;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 {
12231 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12232 result = (wxString *) &_result_ref;
12233 }
12234
12235 wxPyEndAllowThreads(__tstate);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 }
12238 {
12239 #if wxUSE_UNICODE
12240 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12241 #else
12242 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12243 #endif
12244 }
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12254 wxString *result;
12255 PyObject * obj0 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 {
12266 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12267 result = (wxString *) &_result_ref;
12268 }
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 #if wxUSE_UNICODE
12275 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12276 #else
12277 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12278 #endif
12279 }
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12289 wxArrayString *result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 {
12301 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12302 result = (wxArrayString *) &_result_ref;
12303 }
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 {
12309 resultobj = wxArrayString2PyList_helper(*result);
12310 }
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12320 int result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 resultobj = SWIG_FromInt((int)result);
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12346 wxString *result;
12347 PyObject * obj0 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 {
12358 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12359 result = (wxString *) &_result_ref;
12360 }
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 {
12366 #if wxUSE_UNICODE
12367 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12368 #else
12369 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12370 #endif
12371 }
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12381 int result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = SWIG_FromInt((int)result);
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12405 PyObject *obj;
12406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12407 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12408 Py_INCREF(obj);
12409 return Py_BuildValue((char *)"");
12410 }
12411 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxFileTypeInfo *arg1 = 0 ;
12414 wxFileType *result;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "ftInfo", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12422 SWIG_POINTER_EXCEPTION | 0)) == -1)
12423 SWIG_fail;
12424 if (arg1 == NULL) {
12425 PyErr_SetString(PyExc_TypeError,"null reference");
12426 SWIG_fail;
12427 }
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12436 return resultobj;
12437 fail:
12438 return NULL;
12439 }
12440
12441
12442 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12443 PyObject *resultobj;
12444 wxFileType *arg1 = (wxFileType *) 0 ;
12445 PyObject * obj0 = 0 ;
12446 char *kwnames[] = {
12447 (char *) "self", NULL
12448 };
12449
12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 delete arg1;
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 Py_INCREF(Py_None); resultobj = Py_None;
12461 return resultobj;
12462 fail:
12463 return NULL;
12464 }
12465
12466
12467 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12468 PyObject *resultobj;
12469 wxFileType *arg1 = (wxFileType *) 0 ;
12470 PyObject *result;
12471 PyObject * obj0 = 0 ;
12472 char *kwnames[] = {
12473 (char *) "self", NULL
12474 };
12475
12476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = (PyObject *)wxFileType_GetMimeType(arg1);
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 resultobj = result;
12487 return resultobj;
12488 fail:
12489 return NULL;
12490 }
12491
12492
12493 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12494 PyObject *resultobj;
12495 wxFileType *arg1 = (wxFileType *) 0 ;
12496 PyObject *result;
12497 PyObject * obj0 = 0 ;
12498 char *kwnames[] = {
12499 (char *) "self", NULL
12500 };
12501
12502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12505 {
12506 PyThreadState* __tstate = wxPyBeginAllowThreads();
12507 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12508
12509 wxPyEndAllowThreads(__tstate);
12510 if (PyErr_Occurred()) SWIG_fail;
12511 }
12512 resultobj = result;
12513 return resultobj;
12514 fail:
12515 return NULL;
12516 }
12517
12518
12519 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12520 PyObject *resultobj;
12521 wxFileType *arg1 = (wxFileType *) 0 ;
12522 PyObject *result;
12523 PyObject * obj0 = 0 ;
12524 char *kwnames[] = {
12525 (char *) "self", NULL
12526 };
12527
12528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (PyObject *)wxFileType_GetExtensions(arg1);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = result;
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxFileType *arg1 = (wxFileType *) 0 ;
12548 wxIcon *result;
12549 PyObject * obj0 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (wxIcon *)wxFileType_GetIcon(arg1);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxFileType *arg1 = (wxFileType *) 0 ;
12574 PyObject *result;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = result;
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxFileType *arg1 = (wxFileType *) 0 ;
12600 PyObject *result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (PyObject *)wxFileType_GetDescription(arg1);
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 resultobj = result;
12617 return resultobj;
12618 fail:
12619 return NULL;
12620 }
12621
12622
12623 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12624 PyObject *resultobj;
12625 wxFileType *arg1 = (wxFileType *) 0 ;
12626 wxString *arg2 = 0 ;
12627 wxString const &arg3_defvalue = wxPyEmptyString ;
12628 wxString *arg3 = (wxString *) &arg3_defvalue ;
12629 PyObject *result;
12630 bool temp2 = False ;
12631 bool temp3 = False ;
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
12634 PyObject * obj2 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12642 {
12643 arg2 = wxString_in_helper(obj1);
12644 if (arg2 == NULL) SWIG_fail;
12645 temp2 = True;
12646 }
12647 if (obj2) {
12648 {
12649 arg3 = wxString_in_helper(obj2);
12650 if (arg3 == NULL) SWIG_fail;
12651 temp3 = True;
12652 }
12653 }
12654 {
12655 PyThreadState* __tstate = wxPyBeginAllowThreads();
12656 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12657
12658 wxPyEndAllowThreads(__tstate);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 resultobj = result;
12662 {
12663 if (temp2)
12664 delete arg2;
12665 }
12666 {
12667 if (temp3)
12668 delete arg3;
12669 }
12670 return resultobj;
12671 fail:
12672 {
12673 if (temp2)
12674 delete arg2;
12675 }
12676 {
12677 if (temp3)
12678 delete arg3;
12679 }
12680 return NULL;
12681 }
12682
12683
12684 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj;
12686 wxFileType *arg1 = (wxFileType *) 0 ;
12687 wxString *arg2 = 0 ;
12688 wxString const &arg3_defvalue = wxPyEmptyString ;
12689 wxString *arg3 = (wxString *) &arg3_defvalue ;
12690 PyObject *result;
12691 bool temp2 = False ;
12692 bool temp3 = False ;
12693 PyObject * obj0 = 0 ;
12694 PyObject * obj1 = 0 ;
12695 PyObject * obj2 = 0 ;
12696 char *kwnames[] = {
12697 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12698 };
12699
12700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12703 {
12704 arg2 = wxString_in_helper(obj1);
12705 if (arg2 == NULL) SWIG_fail;
12706 temp2 = True;
12707 }
12708 if (obj2) {
12709 {
12710 arg3 = wxString_in_helper(obj2);
12711 if (arg3 == NULL) SWIG_fail;
12712 temp3 = True;
12713 }
12714 }
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = result;
12723 {
12724 if (temp2)
12725 delete arg2;
12726 }
12727 {
12728 if (temp3)
12729 delete arg3;
12730 }
12731 return resultobj;
12732 fail:
12733 {
12734 if (temp2)
12735 delete arg2;
12736 }
12737 {
12738 if (temp3)
12739 delete arg3;
12740 }
12741 return NULL;
12742 }
12743
12744
12745 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12746 PyObject *resultobj;
12747 wxFileType *arg1 = (wxFileType *) 0 ;
12748 wxString *arg2 = 0 ;
12749 wxString const &arg3_defvalue = wxPyEmptyString ;
12750 wxString *arg3 = (wxString *) &arg3_defvalue ;
12751 PyObject *result;
12752 bool temp2 = False ;
12753 bool temp3 = False ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 PyObject * obj2 = 0 ;
12757 char *kwnames[] = {
12758 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12759 };
12760
12761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12764 {
12765 arg2 = wxString_in_helper(obj1);
12766 if (arg2 == NULL) SWIG_fail;
12767 temp2 = True;
12768 }
12769 if (obj2) {
12770 {
12771 arg3 = wxString_in_helper(obj2);
12772 if (arg3 == NULL) SWIG_fail;
12773 temp3 = True;
12774 }
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 resultobj = result;
12784 {
12785 if (temp2)
12786 delete arg2;
12787 }
12788 {
12789 if (temp3)
12790 delete arg3;
12791 }
12792 return resultobj;
12793 fail:
12794 {
12795 if (temp2)
12796 delete arg2;
12797 }
12798 {
12799 if (temp3)
12800 delete arg3;
12801 }
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxFileType *arg1 = (wxFileType *) 0 ;
12809 wxString *arg2 = 0 ;
12810 wxString *arg3 = 0 ;
12811 bool arg4 = (bool) True ;
12812 bool result;
12813 bool temp2 = False ;
12814 bool temp3 = False ;
12815 PyObject * obj0 = 0 ;
12816 PyObject * obj1 = 0 ;
12817 PyObject * obj2 = 0 ;
12818 PyObject * obj3 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12826 {
12827 arg2 = wxString_in_helper(obj1);
12828 if (arg2 == NULL) SWIG_fail;
12829 temp2 = True;
12830 }
12831 {
12832 arg3 = wxString_in_helper(obj2);
12833 if (arg3 == NULL) SWIG_fail;
12834 temp3 = True;
12835 }
12836 if (obj3) {
12837 arg4 = (bool) SWIG_AsBool(obj3);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 {
12841 PyThreadState* __tstate = wxPyBeginAllowThreads();
12842 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12843
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 {
12848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12849 }
12850 {
12851 if (temp2)
12852 delete arg2;
12853 }
12854 {
12855 if (temp3)
12856 delete arg3;
12857 }
12858 return resultobj;
12859 fail:
12860 {
12861 if (temp2)
12862 delete arg2;
12863 }
12864 {
12865 if (temp3)
12866 delete arg3;
12867 }
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxFileType *arg1 = (wxFileType *) 0 ;
12875 wxString const &arg2_defvalue = wxPyEmptyString ;
12876 wxString *arg2 = (wxString *) &arg2_defvalue ;
12877 int arg3 = (int) 0 ;
12878 bool result;
12879 bool temp2 = False ;
12880 PyObject * obj0 = 0 ;
12881 PyObject * obj1 = 0 ;
12882 PyObject * obj2 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self",(char *) "cmd",(char *) "index", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12890 if (obj1) {
12891 {
12892 arg2 = wxString_in_helper(obj1);
12893 if (arg2 == NULL) SWIG_fail;
12894 temp2 = True;
12895 }
12896 }
12897 if (obj2) {
12898 arg3 = (int) SWIG_AsInt(obj2);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 }
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 {
12909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12910 }
12911 {
12912 if (temp2)
12913 delete arg2;
12914 }
12915 return resultobj;
12916 fail:
12917 {
12918 if (temp2)
12919 delete arg2;
12920 }
12921 return NULL;
12922 }
12923
12924
12925 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxFileType *arg1 = (wxFileType *) 0 ;
12928 bool result;
12929 PyObject * obj0 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 result = (bool)(arg1)->Unassociate();
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 {
12945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12946 }
12947 return resultobj;
12948 fail:
12949 return NULL;
12950 }
12951
12952
12953 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12954 PyObject *resultobj;
12955 wxString *arg1 = 0 ;
12956 wxString *arg2 = 0 ;
12957 wxString const &arg3_defvalue = wxPyEmptyString ;
12958 wxString *arg3 = (wxString *) &arg3_defvalue ;
12959 wxString result;
12960 bool temp1 = False ;
12961 bool temp2 = False ;
12962 bool temp3 = False ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 PyObject * obj2 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12971 {
12972 arg1 = wxString_in_helper(obj0);
12973 if (arg1 == NULL) SWIG_fail;
12974 temp1 = True;
12975 }
12976 {
12977 arg2 = wxString_in_helper(obj1);
12978 if (arg2 == NULL) SWIG_fail;
12979 temp2 = True;
12980 }
12981 if (obj2) {
12982 {
12983 arg3 = wxString_in_helper(obj2);
12984 if (arg3 == NULL) SWIG_fail;
12985 temp3 = True;
12986 }
12987 }
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 {
12996 #if wxUSE_UNICODE
12997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12998 #else
12999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13000 #endif
13001 }
13002 {
13003 if (temp1)
13004 delete arg1;
13005 }
13006 {
13007 if (temp2)
13008 delete arg2;
13009 }
13010 {
13011 if (temp3)
13012 delete arg3;
13013 }
13014 return resultobj;
13015 fail:
13016 {
13017 if (temp1)
13018 delete arg1;
13019 }
13020 {
13021 if (temp2)
13022 delete arg2;
13023 }
13024 {
13025 if (temp3)
13026 delete arg3;
13027 }
13028 return NULL;
13029 }
13030
13031
13032 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
13033 PyObject *obj;
13034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13035 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13036 Py_INCREF(obj);
13037 return Py_BuildValue((char *)"");
13038 }
13039 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
13040 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13041 return 1;
13042 }
13043
13044
13045 static PyObject *_wrap_TheMimeTypesManager_get() {
13046 PyObject *pyobj;
13047
13048 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13049 return pyobj;
13050 }
13051
13052
13053 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
13054 PyObject *resultobj;
13055 wxString *arg1 = 0 ;
13056 wxString *arg2 = 0 ;
13057 bool result;
13058 bool temp1 = False ;
13059 bool temp2 = False ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "mimeType",(char *) "wildcard", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13067 {
13068 arg1 = wxString_in_helper(obj0);
13069 if (arg1 == NULL) SWIG_fail;
13070 temp1 = True;
13071 }
13072 {
13073 arg2 = wxString_in_helper(obj1);
13074 if (arg2 == NULL) SWIG_fail;
13075 temp2 = True;
13076 }
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 {
13085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13086 }
13087 {
13088 if (temp1)
13089 delete arg1;
13090 }
13091 {
13092 if (temp2)
13093 delete arg2;
13094 }
13095 return resultobj;
13096 fail:
13097 {
13098 if (temp1)
13099 delete arg1;
13100 }
13101 {
13102 if (temp2)
13103 delete arg2;
13104 }
13105 return NULL;
13106 }
13107
13108
13109 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13110 PyObject *resultobj;
13111 wxMimeTypesManager *result;
13112 char *kwnames[] = {
13113 NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13125 return resultobj;
13126 fail:
13127 return NULL;
13128 }
13129
13130
13131 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13134 int arg2 = (int) wxMAILCAP_ALL ;
13135 wxString const &arg3_defvalue = wxPyEmptyString ;
13136 wxString *arg3 = (wxString *) &arg3_defvalue ;
13137 bool temp3 = False ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13148 if (obj1) {
13149 arg2 = (int) SWIG_AsInt(obj1);
13150 if (PyErr_Occurred()) SWIG_fail;
13151 }
13152 if (obj2) {
13153 {
13154 arg3 = wxString_in_helper(obj2);
13155 if (arg3 == NULL) SWIG_fail;
13156 temp3 = True;
13157 }
13158 }
13159 {
13160 PyThreadState* __tstate = wxPyBeginAllowThreads();
13161 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13162
13163 wxPyEndAllowThreads(__tstate);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 Py_INCREF(Py_None); resultobj = Py_None;
13167 {
13168 if (temp3)
13169 delete arg3;
13170 }
13171 return resultobj;
13172 fail:
13173 {
13174 if (temp3)
13175 delete arg3;
13176 }
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13184 PyObject * obj0 = 0 ;
13185 char *kwnames[] = {
13186 (char *) "self", NULL
13187 };
13188
13189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13192 {
13193 PyThreadState* __tstate = wxPyBeginAllowThreads();
13194 (arg1)->ClearData();
13195
13196 wxPyEndAllowThreads(__tstate);
13197 if (PyErr_Occurred()) SWIG_fail;
13198 }
13199 Py_INCREF(Py_None); resultobj = Py_None;
13200 return resultobj;
13201 fail:
13202 return NULL;
13203 }
13204
13205
13206 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
13207 PyObject *resultobj;
13208 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13209 wxString *arg2 = 0 ;
13210 wxFileType *result;
13211 bool temp2 = False ;
13212 PyObject * obj0 = 0 ;
13213 PyObject * obj1 = 0 ;
13214 char *kwnames[] = {
13215 (char *) "self",(char *) "ext", NULL
13216 };
13217
13218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13221 {
13222 arg2 = wxString_in_helper(obj1);
13223 if (arg2 == NULL) SWIG_fail;
13224 temp2 = True;
13225 }
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13234 {
13235 if (temp2)
13236 delete arg2;
13237 }
13238 return resultobj;
13239 fail:
13240 {
13241 if (temp2)
13242 delete arg2;
13243 }
13244 return NULL;
13245 }
13246
13247
13248 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13251 wxString *arg2 = 0 ;
13252 wxFileType *result;
13253 bool temp2 = False ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj1 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self",(char *) "mimeType", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13263 {
13264 arg2 = wxString_in_helper(obj1);
13265 if (arg2 == NULL) SWIG_fail;
13266 temp2 = True;
13267 }
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13276 {
13277 if (temp2)
13278 delete arg2;
13279 }
13280 return resultobj;
13281 fail:
13282 {
13283 if (temp2)
13284 delete arg2;
13285 }
13286 return NULL;
13287 }
13288
13289
13290 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13293 wxString *arg2 = 0 ;
13294 bool arg3 = (bool) False ;
13295 bool result;
13296 bool temp2 = False ;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 PyObject * obj2 = 0 ;
13300 char *kwnames[] = {
13301 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13302 };
13303
13304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13307 {
13308 arg2 = wxString_in_helper(obj1);
13309 if (arg2 == NULL) SWIG_fail;
13310 temp2 = True;
13311 }
13312 if (obj2) {
13313 arg3 = (bool) SWIG_AsBool(obj2);
13314 if (PyErr_Occurred()) SWIG_fail;
13315 }
13316 {
13317 PyThreadState* __tstate = wxPyBeginAllowThreads();
13318 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 {
13324 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13325 }
13326 {
13327 if (temp2)
13328 delete arg2;
13329 }
13330 return resultobj;
13331 fail:
13332 {
13333 if (temp2)
13334 delete arg2;
13335 }
13336 return NULL;
13337 }
13338
13339
13340 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13341 PyObject *resultobj;
13342 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13343 wxString *arg2 = 0 ;
13344 bool result;
13345 bool temp2 = False ;
13346 PyObject * obj0 = 0 ;
13347 PyObject * obj1 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self",(char *) "filename", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13355 {
13356 arg2 = wxString_in_helper(obj1);
13357 if (arg2 == NULL) SWIG_fail;
13358 temp2 = True;
13359 }
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 {
13368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13369 }
13370 {
13371 if (temp2)
13372 delete arg2;
13373 }
13374 return resultobj;
13375 fail:
13376 {
13377 if (temp2)
13378 delete arg2;
13379 }
13380 return NULL;
13381 }
13382
13383
13384 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13387 PyObject *result;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = result;
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13413 wxFileTypeInfo *arg2 = 0 ;
13414 PyObject * obj0 = 0 ;
13415 PyObject * obj1 = 0 ;
13416 char *kwnames[] = {
13417 (char *) "self",(char *) "ft", NULL
13418 };
13419
13420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13424 SWIG_POINTER_EXCEPTION | 0)) == -1)
13425 SWIG_fail;
13426 if (arg2 == NULL) {
13427 PyErr_SetString(PyExc_TypeError,"null reference");
13428 SWIG_fail;
13429 }
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13447 wxFileTypeInfo *arg2 = 0 ;
13448 wxFileType *result;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "ftInfo", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13458 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1)
13460 SWIG_fail;
13461 if (arg2 == NULL) {
13462 PyErr_SetString(PyExc_TypeError,"null reference");
13463 SWIG_fail;
13464 }
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13482 wxFileType *arg2 = (wxFileType *) 0 ;
13483 bool result;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "ft", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (bool)(arg1)->Unassociate(arg2);
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13504 }
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13514 PyObject * obj0 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 delete arg1;
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 Py_INCREF(Py_None); resultobj = Py_None;
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13537 PyObject *obj;
13538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13539 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13540 Py_INCREF(obj);
13541 return Py_BuildValue((char *)"");
13542 }
13543 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13544 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13545 return 1;
13546 }
13547
13548
13549 static PyObject *_wrap_ART_TOOLBAR_get() {
13550 PyObject *pyobj;
13551
13552 {
13553 #if wxUSE_UNICODE
13554 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13555 #else
13556 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13557 #endif
13558 }
13559 return pyobj;
13560 }
13561
13562
13563 static int _wrap_ART_MENU_set(PyObject *_val) {
13564 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13565 return 1;
13566 }
13567
13568
13569 static PyObject *_wrap_ART_MENU_get() {
13570 PyObject *pyobj;
13571
13572 {
13573 #if wxUSE_UNICODE
13574 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13575 #else
13576 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13577 #endif
13578 }
13579 return pyobj;
13580 }
13581
13582
13583 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13584 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13585 return 1;
13586 }
13587
13588
13589 static PyObject *_wrap_ART_FRAME_ICON_get() {
13590 PyObject *pyobj;
13591
13592 {
13593 #if wxUSE_UNICODE
13594 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13595 #else
13596 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13597 #endif
13598 }
13599 return pyobj;
13600 }
13601
13602
13603 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13604 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13605 return 1;
13606 }
13607
13608
13609 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13610 PyObject *pyobj;
13611
13612 {
13613 #if wxUSE_UNICODE
13614 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13615 #else
13616 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13617 #endif
13618 }
13619 return pyobj;
13620 }
13621
13622
13623 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13624 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13625 return 1;
13626 }
13627
13628
13629 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13630 PyObject *pyobj;
13631
13632 {
13633 #if wxUSE_UNICODE
13634 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13635 #else
13636 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13637 #endif
13638 }
13639 return pyobj;
13640 }
13641
13642
13643 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13644 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13645 return 1;
13646 }
13647
13648
13649 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13650 PyObject *pyobj;
13651
13652 {
13653 #if wxUSE_UNICODE
13654 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13655 #else
13656 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13657 #endif
13658 }
13659 return pyobj;
13660 }
13661
13662
13663 static int _wrap_ART_OTHER_set(PyObject *_val) {
13664 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13665 return 1;
13666 }
13667
13668
13669 static PyObject *_wrap_ART_OTHER_get() {
13670 PyObject *pyobj;
13671
13672 {
13673 #if wxUSE_UNICODE
13674 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13675 #else
13676 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13677 #endif
13678 }
13679 return pyobj;
13680 }
13681
13682
13683 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13684 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13685 return 1;
13686 }
13687
13688
13689 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13690 PyObject *pyobj;
13691
13692 {
13693 #if wxUSE_UNICODE
13694 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13695 #else
13696 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13697 #endif
13698 }
13699 return pyobj;
13700 }
13701
13702
13703 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13704 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13705 return 1;
13706 }
13707
13708
13709 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13710 PyObject *pyobj;
13711
13712 {
13713 #if wxUSE_UNICODE
13714 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13715 #else
13716 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13717 #endif
13718 }
13719 return pyobj;
13720 }
13721
13722
13723 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13724 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13725 return 1;
13726 }
13727
13728
13729 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13730 PyObject *pyobj;
13731
13732 {
13733 #if wxUSE_UNICODE
13734 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13735 #else
13736 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13737 #endif
13738 }
13739 return pyobj;
13740 }
13741
13742
13743 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13744 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13745 return 1;
13746 }
13747
13748
13749 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13750 PyObject *pyobj;
13751
13752 {
13753 #if wxUSE_UNICODE
13754 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13755 #else
13756 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13757 #endif
13758 }
13759 return pyobj;
13760 }
13761
13762
13763 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13764 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13765 return 1;
13766 }
13767
13768
13769 static PyObject *_wrap_ART_HELP_BOOK_get() {
13770 PyObject *pyobj;
13771
13772 {
13773 #if wxUSE_UNICODE
13774 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13775 #else
13776 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13777 #endif
13778 }
13779 return pyobj;
13780 }
13781
13782
13783 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13784 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13785 return 1;
13786 }
13787
13788
13789 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13790 PyObject *pyobj;
13791
13792 {
13793 #if wxUSE_UNICODE
13794 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13795 #else
13796 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13797 #endif
13798 }
13799 return pyobj;
13800 }
13801
13802
13803 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13804 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13805 return 1;
13806 }
13807
13808
13809 static PyObject *_wrap_ART_HELP_PAGE_get() {
13810 PyObject *pyobj;
13811
13812 {
13813 #if wxUSE_UNICODE
13814 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13815 #else
13816 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13817 #endif
13818 }
13819 return pyobj;
13820 }
13821
13822
13823 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13824 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13825 return 1;
13826 }
13827
13828
13829 static PyObject *_wrap_ART_GO_BACK_get() {
13830 PyObject *pyobj;
13831
13832 {
13833 #if wxUSE_UNICODE
13834 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13835 #else
13836 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13837 #endif
13838 }
13839 return pyobj;
13840 }
13841
13842
13843 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13844 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13845 return 1;
13846 }
13847
13848
13849 static PyObject *_wrap_ART_GO_FORWARD_get() {
13850 PyObject *pyobj;
13851
13852 {
13853 #if wxUSE_UNICODE
13854 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13855 #else
13856 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13857 #endif
13858 }
13859 return pyobj;
13860 }
13861
13862
13863 static int _wrap_ART_GO_UP_set(PyObject *_val) {
13864 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13865 return 1;
13866 }
13867
13868
13869 static PyObject *_wrap_ART_GO_UP_get() {
13870 PyObject *pyobj;
13871
13872 {
13873 #if wxUSE_UNICODE
13874 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13875 #else
13876 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13877 #endif
13878 }
13879 return pyobj;
13880 }
13881
13882
13883 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13884 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13885 return 1;
13886 }
13887
13888
13889 static PyObject *_wrap_ART_GO_DOWN_get() {
13890 PyObject *pyobj;
13891
13892 {
13893 #if wxUSE_UNICODE
13894 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13895 #else
13896 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13897 #endif
13898 }
13899 return pyobj;
13900 }
13901
13902
13903 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13904 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13905 return 1;
13906 }
13907
13908
13909 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13910 PyObject *pyobj;
13911
13912 {
13913 #if wxUSE_UNICODE
13914 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13915 #else
13916 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13917 #endif
13918 }
13919 return pyobj;
13920 }
13921
13922
13923 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13924 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13925 return 1;
13926 }
13927
13928
13929 static PyObject *_wrap_ART_GO_HOME_get() {
13930 PyObject *pyobj;
13931
13932 {
13933 #if wxUSE_UNICODE
13934 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13935 #else
13936 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13937 #endif
13938 }
13939 return pyobj;
13940 }
13941
13942
13943 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13944 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13945 return 1;
13946 }
13947
13948
13949 static PyObject *_wrap_ART_FILE_OPEN_get() {
13950 PyObject *pyobj;
13951
13952 {
13953 #if wxUSE_UNICODE
13954 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13955 #else
13956 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13957 #endif
13958 }
13959 return pyobj;
13960 }
13961
13962
13963 static int _wrap_ART_PRINT_set(PyObject *_val) {
13964 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13965 return 1;
13966 }
13967
13968
13969 static PyObject *_wrap_ART_PRINT_get() {
13970 PyObject *pyobj;
13971
13972 {
13973 #if wxUSE_UNICODE
13974 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13975 #else
13976 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13977 #endif
13978 }
13979 return pyobj;
13980 }
13981
13982
13983 static int _wrap_ART_HELP_set(PyObject *_val) {
13984 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13985 return 1;
13986 }
13987
13988
13989 static PyObject *_wrap_ART_HELP_get() {
13990 PyObject *pyobj;
13991
13992 {
13993 #if wxUSE_UNICODE
13994 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13995 #else
13996 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13997 #endif
13998 }
13999 return pyobj;
14000 }
14001
14002
14003 static int _wrap_ART_TIP_set(PyObject *_val) {
14004 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
14005 return 1;
14006 }
14007
14008
14009 static PyObject *_wrap_ART_TIP_get() {
14010 PyObject *pyobj;
14011
14012 {
14013 #if wxUSE_UNICODE
14014 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14015 #else
14016 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
14017 #endif
14018 }
14019 return pyobj;
14020 }
14021
14022
14023 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
14024 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14025 return 1;
14026 }
14027
14028
14029 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14030 PyObject *pyobj;
14031
14032 {
14033 #if wxUSE_UNICODE
14034 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14035 #else
14036 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14037 #endif
14038 }
14039 return pyobj;
14040 }
14041
14042
14043 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
14044 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14045 return 1;
14046 }
14047
14048
14049 static PyObject *_wrap_ART_LIST_VIEW_get() {
14050 PyObject *pyobj;
14051
14052 {
14053 #if wxUSE_UNICODE
14054 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14055 #else
14056 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14057 #endif
14058 }
14059 return pyobj;
14060 }
14061
14062
14063 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
14064 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14065 return 1;
14066 }
14067
14068
14069 static PyObject *_wrap_ART_NEW_DIR_get() {
14070 PyObject *pyobj;
14071
14072 {
14073 #if wxUSE_UNICODE
14074 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14075 #else
14076 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14077 #endif
14078 }
14079 return pyobj;
14080 }
14081
14082
14083 static int _wrap_ART_FOLDER_set(PyObject *_val) {
14084 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14085 return 1;
14086 }
14087
14088
14089 static PyObject *_wrap_ART_FOLDER_get() {
14090 PyObject *pyobj;
14091
14092 {
14093 #if wxUSE_UNICODE
14094 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14095 #else
14096 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14097 #endif
14098 }
14099 return pyobj;
14100 }
14101
14102
14103 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
14104 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14105 return 1;
14106 }
14107
14108
14109 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14110 PyObject *pyobj;
14111
14112 {
14113 #if wxUSE_UNICODE
14114 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14115 #else
14116 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14117 #endif
14118 }
14119 return pyobj;
14120 }
14121
14122
14123 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
14124 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14125 return 1;
14126 }
14127
14128
14129 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14130 PyObject *pyobj;
14131
14132 {
14133 #if wxUSE_UNICODE
14134 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14135 #else
14136 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14137 #endif
14138 }
14139 return pyobj;
14140 }
14141
14142
14143 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
14144 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14145 return 1;
14146 }
14147
14148
14149 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14150 PyObject *pyobj;
14151
14152 {
14153 #if wxUSE_UNICODE
14154 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14155 #else
14156 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14157 #endif
14158 }
14159 return pyobj;
14160 }
14161
14162
14163 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
14164 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14165 return 1;
14166 }
14167
14168
14169 static PyObject *_wrap_ART_TICK_MARK_get() {
14170 PyObject *pyobj;
14171
14172 {
14173 #if wxUSE_UNICODE
14174 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14175 #else
14176 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14177 #endif
14178 }
14179 return pyobj;
14180 }
14181
14182
14183 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
14184 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14185 return 1;
14186 }
14187
14188
14189 static PyObject *_wrap_ART_CROSS_MARK_get() {
14190 PyObject *pyobj;
14191
14192 {
14193 #if wxUSE_UNICODE
14194 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14195 #else
14196 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14197 #endif
14198 }
14199 return pyobj;
14200 }
14201
14202
14203 static int _wrap_ART_ERROR_set(PyObject *_val) {
14204 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14205 return 1;
14206 }
14207
14208
14209 static PyObject *_wrap_ART_ERROR_get() {
14210 PyObject *pyobj;
14211
14212 {
14213 #if wxUSE_UNICODE
14214 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14215 #else
14216 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14217 #endif
14218 }
14219 return pyobj;
14220 }
14221
14222
14223 static int _wrap_ART_QUESTION_set(PyObject *_val) {
14224 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14225 return 1;
14226 }
14227
14228
14229 static PyObject *_wrap_ART_QUESTION_get() {
14230 PyObject *pyobj;
14231
14232 {
14233 #if wxUSE_UNICODE
14234 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14235 #else
14236 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14237 #endif
14238 }
14239 return pyobj;
14240 }
14241
14242
14243 static int _wrap_ART_WARNING_set(PyObject *_val) {
14244 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14245 return 1;
14246 }
14247
14248
14249 static PyObject *_wrap_ART_WARNING_get() {
14250 PyObject *pyobj;
14251
14252 {
14253 #if wxUSE_UNICODE
14254 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14255 #else
14256 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14257 #endif
14258 }
14259 return pyobj;
14260 }
14261
14262
14263 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
14264 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14265 return 1;
14266 }
14267
14268
14269 static PyObject *_wrap_ART_INFORMATION_get() {
14270 PyObject *pyobj;
14271
14272 {
14273 #if wxUSE_UNICODE
14274 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14275 #else
14276 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14277 #endif
14278 }
14279 return pyobj;
14280 }
14281
14282
14283 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
14284 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14285 return 1;
14286 }
14287
14288
14289 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14290 PyObject *pyobj;
14291
14292 {
14293 #if wxUSE_UNICODE
14294 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14295 #else
14296 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14297 #endif
14298 }
14299 return pyobj;
14300 }
14301
14302
14303 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxPyArtProvider *result;
14306 char *kwnames[] = {
14307 NULL
14308 };
14309
14310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14311 {
14312 PyThreadState* __tstate = wxPyBeginAllowThreads();
14313 result = (wxPyArtProvider *)new wxPyArtProvider();
14314
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14326 PyObject *resultobj;
14327 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14328 PyObject *arg2 = (PyObject *) 0 ;
14329 PyObject *arg3 = (PyObject *) 0 ;
14330 PyObject * obj0 = 0 ;
14331 PyObject * obj1 = 0 ;
14332 PyObject * obj2 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self",(char *) "self",(char *) "_class", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14340 arg2 = obj1;
14341 arg3 = obj2;
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 (arg1)->_setCallbackInfo(arg2,arg3);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 Py_INCREF(Py_None); resultobj = Py_None;
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj;
14358 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14359 PyObject * obj0 = 0 ;
14360 char *kwnames[] = {
14361 (char *) "provider", NULL
14362 };
14363
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14367 {
14368 PyThreadState* __tstate = wxPyBeginAllowThreads();
14369 wxPyArtProvider::PushProvider(arg1);
14370
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 }
14374 Py_INCREF(Py_None); resultobj = Py_None;
14375 return resultobj;
14376 fail:
14377 return NULL;
14378 }
14379
14380
14381 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14382 PyObject *resultobj;
14383 bool result;
14384 char *kwnames[] = {
14385 NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14389 {
14390 PyThreadState* __tstate = wxPyBeginAllowThreads();
14391 result = (bool)wxPyArtProvider::PopProvider();
14392
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
14397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14398 }
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14408 bool result;
14409 PyObject * obj0 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "provider", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 {
14425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14426 }
14427 return resultobj;
14428 fail:
14429 return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxString *arg1 = 0 ;
14436 wxString const &arg2_defvalue = wxPyART_OTHER ;
14437 wxString *arg2 = (wxString *) &arg2_defvalue ;
14438 wxSize const &arg3_defvalue = wxDefaultSize ;
14439 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14440 wxBitmap result;
14441 bool temp1 = False ;
14442 bool temp2 = False ;
14443 wxSize temp3 ;
14444 PyObject * obj0 = 0 ;
14445 PyObject * obj1 = 0 ;
14446 PyObject * obj2 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "id",(char *) "client",(char *) "size", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14452 {
14453 arg1 = wxString_in_helper(obj0);
14454 if (arg1 == NULL) SWIG_fail;
14455 temp1 = True;
14456 }
14457 if (obj1) {
14458 {
14459 arg2 = wxString_in_helper(obj1);
14460 if (arg2 == NULL) SWIG_fail;
14461 temp2 = True;
14462 }
14463 }
14464 if (obj2) {
14465 {
14466 arg3 = &temp3;
14467 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14468 }
14469 }
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 {
14478 wxBitmap * resultptr;
14479 resultptr = new wxBitmap((wxBitmap &) result);
14480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14481 }
14482 {
14483 if (temp1)
14484 delete arg1;
14485 }
14486 {
14487 if (temp2)
14488 delete arg2;
14489 }
14490 return resultobj;
14491 fail:
14492 {
14493 if (temp1)
14494 delete arg1;
14495 }
14496 {
14497 if (temp2)
14498 delete arg2;
14499 }
14500 return NULL;
14501 }
14502
14503
14504 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14505 PyObject *resultobj;
14506 wxString *arg1 = 0 ;
14507 wxString const &arg2_defvalue = wxPyART_OTHER ;
14508 wxString *arg2 = (wxString *) &arg2_defvalue ;
14509 wxSize const &arg3_defvalue = wxDefaultSize ;
14510 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14511 wxIcon result;
14512 bool temp1 = False ;
14513 bool temp2 = False ;
14514 wxSize temp3 ;
14515 PyObject * obj0 = 0 ;
14516 PyObject * obj1 = 0 ;
14517 PyObject * obj2 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "id",(char *) "client",(char *) "size", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14523 {
14524 arg1 = wxString_in_helper(obj0);
14525 if (arg1 == NULL) SWIG_fail;
14526 temp1 = True;
14527 }
14528 if (obj1) {
14529 {
14530 arg2 = wxString_in_helper(obj1);
14531 if (arg2 == NULL) SWIG_fail;
14532 temp2 = True;
14533 }
14534 }
14535 if (obj2) {
14536 {
14537 arg3 = &temp3;
14538 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14539 }
14540 }
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 {
14549 wxIcon * resultptr;
14550 resultptr = new wxIcon((wxIcon &) result);
14551 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14552 }
14553 {
14554 if (temp1)
14555 delete arg1;
14556 }
14557 {
14558 if (temp2)
14559 delete arg2;
14560 }
14561 return resultobj;
14562 fail:
14563 {
14564 if (temp1)
14565 delete arg1;
14566 }
14567 {
14568 if (temp2)
14569 delete arg2;
14570 }
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 wxPyArtProvider_Destroy(arg1);
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 Py_INCREF(Py_None); resultobj = Py_None;
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14601 PyObject *obj;
14602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14603 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14604 Py_INCREF(obj);
14605 return Py_BuildValue((char *)"");
14606 }
14607 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14610 PyObject * obj0 = 0 ;
14611 char *kwnames[] = {
14612 (char *) "self", NULL
14613 };
14614
14615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14618 {
14619 PyThreadState* __tstate = wxPyBeginAllowThreads();
14620 delete arg1;
14621
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 Py_INCREF(Py_None); resultobj = Py_None;
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14633 PyObject *resultobj;
14634 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14635 wxConfigBase *result;
14636 PyObject * obj0 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "config", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14644 {
14645 PyThreadState* __tstate = wxPyBeginAllowThreads();
14646 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14647
14648 wxPyEndAllowThreads(__tstate);
14649 if (PyErr_Occurred()) SWIG_fail;
14650 }
14651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14652 return resultobj;
14653 fail:
14654 return NULL;
14655 }
14656
14657
14658 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 bool arg1 = (bool) True ;
14661 wxConfigBase *result;
14662 PyObject * obj0 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "createOnDemand", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14668 if (obj0) {
14669 arg1 = (bool) SWIG_AsBool(obj0);
14670 if (PyErr_Occurred()) SWIG_fail;
14671 }
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14680 return resultobj;
14681 fail:
14682 return NULL;
14683 }
14684
14685
14686 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxConfigBase *result;
14689 char *kwnames[] = {
14690 NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 result = (wxConfigBase *)wxConfigBase::Create();
14697
14698 wxPyEndAllowThreads(__tstate);
14699 if (PyErr_Occurred()) SWIG_fail;
14700 }
14701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14702 return resultobj;
14703 fail:
14704 return NULL;
14705 }
14706
14707
14708 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14709 PyObject *resultobj;
14710 char *kwnames[] = {
14711 NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 wxConfigBase::DontCreateOnDemand();
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14732 wxString *arg2 = 0 ;
14733 bool temp2 = False ;
14734 PyObject * obj0 = 0 ;
14735 PyObject * obj1 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self",(char *) "path", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 {
14744 arg2 = wxString_in_helper(obj1);
14745 if (arg2 == NULL) SWIG_fail;
14746 temp2 = True;
14747 }
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 (arg1)->SetPath((wxString const &)*arg2);
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 Py_INCREF(Py_None); resultobj = Py_None;
14756 {
14757 if (temp2)
14758 delete arg2;
14759 }
14760 return resultobj;
14761 fail:
14762 {
14763 if (temp2)
14764 delete arg2;
14765 }
14766 return NULL;
14767 }
14768
14769
14770 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj;
14772 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14773 wxString *result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 {
14785 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14786 result = (wxString *) &_result_ref;
14787 }
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 {
14793 #if wxUSE_UNICODE
14794 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14795 #else
14796 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14797 #endif
14798 }
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14808 PyObject *result;
14809 PyObject * obj0 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self", NULL
14812 };
14813
14814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14817 {
14818 PyThreadState* __tstate = wxPyBeginAllowThreads();
14819 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14820
14821 wxPyEndAllowThreads(__tstate);
14822 if (PyErr_Occurred()) SWIG_fail;
14823 }
14824 resultobj = result;
14825 return resultobj;
14826 fail:
14827 return NULL;
14828 }
14829
14830
14831 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14834 long arg2 ;
14835 PyObject *result;
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self",(char *) "index", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14845 arg2 = (long) SWIG_AsLong(obj1);
14846 if (PyErr_Occurred()) SWIG_fail;
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 resultobj = result;
14855 return resultobj;
14856 fail:
14857 return NULL;
14858 }
14859
14860
14861 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
14863 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14864 PyObject *result;
14865 PyObject * obj0 = 0 ;
14866 char *kwnames[] = {
14867 (char *) "self", NULL
14868 };
14869
14870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 resultobj = result;
14881 return resultobj;
14882 fail:
14883 return NULL;
14884 }
14885
14886
14887 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj;
14889 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14890 long arg2 ;
14891 PyObject *result;
14892 PyObject * obj0 = 0 ;
14893 PyObject * obj1 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self",(char *) "index", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14901 arg2 = (long) SWIG_AsLong(obj1);
14902 if (PyErr_Occurred()) SWIG_fail;
14903 {
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14906
14907 wxPyEndAllowThreads(__tstate);
14908 if (PyErr_Occurred()) SWIG_fail;
14909 }
14910 resultobj = result;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14920 bool arg2 = (bool) False ;
14921 size_t result;
14922 PyObject * obj0 = 0 ;
14923 PyObject * obj1 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "recursive", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14931 if (obj1) {
14932 arg2 = (bool) SWIG_AsBool(obj1);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14952 bool arg2 = (bool) False ;
14953 size_t result;
14954 PyObject * obj0 = 0 ;
14955 PyObject * obj1 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self",(char *) "recursive", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14963 if (obj1) {
14964 arg2 = (bool) SWIG_AsBool(obj1);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14975 return resultobj;
14976 fail:
14977 return NULL;
14978 }
14979
14980
14981 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj;
14983 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14984 wxString *arg2 = 0 ;
14985 bool result;
14986 bool temp2 = False ;
14987 PyObject * obj0 = 0 ;
14988 PyObject * obj1 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self",(char *) "name", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 {
14997 arg2 = wxString_in_helper(obj1);
14998 if (arg2 == NULL) SWIG_fail;
14999 temp2 = True;
15000 }
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 {
15009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15010 }
15011 {
15012 if (temp2)
15013 delete arg2;
15014 }
15015 return resultobj;
15016 fail:
15017 {
15018 if (temp2)
15019 delete arg2;
15020 }
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15028 wxString *arg2 = 0 ;
15029 bool result;
15030 bool temp2 = False ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self",(char *) "name", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15040 {
15041 arg2 = wxString_in_helper(obj1);
15042 if (arg2 == NULL) SWIG_fail;
15043 temp2 = True;
15044 }
15045 {
15046 PyThreadState* __tstate = wxPyBeginAllowThreads();
15047 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15048
15049 wxPyEndAllowThreads(__tstate);
15050 if (PyErr_Occurred()) SWIG_fail;
15051 }
15052 {
15053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15054 }
15055 {
15056 if (temp2)
15057 delete arg2;
15058 }
15059 return resultobj;
15060 fail:
15061 {
15062 if (temp2)
15063 delete arg2;
15064 }
15065 return NULL;
15066 }
15067
15068
15069 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15072 wxString *arg2 = 0 ;
15073 bool result;
15074 bool temp2 = False ;
15075 PyObject * obj0 = 0 ;
15076 PyObject * obj1 = 0 ;
15077 char *kwnames[] = {
15078 (char *) "self",(char *) "name", NULL
15079 };
15080
15081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15084 {
15085 arg2 = wxString_in_helper(obj1);
15086 if (arg2 == NULL) SWIG_fail;
15087 temp2 = True;
15088 }
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 {
15097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15098 }
15099 {
15100 if (temp2)
15101 delete arg2;
15102 }
15103 return resultobj;
15104 fail:
15105 {
15106 if (temp2)
15107 delete arg2;
15108 }
15109 return NULL;
15110 }
15111
15112
15113 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15116 wxString *arg2 = 0 ;
15117 int result;
15118 bool temp2 = False ;
15119 PyObject * obj0 = 0 ;
15120 PyObject * obj1 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self",(char *) "name", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15128 {
15129 arg2 = wxString_in_helper(obj1);
15130 if (arg2 == NULL) SWIG_fail;
15131 temp2 = True;
15132 }
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 resultobj = SWIG_FromInt((int)result);
15141 {
15142 if (temp2)
15143 delete arg2;
15144 }
15145 return resultobj;
15146 fail:
15147 {
15148 if (temp2)
15149 delete arg2;
15150 }
15151 return NULL;
15152 }
15153
15154
15155 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
15156 PyObject *resultobj;
15157 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15158 wxString *arg2 = 0 ;
15159 wxString const &arg3_defvalue = wxPyEmptyString ;
15160 wxString *arg3 = (wxString *) &arg3_defvalue ;
15161 wxString result;
15162 bool temp2 = False ;
15163 bool temp3 = False ;
15164 PyObject * obj0 = 0 ;
15165 PyObject * obj1 = 0 ;
15166 PyObject * obj2 = 0 ;
15167 char *kwnames[] = {
15168 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15169 };
15170
15171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15174 {
15175 arg2 = wxString_in_helper(obj1);
15176 if (arg2 == NULL) SWIG_fail;
15177 temp2 = True;
15178 }
15179 if (obj2) {
15180 {
15181 arg3 = wxString_in_helper(obj2);
15182 if (arg3 == NULL) SWIG_fail;
15183 temp3 = True;
15184 }
15185 }
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 #if wxUSE_UNICODE
15195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15196 #else
15197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15198 #endif
15199 }
15200 {
15201 if (temp2)
15202 delete arg2;
15203 }
15204 {
15205 if (temp3)
15206 delete arg3;
15207 }
15208 return resultobj;
15209 fail:
15210 {
15211 if (temp2)
15212 delete arg2;
15213 }
15214 {
15215 if (temp3)
15216 delete arg3;
15217 }
15218 return NULL;
15219 }
15220
15221
15222 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj;
15224 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15225 wxString *arg2 = 0 ;
15226 long arg3 = (long) 0 ;
15227 long result;
15228 bool temp2 = False ;
15229 PyObject * obj0 = 0 ;
15230 PyObject * obj1 = 0 ;
15231 PyObject * obj2 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15239 {
15240 arg2 = wxString_in_helper(obj1);
15241 if (arg2 == NULL) SWIG_fail;
15242 temp2 = True;
15243 }
15244 if (obj2) {
15245 arg3 = (long) SWIG_AsLong(obj2);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 resultobj = SWIG_FromLong((long)result);
15256 {
15257 if (temp2)
15258 delete arg2;
15259 }
15260 return resultobj;
15261 fail:
15262 {
15263 if (temp2)
15264 delete arg2;
15265 }
15266 return NULL;
15267 }
15268
15269
15270 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15273 wxString *arg2 = 0 ;
15274 double arg3 = (double) 0.0 ;
15275 double result;
15276 bool temp2 = False ;
15277 PyObject * obj0 = 0 ;
15278 PyObject * obj1 = 0 ;
15279 PyObject * obj2 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 arg2 = wxString_in_helper(obj1);
15289 if (arg2 == NULL) SWIG_fail;
15290 temp2 = True;
15291 }
15292 if (obj2) {
15293 arg3 = (double) SWIG_AsDouble(obj2);
15294 if (PyErr_Occurred()) SWIG_fail;
15295 }
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = SWIG_FromDouble((double)result);
15304 {
15305 if (temp2)
15306 delete arg2;
15307 }
15308 return resultobj;
15309 fail:
15310 {
15311 if (temp2)
15312 delete arg2;
15313 }
15314 return NULL;
15315 }
15316
15317
15318 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15321 wxString *arg2 = 0 ;
15322 bool arg3 = (bool) False ;
15323 bool result;
15324 bool temp2 = False ;
15325 PyObject * obj0 = 0 ;
15326 PyObject * obj1 = 0 ;
15327 PyObject * obj2 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15335 {
15336 arg2 = wxString_in_helper(obj1);
15337 if (arg2 == NULL) SWIG_fail;
15338 temp2 = True;
15339 }
15340 if (obj2) {
15341 arg3 = (bool) SWIG_AsBool(obj2);
15342 if (PyErr_Occurred()) SWIG_fail;
15343 }
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15353 }
15354 {
15355 if (temp2)
15356 delete arg2;
15357 }
15358 return resultobj;
15359 fail:
15360 {
15361 if (temp2)
15362 delete arg2;
15363 }
15364 return NULL;
15365 }
15366
15367
15368 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15371 wxString *arg2 = 0 ;
15372 wxString *arg3 = 0 ;
15373 bool result;
15374 bool temp2 = False ;
15375 bool temp3 = False ;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 PyObject * obj2 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self",(char *) "key",(char *) "value", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15386 {
15387 arg2 = wxString_in_helper(obj1);
15388 if (arg2 == NULL) SWIG_fail;
15389 temp2 = True;
15390 }
15391 {
15392 arg3 = wxString_in_helper(obj2);
15393 if (arg3 == NULL) SWIG_fail;
15394 temp3 = True;
15395 }
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 {
15404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15405 }
15406 {
15407 if (temp2)
15408 delete arg2;
15409 }
15410 {
15411 if (temp3)
15412 delete arg3;
15413 }
15414 return resultobj;
15415 fail:
15416 {
15417 if (temp2)
15418 delete arg2;
15419 }
15420 {
15421 if (temp3)
15422 delete arg3;
15423 }
15424 return NULL;
15425 }
15426
15427
15428 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15431 wxString *arg2 = 0 ;
15432 long arg3 ;
15433 bool result;
15434 bool temp2 = False ;
15435 PyObject * obj0 = 0 ;
15436 PyObject * obj1 = 0 ;
15437 PyObject * obj2 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self",(char *) "key",(char *) "value", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15445 {
15446 arg2 = wxString_in_helper(obj1);
15447 if (arg2 == NULL) SWIG_fail;
15448 temp2 = True;
15449 }
15450 arg3 = (long) SWIG_AsLong(obj2);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15461 }
15462 {
15463 if (temp2)
15464 delete arg2;
15465 }
15466 return resultobj;
15467 fail:
15468 {
15469 if (temp2)
15470 delete arg2;
15471 }
15472 return NULL;
15473 }
15474
15475
15476 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15477 PyObject *resultobj;
15478 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15479 wxString *arg2 = 0 ;
15480 double arg3 ;
15481 bool result;
15482 bool temp2 = False ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 PyObject * obj2 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self",(char *) "key",(char *) "value", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15493 {
15494 arg2 = wxString_in_helper(obj1);
15495 if (arg2 == NULL) SWIG_fail;
15496 temp2 = True;
15497 }
15498 arg3 = (double) SWIG_AsDouble(obj2);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15509 }
15510 {
15511 if (temp2)
15512 delete arg2;
15513 }
15514 return resultobj;
15515 fail:
15516 {
15517 if (temp2)
15518 delete arg2;
15519 }
15520 return NULL;
15521 }
15522
15523
15524 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj;
15526 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15527 wxString *arg2 = 0 ;
15528 bool arg3 ;
15529 bool result;
15530 bool temp2 = False ;
15531 PyObject * obj0 = 0 ;
15532 PyObject * obj1 = 0 ;
15533 PyObject * obj2 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self",(char *) "key",(char *) "value", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 {
15542 arg2 = wxString_in_helper(obj1);
15543 if (arg2 == NULL) SWIG_fail;
15544 temp2 = True;
15545 }
15546 arg3 = (bool) SWIG_AsBool(obj2);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 {
15556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15557 }
15558 {
15559 if (temp2)
15560 delete arg2;
15561 }
15562 return resultobj;
15563 fail:
15564 {
15565 if (temp2)
15566 delete arg2;
15567 }
15568 return NULL;
15569 }
15570
15571
15572 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15575 bool arg2 = (bool) False ;
15576 bool result;
15577 PyObject * obj0 = 0 ;
15578 PyObject * obj1 = 0 ;
15579 char *kwnames[] = {
15580 (char *) "self",(char *) "currentOnly", NULL
15581 };
15582
15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15586 if (obj1) {
15587 arg2 = (bool) SWIG_AsBool(obj1);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 {
15591 PyThreadState* __tstate = wxPyBeginAllowThreads();
15592 result = (bool)(arg1)->Flush(arg2);
15593
15594 wxPyEndAllowThreads(__tstate);
15595 if (PyErr_Occurred()) SWIG_fail;
15596 }
15597 {
15598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15599 }
15600 return resultobj;
15601 fail:
15602 return NULL;
15603 }
15604
15605
15606 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15607 PyObject *resultobj;
15608 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15609 wxString *arg2 = 0 ;
15610 wxString *arg3 = 0 ;
15611 bool result;
15612 bool temp2 = False ;
15613 bool temp3 = False ;
15614 PyObject * obj0 = 0 ;
15615 PyObject * obj1 = 0 ;
15616 PyObject * obj2 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15624 {
15625 arg2 = wxString_in_helper(obj1);
15626 if (arg2 == NULL) SWIG_fail;
15627 temp2 = True;
15628 }
15629 {
15630 arg3 = wxString_in_helper(obj2);
15631 if (arg3 == NULL) SWIG_fail;
15632 temp3 = True;
15633 }
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 {
15642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15643 }
15644 {
15645 if (temp2)
15646 delete arg2;
15647 }
15648 {
15649 if (temp3)
15650 delete arg3;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp2)
15656 delete arg2;
15657 }
15658 {
15659 if (temp3)
15660 delete arg3;
15661 }
15662 return NULL;
15663 }
15664
15665
15666 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj;
15668 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15669 wxString *arg2 = 0 ;
15670 wxString *arg3 = 0 ;
15671 bool result;
15672 bool temp2 = False ;
15673 bool temp3 = False ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 PyObject * obj2 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15684 {
15685 arg2 = wxString_in_helper(obj1);
15686 if (arg2 == NULL) SWIG_fail;
15687 temp2 = True;
15688 }
15689 {
15690 arg3 = wxString_in_helper(obj2);
15691 if (arg3 == NULL) SWIG_fail;
15692 temp3 = True;
15693 }
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 {
15702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15703 }
15704 {
15705 if (temp2)
15706 delete arg2;
15707 }
15708 {
15709 if (temp3)
15710 delete arg3;
15711 }
15712 return resultobj;
15713 fail:
15714 {
15715 if (temp2)
15716 delete arg2;
15717 }
15718 {
15719 if (temp3)
15720 delete arg3;
15721 }
15722 return NULL;
15723 }
15724
15725
15726 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15727 PyObject *resultobj;
15728 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15729 wxString *arg2 = 0 ;
15730 bool arg3 = (bool) True ;
15731 bool result;
15732 bool temp2 = False ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15743 {
15744 arg2 = wxString_in_helper(obj1);
15745 if (arg2 == NULL) SWIG_fail;
15746 temp2 = True;
15747 }
15748 if (obj2) {
15749 arg3 = (bool) SWIG_AsBool(obj2);
15750 if (PyErr_Occurred()) SWIG_fail;
15751 }
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 {
15760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15761 }
15762 {
15763 if (temp2)
15764 delete arg2;
15765 }
15766 return resultobj;
15767 fail:
15768 {
15769 if (temp2)
15770 delete arg2;
15771 }
15772 return NULL;
15773 }
15774
15775
15776 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15777 PyObject *resultobj;
15778 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15779 wxString *arg2 = 0 ;
15780 bool result;
15781 bool temp2 = False ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "key", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15791 {
15792 arg2 = wxString_in_helper(obj1);
15793 if (arg2 == NULL) SWIG_fail;
15794 temp2 = True;
15795 }
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15805 }
15806 {
15807 if (temp2)
15808 delete arg2;
15809 }
15810 return resultobj;
15811 fail:
15812 {
15813 if (temp2)
15814 delete arg2;
15815 }
15816 return NULL;
15817 }
15818
15819
15820 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15821 PyObject *resultobj;
15822 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15823 bool result;
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15832 {
15833 PyThreadState* __tstate = wxPyBeginAllowThreads();
15834 result = (bool)(arg1)->DeleteAll();
15835
15836 wxPyEndAllowThreads(__tstate);
15837 if (PyErr_Occurred()) SWIG_fail;
15838 }
15839 {
15840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15841 }
15842 return resultobj;
15843 fail:
15844 return NULL;
15845 }
15846
15847
15848 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15851 bool arg2 = (bool) True ;
15852 PyObject * obj0 = 0 ;
15853 PyObject * obj1 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self",(char *) "doIt", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15861 if (obj1) {
15862 arg2 = (bool) SWIG_AsBool(obj1);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 (arg1)->SetExpandEnvVars(arg2);
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 Py_INCREF(Py_None); resultobj = Py_None;
15873 return resultobj;
15874 fail:
15875 return NULL;
15876 }
15877
15878
15879 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15882 bool result;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 {
15899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15900 }
15901 return resultobj;
15902 fail:
15903 return NULL;
15904 }
15905
15906
15907 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15908 PyObject *resultobj;
15909 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15910 bool arg2 = (bool) True ;
15911 PyObject * obj0 = 0 ;
15912 PyObject * obj1 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self",(char *) "doIt", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15920 if (obj1) {
15921 arg2 = (bool) SWIG_AsBool(obj1);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->SetRecordDefaults(arg2);
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15941 bool result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 {
15958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15959 }
15960 return resultobj;
15961 fail:
15962 return NULL;
15963 }
15964
15965
15966 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15969 wxString *arg2 = 0 ;
15970 wxString result;
15971 bool temp2 = False ;
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self",(char *) "str", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15981 {
15982 arg2 = wxString_in_helper(obj1);
15983 if (arg2 == NULL) SWIG_fail;
15984 temp2 = True;
15985 }
15986 {
15987 PyThreadState* __tstate = wxPyBeginAllowThreads();
15988 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15989
15990 wxPyEndAllowThreads(__tstate);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 }
15993 {
15994 #if wxUSE_UNICODE
15995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15996 #else
15997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15998 #endif
15999 }
16000 {
16001 if (temp2)
16002 delete arg2;
16003 }
16004 return resultobj;
16005 fail:
16006 {
16007 if (temp2)
16008 delete arg2;
16009 }
16010 return NULL;
16011 }
16012
16013
16014 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj;
16016 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16017 wxString result;
16018 PyObject * obj0 = 0 ;
16019 char *kwnames[] = {
16020 (char *) "self", NULL
16021 };
16022
16023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16026 {
16027 PyThreadState* __tstate = wxPyBeginAllowThreads();
16028 result = ((wxConfigBase const *)arg1)->GetAppName();
16029
16030 wxPyEndAllowThreads(__tstate);
16031 if (PyErr_Occurred()) SWIG_fail;
16032 }
16033 {
16034 #if wxUSE_UNICODE
16035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16036 #else
16037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16038 #endif
16039 }
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16049 wxString result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16058 {
16059 PyThreadState* __tstate = wxPyBeginAllowThreads();
16060 result = ((wxConfigBase const *)arg1)->GetVendorName();
16061
16062 wxPyEndAllowThreads(__tstate);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 }
16065 {
16066 #if wxUSE_UNICODE
16067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16068 #else
16069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16070 #endif
16071 }
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16081 wxString *arg2 = 0 ;
16082 bool temp2 = False ;
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "appName", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16092 {
16093 arg2 = wxString_in_helper(obj1);
16094 if (arg2 == NULL) SWIG_fail;
16095 temp2 = True;
16096 }
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 (arg1)->SetAppName((wxString const &)*arg2);
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 Py_INCREF(Py_None); resultobj = Py_None;
16105 {
16106 if (temp2)
16107 delete arg2;
16108 }
16109 return resultobj;
16110 fail:
16111 {
16112 if (temp2)
16113 delete arg2;
16114 }
16115 return NULL;
16116 }
16117
16118
16119 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16122 wxString *arg2 = 0 ;
16123 bool temp2 = False ;
16124 PyObject * obj0 = 0 ;
16125 PyObject * obj1 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self",(char *) "vendorName", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16133 {
16134 arg2 = wxString_in_helper(obj1);
16135 if (arg2 == NULL) SWIG_fail;
16136 temp2 = True;
16137 }
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 (arg1)->SetVendorName((wxString const &)*arg2);
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 Py_INCREF(Py_None); resultobj = Py_None;
16146 {
16147 if (temp2)
16148 delete arg2;
16149 }
16150 return resultobj;
16151 fail:
16152 {
16153 if (temp2)
16154 delete arg2;
16155 }
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16163 long arg2 ;
16164 PyObject * obj0 = 0 ;
16165 PyObject * obj1 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self",(char *) "style", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16173 arg2 = (long) SWIG_AsLong(obj1);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 {
16176 PyThreadState* __tstate = wxPyBeginAllowThreads();
16177 (arg1)->SetStyle(arg2);
16178
16179 wxPyEndAllowThreads(__tstate);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16192 long result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 resultobj = SWIG_FromLong((long)result);
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
16216 PyObject *obj;
16217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16218 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16219 Py_INCREF(obj);
16220 return Py_BuildValue((char *)"");
16221 }
16222 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxString const &arg1_defvalue = wxPyEmptyString ;
16225 wxString *arg1 = (wxString *) &arg1_defvalue ;
16226 wxString const &arg2_defvalue = wxPyEmptyString ;
16227 wxString *arg2 = (wxString *) &arg2_defvalue ;
16228 wxString const &arg3_defvalue = wxPyEmptyString ;
16229 wxString *arg3 = (wxString *) &arg3_defvalue ;
16230 wxString const &arg4_defvalue = wxPyEmptyString ;
16231 wxString *arg4 = (wxString *) &arg4_defvalue ;
16232 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16233 wxConfig *result;
16234 bool temp1 = False ;
16235 bool temp2 = False ;
16236 bool temp3 = False ;
16237 bool temp4 = False ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 PyObject * obj2 = 0 ;
16241 PyObject * obj3 = 0 ;
16242 PyObject * obj4 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16248 if (obj0) {
16249 {
16250 arg1 = wxString_in_helper(obj0);
16251 if (arg1 == NULL) SWIG_fail;
16252 temp1 = True;
16253 }
16254 }
16255 if (obj1) {
16256 {
16257 arg2 = wxString_in_helper(obj1);
16258 if (arg2 == NULL) SWIG_fail;
16259 temp2 = True;
16260 }
16261 }
16262 if (obj2) {
16263 {
16264 arg3 = wxString_in_helper(obj2);
16265 if (arg3 == NULL) SWIG_fail;
16266 temp3 = True;
16267 }
16268 }
16269 if (obj3) {
16270 {
16271 arg4 = wxString_in_helper(obj3);
16272 if (arg4 == NULL) SWIG_fail;
16273 temp4 = True;
16274 }
16275 }
16276 if (obj4) {
16277 arg5 = (long) SWIG_AsLong(obj4);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16288 {
16289 if (temp1)
16290 delete arg1;
16291 }
16292 {
16293 if (temp2)
16294 delete arg2;
16295 }
16296 {
16297 if (temp3)
16298 delete arg3;
16299 }
16300 {
16301 if (temp4)
16302 delete arg4;
16303 }
16304 return resultobj;
16305 fail:
16306 {
16307 if (temp1)
16308 delete arg1;
16309 }
16310 {
16311 if (temp2)
16312 delete arg2;
16313 }
16314 {
16315 if (temp3)
16316 delete arg3;
16317 }
16318 {
16319 if (temp4)
16320 delete arg4;
16321 }
16322 return NULL;
16323 }
16324
16325
16326 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16327 PyObject *resultobj;
16328 wxConfig *arg1 = (wxConfig *) 0 ;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 delete arg1;
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 Py_INCREF(Py_None); resultobj = Py_None;
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16352 PyObject *obj;
16353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16354 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16355 Py_INCREF(obj);
16356 return Py_BuildValue((char *)"");
16357 }
16358 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16359 PyObject *resultobj;
16360 wxString const &arg1_defvalue = wxPyEmptyString ;
16361 wxString *arg1 = (wxString *) &arg1_defvalue ;
16362 wxString const &arg2_defvalue = wxPyEmptyString ;
16363 wxString *arg2 = (wxString *) &arg2_defvalue ;
16364 wxString const &arg3_defvalue = wxPyEmptyString ;
16365 wxString *arg3 = (wxString *) &arg3_defvalue ;
16366 wxString const &arg4_defvalue = wxPyEmptyString ;
16367 wxString *arg4 = (wxString *) &arg4_defvalue ;
16368 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16369 wxFileConfig *result;
16370 bool temp1 = False ;
16371 bool temp2 = False ;
16372 bool temp3 = False ;
16373 bool temp4 = False ;
16374 PyObject * obj0 = 0 ;
16375 PyObject * obj1 = 0 ;
16376 PyObject * obj2 = 0 ;
16377 PyObject * obj3 = 0 ;
16378 PyObject * obj4 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16384 if (obj0) {
16385 {
16386 arg1 = wxString_in_helper(obj0);
16387 if (arg1 == NULL) SWIG_fail;
16388 temp1 = True;
16389 }
16390 }
16391 if (obj1) {
16392 {
16393 arg2 = wxString_in_helper(obj1);
16394 if (arg2 == NULL) SWIG_fail;
16395 temp2 = True;
16396 }
16397 }
16398 if (obj2) {
16399 {
16400 arg3 = wxString_in_helper(obj2);
16401 if (arg3 == NULL) SWIG_fail;
16402 temp3 = True;
16403 }
16404 }
16405 if (obj3) {
16406 {
16407 arg4 = wxString_in_helper(obj3);
16408 if (arg4 == NULL) SWIG_fail;
16409 temp4 = True;
16410 }
16411 }
16412 if (obj4) {
16413 arg5 = (long) SWIG_AsLong(obj4);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16424 {
16425 if (temp1)
16426 delete arg1;
16427 }
16428 {
16429 if (temp2)
16430 delete arg2;
16431 }
16432 {
16433 if (temp3)
16434 delete arg3;
16435 }
16436 {
16437 if (temp4)
16438 delete arg4;
16439 }
16440 return resultobj;
16441 fail:
16442 {
16443 if (temp1)
16444 delete arg1;
16445 }
16446 {
16447 if (temp2)
16448 delete arg2;
16449 }
16450 {
16451 if (temp3)
16452 delete arg3;
16453 }
16454 {
16455 if (temp4)
16456 delete arg4;
16457 }
16458 return NULL;
16459 }
16460
16461
16462 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj;
16464 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16465 PyObject * obj0 = 0 ;
16466 char *kwnames[] = {
16467 (char *) "self", NULL
16468 };
16469
16470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16473 {
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 delete arg1;
16476
16477 wxPyEndAllowThreads(__tstate);
16478 if (PyErr_Occurred()) SWIG_fail;
16479 }
16480 Py_INCREF(Py_None); resultobj = Py_None;
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16488 PyObject *obj;
16489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16490 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16491 Py_INCREF(obj);
16492 return Py_BuildValue((char *)"");
16493 }
16494 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16497 wxString *arg2 = 0 ;
16498 wxConfigPathChanger *result;
16499 bool temp2 = False ;
16500 PyObject * obj0 = 0 ;
16501 PyObject * obj1 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "config",(char *) "entry", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16509 {
16510 arg2 = wxString_in_helper(obj1);
16511 if (arg2 == NULL) SWIG_fail;
16512 temp2 = True;
16513 }
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16522 {
16523 if (temp2)
16524 delete arg2;
16525 }
16526 return resultobj;
16527 fail:
16528 {
16529 if (temp2)
16530 delete arg2;
16531 }
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16539 PyObject * obj0 = 0 ;
16540 char *kwnames[] = {
16541 (char *) "self", NULL
16542 };
16543
16544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 delete arg1;
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 Py_INCREF(Py_None); resultobj = Py_None;
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16564 wxString *result;
16565 PyObject * obj0 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self", NULL
16568 };
16569
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16573 {
16574 PyThreadState* __tstate = wxPyBeginAllowThreads();
16575 {
16576 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16577 result = (wxString *) &_result_ref;
16578 }
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 {
16584 #if wxUSE_UNICODE
16585 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16586 #else
16587 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16588 #endif
16589 }
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16597 PyObject *obj;
16598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16599 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16600 Py_INCREF(obj);
16601 return Py_BuildValue((char *)"");
16602 }
16603 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 wxString *arg1 = 0 ;
16606 wxString result;
16607 bool temp1 = False ;
16608 PyObject * obj0 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "sz", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16614 {
16615 arg1 = wxString_in_helper(obj0);
16616 if (arg1 == NULL) SWIG_fail;
16617 temp1 = True;
16618 }
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = wxExpandEnvVars((wxString const &)*arg1);
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 {
16627 #if wxUSE_UNICODE
16628 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16629 #else
16630 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16631 #endif
16632 }
16633 {
16634 if (temp1)
16635 delete arg1;
16636 }
16637 return resultobj;
16638 fail:
16639 {
16640 if (temp1)
16641 delete arg1;
16642 }
16643 return NULL;
16644 }
16645
16646
16647 static int _wrap_DateFormatStr_set(PyObject *_val) {
16648 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16649 return 1;
16650 }
16651
16652
16653 static PyObject *_wrap_DateFormatStr_get() {
16654 PyObject *pyobj;
16655
16656 {
16657 #if wxUSE_UNICODE
16658 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16659 #else
16660 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16661 #endif
16662 }
16663 return pyobj;
16664 }
16665
16666
16667 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16668 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16669 return 1;
16670 }
16671
16672
16673 static PyObject *_wrap_TimeSpanFormatStr_get() {
16674 PyObject *pyobj;
16675
16676 {
16677 #if wxUSE_UNICODE
16678 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16679 #else
16680 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16681 #endif
16682 }
16683 return pyobj;
16684 }
16685
16686
16687 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 int arg1 ;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "country", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16696 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 Py_INCREF(Py_None); resultobj = Py_None;
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj;
16714 int result;
16715 char *kwnames[] = {
16716 NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (int)wxDateTime::GetCountry();
16723
16724 wxPyEndAllowThreads(__tstate);
16725 if (PyErr_Occurred()) SWIG_fail;
16726 }
16727 resultobj = SWIG_FromInt((int)result);
16728 return resultobj;
16729 fail:
16730 return NULL;
16731 }
16732
16733
16734 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 int arg1 = (int) wxDateTime::Country_Default ;
16737 bool result;
16738 PyObject * obj0 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "country", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16744 if (obj0) {
16745 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 {
16756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16757 }
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 int arg1 = (int) wxDateTime::Gregorian ;
16767 int result;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "cal", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16774 if (obj0) {
16775 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16781
16782 wxPyEndAllowThreads(__tstate);
16783 if (PyErr_Occurred()) SWIG_fail;
16784 }
16785 resultobj = SWIG_FromInt((int)result);
16786 return resultobj;
16787 fail:
16788 return NULL;
16789 }
16790
16791
16792 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16793 PyObject *resultobj;
16794 int arg1 ;
16795 int result;
16796 PyObject * obj0 = 0 ;
16797 char *kwnames[] = {
16798 (char *) "year", NULL
16799 };
16800
16801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16802 arg1 = (int) SWIG_AsInt(obj0);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 {
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (int)wxDateTime::ConvertYearToBC(arg1);
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_FromInt((int)result);
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 int arg1 = (int) wxDateTime::Gregorian ;
16821 int result;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "cal", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16828 if (obj0) {
16829 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 resultobj = SWIG_FromInt((int)result);
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 int arg1 = (int) wxDateTime::Inv_Year ;
16849 int arg2 = (int) wxDateTime::Gregorian ;
16850 bool result;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "year",(char *) "cal", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16858 if (obj0) {
16859 arg1 = (int) SWIG_AsInt(obj0);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 if (obj1) {
16863 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16869
16870 wxPyEndAllowThreads(__tstate);
16871 if (PyErr_Occurred()) SWIG_fail;
16872 }
16873 {
16874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16875 }
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 int arg1 = (int) wxDateTime::Inv_Year ;
16885 int result;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "year", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16892 if (obj0) {
16893 arg1 = (int) SWIG_AsInt(obj0);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 result = (int)wxDateTime::GetCentury(arg1);
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 resultobj = SWIG_FromInt((int)result);
16904 return resultobj;
16905 fail:
16906 return NULL;
16907 }
16908
16909
16910 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 int arg1 ;
16913 int arg2 = (int) wxDateTime::Gregorian ;
16914 int result;
16915 PyObject * obj0 = 0 ;
16916 PyObject * obj1 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "year",(char *) "cal", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16922 arg1 = (int) SWIG_AsInt(obj0);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 if (obj1) {
16925 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_FromInt((int)result);
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 int arg1 ;
16945 int arg2 = (int) wxDateTime::Inv_Year ;
16946 int arg3 = (int) wxDateTime::Gregorian ;
16947 int result;
16948 PyObject * obj0 = 0 ;
16949 PyObject * obj1 = 0 ;
16950 PyObject * obj2 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "month",(char *) "year",(char *) "cal", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16956 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 if (obj1) {
16959 arg2 = (int) SWIG_AsInt(obj1);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 if (obj2) {
16963 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 resultobj = SWIG_FromInt((int)result);
16974 return resultobj;
16975 fail:
16976 return NULL;
16977 }
16978
16979
16980 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 int arg1 ;
16983 int arg2 = (int) wxDateTime::Name_Full ;
16984 wxString result;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "month",(char *) "flags", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16992 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 if (obj1) {
16995 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 {
17006 #if wxUSE_UNICODE
17007 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17008 #else
17009 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17010 #endif
17011 }
17012 return resultobj;
17013 fail:
17014 return NULL;
17015 }
17016
17017
17018 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
17019 PyObject *resultobj;
17020 int arg1 ;
17021 int arg2 = (int) wxDateTime::Name_Full ;
17022 wxString result;
17023 PyObject * obj0 = 0 ;
17024 PyObject * obj1 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "weekday",(char *) "flags", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17030 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 if (obj1) {
17033 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 {
17044 #if wxUSE_UNICODE
17045 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17046 #else
17047 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17048 #endif
17049 }
17050 return resultobj;
17051 fail:
17052 return NULL;
17053 }
17054
17055
17056 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj;
17058 wxString *arg1 = (wxString *) 0 ;
17059 wxString *arg2 = (wxString *) 0 ;
17060 bool temp1 = False ;
17061 bool temp2 = False ;
17062 PyObject * obj0 = 0 ;
17063 PyObject * obj1 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17066 };
17067
17068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17069 {
17070 arg1 = wxString_in_helper(obj0);
17071 if (arg1 == NULL) SWIG_fail;
17072 temp1 = True;
17073 }
17074 {
17075 arg2 = wxString_in_helper(obj1);
17076 if (arg2 == NULL) SWIG_fail;
17077 temp2 = True;
17078 }
17079 {
17080 PyThreadState* __tstate = wxPyBeginAllowThreads();
17081 wxDateTime::GetAmPmStrings(arg1,arg2);
17082
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 Py_INCREF(Py_None); resultobj = Py_None;
17087 {
17088 if (temp1)
17089 delete arg1;
17090 }
17091 {
17092 if (temp2)
17093 delete arg2;
17094 }
17095 return resultobj;
17096 fail:
17097 {
17098 if (temp1)
17099 delete arg1;
17100 }
17101 {
17102 if (temp2)
17103 delete arg2;
17104 }
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 int arg1 = (int) wxDateTime::Inv_Year ;
17112 int arg2 = (int) wxDateTime::Country_Default ;
17113 bool result;
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "year",(char *) "country", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17121 if (obj0) {
17122 arg1 = (int) SWIG_AsInt(obj0);
17123 if (PyErr_Occurred()) SWIG_fail;
17124 }
17125 if (obj1) {
17126 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 {
17137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17138 }
17139 return resultobj;
17140 fail:
17141 return NULL;
17142 }
17143
17144
17145 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 int arg1 = (int) wxDateTime::Inv_Year ;
17148 int arg2 = (int) wxDateTime::Country_Default ;
17149 wxDateTime result;
17150 PyObject * obj0 = 0 ;
17151 PyObject * obj1 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "year",(char *) "country", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17157 if (obj0) {
17158 arg1 = (int) SWIG_AsInt(obj0);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 if (obj1) {
17162 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 {
17173 wxDateTime * resultptr;
17174 resultptr = new wxDateTime((wxDateTime &) result);
17175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17176 }
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 int arg1 = (int) wxDateTime::Inv_Year ;
17186 int arg2 = (int) wxDateTime::Country_Default ;
17187 wxDateTime result;
17188 PyObject * obj0 = 0 ;
17189 PyObject * obj1 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "year",(char *) "country", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17195 if (obj0) {
17196 arg1 = (int) SWIG_AsInt(obj0);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 if (obj1) {
17200 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 {
17211 wxDateTime * resultptr;
17212 resultptr = new wxDateTime((wxDateTime &) result);
17213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17214 }
17215 return resultobj;
17216 fail:
17217 return NULL;
17218 }
17219
17220
17221 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
17222 PyObject *resultobj;
17223 wxDateTime result;
17224 char *kwnames[] = {
17225 NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = wxDateTime::Now();
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
17237 wxDateTime * resultptr;
17238 resultptr = new wxDateTime((wxDateTime &) result);
17239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17240 }
17241 return resultobj;
17242 fail:
17243 return NULL;
17244 }
17245
17246
17247 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxDateTime result;
17250 char *kwnames[] = {
17251 NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17255 {
17256 PyThreadState* __tstate = wxPyBeginAllowThreads();
17257 result = wxDateTime::UNow();
17258
17259 wxPyEndAllowThreads(__tstate);
17260 if (PyErr_Occurred()) SWIG_fail;
17261 }
17262 {
17263 wxDateTime * resultptr;
17264 resultptr = new wxDateTime((wxDateTime &) result);
17265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17266 }
17267 return resultobj;
17268 fail:
17269 return NULL;
17270 }
17271
17272
17273 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxDateTime result;
17276 char *kwnames[] = {
17277 NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 result = wxDateTime::Today();
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 wxDateTime * resultptr;
17290 resultptr = new wxDateTime((wxDateTime &) result);
17291 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17292 }
17293 return resultobj;
17294 fail:
17295 return NULL;
17296 }
17297
17298
17299 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17300 PyObject *resultobj;
17301 wxDateTime *result;
17302 char *kwnames[] = {
17303 NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = (wxDateTime *)new wxDateTime();
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17315 return resultobj;
17316 fail:
17317 return NULL;
17318 }
17319
17320
17321 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 time_t arg1 ;
17324 wxDateTime *result;
17325 PyObject * obj0 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "timet", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17331 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 {
17334 PyThreadState* __tstate = wxPyBeginAllowThreads();
17335 result = (wxDateTime *)new wxDateTime(arg1);
17336
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17341 return resultobj;
17342 fail:
17343 return NULL;
17344 }
17345
17346
17347 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17348 PyObject *resultobj;
17349 double arg1 ;
17350 wxDateTime *result;
17351 PyObject * obj0 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "jdn", NULL
17354 };
17355
17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17357 arg1 = (double) SWIG_AsDouble(obj0);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 result = (wxDateTime *)new wxDateTime(arg1);
17362
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17367 return resultobj;
17368 fail:
17369 return NULL;
17370 }
17371
17372
17373 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 int arg1 ;
17376 int arg2 = (int) 0 ;
17377 int arg3 = (int) 0 ;
17378 int arg4 = (int) 0 ;
17379 wxDateTime *result;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 PyObject * obj2 = 0 ;
17383 PyObject * obj3 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17389 arg1 = (int) SWIG_AsInt(obj0);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 if (obj1) {
17392 arg2 = (int) SWIG_AsInt(obj1);
17393 if (PyErr_Occurred()) SWIG_fail;
17394 }
17395 if (obj2) {
17396 arg3 = (int) SWIG_AsInt(obj2);
17397 if (PyErr_Occurred()) SWIG_fail;
17398 }
17399 if (obj3) {
17400 arg4 = (int) SWIG_AsInt(obj3);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 int arg1 ;
17420 int arg2 = (int) wxDateTime::Inv_Month ;
17421 int arg3 = (int) wxDateTime::Inv_Year ;
17422 int arg4 = (int) 0 ;
17423 int arg5 = (int) 0 ;
17424 int arg6 = (int) 0 ;
17425 int arg7 = (int) 0 ;
17426 wxDateTime *result;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 PyObject * obj2 = 0 ;
17430 PyObject * obj3 = 0 ;
17431 PyObject * obj4 = 0 ;
17432 PyObject * obj5 = 0 ;
17433 PyObject * obj6 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17439 arg1 = (int) SWIG_AsInt(obj0);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 if (obj1) {
17442 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 if (obj2) {
17446 arg3 = (int) SWIG_AsInt(obj2);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 }
17449 if (obj3) {
17450 arg4 = (int) SWIG_AsInt(obj3);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 if (obj4) {
17454 arg5 = (int) SWIG_AsInt(obj4);
17455 if (PyErr_Occurred()) SWIG_fail;
17456 }
17457 if (obj5) {
17458 arg6 = (int) SWIG_AsInt(obj5);
17459 if (PyErr_Occurred()) SWIG_fail;
17460 }
17461 if (obj6) {
17462 arg7 = (int) SWIG_AsInt(obj6);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxDateTime *arg1 = (wxDateTime *) 0 ;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 delete arg1;
17493
17494 wxPyEndAllowThreads(__tstate);
17495 if (PyErr_Occurred()) SWIG_fail;
17496 }
17497 Py_INCREF(Py_None); resultobj = Py_None;
17498 return resultobj;
17499 fail:
17500 return NULL;
17501 }
17502
17503
17504 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17505 PyObject *resultobj;
17506 wxDateTime *arg1 = (wxDateTime *) 0 ;
17507 wxDateTime *result;
17508 PyObject * obj0 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17516 {
17517 PyThreadState* __tstate = wxPyBeginAllowThreads();
17518 {
17519 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17520 result = (wxDateTime *) &_result_ref;
17521 }
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxDateTime *arg1 = (wxDateTime *) 0 ;
17536 time_t arg2 ;
17537 wxDateTime *result;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "timet", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17547 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 {
17552 wxDateTime &_result_ref = (arg1)->Set(arg2);
17553 result = (wxDateTime *) &_result_ref;
17554 }
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17560 return resultobj;
17561 fail:
17562 return NULL;
17563 }
17564
17565
17566 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxDateTime *arg1 = (wxDateTime *) 0 ;
17569 double arg2 ;
17570 wxDateTime *result;
17571 PyObject * obj0 = 0 ;
17572 PyObject * obj1 = 0 ;
17573 char *kwnames[] = {
17574 (char *) "self",(char *) "jdn", NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17580 arg2 = (double) SWIG_AsDouble(obj1);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 {
17585 wxDateTime &_result_ref = (arg1)->Set(arg2);
17586 result = (wxDateTime *) &_result_ref;
17587 }
17588
17589 wxPyEndAllowThreads(__tstate);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxDateTime *arg1 = (wxDateTime *) 0 ;
17602 int arg2 ;
17603 int arg3 = (int) 0 ;
17604 int arg4 = (int) 0 ;
17605 int arg5 = (int) 0 ;
17606 wxDateTime *result;
17607 PyObject * obj0 = 0 ;
17608 PyObject * obj1 = 0 ;
17609 PyObject * obj2 = 0 ;
17610 PyObject * obj3 = 0 ;
17611 PyObject * obj4 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17619 arg2 = (int) SWIG_AsInt(obj1);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 if (obj2) {
17622 arg3 = (int) SWIG_AsInt(obj2);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 if (obj3) {
17626 arg4 = (int) SWIG_AsInt(obj3);
17627 if (PyErr_Occurred()) SWIG_fail;
17628 }
17629 if (obj4) {
17630 arg5 = (int) SWIG_AsInt(obj4);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 {
17636 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17637 result = (wxDateTime *) &_result_ref;
17638 }
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxDateTime *arg1 = (wxDateTime *) 0 ;
17653 int arg2 ;
17654 int arg3 = (int) wxDateTime::Inv_Month ;
17655 int arg4 = (int) wxDateTime::Inv_Year ;
17656 int arg5 = (int) 0 ;
17657 int arg6 = (int) 0 ;
17658 int arg7 = (int) 0 ;
17659 int arg8 = (int) 0 ;
17660 wxDateTime *result;
17661 PyObject * obj0 = 0 ;
17662 PyObject * obj1 = 0 ;
17663 PyObject * obj2 = 0 ;
17664 PyObject * obj3 = 0 ;
17665 PyObject * obj4 = 0 ;
17666 PyObject * obj5 = 0 ;
17667 PyObject * obj6 = 0 ;
17668 PyObject * obj7 = 0 ;
17669 char *kwnames[] = {
17670 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17671 };
17672
17673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17676 arg2 = (int) SWIG_AsInt(obj1);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 if (obj2) {
17679 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17680 if (PyErr_Occurred()) SWIG_fail;
17681 }
17682 if (obj3) {
17683 arg4 = (int) SWIG_AsInt(obj3);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 if (obj4) {
17687 arg5 = (int) SWIG_AsInt(obj4);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 if (obj5) {
17691 arg6 = (int) SWIG_AsInt(obj5);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 if (obj6) {
17695 arg7 = (int) SWIG_AsInt(obj6);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 if (obj7) {
17699 arg8 = (int) SWIG_AsInt(obj7);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 {
17703 PyThreadState* __tstate = wxPyBeginAllowThreads();
17704 {
17705 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17706 result = (wxDateTime *) &_result_ref;
17707 }
17708
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17713 return resultobj;
17714 fail:
17715 return NULL;
17716 }
17717
17718
17719 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj;
17721 wxDateTime *arg1 = (wxDateTime *) 0 ;
17722 wxDateTime *result;
17723 PyObject * obj0 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17731 {
17732 PyThreadState* __tstate = wxPyBeginAllowThreads();
17733 {
17734 wxDateTime &_result_ref = (arg1)->ResetTime();
17735 result = (wxDateTime *) &_result_ref;
17736 }
17737
17738 wxPyEndAllowThreads(__tstate);
17739 if (PyErr_Occurred()) SWIG_fail;
17740 }
17741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxDateTime *arg1 = (wxDateTime *) 0 ;
17751 int arg2 ;
17752 wxDateTime *result;
17753 PyObject * obj0 = 0 ;
17754 PyObject * obj1 = 0 ;
17755 char *kwnames[] = {
17756 (char *) "self",(char *) "year", NULL
17757 };
17758
17759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17762 arg2 = (int) SWIG_AsInt(obj1);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 {
17767 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17768 result = (wxDateTime *) &_result_ref;
17769 }
17770
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxDateTime *arg1 = (wxDateTime *) 0 ;
17784 int arg2 ;
17785 wxDateTime *result;
17786 PyObject * obj0 = 0 ;
17787 PyObject * obj1 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self",(char *) "month", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17795 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 {
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 {
17800 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17801 result = (wxDateTime *) &_result_ref;
17802 }
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17808 return resultobj;
17809 fail:
17810 return NULL;
17811 }
17812
17813
17814 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxDateTime *arg1 = (wxDateTime *) 0 ;
17817 int arg2 ;
17818 wxDateTime *result;
17819 PyObject * obj0 = 0 ;
17820 PyObject * obj1 = 0 ;
17821 char *kwnames[] = {
17822 (char *) "self",(char *) "day", NULL
17823 };
17824
17825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17828 arg2 = (int) SWIG_AsInt(obj1);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 {
17831 PyThreadState* __tstate = wxPyBeginAllowThreads();
17832 {
17833 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17834 result = (wxDateTime *) &_result_ref;
17835 }
17836
17837 wxPyEndAllowThreads(__tstate);
17838 if (PyErr_Occurred()) SWIG_fail;
17839 }
17840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17841 return resultobj;
17842 fail:
17843 return NULL;
17844 }
17845
17846
17847 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17848 PyObject *resultobj;
17849 wxDateTime *arg1 = (wxDateTime *) 0 ;
17850 int arg2 ;
17851 wxDateTime *result;
17852 PyObject * obj0 = 0 ;
17853 PyObject * obj1 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "self",(char *) "hour", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17861 arg2 = (int) SWIG_AsInt(obj1);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 {
17866 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17867 result = (wxDateTime *) &_result_ref;
17868 }
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxDateTime *arg1 = (wxDateTime *) 0 ;
17883 int arg2 ;
17884 wxDateTime *result;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self",(char *) "minute", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17894 arg2 = (int) SWIG_AsInt(obj1);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 {
17899 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17900 result = (wxDateTime *) &_result_ref;
17901 }
17902
17903 wxPyEndAllowThreads(__tstate);
17904 if (PyErr_Occurred()) SWIG_fail;
17905 }
17906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17907 return resultobj;
17908 fail:
17909 return NULL;
17910 }
17911
17912
17913 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj;
17915 wxDateTime *arg1 = (wxDateTime *) 0 ;
17916 int arg2 ;
17917 wxDateTime *result;
17918 PyObject * obj0 = 0 ;
17919 PyObject * obj1 = 0 ;
17920 char *kwnames[] = {
17921 (char *) "self",(char *) "second", NULL
17922 };
17923
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17927 arg2 = (int) SWIG_AsInt(obj1);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 {
17932 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17933 result = (wxDateTime *) &_result_ref;
17934 }
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17940 return resultobj;
17941 fail:
17942 return NULL;
17943 }
17944
17945
17946 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17947 PyObject *resultobj;
17948 wxDateTime *arg1 = (wxDateTime *) 0 ;
17949 int arg2 ;
17950 wxDateTime *result;
17951 PyObject * obj0 = 0 ;
17952 PyObject * obj1 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self",(char *) "millisecond", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17960 arg2 = (int) SWIG_AsInt(obj1);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 {
17965 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17966 result = (wxDateTime *) &_result_ref;
17967 }
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxDateTime *arg1 = (wxDateTime *) 0 ;
17982 int arg2 ;
17983 int arg3 = (int) wxDateTime::Monday_First ;
17984 wxDateTime *result;
17985 PyObject * obj0 = 0 ;
17986 PyObject * obj1 = 0 ;
17987 PyObject * obj2 = 0 ;
17988 char *kwnames[] = {
17989 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17990 };
17991
17992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17995 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 if (obj2) {
17998 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 {
18004 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18005 result = (wxDateTime *) &_result_ref;
18006 }
18007
18008 wxPyEndAllowThreads(__tstate);
18009 if (PyErr_Occurred()) SWIG_fail;
18010 }
18011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18012 return resultobj;
18013 fail:
18014 return NULL;
18015 }
18016
18017
18018 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18019 PyObject *resultobj;
18020 wxDateTime *arg1 = (wxDateTime *) 0 ;
18021 int arg2 ;
18022 int arg3 = (int) wxDateTime::Monday_First ;
18023 wxDateTime result;
18024 PyObject * obj0 = 0 ;
18025 PyObject * obj1 = 0 ;
18026 PyObject * obj2 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 if (obj2) {
18037 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 {
18048 wxDateTime * resultptr;
18049 resultptr = new wxDateTime((wxDateTime &) result);
18050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxDateTime *arg1 = (wxDateTime *) 0 ;
18061 int arg2 ;
18062 wxDateTime *result;
18063 PyObject * obj0 = 0 ;
18064 PyObject * obj1 = 0 ;
18065 char *kwnames[] = {
18066 (char *) "self",(char *) "weekday", NULL
18067 };
18068
18069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18072 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 {
18077 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18078 result = (wxDateTime *) &_result_ref;
18079 }
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxDateTime *arg1 = (wxDateTime *) 0 ;
18094 int arg2 ;
18095 wxDateTime result;
18096 PyObject * obj0 = 0 ;
18097 PyObject * obj1 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "weekday", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18105 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 {
18115 wxDateTime * resultptr;
18116 resultptr = new wxDateTime((wxDateTime &) result);
18117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18118 }
18119 return resultobj;
18120 fail:
18121 return NULL;
18122 }
18123
18124
18125 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18126 PyObject *resultobj;
18127 wxDateTime *arg1 = (wxDateTime *) 0 ;
18128 int arg2 ;
18129 wxDateTime *result;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj1 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self",(char *) "weekday", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18139 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 {
18142 PyThreadState* __tstate = wxPyBeginAllowThreads();
18143 {
18144 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18145 result = (wxDateTime *) &_result_ref;
18146 }
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18152 return resultobj;
18153 fail:
18154 return NULL;
18155 }
18156
18157
18158 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxDateTime *arg1 = (wxDateTime *) 0 ;
18161 int arg2 ;
18162 wxDateTime result;
18163 PyObject * obj0 = 0 ;
18164 PyObject * obj1 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self",(char *) "weekday", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18172 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 wxDateTime * resultptr;
18183 resultptr = new wxDateTime((wxDateTime &) result);
18184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18185 }
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxDateTime *arg1 = (wxDateTime *) 0 ;
18195 int arg2 ;
18196 int arg3 = (int) 1 ;
18197 int arg4 = (int) wxDateTime::Inv_Month ;
18198 int arg5 = (int) wxDateTime::Inv_Year ;
18199 bool result;
18200 PyObject * obj0 = 0 ;
18201 PyObject * obj1 = 0 ;
18202 PyObject * obj2 = 0 ;
18203 PyObject * obj3 = 0 ;
18204 PyObject * obj4 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18212 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 if (obj2) {
18215 arg3 = (int) SWIG_AsInt(obj2);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 if (obj3) {
18219 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 if (obj4) {
18223 arg5 = (int) SWIG_AsInt(obj4);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 {
18234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18235 }
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxDateTime *arg1 = (wxDateTime *) 0 ;
18245 int arg2 ;
18246 int arg3 = (int) wxDateTime::Inv_Month ;
18247 int arg4 = (int) wxDateTime::Inv_Year ;
18248 bool result;
18249 PyObject * obj0 = 0 ;
18250 PyObject * obj1 = 0 ;
18251 PyObject * obj2 = 0 ;
18252 PyObject * obj3 = 0 ;
18253 char *kwnames[] = {
18254 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18255 };
18256
18257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18260 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 if (obj2) {
18263 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 if (obj3) {
18267 arg4 = (int) SWIG_AsInt(obj3);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
18270 {
18271 PyThreadState* __tstate = wxPyBeginAllowThreads();
18272 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18273
18274 wxPyEndAllowThreads(__tstate);
18275 if (PyErr_Occurred()) SWIG_fail;
18276 }
18277 {
18278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18279 }
18280 return resultobj;
18281 fail:
18282 return NULL;
18283 }
18284
18285
18286 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxDateTime *arg1 = (wxDateTime *) 0 ;
18289 int arg2 ;
18290 int arg3 = (int) wxDateTime::Inv_Month ;
18291 int arg4 = (int) wxDateTime::Inv_Year ;
18292 wxDateTime result;
18293 PyObject * obj0 = 0 ;
18294 PyObject * obj1 = 0 ;
18295 PyObject * obj2 = 0 ;
18296 PyObject * obj3 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18304 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 if (obj2) {
18307 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 if (obj3) {
18311 arg4 = (int) SWIG_AsInt(obj3);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18317
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 {
18322 wxDateTime * resultptr;
18323 resultptr = new wxDateTime((wxDateTime &) result);
18324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18325 }
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxDateTime *arg1 = (wxDateTime *) 0 ;
18335 int arg2 ;
18336 int arg3 = (int) wxDateTime::Mon ;
18337 int arg4 = (int) wxDateTime::Monday_First ;
18338 bool result;
18339 PyObject * obj0 = 0 ;
18340 PyObject * obj1 = 0 ;
18341 PyObject * obj2 = 0 ;
18342 PyObject * obj3 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18350 arg2 = (int) SWIG_AsInt(obj1);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 if (obj2) {
18353 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 if (obj3) {
18357 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18369 }
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxDateTime *arg1 = (wxDateTime *) 0 ;
18379 int arg2 ;
18380 int arg3 = (int) wxDateTime::Mon ;
18381 int arg4 = (int) wxDateTime::Monday_First ;
18382 wxDateTime result;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 PyObject * obj2 = 0 ;
18386 PyObject * obj3 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18394 arg2 = (int) SWIG_AsInt(obj1);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 if (obj2) {
18397 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18398 if (PyErr_Occurred()) SWIG_fail;
18399 }
18400 if (obj3) {
18401 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 {
18412 wxDateTime * resultptr;
18413 resultptr = new wxDateTime((wxDateTime &) result);
18414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18415 }
18416 return resultobj;
18417 fail:
18418 return NULL;
18419 }
18420
18421
18422 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxDateTime *arg1 = (wxDateTime *) 0 ;
18425 int arg2 = (int) wxDateTime::Inv_Month ;
18426 int arg3 = (int) wxDateTime::Inv_Year ;
18427 wxDateTime *result;
18428 PyObject * obj0 = 0 ;
18429 PyObject * obj1 = 0 ;
18430 PyObject * obj2 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "month",(char *) "year", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 if (obj1) {
18439 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18440 if (PyErr_Occurred()) SWIG_fail;
18441 }
18442 if (obj2) {
18443 arg3 = (int) SWIG_AsInt(obj2);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 {
18449 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18450 result = (wxDateTime *) &_result_ref;
18451 }
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
18456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18457 return resultobj;
18458 fail:
18459 return NULL;
18460 }
18461
18462
18463 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxDateTime *arg1 = (wxDateTime *) 0 ;
18466 int arg2 = (int) wxDateTime::Inv_Month ;
18467 int arg3 = (int) wxDateTime::Inv_Year ;
18468 wxDateTime result;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj1 = 0 ;
18471 PyObject * obj2 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "month",(char *) "year", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18479 if (obj1) {
18480 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18481 if (PyErr_Occurred()) SWIG_fail;
18482 }
18483 if (obj2) {
18484 arg3 = (int) SWIG_AsInt(obj2);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 {
18495 wxDateTime * resultptr;
18496 resultptr = new wxDateTime((wxDateTime &) result);
18497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18498 }
18499 return resultobj;
18500 fail:
18501 return NULL;
18502 }
18503
18504
18505 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, 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 *) "yday", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",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_AsInt(obj1);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 {
18524 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18525 result = (wxDateTime *) &_result_ref;
18526 }
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxDateTime *arg1 = (wxDateTime *) 0 ;
18541 int arg2 ;
18542 wxDateTime result;
18543 PyObject * obj0 = 0 ;
18544 PyObject * obj1 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self",(char *) "yday", NULL
18547 };
18548
18549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18552 arg2 = (int) SWIG_AsInt(obj1);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (arg1)->GetYearDay(arg2);
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 {
18562 wxDateTime * resultptr;
18563 resultptr = new wxDateTime((wxDateTime &) result);
18564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxDateTime *arg1 = (wxDateTime *) 0 ;
18575 double result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (double)(arg1)->GetJulianDayNumber();
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 resultobj = SWIG_FromDouble((double)result);
18592 return resultobj;
18593 fail:
18594 return NULL;
18595 }
18596
18597
18598 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18599 PyObject *resultobj;
18600 wxDateTime *arg1 = (wxDateTime *) 0 ;
18601 double result;
18602 PyObject * obj0 = 0 ;
18603 char *kwnames[] = {
18604 (char *) "self", NULL
18605 };
18606
18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18610 {
18611 PyThreadState* __tstate = wxPyBeginAllowThreads();
18612 result = (double)(arg1)->GetJDN();
18613
18614 wxPyEndAllowThreads(__tstate);
18615 if (PyErr_Occurred()) SWIG_fail;
18616 }
18617 resultobj = SWIG_FromDouble((double)result);
18618 return resultobj;
18619 fail:
18620 return NULL;
18621 }
18622
18623
18624 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18625 PyObject *resultobj;
18626 wxDateTime *arg1 = (wxDateTime *) 0 ;
18627 double result;
18628 PyObject * obj0 = 0 ;
18629 char *kwnames[] = {
18630 (char *) "self", NULL
18631 };
18632
18633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = SWIG_FromDouble((double)result);
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxDateTime *arg1 = (wxDateTime *) 0 ;
18653 double result;
18654 PyObject * obj0 = 0 ;
18655 char *kwnames[] = {
18656 (char *) "self", NULL
18657 };
18658
18659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 result = (double)(arg1)->GetMJD();
18665
18666 wxPyEndAllowThreads(__tstate);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 resultobj = SWIG_FromDouble((double)result);
18670 return resultobj;
18671 fail:
18672 return NULL;
18673 }
18674
18675
18676 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18677 PyObject *resultobj;
18678 wxDateTime *arg1 = (wxDateTime *) 0 ;
18679 double result;
18680 PyObject * obj0 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18688 {
18689 PyThreadState* __tstate = wxPyBeginAllowThreads();
18690 result = (double)(arg1)->GetRataDie();
18691
18692 wxPyEndAllowThreads(__tstate);
18693 if (PyErr_Occurred()) SWIG_fail;
18694 }
18695 resultobj = SWIG_FromDouble((double)result);
18696 return resultobj;
18697 fail:
18698 return NULL;
18699 }
18700
18701
18702 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18703 PyObject *resultobj;
18704 wxDateTime *arg1 = (wxDateTime *) 0 ;
18705 wxDateTime::TimeZone *arg2 = 0 ;
18706 bool arg3 = (bool) False ;
18707 wxDateTime result;
18708 bool temp2 = False ;
18709 PyObject * obj0 = 0 ;
18710 PyObject * obj1 = 0 ;
18711 PyObject * obj2 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18719 {
18720 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18721 temp2 = True;
18722 }
18723 if (obj2) {
18724 arg3 = (bool) SWIG_AsBool(obj2);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 {
18735 wxDateTime * resultptr;
18736 resultptr = new wxDateTime((wxDateTime &) result);
18737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18738 }
18739 {
18740 if (temp2) delete arg2;
18741 }
18742 return resultobj;
18743 fail:
18744 {
18745 if (temp2) delete arg2;
18746 }
18747 return NULL;
18748 }
18749
18750
18751 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxDateTime *arg1 = (wxDateTime *) 0 ;
18754 wxDateTime::TimeZone *arg2 = 0 ;
18755 bool arg3 = (bool) False ;
18756 wxDateTime *result;
18757 bool temp2 = False ;
18758 PyObject * obj0 = 0 ;
18759 PyObject * obj1 = 0 ;
18760 PyObject * obj2 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18768 {
18769 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18770 temp2 = True;
18771 }
18772 if (obj2) {
18773 arg3 = (bool) SWIG_AsBool(obj2);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 {
18777 PyThreadState* __tstate = wxPyBeginAllowThreads();
18778 {
18779 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18780 result = (wxDateTime *) &_result_ref;
18781 }
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18787 {
18788 if (temp2) delete arg2;
18789 }
18790 return resultobj;
18791 fail:
18792 {
18793 if (temp2) delete arg2;
18794 }
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxDateTime *arg1 = (wxDateTime *) 0 ;
18802 bool arg2 = (bool) False ;
18803 wxDateTime result;
18804 PyObject * obj0 = 0 ;
18805 PyObject * obj1 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self",(char *) "noDST", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18813 if (obj1) {
18814 arg2 = (bool) SWIG_AsBool(obj1);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 result = (arg1)->ToGMT(arg2);
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 {
18825 wxDateTime * resultptr;
18826 resultptr = new wxDateTime((wxDateTime &) result);
18827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18828 }
18829 return resultobj;
18830 fail:
18831 return NULL;
18832 }
18833
18834
18835 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18836 PyObject *resultobj;
18837 wxDateTime *arg1 = (wxDateTime *) 0 ;
18838 bool arg2 = (bool) False ;
18839 wxDateTime *result;
18840 PyObject * obj0 = 0 ;
18841 PyObject * obj1 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "noDST", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18849 if (obj1) {
18850 arg2 = (bool) SWIG_AsBool(obj1);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 {
18856 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18857 result = (wxDateTime *) &_result_ref;
18858 }
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxDateTime *arg1 = (wxDateTime *) 0 ;
18873 int arg2 = (int) wxDateTime::Country_Default ;
18874 int result;
18875 PyObject * obj0 = 0 ;
18876 PyObject * obj1 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self",(char *) "country", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18884 if (obj1) {
18885 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18891
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_FromInt((int)result);
18896 return resultobj;
18897 fail:
18898 return NULL;
18899 }
18900
18901
18902 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18903 PyObject *resultobj;
18904 wxDateTime *arg1 = (wxDateTime *) 0 ;
18905 bool result;
18906 PyObject * obj0 = 0 ;
18907 char *kwnames[] = {
18908 (char *) "self", NULL
18909 };
18910
18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (bool)((wxDateTime const *)arg1)->IsValid();
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 {
18922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18923 }
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxDateTime *arg1 = (wxDateTime *) 0 ;
18933 time_t result;
18934 PyObject * obj0 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
18950 return resultobj;
18951 fail:
18952 return NULL;
18953 }
18954
18955
18956 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxDateTime *arg1 = (wxDateTime *) 0 ;
18959 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18960 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18961 int result;
18962 bool temp2 = False ;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self",(char *) "tz", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18972 if (obj1) {
18973 {
18974 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18975 temp2 = True;
18976 }
18977 }
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 resultobj = SWIG_FromInt((int)result);
18986 {
18987 if (temp2) delete arg2;
18988 }
18989 return resultobj;
18990 fail:
18991 {
18992 if (temp2) delete arg2;
18993 }
18994 return NULL;
18995 }
18996
18997
18998 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj;
19000 wxDateTime *arg1 = (wxDateTime *) 0 ;
19001 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19002 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19003 int result;
19004 bool temp2 = False ;
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 char *kwnames[] = {
19008 (char *) "self",(char *) "tz", NULL
19009 };
19010
19011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
19012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19014 if (obj1) {
19015 {
19016 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19017 temp2 = True;
19018 }
19019 }
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 resultobj = SWIG_FromInt((int)result);
19028 {
19029 if (temp2) delete arg2;
19030 }
19031 return resultobj;
19032 fail:
19033 {
19034 if (temp2) delete arg2;
19035 }
19036 return NULL;
19037 }
19038
19039
19040 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxDateTime *arg1 = (wxDateTime *) 0 ;
19043 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19044 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19045 int result;
19046 bool temp2 = False ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "tz", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19056 if (obj1) {
19057 {
19058 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19059 temp2 = True;
19060 }
19061 }
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 resultobj = SWIG_FromInt((int)result);
19070 {
19071 if (temp2) delete arg2;
19072 }
19073 return resultobj;
19074 fail:
19075 {
19076 if (temp2) delete arg2;
19077 }
19078 return NULL;
19079 }
19080
19081
19082 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19083 PyObject *resultobj;
19084 wxDateTime *arg1 = (wxDateTime *) 0 ;
19085 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19086 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19087 int result;
19088 bool temp2 = False ;
19089 PyObject * obj0 = 0 ;
19090 PyObject * obj1 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "tz", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19098 if (obj1) {
19099 {
19100 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19101 temp2 = True;
19102 }
19103 }
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 resultobj = SWIG_FromInt((int)result);
19112 {
19113 if (temp2) delete arg2;
19114 }
19115 return resultobj;
19116 fail:
19117 {
19118 if (temp2) delete arg2;
19119 }
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxDateTime *arg1 = (wxDateTime *) 0 ;
19127 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19128 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19129 int result;
19130 bool temp2 = False ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 char *kwnames[] = {
19134 (char *) "self",(char *) "tz", NULL
19135 };
19136
19137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19140 if (obj1) {
19141 {
19142 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19143 temp2 = True;
19144 }
19145 }
19146 {
19147 PyThreadState* __tstate = wxPyBeginAllowThreads();
19148 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19149
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 resultobj = SWIG_FromInt((int)result);
19154 {
19155 if (temp2) delete arg2;
19156 }
19157 return resultobj;
19158 fail:
19159 {
19160 if (temp2) delete arg2;
19161 }
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxDateTime *arg1 = (wxDateTime *) 0 ;
19169 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19170 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19171 int result;
19172 bool temp2 = False ;
19173 PyObject * obj0 = 0 ;
19174 PyObject * obj1 = 0 ;
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "tz", NULL
19177 };
19178
19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19182 if (obj1) {
19183 {
19184 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19185 temp2 = True;
19186 }
19187 }
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 resultobj = SWIG_FromInt((int)result);
19196 {
19197 if (temp2) delete arg2;
19198 }
19199 return resultobj;
19200 fail:
19201 {
19202 if (temp2) delete arg2;
19203 }
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxDateTime *arg1 = (wxDateTime *) 0 ;
19211 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19212 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19213 int result;
19214 bool temp2 = False ;
19215 PyObject * obj0 = 0 ;
19216 PyObject * obj1 = 0 ;
19217 char *kwnames[] = {
19218 (char *) "self",(char *) "tz", NULL
19219 };
19220
19221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19224 if (obj1) {
19225 {
19226 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19227 temp2 = True;
19228 }
19229 }
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 resultobj = SWIG_FromInt((int)result);
19238 {
19239 if (temp2) delete arg2;
19240 }
19241 return resultobj;
19242 fail:
19243 {
19244 if (temp2) delete arg2;
19245 }
19246 return NULL;
19247 }
19248
19249
19250 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj;
19252 wxDateTime *arg1 = (wxDateTime *) 0 ;
19253 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19254 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19255 int result;
19256 bool temp2 = False ;
19257 PyObject * obj0 = 0 ;
19258 PyObject * obj1 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self",(char *) "tz", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19266 if (obj1) {
19267 {
19268 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19269 temp2 = True;
19270 }
19271 }
19272 {
19273 PyThreadState* __tstate = wxPyBeginAllowThreads();
19274 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19275
19276 wxPyEndAllowThreads(__tstate);
19277 if (PyErr_Occurred()) SWIG_fail;
19278 }
19279 resultobj = SWIG_FromInt((int)result);
19280 {
19281 if (temp2) delete arg2;
19282 }
19283 return resultobj;
19284 fail:
19285 {
19286 if (temp2) delete arg2;
19287 }
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxDateTime *arg1 = (wxDateTime *) 0 ;
19295 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19296 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19297 int result;
19298 bool temp2 = False ;
19299 PyObject * obj0 = 0 ;
19300 PyObject * obj1 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self",(char *) "tz", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19308 if (obj1) {
19309 {
19310 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19311 temp2 = True;
19312 }
19313 }
19314 {
19315 PyThreadState* __tstate = wxPyBeginAllowThreads();
19316 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19317
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_FromInt((int)result);
19322 {
19323 if (temp2) delete arg2;
19324 }
19325 return resultobj;
19326 fail:
19327 {
19328 if (temp2) delete arg2;
19329 }
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxDateTime *arg1 = (wxDateTime *) 0 ;
19337 int arg2 = (int) wxDateTime::Monday_First ;
19338 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19339 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19340 int result;
19341 bool temp3 = False ;
19342 PyObject * obj0 = 0 ;
19343 PyObject * obj1 = 0 ;
19344 PyObject * obj2 = 0 ;
19345 char *kwnames[] = {
19346 (char *) "self",(char *) "flags",(char *) "tz", NULL
19347 };
19348
19349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19352 if (obj1) {
19353 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 if (obj2) {
19357 {
19358 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19359 temp3 = True;
19360 }
19361 }
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 resultobj = SWIG_FromInt((int)result);
19370 {
19371 if (temp3) delete arg3;
19372 }
19373 return resultobj;
19374 fail:
19375 {
19376 if (temp3) delete arg3;
19377 }
19378 return NULL;
19379 }
19380
19381
19382 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxDateTime *arg1 = (wxDateTime *) 0 ;
19385 int arg2 = (int) wxDateTime::Monday_First ;
19386 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19387 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19388 int result;
19389 bool temp3 = False ;
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 PyObject * obj2 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self",(char *) "flags",(char *) "tz", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 if (obj1) {
19401 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 if (obj2) {
19405 {
19406 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19407 temp3 = True;
19408 }
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 resultobj = SWIG_FromInt((int)result);
19418 {
19419 if (temp3) delete arg3;
19420 }
19421 return resultobj;
19422 fail:
19423 {
19424 if (temp3) delete arg3;
19425 }
19426 return NULL;
19427 }
19428
19429
19430 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19431 PyObject *resultobj;
19432 wxDateTime *arg1 = (wxDateTime *) 0 ;
19433 int arg2 = (int) wxDateTime::Country_Default ;
19434 bool result;
19435 PyObject * obj0 = 0 ;
19436 PyObject * obj1 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self",(char *) "country", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19444 if (obj1) {
19445 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 {
19456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19457 }
19458 return resultobj;
19459 fail:
19460 return NULL;
19461 }
19462
19463
19464 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19465 PyObject *resultobj;
19466 wxDateTime *arg1 = (wxDateTime *) 0 ;
19467 wxDateTime *arg2 = 0 ;
19468 bool result;
19469 PyObject * obj0 = 0 ;
19470 PyObject * obj1 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self",(char *) "datetime", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19479 SWIG_POINTER_EXCEPTION | 0)) == -1)
19480 SWIG_fail;
19481 if (arg2 == NULL) {
19482 PyErr_SetString(PyExc_TypeError,"null reference");
19483 SWIG_fail;
19484 }
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19494 }
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxDateTime *arg1 = (wxDateTime *) 0 ;
19504 wxDateTime *arg2 = 0 ;
19505 bool result;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "datetime", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19515 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1)
19517 SWIG_fail;
19518 if (arg2 == NULL) {
19519 PyErr_SetString(PyExc_TypeError,"null reference");
19520 SWIG_fail;
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 {
19530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19531 }
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxDateTime *arg1 = (wxDateTime *) 0 ;
19541 wxDateTime *arg2 = 0 ;
19542 bool result;
19543 PyObject * obj0 = 0 ;
19544 PyObject * obj1 = 0 ;
19545 char *kwnames[] = {
19546 (char *) "self",(char *) "datetime", NULL
19547 };
19548
19549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",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 ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1)
19554 SWIG_fail;
19555 if (arg2 == NULL) {
19556 PyErr_SetString(PyExc_TypeError,"null reference");
19557 SWIG_fail;
19558 }
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 {
19567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19568 }
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxDateTime *arg1 = (wxDateTime *) 0 ;
19578 wxDateTime *arg2 = 0 ;
19579 wxDateTime *arg3 = 0 ;
19580 bool result;
19581 PyObject * obj0 = 0 ;
19582 PyObject * obj1 = 0 ;
19583 PyObject * obj2 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "t1",(char *) "t2", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1)
19593 SWIG_fail;
19594 if (arg2 == NULL) {
19595 PyErr_SetString(PyExc_TypeError,"null reference");
19596 SWIG_fail;
19597 }
19598 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19599 SWIG_POINTER_EXCEPTION | 0)) == -1)
19600 SWIG_fail;
19601 if (arg3 == NULL) {
19602 PyErr_SetString(PyExc_TypeError,"null reference");
19603 SWIG_fail;
19604 }
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 {
19613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19614 }
19615 return resultobj;
19616 fail:
19617 return NULL;
19618 }
19619
19620
19621 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19622 PyObject *resultobj;
19623 wxDateTime *arg1 = (wxDateTime *) 0 ;
19624 wxDateTime *arg2 = 0 ;
19625 wxDateTime *arg3 = 0 ;
19626 bool result;
19627 PyObject * obj0 = 0 ;
19628 PyObject * obj1 = 0 ;
19629 PyObject * obj2 = 0 ;
19630 char *kwnames[] = {
19631 (char *) "self",(char *) "t1",(char *) "t2", NULL
19632 };
19633
19634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19638 SWIG_POINTER_EXCEPTION | 0)) == -1)
19639 SWIG_fail;
19640 if (arg2 == NULL) {
19641 PyErr_SetString(PyExc_TypeError,"null reference");
19642 SWIG_fail;
19643 }
19644 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19645 SWIG_POINTER_EXCEPTION | 0)) == -1)
19646 SWIG_fail;
19647 if (arg3 == NULL) {
19648 PyErr_SetString(PyExc_TypeError,"null reference");
19649 SWIG_fail;
19650 }
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 {
19659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19660 }
19661 return resultobj;
19662 fail:
19663 return NULL;
19664 }
19665
19666
19667 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxDateTime *arg1 = (wxDateTime *) 0 ;
19670 wxDateTime *arg2 = 0 ;
19671 bool result;
19672 PyObject * obj0 = 0 ;
19673 PyObject * obj1 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self",(char *) "dt", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19682 SWIG_POINTER_EXCEPTION | 0)) == -1)
19683 SWIG_fail;
19684 if (arg2 == NULL) {
19685 PyErr_SetString(PyExc_TypeError,"null reference");
19686 SWIG_fail;
19687 }
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19691
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 {
19696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19697 }
19698 return resultobj;
19699 fail:
19700 return NULL;
19701 }
19702
19703
19704 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxDateTime *arg1 = (wxDateTime *) 0 ;
19707 wxDateTime *arg2 = 0 ;
19708 bool result;
19709 PyObject * obj0 = 0 ;
19710 PyObject * obj1 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self",(char *) "dt", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19719 SWIG_POINTER_EXCEPTION | 0)) == -1)
19720 SWIG_fail;
19721 if (arg2 == NULL) {
19722 PyErr_SetString(PyExc_TypeError,"null reference");
19723 SWIG_fail;
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 {
19733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19734 }
19735 return resultobj;
19736 fail:
19737 return NULL;
19738 }
19739
19740
19741 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19742 PyObject *resultobj;
19743 wxDateTime *arg1 = (wxDateTime *) 0 ;
19744 wxDateTime *arg2 = 0 ;
19745 wxTimeSpan *arg3 = 0 ;
19746 bool result;
19747 PyObject * obj0 = 0 ;
19748 PyObject * obj1 = 0 ;
19749 PyObject * obj2 = 0 ;
19750 char *kwnames[] = {
19751 (char *) "self",(char *) "dt",(char *) "ts", NULL
19752 };
19753
19754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19758 SWIG_POINTER_EXCEPTION | 0)) == -1)
19759 SWIG_fail;
19760 if (arg2 == NULL) {
19761 PyErr_SetString(PyExc_TypeError,"null reference");
19762 SWIG_fail;
19763 }
19764 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19765 SWIG_POINTER_EXCEPTION | 0)) == -1)
19766 SWIG_fail;
19767 if (arg3 == NULL) {
19768 PyErr_SetString(PyExc_TypeError,"null reference");
19769 SWIG_fail;
19770 }
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
19773 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19774
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 {
19779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19780 }
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxDateTime *arg1 = (wxDateTime *) 0 ;
19790 wxTimeSpan *arg2 = 0 ;
19791 wxDateTime *result;
19792 PyObject * obj0 = 0 ;
19793 PyObject * obj1 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "diff", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19802 SWIG_POINTER_EXCEPTION | 0)) == -1)
19803 SWIG_fail;
19804 if (arg2 == NULL) {
19805 PyErr_SetString(PyExc_TypeError,"null reference");
19806 SWIG_fail;
19807 }
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 {
19811 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19812 result = (wxDateTime *) &_result_ref;
19813 }
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19819 return resultobj;
19820 fail:
19821 return NULL;
19822 }
19823
19824
19825 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj;
19827 wxDateTime *arg1 = (wxDateTime *) 0 ;
19828 wxDateSpan *arg2 = 0 ;
19829 wxDateTime *result;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "self",(char *) "diff", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19840 SWIG_POINTER_EXCEPTION | 0)) == -1)
19841 SWIG_fail;
19842 if (arg2 == NULL) {
19843 PyErr_SetString(PyExc_TypeError,"null reference");
19844 SWIG_fail;
19845 }
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 {
19849 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19850 result = (wxDateTime *) &_result_ref;
19851 }
19852
19853 wxPyEndAllowThreads(__tstate);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19864 PyObject *resultobj;
19865 wxDateTime *arg1 = (wxDateTime *) 0 ;
19866 wxTimeSpan *arg2 = 0 ;
19867 wxDateTime *result;
19868 PyObject * obj0 = 0 ;
19869 PyObject * obj1 = 0 ;
19870 char *kwnames[] = {
19871 (char *) "self",(char *) "diff", NULL
19872 };
19873
19874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19877 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19878 SWIG_POINTER_EXCEPTION | 0)) == -1)
19879 SWIG_fail;
19880 if (arg2 == NULL) {
19881 PyErr_SetString(PyExc_TypeError,"null reference");
19882 SWIG_fail;
19883 }
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 {
19887 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19888 result = (wxDateTime *) &_result_ref;
19889 }
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxDateTime *arg1 = (wxDateTime *) 0 ;
19904 wxDateSpan *arg2 = 0 ;
19905 wxDateTime *result;
19906 PyObject * obj0 = 0 ;
19907 PyObject * obj1 = 0 ;
19908 char *kwnames[] = {
19909 (char *) "self",(char *) "diff", NULL
19910 };
19911
19912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19916 SWIG_POINTER_EXCEPTION | 0)) == -1)
19917 SWIG_fail;
19918 if (arg2 == NULL) {
19919 PyErr_SetString(PyExc_TypeError,"null reference");
19920 SWIG_fail;
19921 }
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 {
19925 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19926 result = (wxDateTime *) &_result_ref;
19927 }
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19933 return resultobj;
19934 fail:
19935 return NULL;
19936 }
19937
19938
19939 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxDateTime *arg1 = (wxDateTime *) 0 ;
19942 wxDateTime *arg2 = 0 ;
19943 wxTimeSpan result;
19944 PyObject * obj0 = 0 ;
19945 PyObject * obj1 = 0 ;
19946 char *kwnames[] = {
19947 (char *) "self",(char *) "dt", NULL
19948 };
19949
19950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19954 SWIG_POINTER_EXCEPTION | 0)) == -1)
19955 SWIG_fail;
19956 if (arg2 == NULL) {
19957 PyErr_SetString(PyExc_TypeError,"null reference");
19958 SWIG_fail;
19959 }
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 {
19968 wxTimeSpan * resultptr;
19969 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
19971 }
19972 return resultobj;
19973 fail:
19974 return NULL;
19975 }
19976
19977
19978 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19979 PyObject *resultobj;
19980 wxDateTime *arg1 = (wxDateTime *) 0 ;
19981 wxTimeSpan *arg2 = 0 ;
19982 wxDateTime *result;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985
19986 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19989 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19990 SWIG_POINTER_EXCEPTION | 0)) == -1)
19991 SWIG_fail;
19992 if (arg2 == NULL) {
19993 PyErr_SetString(PyExc_TypeError,"null reference");
19994 SWIG_fail;
19995 }
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 {
19999 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
20000 result = (wxDateTime *) &_result_ref;
20001 }
20002
20003 wxPyEndAllowThreads(__tstate);
20004 if (PyErr_Occurred()) SWIG_fail;
20005 }
20006 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20007 return resultobj;
20008 fail:
20009 return NULL;
20010 }
20011
20012
20013 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
20014 PyObject *resultobj;
20015 wxDateTime *arg1 = (wxDateTime *) 0 ;
20016 wxDateSpan *arg2 = 0 ;
20017 wxDateTime *result;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020
20021 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20025 SWIG_POINTER_EXCEPTION | 0)) == -1)
20026 SWIG_fail;
20027 if (arg2 == NULL) {
20028 PyErr_SetString(PyExc_TypeError,"null reference");
20029 SWIG_fail;
20030 }
20031 {
20032 PyThreadState* __tstate = wxPyBeginAllowThreads();
20033 {
20034 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20035 result = (wxDateTime *) &_result_ref;
20036 }
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20049 int argc;
20050 PyObject *argv[3];
20051 int ii;
20052
20053 argc = PyObject_Length(args);
20054 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20055 argv[ii] = PyTuple_GetItem(args,ii);
20056 }
20057 if (argc == 2) {
20058 int _v;
20059 {
20060 void *ptr;
20061 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20062 _v = 0;
20063 PyErr_Clear();
20064 } else {
20065 _v = 1;
20066 }
20067 }
20068 if (_v) {
20069 {
20070 void *ptr;
20071 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20072 _v = 0;
20073 PyErr_Clear();
20074 } else {
20075 _v = 1;
20076 }
20077 }
20078 if (_v) {
20079 return _wrap_DateTime___iadd____SWIG_0(self,args);
20080 }
20081 }
20082 }
20083 if (argc == 2) {
20084 int _v;
20085 {
20086 void *ptr;
20087 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20088 _v = 0;
20089 PyErr_Clear();
20090 } else {
20091 _v = 1;
20092 }
20093 }
20094 if (_v) {
20095 {
20096 void *ptr;
20097 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20098 _v = 0;
20099 PyErr_Clear();
20100 } else {
20101 _v = 1;
20102 }
20103 }
20104 if (_v) {
20105 return _wrap_DateTime___iadd____SWIG_1(self,args);
20106 }
20107 }
20108 }
20109
20110 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
20116 PyObject *resultobj;
20117 wxDateTime *arg1 = (wxDateTime *) 0 ;
20118 wxTimeSpan *arg2 = 0 ;
20119 wxDateTime *result;
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122
20123 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1)
20128 SWIG_fail;
20129 if (arg2 == NULL) {
20130 PyErr_SetString(PyExc_TypeError,"null reference");
20131 SWIG_fail;
20132 }
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 {
20136 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20137 result = (wxDateTime *) &_result_ref;
20138 }
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
20151 PyObject *resultobj;
20152 wxDateTime *arg1 = (wxDateTime *) 0 ;
20153 wxDateSpan *arg2 = 0 ;
20154 wxDateTime *result;
20155 PyObject * obj0 = 0 ;
20156 PyObject * obj1 = 0 ;
20157
20158 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20162 SWIG_POINTER_EXCEPTION | 0)) == -1)
20163 SWIG_fail;
20164 if (arg2 == NULL) {
20165 PyErr_SetString(PyExc_TypeError,"null reference");
20166 SWIG_fail;
20167 }
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 {
20171 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20172 result = (wxDateTime *) &_result_ref;
20173 }
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20186 int argc;
20187 PyObject *argv[3];
20188 int ii;
20189
20190 argc = PyObject_Length(args);
20191 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20192 argv[ii] = PyTuple_GetItem(args,ii);
20193 }
20194 if (argc == 2) {
20195 int _v;
20196 {
20197 void *ptr;
20198 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20199 _v = 0;
20200 PyErr_Clear();
20201 } else {
20202 _v = 1;
20203 }
20204 }
20205 if (_v) {
20206 {
20207 void *ptr;
20208 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20209 _v = 0;
20210 PyErr_Clear();
20211 } else {
20212 _v = 1;
20213 }
20214 }
20215 if (_v) {
20216 return _wrap_DateTime___isub____SWIG_0(self,args);
20217 }
20218 }
20219 }
20220 if (argc == 2) {
20221 int _v;
20222 {
20223 void *ptr;
20224 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20225 _v = 0;
20226 PyErr_Clear();
20227 } else {
20228 _v = 1;
20229 }
20230 }
20231 if (_v) {
20232 {
20233 void *ptr;
20234 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20235 _v = 0;
20236 PyErr_Clear();
20237 } else {
20238 _v = 1;
20239 }
20240 }
20241 if (_v) {
20242 return _wrap_DateTime___isub____SWIG_1(self,args);
20243 }
20244 }
20245 }
20246
20247 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20248 return NULL;
20249 }
20250
20251
20252 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
20253 PyObject *resultobj;
20254 wxDateTime *arg1 = (wxDateTime *) 0 ;
20255 wxTimeSpan *arg2 = 0 ;
20256 wxDateTime result;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj1 = 0 ;
20259
20260 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20264 SWIG_POINTER_EXCEPTION | 0)) == -1)
20265 SWIG_fail;
20266 if (arg2 == NULL) {
20267 PyErr_SetString(PyExc_TypeError,"null reference");
20268 SWIG_fail;
20269 }
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 {
20278 wxDateTime * resultptr;
20279 resultptr = new wxDateTime((wxDateTime &) result);
20280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20281 }
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
20289 PyObject *resultobj;
20290 wxDateTime *arg1 = (wxDateTime *) 0 ;
20291 wxDateSpan *arg2 = 0 ;
20292 wxDateTime result;
20293 PyObject * obj0 = 0 ;
20294 PyObject * obj1 = 0 ;
20295
20296 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20300 SWIG_POINTER_EXCEPTION | 0)) == -1)
20301 SWIG_fail;
20302 if (arg2 == NULL) {
20303 PyErr_SetString(PyExc_TypeError,"null reference");
20304 SWIG_fail;
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 {
20314 wxDateTime * resultptr;
20315 resultptr = new wxDateTime((wxDateTime &) result);
20316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20317 }
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20325 int argc;
20326 PyObject *argv[3];
20327 int ii;
20328
20329 argc = PyObject_Length(args);
20330 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20331 argv[ii] = PyTuple_GetItem(args,ii);
20332 }
20333 if (argc == 2) {
20334 int _v;
20335 {
20336 void *ptr;
20337 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20338 _v = 0;
20339 PyErr_Clear();
20340 } else {
20341 _v = 1;
20342 }
20343 }
20344 if (_v) {
20345 {
20346 void *ptr;
20347 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20348 _v = 0;
20349 PyErr_Clear();
20350 } else {
20351 _v = 1;
20352 }
20353 }
20354 if (_v) {
20355 return _wrap_DateTime___add____SWIG_0(self,args);
20356 }
20357 }
20358 }
20359 if (argc == 2) {
20360 int _v;
20361 {
20362 void *ptr;
20363 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20364 _v = 0;
20365 PyErr_Clear();
20366 } else {
20367 _v = 1;
20368 }
20369 }
20370 if (_v) {
20371 {
20372 void *ptr;
20373 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20374 _v = 0;
20375 PyErr_Clear();
20376 } else {
20377 _v = 1;
20378 }
20379 }
20380 if (_v) {
20381 return _wrap_DateTime___add____SWIG_1(self,args);
20382 }
20383 }
20384 }
20385
20386 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20387 return NULL;
20388 }
20389
20390
20391 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20392 PyObject *resultobj;
20393 wxDateTime *arg1 = (wxDateTime *) 0 ;
20394 wxDateTime *arg2 = 0 ;
20395 wxTimeSpan result;
20396 PyObject * obj0 = 0 ;
20397 PyObject * obj1 = 0 ;
20398
20399 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20403 SWIG_POINTER_EXCEPTION | 0)) == -1)
20404 SWIG_fail;
20405 if (arg2 == NULL) {
20406 PyErr_SetString(PyExc_TypeError,"null reference");
20407 SWIG_fail;
20408 }
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 {
20417 wxTimeSpan * resultptr;
20418 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20419 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20420 }
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20428 PyObject *resultobj;
20429 wxDateTime *arg1 = (wxDateTime *) 0 ;
20430 wxTimeSpan *arg2 = 0 ;
20431 wxDateTime result;
20432 PyObject * obj0 = 0 ;
20433 PyObject * obj1 = 0 ;
20434
20435 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1)
20440 SWIG_fail;
20441 if (arg2 == NULL) {
20442 PyErr_SetString(PyExc_TypeError,"null reference");
20443 SWIG_fail;
20444 }
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 {
20453 wxDateTime * resultptr;
20454 resultptr = new wxDateTime((wxDateTime &) result);
20455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20456 }
20457 return resultobj;
20458 fail:
20459 return NULL;
20460 }
20461
20462
20463 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20464 PyObject *resultobj;
20465 wxDateTime *arg1 = (wxDateTime *) 0 ;
20466 wxDateSpan *arg2 = 0 ;
20467 wxDateTime result;
20468 PyObject * obj0 = 0 ;
20469 PyObject * obj1 = 0 ;
20470
20471 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20475 SWIG_POINTER_EXCEPTION | 0)) == -1)
20476 SWIG_fail;
20477 if (arg2 == NULL) {
20478 PyErr_SetString(PyExc_TypeError,"null reference");
20479 SWIG_fail;
20480 }
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20484
20485 wxPyEndAllowThreads(__tstate);
20486 if (PyErr_Occurred()) SWIG_fail;
20487 }
20488 {
20489 wxDateTime * resultptr;
20490 resultptr = new wxDateTime((wxDateTime &) result);
20491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20492 }
20493 return resultobj;
20494 fail:
20495 return NULL;
20496 }
20497
20498
20499 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20500 int argc;
20501 PyObject *argv[3];
20502 int ii;
20503
20504 argc = PyObject_Length(args);
20505 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20506 argv[ii] = PyTuple_GetItem(args,ii);
20507 }
20508 if (argc == 2) {
20509 int _v;
20510 {
20511 void *ptr;
20512 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20513 _v = 0;
20514 PyErr_Clear();
20515 } else {
20516 _v = 1;
20517 }
20518 }
20519 if (_v) {
20520 {
20521 void *ptr;
20522 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20523 _v = 0;
20524 PyErr_Clear();
20525 } else {
20526 _v = 1;
20527 }
20528 }
20529 if (_v) {
20530 return _wrap_DateTime___sub____SWIG_0(self,args);
20531 }
20532 }
20533 }
20534 if (argc == 2) {
20535 int _v;
20536 {
20537 void *ptr;
20538 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20539 _v = 0;
20540 PyErr_Clear();
20541 } else {
20542 _v = 1;
20543 }
20544 }
20545 if (_v) {
20546 {
20547 void *ptr;
20548 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20549 _v = 0;
20550 PyErr_Clear();
20551 } else {
20552 _v = 1;
20553 }
20554 }
20555 if (_v) {
20556 return _wrap_DateTime___sub____SWIG_1(self,args);
20557 }
20558 }
20559 }
20560 if (argc == 2) {
20561 int _v;
20562 {
20563 void *ptr;
20564 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20565 _v = 0;
20566 PyErr_Clear();
20567 } else {
20568 _v = 1;
20569 }
20570 }
20571 if (_v) {
20572 {
20573 void *ptr;
20574 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20575 _v = 0;
20576 PyErr_Clear();
20577 } else {
20578 _v = 1;
20579 }
20580 }
20581 if (_v) {
20582 return _wrap_DateTime___sub____SWIG_2(self,args);
20583 }
20584 }
20585 }
20586
20587 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20593 PyObject *resultobj;
20594 wxDateTime *arg1 = (wxDateTime *) 0 ;
20595 wxDateTime *arg2 = (wxDateTime *) 0 ;
20596 bool result;
20597 PyObject * obj0 = 0 ;
20598 PyObject * obj1 = 0 ;
20599
20600 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20605 {
20606 PyThreadState* __tstate = wxPyBeginAllowThreads();
20607 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20608
20609 wxPyEndAllowThreads(__tstate);
20610 if (PyErr_Occurred()) SWIG_fail;
20611 }
20612 {
20613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20614 }
20615 return resultobj;
20616 fail:
20617 return NULL;
20618 }
20619
20620
20621 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20622 PyObject *resultobj;
20623 wxDateTime *arg1 = (wxDateTime *) 0 ;
20624 wxDateTime *arg2 = (wxDateTime *) 0 ;
20625 bool result;
20626 PyObject * obj0 = 0 ;
20627 PyObject * obj1 = 0 ;
20628
20629 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 {
20642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20643 }
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20651 PyObject *resultobj;
20652 wxDateTime *arg1 = (wxDateTime *) 0 ;
20653 wxDateTime *arg2 = (wxDateTime *) 0 ;
20654 bool result;
20655 PyObject * obj0 = 0 ;
20656 PyObject * obj1 = 0 ;
20657
20658 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20663 {
20664 PyThreadState* __tstate = wxPyBeginAllowThreads();
20665 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20666
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 {
20671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20672 }
20673 return resultobj;
20674 fail:
20675 return NULL;
20676 }
20677
20678
20679 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20680 PyObject *resultobj;
20681 wxDateTime *arg1 = (wxDateTime *) 0 ;
20682 wxDateTime *arg2 = (wxDateTime *) 0 ;
20683 bool result;
20684 PyObject * obj0 = 0 ;
20685 PyObject * obj1 = 0 ;
20686
20687 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 {
20700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20709 PyObject *resultobj;
20710 wxDateTime *arg1 = (wxDateTime *) 0 ;
20711 wxDateTime *arg2 = (wxDateTime *) 0 ;
20712 bool result;
20713 PyObject * obj0 = 0 ;
20714 PyObject * obj1 = 0 ;
20715
20716 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20721 {
20722 PyThreadState* __tstate = wxPyBeginAllowThreads();
20723 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20724
20725 wxPyEndAllowThreads(__tstate);
20726 if (PyErr_Occurred()) SWIG_fail;
20727 }
20728 {
20729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20730 }
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20738 PyObject *resultobj;
20739 wxDateTime *arg1 = (wxDateTime *) 0 ;
20740 wxDateTime *arg2 = (wxDateTime *) 0 ;
20741 bool result;
20742 PyObject * obj0 = 0 ;
20743 PyObject * obj1 = 0 ;
20744
20745 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 {
20758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20759 }
20760 return resultobj;
20761 fail:
20762 return NULL;
20763 }
20764
20765
20766 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20767 PyObject *resultobj;
20768 wxDateTime *arg1 = (wxDateTime *) 0 ;
20769 wxString *arg2 = 0 ;
20770 int result;
20771 bool temp2 = False ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self",(char *) "date", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20781 {
20782 arg2 = wxString_in_helper(obj1);
20783 if (arg2 == NULL) SWIG_fail;
20784 temp2 = True;
20785 }
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
20788 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = SWIG_FromInt((int)result);
20794 {
20795 if (temp2)
20796 delete arg2;
20797 }
20798 return resultobj;
20799 fail:
20800 {
20801 if (temp2)
20802 delete arg2;
20803 }
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxDateTime *arg1 = (wxDateTime *) 0 ;
20811 wxString *arg2 = 0 ;
20812 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20813 wxString *arg3 = (wxString *) &arg3_defvalue ;
20814 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20815 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20816 int result;
20817 bool temp2 = False ;
20818 bool temp3 = False ;
20819 PyObject * obj0 = 0 ;
20820 PyObject * obj1 = 0 ;
20821 PyObject * obj2 = 0 ;
20822 PyObject * obj3 = 0 ;
20823 char *kwnames[] = {
20824 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20825 };
20826
20827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20830 {
20831 arg2 = wxString_in_helper(obj1);
20832 if (arg2 == NULL) SWIG_fail;
20833 temp2 = True;
20834 }
20835 if (obj2) {
20836 {
20837 arg3 = wxString_in_helper(obj2);
20838 if (arg3 == NULL) SWIG_fail;
20839 temp3 = True;
20840 }
20841 }
20842 if (obj3) {
20843 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20844 SWIG_POINTER_EXCEPTION | 0)) == -1)
20845 SWIG_fail;
20846 if (arg4 == NULL) {
20847 PyErr_SetString(PyExc_TypeError,"null reference");
20848 SWIG_fail;
20849 }
20850 }
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 resultobj = SWIG_FromInt((int)result);
20859 {
20860 if (temp2)
20861 delete arg2;
20862 }
20863 {
20864 if (temp3)
20865 delete arg3;
20866 }
20867 return resultobj;
20868 fail:
20869 {
20870 if (temp2)
20871 delete arg2;
20872 }
20873 {
20874 if (temp3)
20875 delete arg3;
20876 }
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxDateTime *arg1 = (wxDateTime *) 0 ;
20884 wxString *arg2 = 0 ;
20885 int result;
20886 bool temp2 = False ;
20887 PyObject * obj0 = 0 ;
20888 PyObject * obj1 = 0 ;
20889 char *kwnames[] = {
20890 (char *) "self",(char *) "datetime", NULL
20891 };
20892
20893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20896 {
20897 arg2 = wxString_in_helper(obj1);
20898 if (arg2 == NULL) SWIG_fail;
20899 temp2 = True;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 resultobj = SWIG_FromInt((int)result);
20909 {
20910 if (temp2)
20911 delete arg2;
20912 }
20913 return resultobj;
20914 fail:
20915 {
20916 if (temp2)
20917 delete arg2;
20918 }
20919 return NULL;
20920 }
20921
20922
20923 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20924 PyObject *resultobj;
20925 wxDateTime *arg1 = (wxDateTime *) 0 ;
20926 wxString *arg2 = 0 ;
20927 int result;
20928 bool temp2 = False ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "date", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20938 {
20939 arg2 = wxString_in_helper(obj1);
20940 if (arg2 == NULL) SWIG_fail;
20941 temp2 = True;
20942 }
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 resultobj = SWIG_FromInt((int)result);
20951 {
20952 if (temp2)
20953 delete arg2;
20954 }
20955 return resultobj;
20956 fail:
20957 {
20958 if (temp2)
20959 delete arg2;
20960 }
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxDateTime *arg1 = (wxDateTime *) 0 ;
20968 wxString *arg2 = 0 ;
20969 int result;
20970 bool temp2 = False ;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self",(char *) "time", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20980 {
20981 arg2 = wxString_in_helper(obj1);
20982 if (arg2 == NULL) SWIG_fail;
20983 temp2 = True;
20984 }
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 resultobj = SWIG_FromInt((int)result);
20993 {
20994 if (temp2)
20995 delete arg2;
20996 }
20997 return resultobj;
20998 fail:
20999 {
21000 if (temp2)
21001 delete arg2;
21002 }
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxDateTime *arg1 = (wxDateTime *) 0 ;
21010 wxString const &arg2_defvalue = wxPyDateFormatStr ;
21011 wxString *arg2 = (wxString *) &arg2_defvalue ;
21012 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21013 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21014 wxString result;
21015 bool temp2 = False ;
21016 bool temp3 = False ;
21017 PyObject * obj0 = 0 ;
21018 PyObject * obj1 = 0 ;
21019 PyObject * obj2 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "format",(char *) "tz", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 if (obj1) {
21028 {
21029 arg2 = wxString_in_helper(obj1);
21030 if (arg2 == NULL) SWIG_fail;
21031 temp2 = True;
21032 }
21033 }
21034 if (obj2) {
21035 {
21036 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21037 temp3 = True;
21038 }
21039 }
21040 {
21041 PyThreadState* __tstate = wxPyBeginAllowThreads();
21042 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21043
21044 wxPyEndAllowThreads(__tstate);
21045 if (PyErr_Occurred()) SWIG_fail;
21046 }
21047 {
21048 #if wxUSE_UNICODE
21049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21050 #else
21051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21052 #endif
21053 }
21054 {
21055 if (temp2)
21056 delete arg2;
21057 }
21058 {
21059 if (temp3) delete arg3;
21060 }
21061 return resultobj;
21062 fail:
21063 {
21064 if (temp2)
21065 delete arg2;
21066 }
21067 {
21068 if (temp3) delete arg3;
21069 }
21070 return NULL;
21071 }
21072
21073
21074 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxDateTime *arg1 = (wxDateTime *) 0 ;
21077 wxString result;
21078 PyObject * obj0 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 result = ((wxDateTime const *)arg1)->FormatDate();
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 {
21094 #if wxUSE_UNICODE
21095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21096 #else
21097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21098 #endif
21099 }
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21107 PyObject *resultobj;
21108 wxDateTime *arg1 = (wxDateTime *) 0 ;
21109 wxString result;
21110 PyObject * obj0 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21118 {
21119 PyThreadState* __tstate = wxPyBeginAllowThreads();
21120 result = ((wxDateTime const *)arg1)->FormatTime();
21121
21122 wxPyEndAllowThreads(__tstate);
21123 if (PyErr_Occurred()) SWIG_fail;
21124 }
21125 {
21126 #if wxUSE_UNICODE
21127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21128 #else
21129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21130 #endif
21131 }
21132 return resultobj;
21133 fail:
21134 return NULL;
21135 }
21136
21137
21138 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxDateTime *arg1 = (wxDateTime *) 0 ;
21141 wxString result;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = ((wxDateTime const *)arg1)->FormatISODate();
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 #if wxUSE_UNICODE
21159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21160 #else
21161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21162 #endif
21163 }
21164 return resultobj;
21165 fail:
21166 return NULL;
21167 }
21168
21169
21170 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
21171 PyObject *resultobj;
21172 wxDateTime *arg1 = (wxDateTime *) 0 ;
21173 wxString result;
21174 PyObject * obj0 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21182 {
21183 PyThreadState* __tstate = wxPyBeginAllowThreads();
21184 result = ((wxDateTime const *)arg1)->FormatISOTime();
21185
21186 wxPyEndAllowThreads(__tstate);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 {
21190 #if wxUSE_UNICODE
21191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21192 #else
21193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21194 #endif
21195 }
21196 return resultobj;
21197 fail:
21198 return NULL;
21199 }
21200
21201
21202 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
21203 PyObject *obj;
21204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21205 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21206 Py_INCREF(obj);
21207 return Py_BuildValue((char *)"");
21208 }
21209 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21210 PyObject *resultobj;
21211 long arg1 ;
21212 wxTimeSpan result;
21213 PyObject * obj0 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "sec", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21219 arg1 = (long) SWIG_AsLong(obj0);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = wxTimeSpan::Seconds(arg1);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 wxTimeSpan * resultptr;
21230 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21232 }
21233 return resultobj;
21234 fail:
21235 return NULL;
21236 }
21237
21238
21239 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
21240 PyObject *resultobj;
21241 wxTimeSpan result;
21242 char *kwnames[] = {
21243 NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 result = wxTimeSpan::Second();
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 {
21255 wxTimeSpan * resultptr;
21256 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21257 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21258 }
21259 return resultobj;
21260 fail:
21261 return NULL;
21262 }
21263
21264
21265 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21266 PyObject *resultobj;
21267 long arg1 ;
21268 wxTimeSpan result;
21269 PyObject * obj0 = 0 ;
21270 char *kwnames[] = {
21271 (char *) "min", NULL
21272 };
21273
21274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21275 arg1 = (long) SWIG_AsLong(obj0);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 {
21278 PyThreadState* __tstate = wxPyBeginAllowThreads();
21279 result = wxTimeSpan::Minutes(arg1);
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 {
21285 wxTimeSpan * resultptr;
21286 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21288 }
21289 return resultobj;
21290 fail:
21291 return NULL;
21292 }
21293
21294
21295 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
21296 PyObject *resultobj;
21297 wxTimeSpan result;
21298 char *kwnames[] = {
21299 NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = wxTimeSpan::Minute();
21306
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 {
21311 wxTimeSpan * resultptr;
21312 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21313 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21314 }
21315 return resultobj;
21316 fail:
21317 return NULL;
21318 }
21319
21320
21321 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
21322 PyObject *resultobj;
21323 long arg1 ;
21324 wxTimeSpan result;
21325 PyObject * obj0 = 0 ;
21326 char *kwnames[] = {
21327 (char *) "hours", NULL
21328 };
21329
21330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21331 arg1 = (long) SWIG_AsLong(obj0);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 result = wxTimeSpan::Hours(arg1);
21336
21337 wxPyEndAllowThreads(__tstate);
21338 if (PyErr_Occurred()) SWIG_fail;
21339 }
21340 {
21341 wxTimeSpan * resultptr;
21342 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21343 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21344 }
21345 return resultobj;
21346 fail:
21347 return NULL;
21348 }
21349
21350
21351 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj;
21353 wxTimeSpan result;
21354 char *kwnames[] = {
21355 NULL
21356 };
21357
21358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = wxTimeSpan::Hour();
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 {
21367 wxTimeSpan * resultptr;
21368 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21370 }
21371 return resultobj;
21372 fail:
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 long arg1 ;
21380 wxTimeSpan result;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "days", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21387 arg1 = (long) SWIG_AsLong(obj0);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 result = wxTimeSpan::Days(arg1);
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 {
21397 wxTimeSpan * resultptr;
21398 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21400 }
21401 return resultobj;
21402 fail:
21403 return NULL;
21404 }
21405
21406
21407 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxTimeSpan result;
21410 char *kwnames[] = {
21411 NULL
21412 };
21413
21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = wxTimeSpan::Day();
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 wxTimeSpan * resultptr;
21424 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21426 }
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 long arg1 ;
21436 wxTimeSpan result;
21437 PyObject * obj0 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "days", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21443 arg1 = (long) SWIG_AsLong(obj0);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 {
21446 PyThreadState* __tstate = wxPyBeginAllowThreads();
21447 result = wxTimeSpan::Weeks(arg1);
21448
21449 wxPyEndAllowThreads(__tstate);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 {
21453 wxTimeSpan * resultptr;
21454 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21455 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21456 }
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxTimeSpan result;
21466 char *kwnames[] = {
21467 NULL
21468 };
21469
21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 result = wxTimeSpan::Week();
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 {
21479 wxTimeSpan * resultptr;
21480 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21482 }
21483 return resultobj;
21484 fail:
21485 return NULL;
21486 }
21487
21488
21489 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21490 PyObject *resultobj;
21491 long arg1 = (long) 0 ;
21492 long arg2 = (long) 0 ;
21493 long arg3 = (long) 0 ;
21494 long arg4 = (long) 0 ;
21495 wxTimeSpan *result;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 PyObject * obj2 = 0 ;
21499 PyObject * obj3 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21505 if (obj0) {
21506 arg1 = (long) SWIG_AsLong(obj0);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 if (obj1) {
21510 arg2 = (long) SWIG_AsLong(obj1);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 if (obj2) {
21514 arg3 = (long) SWIG_AsLong(obj2);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 if (obj3) {
21518 arg4 = (long) SWIG_AsLong(obj3);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21529 return resultobj;
21530 fail:
21531 return NULL;
21532 }
21533
21534
21535 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21538 PyObject * obj0 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 {
21547 PyThreadState* __tstate = wxPyBeginAllowThreads();
21548 delete arg1;
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 Py_INCREF(Py_None); resultobj = Py_None;
21554 return resultobj;
21555 fail:
21556 return NULL;
21557 }
21558
21559
21560 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21561 PyObject *resultobj;
21562 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21563 wxTimeSpan *arg2 = 0 ;
21564 wxTimeSpan *result;
21565 PyObject * obj0 = 0 ;
21566 PyObject * obj1 = 0 ;
21567 char *kwnames[] = {
21568 (char *) "self",(char *) "diff", NULL
21569 };
21570
21571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21575 SWIG_POINTER_EXCEPTION | 0)) == -1)
21576 SWIG_fail;
21577 if (arg2 == NULL) {
21578 PyErr_SetString(PyExc_TypeError,"null reference");
21579 SWIG_fail;
21580 }
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 {
21584 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21585 result = (wxTimeSpan *) &_result_ref;
21586 }
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21601 wxTimeSpan *arg2 = 0 ;
21602 wxTimeSpan *result;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "diff", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21613 SWIG_POINTER_EXCEPTION | 0)) == -1)
21614 SWIG_fail;
21615 if (arg2 == NULL) {
21616 PyErr_SetString(PyExc_TypeError,"null reference");
21617 SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 {
21622 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21623 result = (wxTimeSpan *) &_result_ref;
21624 }
21625
21626 wxPyEndAllowThreads(__tstate);
21627 if (PyErr_Occurred()) SWIG_fail;
21628 }
21629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21630 return resultobj;
21631 fail:
21632 return NULL;
21633 }
21634
21635
21636 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj;
21638 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21639 int arg2 ;
21640 wxTimeSpan *result;
21641 PyObject * obj0 = 0 ;
21642 PyObject * obj1 = 0 ;
21643 char *kwnames[] = {
21644 (char *) "self",(char *) "n", NULL
21645 };
21646
21647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21650 arg2 = (int) SWIG_AsInt(obj1);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 {
21655 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21656 result = (wxTimeSpan *) &_result_ref;
21657 }
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21672 wxTimeSpan *result;
21673 PyObject * obj0 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 {
21684 wxTimeSpan &_result_ref = (arg1)->Neg();
21685 result = (wxTimeSpan *) &_result_ref;
21686 }
21687
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21692 return resultobj;
21693 fail:
21694 return NULL;
21695 }
21696
21697
21698 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21699 PyObject *resultobj;
21700 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21701 wxTimeSpan result;
21702 PyObject * obj0 = 0 ;
21703 char *kwnames[] = {
21704 (char *) "self", NULL
21705 };
21706
21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = ((wxTimeSpan const *)arg1)->Abs();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 wxTimeSpan * resultptr;
21719 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21721 }
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21731 wxTimeSpan *arg2 = 0 ;
21732 wxTimeSpan *result;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 char *kwnames[] = {
21736 (char *) "self",(char *) "diff", NULL
21737 };
21738
21739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21743 SWIG_POINTER_EXCEPTION | 0)) == -1)
21744 SWIG_fail;
21745 if (arg2 == NULL) {
21746 PyErr_SetString(PyExc_TypeError,"null reference");
21747 SWIG_fail;
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 {
21752 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21753 result = (wxTimeSpan *) &_result_ref;
21754 }
21755
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21760 return resultobj;
21761 fail:
21762 return NULL;
21763 }
21764
21765
21766 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21769 wxTimeSpan *arg2 = 0 ;
21770 wxTimeSpan *result;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "diff", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21780 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21781 SWIG_POINTER_EXCEPTION | 0)) == -1)
21782 SWIG_fail;
21783 if (arg2 == NULL) {
21784 PyErr_SetString(PyExc_TypeError,"null reference");
21785 SWIG_fail;
21786 }
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 {
21790 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21791 result = (wxTimeSpan *) &_result_ref;
21792 }
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21798 return resultobj;
21799 fail:
21800 return NULL;
21801 }
21802
21803
21804 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21805 PyObject *resultobj;
21806 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21807 int arg2 ;
21808 wxTimeSpan *result;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "n", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21818 arg2 = (int) SWIG_AsInt(obj1);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 {
21823 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21824 result = (wxTimeSpan *) &_result_ref;
21825 }
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
21830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21831 return resultobj;
21832 fail:
21833 return NULL;
21834 }
21835
21836
21837 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21838 PyObject *resultobj;
21839 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21840 wxTimeSpan *result;
21841 PyObject * obj0 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21849 {
21850 PyThreadState* __tstate = wxPyBeginAllowThreads();
21851 {
21852 wxTimeSpan &_result_ref = (arg1)->operator -();
21853 result = (wxTimeSpan *) &_result_ref;
21854 }
21855
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21860 return resultobj;
21861 fail:
21862 return NULL;
21863 }
21864
21865
21866 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21867 PyObject *resultobj;
21868 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21869 wxTimeSpan *arg2 = 0 ;
21870 wxTimeSpan result;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "other", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21881 SWIG_POINTER_EXCEPTION | 0)) == -1)
21882 SWIG_fail;
21883 if (arg2 == NULL) {
21884 PyErr_SetString(PyExc_TypeError,"null reference");
21885 SWIG_fail;
21886 }
21887 {
21888 PyThreadState* __tstate = wxPyBeginAllowThreads();
21889 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21890
21891 wxPyEndAllowThreads(__tstate);
21892 if (PyErr_Occurred()) SWIG_fail;
21893 }
21894 {
21895 wxTimeSpan * resultptr;
21896 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21898 }
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21908 wxTimeSpan *arg2 = 0 ;
21909 wxTimeSpan result;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "other", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1)
21921 SWIG_fail;
21922 if (arg2 == NULL) {
21923 PyErr_SetString(PyExc_TypeError,"null reference");
21924 SWIG_fail;
21925 }
21926 {
21927 PyThreadState* __tstate = wxPyBeginAllowThreads();
21928 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21929
21930 wxPyEndAllowThreads(__tstate);
21931 if (PyErr_Occurred()) SWIG_fail;
21932 }
21933 {
21934 wxTimeSpan * resultptr;
21935 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21937 }
21938 return resultobj;
21939 fail:
21940 return NULL;
21941 }
21942
21943
21944 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21947 int arg2 ;
21948 wxTimeSpan result;
21949 PyObject * obj0 = 0 ;
21950 PyObject * obj1 = 0 ;
21951 char *kwnames[] = {
21952 (char *) "self",(char *) "n", NULL
21953 };
21954
21955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21958 arg2 = (int) SWIG_AsInt(obj1);
21959 if (PyErr_Occurred()) SWIG_fail;
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = wxTimeSpan___mul__(arg1,arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 wxTimeSpan * resultptr;
21969 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21971 }
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21979 PyObject *resultobj;
21980 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21981 int arg2 ;
21982 wxTimeSpan result;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "n", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21992 arg2 = (int) SWIG_AsInt(obj1);
21993 if (PyErr_Occurred()) SWIG_fail;
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = wxTimeSpan___rmul__(arg1,arg2);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 {
22002 wxTimeSpan * resultptr;
22003 resultptr = new wxTimeSpan((wxTimeSpan &) result);
22004 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22005 }
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22015 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22016 bool result;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "other", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 {
22036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041 }
22042
22043
22044 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
22045 PyObject *resultobj;
22046 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22047 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22048 bool result;
22049 PyObject * obj0 = 0 ;
22050 PyObject * obj1 = 0 ;
22051 char *kwnames[] = {
22052 (char *) "self",(char *) "other", NULL
22053 };
22054
22055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22063
22064 wxPyEndAllowThreads(__tstate);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 }
22067 {
22068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22069 }
22070 return resultobj;
22071 fail:
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22079 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22080 bool result;
22081 PyObject * obj0 = 0 ;
22082 PyObject * obj1 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self",(char *) "other", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22090 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105 }
22106
22107
22108 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22111 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22112 bool result;
22113 PyObject * obj0 = 0 ;
22114 PyObject * obj1 = 0 ;
22115 char *kwnames[] = {
22116 (char *) "self",(char *) "other", NULL
22117 };
22118
22119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 {
22132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22133 }
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22143 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22144 bool result;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "other", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22165 }
22166 return resultobj;
22167 fail:
22168 return NULL;
22169 }
22170
22171
22172 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj;
22174 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22175 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22176 bool result;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "other", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22186 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 {
22196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22197 }
22198 return resultobj;
22199 fail:
22200 return NULL;
22201 }
22202
22203
22204 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
22205 PyObject *resultobj;
22206 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22235 bool result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
22254 return resultobj;
22255 fail:
22256 return NULL;
22257 }
22258
22259
22260 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22263 bool result;
22264 PyObject * obj0 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 {
22280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22281 }
22282 return resultobj;
22283 fail:
22284 return NULL;
22285 }
22286
22287
22288 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22289 PyObject *resultobj;
22290 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22291 wxTimeSpan *arg2 = 0 ;
22292 bool result;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 char *kwnames[] = {
22296 (char *) "self",(char *) "ts", NULL
22297 };
22298
22299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22302 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22303 SWIG_POINTER_EXCEPTION | 0)) == -1)
22304 SWIG_fail;
22305 if (arg2 == NULL) {
22306 PyErr_SetString(PyExc_TypeError,"null reference");
22307 SWIG_fail;
22308 }
22309 {
22310 PyThreadState* __tstate = wxPyBeginAllowThreads();
22311 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22312
22313 wxPyEndAllowThreads(__tstate);
22314 if (PyErr_Occurred()) SWIG_fail;
22315 }
22316 {
22317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22318 }
22319 return resultobj;
22320 fail:
22321 return NULL;
22322 }
22323
22324
22325 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22326 PyObject *resultobj;
22327 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22328 wxTimeSpan *arg2 = 0 ;
22329 bool result;
22330 PyObject * obj0 = 0 ;
22331 PyObject * obj1 = 0 ;
22332 char *kwnames[] = {
22333 (char *) "self",(char *) "ts", NULL
22334 };
22335
22336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22340 SWIG_POINTER_EXCEPTION | 0)) == -1)
22341 SWIG_fail;
22342 if (arg2 == NULL) {
22343 PyErr_SetString(PyExc_TypeError,"null reference");
22344 SWIG_fail;
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 {
22354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22355 }
22356 return resultobj;
22357 fail:
22358 return NULL;
22359 }
22360
22361
22362 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
22363 PyObject *resultobj;
22364 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22365 wxTimeSpan *arg2 = 0 ;
22366 bool result;
22367 PyObject * obj0 = 0 ;
22368 PyObject * obj1 = 0 ;
22369 char *kwnames[] = {
22370 (char *) "self",(char *) "t", NULL
22371 };
22372
22373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22377 SWIG_POINTER_EXCEPTION | 0)) == -1)
22378 SWIG_fail;
22379 if (arg2 == NULL) {
22380 PyErr_SetString(PyExc_TypeError,"null reference");
22381 SWIG_fail;
22382 }
22383 {
22384 PyThreadState* __tstate = wxPyBeginAllowThreads();
22385 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22386
22387 wxPyEndAllowThreads(__tstate);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
22390 {
22391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22392 }
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22402 int result;
22403 PyObject * obj0 = 0 ;
22404 char *kwnames[] = {
22405 (char *) "self", NULL
22406 };
22407
22408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22411 {
22412 PyThreadState* __tstate = wxPyBeginAllowThreads();
22413 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22414
22415 wxPyEndAllowThreads(__tstate);
22416 if (PyErr_Occurred()) SWIG_fail;
22417 }
22418 resultobj = SWIG_FromInt((int)result);
22419 return resultobj;
22420 fail:
22421 return NULL;
22422 }
22423
22424
22425 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22426 PyObject *resultobj;
22427 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22428 int result;
22429 PyObject * obj0 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 resultobj = SWIG_FromInt((int)result);
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22454 int result;
22455 PyObject * obj0 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22463 {
22464 PyThreadState* __tstate = wxPyBeginAllowThreads();
22465 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22466
22467 wxPyEndAllowThreads(__tstate);
22468 if (PyErr_Occurred()) SWIG_fail;
22469 }
22470 resultobj = SWIG_FromInt((int)result);
22471 return resultobj;
22472 fail:
22473 return NULL;
22474 }
22475
22476
22477 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22478 PyObject *resultobj;
22479 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22480 int result;
22481 PyObject * obj0 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22489 {
22490 PyThreadState* __tstate = wxPyBeginAllowThreads();
22491 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22492
22493 wxPyEndAllowThreads(__tstate);
22494 if (PyErr_Occurred()) SWIG_fail;
22495 }
22496 resultobj = SWIG_FromInt((int)result);
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj;
22505 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22506 wxLongLong result;
22507 PyObject * obj0 = 0 ;
22508 char *kwnames[] = {
22509 (char *) "self", NULL
22510 };
22511
22512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22515 {
22516 PyThreadState* __tstate = wxPyBeginAllowThreads();
22517 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22518
22519 wxPyEndAllowThreads(__tstate);
22520 if (PyErr_Occurred()) SWIG_fail;
22521 }
22522 {
22523 PyObject *hi, *lo, *shifter, *shifted;
22524 hi = PyLong_FromLong( (&result)->GetHi() );
22525 lo = PyLong_FromLong( (&result)->GetLo() );
22526 shifter = PyLong_FromLong(32);
22527 shifted = PyNumber_Lshift(hi, shifter);
22528 resultobj = PyNumber_Or(shifted, lo);
22529 Py_DECREF(hi);
22530 Py_DECREF(lo);
22531 Py_DECREF(shifter);
22532 Py_DECREF(shifted);
22533 }
22534 return resultobj;
22535 fail:
22536 return NULL;
22537 }
22538
22539
22540 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj;
22542 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22543 wxLongLong result;
22544 PyObject * obj0 = 0 ;
22545 char *kwnames[] = {
22546 (char *) "self", NULL
22547 };
22548
22549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 {
22560 PyObject *hi, *lo, *shifter, *shifted;
22561 hi = PyLong_FromLong( (&result)->GetHi() );
22562 lo = PyLong_FromLong( (&result)->GetLo() );
22563 shifter = PyLong_FromLong(32);
22564 shifted = PyNumber_Lshift(hi, shifter);
22565 resultobj = PyNumber_Or(shifted, lo);
22566 Py_DECREF(hi);
22567 Py_DECREF(lo);
22568 Py_DECREF(shifter);
22569 Py_DECREF(shifted);
22570 }
22571 return resultobj;
22572 fail:
22573 return NULL;
22574 }
22575
22576
22577 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22580 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22581 wxString *arg2 = (wxString *) &arg2_defvalue ;
22582 wxString result;
22583 bool temp2 = False ;
22584 PyObject * obj0 = 0 ;
22585 PyObject * obj1 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self",(char *) "format", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22593 if (obj1) {
22594 {
22595 arg2 = wxString_in_helper(obj1);
22596 if (arg2 == NULL) SWIG_fail;
22597 temp2 = True;
22598 }
22599 }
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 {
22608 #if wxUSE_UNICODE
22609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22610 #else
22611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22612 #endif
22613 }
22614 {
22615 if (temp2)
22616 delete arg2;
22617 }
22618 return resultobj;
22619 fail:
22620 {
22621 if (temp2)
22622 delete arg2;
22623 }
22624 return NULL;
22625 }
22626
22627
22628 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22629 PyObject *obj;
22630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22631 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22632 Py_INCREF(obj);
22633 return Py_BuildValue((char *)"");
22634 }
22635 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj;
22637 int arg1 = (int) 0 ;
22638 int arg2 = (int) 0 ;
22639 int arg3 = (int) 0 ;
22640 int arg4 = (int) 0 ;
22641 wxDateSpan *result;
22642 PyObject * obj0 = 0 ;
22643 PyObject * obj1 = 0 ;
22644 PyObject * obj2 = 0 ;
22645 PyObject * obj3 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22651 if (obj0) {
22652 arg1 = (int) SWIG_AsInt(obj0);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 if (obj1) {
22656 arg2 = (int) SWIG_AsInt(obj1);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 if (obj2) {
22660 arg3 = (int) SWIG_AsInt(obj2);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 if (obj3) {
22664 arg4 = (int) SWIG_AsInt(obj3);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22684 PyObject * obj0 = 0 ;
22685 char *kwnames[] = {
22686 (char *) "self", NULL
22687 };
22688
22689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22692 {
22693 PyThreadState* __tstate = wxPyBeginAllowThreads();
22694 delete arg1;
22695
22696 wxPyEndAllowThreads(__tstate);
22697 if (PyErr_Occurred()) SWIG_fail;
22698 }
22699 Py_INCREF(Py_None); resultobj = Py_None;
22700 return resultobj;
22701 fail:
22702 return NULL;
22703 }
22704
22705
22706 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22707 PyObject *resultobj;
22708 int arg1 ;
22709 wxDateSpan result;
22710 PyObject * obj0 = 0 ;
22711 char *kwnames[] = {
22712 (char *) "days", NULL
22713 };
22714
22715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22716 arg1 = (int) SWIG_AsInt(obj0);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 result = wxDateSpan::Days(arg1);
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 {
22726 wxDateSpan * resultptr;
22727 resultptr = new wxDateSpan((wxDateSpan &) result);
22728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22729 }
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxDateSpan result;
22739 char *kwnames[] = {
22740 NULL
22741 };
22742
22743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 result = wxDateSpan::Day();
22747
22748 wxPyEndAllowThreads(__tstate);
22749 if (PyErr_Occurred()) SWIG_fail;
22750 }
22751 {
22752 wxDateSpan * resultptr;
22753 resultptr = new wxDateSpan((wxDateSpan &) result);
22754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22755 }
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 int arg1 ;
22765 wxDateSpan result;
22766 PyObject * obj0 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "weeks", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22772 arg1 = (int) SWIG_AsInt(obj0);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = wxDateSpan::Weeks(arg1);
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 {
22782 wxDateSpan * resultptr;
22783 resultptr = new wxDateSpan((wxDateSpan &) result);
22784 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22785 }
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22793 PyObject *resultobj;
22794 wxDateSpan result;
22795 char *kwnames[] = {
22796 NULL
22797 };
22798
22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22800 {
22801 PyThreadState* __tstate = wxPyBeginAllowThreads();
22802 result = wxDateSpan::Week();
22803
22804 wxPyEndAllowThreads(__tstate);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 {
22808 wxDateSpan * resultptr;
22809 resultptr = new wxDateSpan((wxDateSpan &) result);
22810 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22811 }
22812 return resultobj;
22813 fail:
22814 return NULL;
22815 }
22816
22817
22818 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22819 PyObject *resultobj;
22820 int arg1 ;
22821 wxDateSpan result;
22822 PyObject * obj0 = 0 ;
22823 char *kwnames[] = {
22824 (char *) "mon", NULL
22825 };
22826
22827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22828 arg1 = (int) SWIG_AsInt(obj0);
22829 if (PyErr_Occurred()) SWIG_fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = wxDateSpan::Months(arg1);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 {
22838 wxDateSpan * resultptr;
22839 resultptr = new wxDateSpan((wxDateSpan &) result);
22840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22841 }
22842 return resultobj;
22843 fail:
22844 return NULL;
22845 }
22846
22847
22848 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22849 PyObject *resultobj;
22850 wxDateSpan result;
22851 char *kwnames[] = {
22852 NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22856 {
22857 PyThreadState* __tstate = wxPyBeginAllowThreads();
22858 result = wxDateSpan::Month();
22859
22860 wxPyEndAllowThreads(__tstate);
22861 if (PyErr_Occurred()) SWIG_fail;
22862 }
22863 {
22864 wxDateSpan * resultptr;
22865 resultptr = new wxDateSpan((wxDateSpan &) result);
22866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22867 }
22868 return resultobj;
22869 fail:
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 int arg1 ;
22877 wxDateSpan result;
22878 PyObject * obj0 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "years", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22884 arg1 = (int) SWIG_AsInt(obj0);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 {
22887 PyThreadState* __tstate = wxPyBeginAllowThreads();
22888 result = wxDateSpan::Years(arg1);
22889
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 {
22894 wxDateSpan * resultptr;
22895 resultptr = new wxDateSpan((wxDateSpan &) result);
22896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22897 }
22898 return resultobj;
22899 fail:
22900 return NULL;
22901 }
22902
22903
22904 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22905 PyObject *resultobj;
22906 wxDateSpan result;
22907 char *kwnames[] = {
22908 NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 result = wxDateSpan::Year();
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 {
22920 wxDateSpan * resultptr;
22921 resultptr = new wxDateSpan((wxDateSpan &) result);
22922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22923 }
22924 return resultobj;
22925 fail:
22926 return NULL;
22927 }
22928
22929
22930 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22931 PyObject *resultobj;
22932 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22933 int arg2 ;
22934 wxDateSpan *result;
22935 PyObject * obj0 = 0 ;
22936 PyObject * obj1 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "n", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22944 arg2 = (int) SWIG_AsInt(obj1);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 {
22949 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22950 result = (wxDateSpan *) &_result_ref;
22951 }
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22964 PyObject *resultobj;
22965 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22966 int arg2 ;
22967 wxDateSpan *result;
22968 PyObject * obj0 = 0 ;
22969 PyObject * obj1 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self",(char *) "n", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22977 arg2 = (int) SWIG_AsInt(obj1);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 {
22982 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22983 result = (wxDateSpan *) &_result_ref;
22984 }
22985
22986 wxPyEndAllowThreads(__tstate);
22987 if (PyErr_Occurred()) SWIG_fail;
22988 }
22989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22990 return resultobj;
22991 fail:
22992 return NULL;
22993 }
22994
22995
22996 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22997 PyObject *resultobj;
22998 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22999 int arg2 ;
23000 wxDateSpan *result;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "n", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23010 arg2 = (int) SWIG_AsInt(obj1);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 {
23015 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
23016 result = (wxDateSpan *) &_result_ref;
23017 }
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
23022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23023 return resultobj;
23024 fail:
23025 return NULL;
23026 }
23027
23028
23029 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23030 PyObject *resultobj;
23031 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23032 int arg2 ;
23033 wxDateSpan *result;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "n", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23043 arg2 = (int) SWIG_AsInt(obj1);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 {
23048 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23049 result = (wxDateSpan *) &_result_ref;
23050 }
23051
23052 wxPyEndAllowThreads(__tstate);
23053 if (PyErr_Occurred()) SWIG_fail;
23054 }
23055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23056 return resultobj;
23057 fail:
23058 return NULL;
23059 }
23060
23061
23062 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23065 int result;
23066 PyObject * obj0 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 result = (int)((wxDateSpan const *)arg1)->GetYears();
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 resultobj = SWIG_FromInt((int)result);
23082 return resultobj;
23083 fail:
23084 return NULL;
23085 }
23086
23087
23088 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
23089 PyObject *resultobj;
23090 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23091 int result;
23092 PyObject * obj0 = 0 ;
23093 char *kwnames[] = {
23094 (char *) "self", NULL
23095 };
23096
23097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23103
23104 wxPyEndAllowThreads(__tstate);
23105 if (PyErr_Occurred()) SWIG_fail;
23106 }
23107 resultobj = SWIG_FromInt((int)result);
23108 return resultobj;
23109 fail:
23110 return NULL;
23111 }
23112
23113
23114 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
23115 PyObject *resultobj;
23116 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23117 int result;
23118 PyObject * obj0 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "self", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 resultobj = SWIG_FromInt((int)result);
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23143 int result;
23144 PyObject * obj0 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (int)((wxDateSpan const *)arg1)->GetDays();
23155
23156 wxPyEndAllowThreads(__tstate);
23157 if (PyErr_Occurred()) SWIG_fail;
23158 }
23159 resultobj = SWIG_FromInt((int)result);
23160 return resultobj;
23161 fail:
23162 return NULL;
23163 }
23164
23165
23166 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
23167 PyObject *resultobj;
23168 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23169 int result;
23170 PyObject * obj0 = 0 ;
23171 char *kwnames[] = {
23172 (char *) "self", NULL
23173 };
23174
23175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 resultobj = SWIG_FromInt((int)result);
23186 return resultobj;
23187 fail:
23188 return NULL;
23189 }
23190
23191
23192 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj;
23194 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23195 wxDateSpan *arg2 = 0 ;
23196 wxDateSpan *result;
23197 PyObject * obj0 = 0 ;
23198 PyObject * obj1 = 0 ;
23199 char *kwnames[] = {
23200 (char *) "self",(char *) "other", NULL
23201 };
23202
23203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23207 SWIG_POINTER_EXCEPTION | 0)) == -1)
23208 SWIG_fail;
23209 if (arg2 == NULL) {
23210 PyErr_SetString(PyExc_TypeError,"null reference");
23211 SWIG_fail;
23212 }
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 {
23216 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23217 result = (wxDateSpan *) &_result_ref;
23218 }
23219
23220 wxPyEndAllowThreads(__tstate);
23221 if (PyErr_Occurred()) SWIG_fail;
23222 }
23223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23233 wxDateSpan *arg2 = 0 ;
23234 wxDateSpan *result;
23235 PyObject * obj0 = 0 ;
23236 PyObject * obj1 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self",(char *) "other", NULL
23239 };
23240
23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23245 SWIG_POINTER_EXCEPTION | 0)) == -1)
23246 SWIG_fail;
23247 if (arg2 == NULL) {
23248 PyErr_SetString(PyExc_TypeError,"null reference");
23249 SWIG_fail;
23250 }
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 {
23254 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23255 result = (wxDateSpan *) &_result_ref;
23256 }
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj;
23270 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23271 wxDateSpan *result;
23272 PyObject * obj0 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 {
23283 wxDateSpan &_result_ref = (arg1)->Neg();
23284 result = (wxDateSpan *) &_result_ref;
23285 }
23286
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23291 return resultobj;
23292 fail:
23293 return NULL;
23294 }
23295
23296
23297 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23300 int arg2 ;
23301 wxDateSpan *result;
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "factor", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23311 arg2 = (int) SWIG_AsInt(obj1);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 {
23314 PyThreadState* __tstate = wxPyBeginAllowThreads();
23315 {
23316 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23317 result = (wxDateSpan *) &_result_ref;
23318 }
23319
23320 wxPyEndAllowThreads(__tstate);
23321 if (PyErr_Occurred()) SWIG_fail;
23322 }
23323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23324 return resultobj;
23325 fail:
23326 return NULL;
23327 }
23328
23329
23330 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
23331 PyObject *resultobj;
23332 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23333 wxDateSpan *arg2 = 0 ;
23334 wxDateSpan *result;
23335 PyObject * obj0 = 0 ;
23336 PyObject * obj1 = 0 ;
23337 char *kwnames[] = {
23338 (char *) "self",(char *) "other", NULL
23339 };
23340
23341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23344 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23345 SWIG_POINTER_EXCEPTION | 0)) == -1)
23346 SWIG_fail;
23347 if (arg2 == NULL) {
23348 PyErr_SetString(PyExc_TypeError,"null reference");
23349 SWIG_fail;
23350 }
23351 {
23352 PyThreadState* __tstate = wxPyBeginAllowThreads();
23353 {
23354 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23355 result = (wxDateSpan *) &_result_ref;
23356 }
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23371 wxDateSpan *arg2 = 0 ;
23372 wxDateSpan *result;
23373 PyObject * obj0 = 0 ;
23374 PyObject * obj1 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self",(char *) "other", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23383 SWIG_POINTER_EXCEPTION | 0)) == -1)
23384 SWIG_fail;
23385 if (arg2 == NULL) {
23386 PyErr_SetString(PyExc_TypeError,"null reference");
23387 SWIG_fail;
23388 }
23389 {
23390 PyThreadState* __tstate = wxPyBeginAllowThreads();
23391 {
23392 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23393 result = (wxDateSpan *) &_result_ref;
23394 }
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23400 return resultobj;
23401 fail:
23402 return NULL;
23403 }
23404
23405
23406 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
23407 PyObject *resultobj;
23408 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23409 wxDateSpan *result;
23410 PyObject * obj0 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 {
23421 wxDateSpan &_result_ref = (arg1)->operator -();
23422 result = (wxDateSpan *) &_result_ref;
23423 }
23424
23425 wxPyEndAllowThreads(__tstate);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23429 return resultobj;
23430 fail:
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23438 int arg2 ;
23439 wxDateSpan *result;
23440 PyObject * obj0 = 0 ;
23441 PyObject * obj1 = 0 ;
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "factor", NULL
23444 };
23445
23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23449 arg2 = (int) SWIG_AsInt(obj1);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 {
23454 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23455 result = (wxDateSpan *) &_result_ref;
23456 }
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23471 wxDateSpan *arg2 = 0 ;
23472 wxDateSpan result;
23473 PyObject * obj0 = 0 ;
23474 PyObject * obj1 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self",(char *) "other", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23483 SWIG_POINTER_EXCEPTION | 0)) == -1)
23484 SWIG_fail;
23485 if (arg2 == NULL) {
23486 PyErr_SetString(PyExc_TypeError,"null reference");
23487 SWIG_fail;
23488 }
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23492
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 {
23497 wxDateSpan * resultptr;
23498 resultptr = new wxDateSpan((wxDateSpan &) result);
23499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23500 }
23501 return resultobj;
23502 fail:
23503 return NULL;
23504 }
23505
23506
23507 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23508 PyObject *resultobj;
23509 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23510 wxDateSpan *arg2 = 0 ;
23511 wxDateSpan result;
23512 PyObject * obj0 = 0 ;
23513 PyObject * obj1 = 0 ;
23514 char *kwnames[] = {
23515 (char *) "self",(char *) "other", NULL
23516 };
23517
23518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23521 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23522 SWIG_POINTER_EXCEPTION | 0)) == -1)
23523 SWIG_fail;
23524 if (arg2 == NULL) {
23525 PyErr_SetString(PyExc_TypeError,"null reference");
23526 SWIG_fail;
23527 }
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 {
23536 wxDateSpan * resultptr;
23537 resultptr = new wxDateSpan((wxDateSpan &) result);
23538 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23539 }
23540 return resultobj;
23541 fail:
23542 return NULL;
23543 }
23544
23545
23546 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23549 int arg2 ;
23550 wxDateSpan result;
23551 PyObject * obj0 = 0 ;
23552 PyObject * obj1 = 0 ;
23553 char *kwnames[] = {
23554 (char *) "self",(char *) "n", NULL
23555 };
23556
23557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23560 arg2 = (int) SWIG_AsInt(obj1);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 {
23563 PyThreadState* __tstate = wxPyBeginAllowThreads();
23564 result = wxDateSpan___mul__(arg1,arg2);
23565
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 {
23570 wxDateSpan * resultptr;
23571 resultptr = new wxDateSpan((wxDateSpan &) result);
23572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23573 }
23574 return resultobj;
23575 fail:
23576 return NULL;
23577 }
23578
23579
23580 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23583 int arg2 ;
23584 wxDateSpan result;
23585 PyObject * obj0 = 0 ;
23586 PyObject * obj1 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self",(char *) "n", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23594 arg2 = (int) SWIG_AsInt(obj1);
23595 if (PyErr_Occurred()) SWIG_fail;
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 result = wxDateSpan___rmul__(arg1,arg2);
23599
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 {
23604 wxDateSpan * resultptr;
23605 resultptr = new wxDateSpan((wxDateSpan &) result);
23606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23607 }
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23617 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23618 bool result;
23619 PyObject * obj0 = 0 ;
23620 PyObject * obj1 = 0 ;
23621 char *kwnames[] = {
23622 (char *) "self",(char *) "other", NULL
23623 };
23624
23625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23630 {
23631 PyThreadState* __tstate = wxPyBeginAllowThreads();
23632 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23633
23634 wxPyEndAllowThreads(__tstate);
23635 if (PyErr_Occurred()) SWIG_fail;
23636 }
23637 {
23638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23639 }
23640 return resultobj;
23641 fail:
23642 return NULL;
23643 }
23644
23645
23646 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23647 PyObject *resultobj;
23648 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23649 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23650 bool 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___ne__",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) SWIG_fail;
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 {
23670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23671 }
23672 return resultobj;
23673 fail:
23674 return NULL;
23675 }
23676
23677
23678 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23679 PyObject *obj;
23680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23681 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23682 Py_INCREF(obj);
23683 return Py_BuildValue((char *)"");
23684 }
23685 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 long result;
23688 char *kwnames[] = {
23689 NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (long)wxGetLocalTime();
23696
23697 wxPyEndAllowThreads(__tstate);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 resultobj = SWIG_FromLong((long)result);
23701 return resultobj;
23702 fail:
23703 return NULL;
23704 }
23705
23706
23707 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23708 PyObject *resultobj;
23709 long result;
23710 char *kwnames[] = {
23711 NULL
23712 };
23713
23714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (long)wxGetUTCTime();
23718
23719 wxPyEndAllowThreads(__tstate);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 resultobj = SWIG_FromLong((long)result);
23723 return resultobj;
23724 fail:
23725 return NULL;
23726 }
23727
23728
23729 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23730 PyObject *resultobj;
23731 long result;
23732 char *kwnames[] = {
23733 NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (long)wxGetCurrentTime();
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 resultobj = SWIG_FromLong((long)result);
23745 return resultobj;
23746 fail:
23747 return NULL;
23748 }
23749
23750
23751 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 wxLongLong result;
23754 char *kwnames[] = {
23755 NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 result = wxGetLocalTimeMillis();
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 {
23767 PyObject *hi, *lo, *shifter, *shifted;
23768 hi = PyLong_FromLong( (&result)->GetHi() );
23769 lo = PyLong_FromLong( (&result)->GetLo() );
23770 shifter = PyLong_FromLong(32);
23771 shifted = PyNumber_Lshift(hi, shifter);
23772 resultobj = PyNumber_Or(shifted, lo);
23773 Py_DECREF(hi);
23774 Py_DECREF(lo);
23775 Py_DECREF(shifter);
23776 Py_DECREF(shifted);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static int _wrap_DefaultDateTime_set(PyObject *_val) {
23785 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23786 return 1;
23787 }
23788
23789
23790 static PyObject *_wrap_DefaultDateTime_get() {
23791 PyObject *pyobj;
23792
23793 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23794 return pyobj;
23795 }
23796
23797
23798 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23799 PyObject *resultobj;
23800 int arg1 ;
23801 wxDataFormat *result;
23802 PyObject * obj0 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "type", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23808 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23825 PyObject *resultobj;
23826 wxString *arg1 = 0 ;
23827 wxDataFormat *result;
23828 bool temp1 = False ;
23829 PyObject * obj0 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "format", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23835 {
23836 arg1 = wxString_in_helper(obj0);
23837 if (arg1 == NULL) SWIG_fail;
23838 temp1 = True;
23839 }
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23848 {
23849 if (temp1)
23850 delete arg1;
23851 }
23852 return resultobj;
23853 fail:
23854 {
23855 if (temp1)
23856 delete arg1;
23857 }
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23865 PyObject * obj0 = 0 ;
23866 char *kwnames[] = {
23867 (char *) "self", NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 delete arg1;
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 Py_INCREF(Py_None); resultobj = Py_None;
23881 return resultobj;
23882 fail:
23883 return NULL;
23884 }
23885
23886
23887 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23888 PyObject *resultobj;
23889 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23890 int arg2 ;
23891 bool result;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894
23895 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23898 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 {
23908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23909 }
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23917 PyObject *resultobj;
23918 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23919 int arg2 ;
23920 bool result;
23921 PyObject * obj0 = 0 ;
23922 PyObject * obj1 = 0 ;
23923
23924 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23927 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23932
23933 wxPyEndAllowThreads(__tstate);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 }
23936 {
23937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23938 }
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23946 PyObject *resultobj;
23947 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23948 wxDataFormat *arg2 = 0 ;
23949 bool result;
23950 PyObject * obj0 = 0 ;
23951 PyObject * obj1 = 0 ;
23952
23953 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1)
23958 SWIG_fail;
23959 if (arg2 == NULL) {
23960 PyErr_SetString(PyExc_TypeError,"null reference");
23961 SWIG_fail;
23962 }
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 {
23971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23972 }
23973 return resultobj;
23974 fail:
23975 return NULL;
23976 }
23977
23978
23979 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23980 int argc;
23981 PyObject *argv[3];
23982 int ii;
23983
23984 argc = PyObject_Length(args);
23985 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23986 argv[ii] = PyTuple_GetItem(args,ii);
23987 }
23988 if (argc == 2) {
23989 int _v;
23990 {
23991 void *ptr;
23992 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23993 _v = 0;
23994 PyErr_Clear();
23995 } else {
23996 _v = 1;
23997 }
23998 }
23999 if (_v) {
24000 {
24001 void *ptr;
24002 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24003 _v = 0;
24004 PyErr_Clear();
24005 } else {
24006 _v = 1;
24007 }
24008 }
24009 if (_v) {
24010 return _wrap_DataFormat___eq____SWIG_1(self,args);
24011 }
24012 }
24013 }
24014 if (argc == 2) {
24015 int _v;
24016 {
24017 void *ptr;
24018 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24019 _v = 0;
24020 PyErr_Clear();
24021 } else {
24022 _v = 1;
24023 }
24024 }
24025 if (_v) {
24026 _v = SWIG_CheckInt(argv[1]);
24027 if (_v) {
24028 return _wrap_DataFormat___eq____SWIG_0(self,args);
24029 }
24030 }
24031 }
24032
24033 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24034 return NULL;
24035 }
24036
24037
24038 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
24039 PyObject *resultobj;
24040 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24041 wxDataFormat *arg2 = 0 ;
24042 bool result;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045
24046 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24049 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24050 SWIG_POINTER_EXCEPTION | 0)) == -1)
24051 SWIG_fail;
24052 if (arg2 == NULL) {
24053 PyErr_SetString(PyExc_TypeError,"null reference");
24054 SWIG_fail;
24055 }
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 {
24064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24065 }
24066 return resultobj;
24067 fail:
24068 return NULL;
24069 }
24070
24071
24072 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24073 int argc;
24074 PyObject *argv[3];
24075 int ii;
24076
24077 argc = PyObject_Length(args);
24078 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24079 argv[ii] = PyTuple_GetItem(args,ii);
24080 }
24081 if (argc == 2) {
24082 int _v;
24083 {
24084 void *ptr;
24085 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24086 _v = 0;
24087 PyErr_Clear();
24088 } else {
24089 _v = 1;
24090 }
24091 }
24092 if (_v) {
24093 {
24094 void *ptr;
24095 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24096 _v = 0;
24097 PyErr_Clear();
24098 } else {
24099 _v = 1;
24100 }
24101 }
24102 if (_v) {
24103 return _wrap_DataFormat___ne____SWIG_1(self,args);
24104 }
24105 }
24106 }
24107 if (argc == 2) {
24108 int _v;
24109 {
24110 void *ptr;
24111 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24112 _v = 0;
24113 PyErr_Clear();
24114 } else {
24115 _v = 1;
24116 }
24117 }
24118 if (_v) {
24119 _v = SWIG_CheckInt(argv[1]);
24120 if (_v) {
24121 return _wrap_DataFormat___ne____SWIG_0(self,args);
24122 }
24123 }
24124 }
24125
24126 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24127 return NULL;
24128 }
24129
24130
24131 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24134 int arg2 ;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self",(char *) "format", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24144 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 {
24147 PyThreadState* __tstate = wxPyBeginAllowThreads();
24148 (arg1)->SetType((wxDataFormatId )arg2);
24149
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 Py_INCREF(Py_None); resultobj = Py_None;
24154 return resultobj;
24155 fail:
24156 return NULL;
24157 }
24158
24159
24160 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj;
24162 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24163 int result;
24164 PyObject * obj0 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 result = (int)((wxDataFormat const *)arg1)->GetType();
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 resultobj = SWIG_FromInt((int)result);
24180 return resultobj;
24181 fail:
24182 return NULL;
24183 }
24184
24185
24186 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24189 wxString result;
24190 PyObject * obj0 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = ((wxDataFormat const *)arg1)->GetId();
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 {
24206 #if wxUSE_UNICODE
24207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24208 #else
24209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24210 #endif
24211 }
24212 return resultobj;
24213 fail:
24214 return NULL;
24215 }
24216
24217
24218 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24219 PyObject *resultobj;
24220 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24221 wxString *arg2 = 0 ;
24222 bool temp2 = False ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "format", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24232 {
24233 arg2 = wxString_in_helper(obj1);
24234 if (arg2 == NULL) SWIG_fail;
24235 temp2 = True;
24236 }
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 (arg1)->SetId((wxString const &)*arg2);
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 Py_INCREF(Py_None); resultobj = Py_None;
24245 {
24246 if (temp2)
24247 delete arg2;
24248 }
24249 return resultobj;
24250 fail:
24251 {
24252 if (temp2)
24253 delete arg2;
24254 }
24255 return NULL;
24256 }
24257
24258
24259 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
24260 PyObject *obj;
24261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24262 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24263 Py_INCREF(obj);
24264 return Py_BuildValue((char *)"");
24265 }
24266 static int _wrap_FormatInvalid_set(PyObject *_val) {
24267 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24268 return 1;
24269 }
24270
24271
24272 static PyObject *_wrap_FormatInvalid_get() {
24273 PyObject *pyobj;
24274
24275 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24276 return pyobj;
24277 }
24278
24279
24280 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24281 PyObject *resultobj;
24282 wxDataObject *arg1 = (wxDataObject *) 0 ;
24283 PyObject * obj0 = 0 ;
24284 char *kwnames[] = {
24285 (char *) "self", NULL
24286 };
24287
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 delete arg1;
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 Py_INCREF(Py_None); resultobj = Py_None;
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24306 PyObject *resultobj;
24307 wxDataObject *arg1 = (wxDataObject *) 0 ;
24308 int arg2 = (int) wxDataObject::Get ;
24309 SwigValueWrapper< wxDataFormat > result;
24310 PyObject * obj0 = 0 ;
24311 PyObject * obj1 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "dir", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24319 if (obj1) {
24320 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 {
24331 wxDataFormat * resultptr;
24332 resultptr = new wxDataFormat((wxDataFormat &) result);
24333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24334 }
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxDataObject *arg1 = (wxDataObject *) 0 ;
24344 int arg2 = (int) wxDataObject::Get ;
24345 size_t result;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "dir", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 if (obj1) {
24356 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 {
24360 PyThreadState* __tstate = wxPyBeginAllowThreads();
24361 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24362
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24367 return resultobj;
24368 fail:
24369 return NULL;
24370 }
24371
24372
24373 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxDataObject *arg1 = (wxDataObject *) 0 ;
24376 wxDataFormat *arg2 = 0 ;
24377 int arg3 = (int) wxDataObject::Get ;
24378 bool result;
24379 PyObject * obj0 = 0 ;
24380 PyObject * obj1 = 0 ;
24381 PyObject * obj2 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self",(char *) "format",(char *) "dir", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24389 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24390 SWIG_POINTER_EXCEPTION | 0)) == -1)
24391 SWIG_fail;
24392 if (arg2 == NULL) {
24393 PyErr_SetString(PyExc_TypeError,"null reference");
24394 SWIG_fail;
24395 }
24396 if (obj2) {
24397 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24403
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 {
24408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24409 }
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj;
24418 wxDataObject *arg1 = (wxDataObject *) 0 ;
24419 wxDataFormat *arg2 = 0 ;
24420 size_t result;
24421 PyObject * obj0 = 0 ;
24422 PyObject * obj1 = 0 ;
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "format", NULL
24425 };
24426
24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24431 SWIG_POINTER_EXCEPTION | 0)) == -1)
24432 SWIG_fail;
24433 if (arg2 == NULL) {
24434 PyErr_SetString(PyExc_TypeError,"null reference");
24435 SWIG_fail;
24436 }
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24440
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
24444 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24445 return resultobj;
24446 fail:
24447 return NULL;
24448 }
24449
24450
24451 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxDataObject *arg1 = (wxDataObject *) 0 ;
24454 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24455 int arg3 = (int) wxDataObject::Get ;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 PyObject * obj2 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "formats",(char *) "dir", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24468 if (obj2) {
24469 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24470 if (PyErr_Occurred()) SWIG_fail;
24471 }
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24475
24476 wxPyEndAllowThreads(__tstate);
24477 if (PyErr_Occurred()) SWIG_fail;
24478 }
24479 Py_INCREF(Py_None); resultobj = Py_None;
24480 return resultobj;
24481 fail:
24482 return NULL;
24483 }
24484
24485
24486 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24487 PyObject *resultobj;
24488 wxDataObject *arg1 = (wxDataObject *) 0 ;
24489 wxDataFormat *arg2 = 0 ;
24490 void *arg3 = (void *) 0 ;
24491 bool result;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj1 = 0 ;
24494 PyObject * obj2 = 0 ;
24495 char *kwnames[] = {
24496 (char *) "self",(char *) "format",(char *) "buf", NULL
24497 };
24498
24499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1)
24504 SWIG_fail;
24505 if (arg2 == NULL) {
24506 PyErr_SetString(PyExc_TypeError,"null reference");
24507 SWIG_fail;
24508 }
24509 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
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_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24527 PyObject *resultobj;
24528 wxDataObject *arg1 = (wxDataObject *) 0 ;
24529 wxDataFormat *arg2 = 0 ;
24530 size_t arg3 ;
24531 void *arg4 = (void *) 0 ;
24532 bool result;
24533 PyObject * obj0 = 0 ;
24534 PyObject * obj1 = 0 ;
24535 PyObject * obj2 = 0 ;
24536 PyObject * obj3 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24545 SWIG_POINTER_EXCEPTION | 0)) == -1)
24546 SWIG_fail;
24547 if (arg2 == NULL) {
24548 PyErr_SetString(PyExc_TypeError,"null reference");
24549 SWIG_fail;
24550 }
24551 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24557
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 {
24562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24563 }
24564 return resultobj;
24565 fail:
24566 return NULL;
24567 }
24568
24569
24570 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24571 PyObject *obj;
24572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24573 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24574 Py_INCREF(obj);
24575 return Py_BuildValue((char *)"");
24576 }
24577 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24578 PyObject *resultobj;
24579 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24580 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24581 wxDataObjectSimple *result;
24582 PyObject * obj0 = 0 ;
24583 char *kwnames[] = {
24584 (char *) "format", NULL
24585 };
24586
24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24588 if (obj0) {
24589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24590 SWIG_POINTER_EXCEPTION | 0)) == -1)
24591 SWIG_fail;
24592 if (arg1 == NULL) {
24593 PyErr_SetString(PyExc_TypeError,"null reference");
24594 SWIG_fail;
24595 }
24596 }
24597 {
24598 PyThreadState* __tstate = wxPyBeginAllowThreads();
24599 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24600
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24612 PyObject *resultobj;
24613 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24614 wxDataFormat *result;
24615 PyObject * obj0 = 0 ;
24616 char *kwnames[] = {
24617 (char *) "self", NULL
24618 };
24619
24620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24623 {
24624 PyThreadState* __tstate = wxPyBeginAllowThreads();
24625 {
24626 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24627 result = (wxDataFormat *) &_result_ref;
24628 }
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj;
24642 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24643 wxDataFormat *arg2 = 0 ;
24644 PyObject * obj0 = 0 ;
24645 PyObject * obj1 = 0 ;
24646 char *kwnames[] = {
24647 (char *) "self",(char *) "format", NULL
24648 };
24649
24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24654 SWIG_POINTER_EXCEPTION | 0)) == -1)
24655 SWIG_fail;
24656 if (arg2 == NULL) {
24657 PyErr_SetString(PyExc_TypeError,"null reference");
24658 SWIG_fail;
24659 }
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 Py_INCREF(Py_None); resultobj = Py_None;
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24675 PyObject *obj;
24676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24677 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24678 Py_INCREF(obj);
24679 return Py_BuildValue((char *)"");
24680 }
24681 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24684 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24685 wxPyDataObjectSimple *result;
24686 PyObject * obj0 = 0 ;
24687 char *kwnames[] = {
24688 (char *) "format", NULL
24689 };
24690
24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24692 if (obj0) {
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1)
24695 SWIG_fail;
24696 if (arg1 == NULL) {
24697 PyErr_SetString(PyExc_TypeError,"null reference");
24698 SWIG_fail;
24699 }
24700 }
24701 {
24702 PyThreadState* __tstate = wxPyBeginAllowThreads();
24703 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24704
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24718 PyObject *arg2 = (PyObject *) 0 ;
24719 PyObject *arg3 = (PyObject *) 0 ;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 PyObject * obj2 = 0 ;
24723 char *kwnames[] = {
24724 (char *) "self",(char *) "self",(char *) "_class", NULL
24725 };
24726
24727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24730 arg2 = obj1;
24731 arg3 = obj2;
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 (arg1)->_setCallbackInfo(arg2,arg3);
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 Py_INCREF(Py_None); resultobj = Py_None;
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24747 PyObject *obj;
24748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24749 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24750 Py_INCREF(obj);
24751 return Py_BuildValue((char *)"");
24752 }
24753 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxDataObjectComposite *result;
24756 char *kwnames[] = {
24757 NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24761 {
24762 PyThreadState* __tstate = wxPyBeginAllowThreads();
24763 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj;
24777 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24778 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24779 int arg3 = (int) False ;
24780 PyObject * obj0 = 0 ;
24781 PyObject * obj1 = 0 ;
24782 PyObject * obj2 = 0 ;
24783 char *kwnames[] = {
24784 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24785 };
24786
24787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24791 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24792 if (obj2) {
24793 arg3 = (int) SWIG_AsInt(obj2);
24794 if (PyErr_Occurred()) SWIG_fail;
24795 }
24796 {
24797 PyThreadState* __tstate = wxPyBeginAllowThreads();
24798 (arg1)->Add(arg2,arg3);
24799
24800 wxPyEndAllowThreads(__tstate);
24801 if (PyErr_Occurred()) SWIG_fail;
24802 }
24803 Py_INCREF(Py_None); resultobj = Py_None;
24804 return resultobj;
24805 fail:
24806 return NULL;
24807 }
24808
24809
24810 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24811 PyObject *obj;
24812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24813 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24814 Py_INCREF(obj);
24815 return Py_BuildValue((char *)"");
24816 }
24817 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxString const &arg1_defvalue = wxPyEmptyString ;
24820 wxString *arg1 = (wxString *) &arg1_defvalue ;
24821 wxTextDataObject *result;
24822 bool temp1 = False ;
24823 PyObject * obj0 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "text", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24829 if (obj0) {
24830 {
24831 arg1 = wxString_in_helper(obj0);
24832 if (arg1 == NULL) SWIG_fail;
24833 temp1 = True;
24834 }
24835 }
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24839
24840 wxPyEndAllowThreads(__tstate);
24841 if (PyErr_Occurred()) SWIG_fail;
24842 }
24843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
24844 {
24845 if (temp1)
24846 delete arg1;
24847 }
24848 return resultobj;
24849 fail:
24850 {
24851 if (temp1)
24852 delete arg1;
24853 }
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24861 size_t result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (size_t)(arg1)->GetTextLength();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24878 return resultobj;
24879 fail:
24880 return NULL;
24881 }
24882
24883
24884 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24887 wxString result;
24888 PyObject * obj0 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (arg1)->GetText();
24899
24900 wxPyEndAllowThreads(__tstate);
24901 if (PyErr_Occurred()) SWIG_fail;
24902 }
24903 {
24904 #if wxUSE_UNICODE
24905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24906 #else
24907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24908 #endif
24909 }
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24917 PyObject *resultobj;
24918 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24919 wxString *arg2 = 0 ;
24920 bool temp2 = False ;
24921 PyObject * obj0 = 0 ;
24922 PyObject * obj1 = 0 ;
24923 char *kwnames[] = {
24924 (char *) "self",(char *) "text", NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24930 {
24931 arg2 = wxString_in_helper(obj1);
24932 if (arg2 == NULL) SWIG_fail;
24933 temp2 = True;
24934 }
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 (arg1)->SetText((wxString const &)*arg2);
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 Py_INCREF(Py_None); resultobj = Py_None;
24943 {
24944 if (temp2)
24945 delete arg2;
24946 }
24947 return resultobj;
24948 fail:
24949 {
24950 if (temp2)
24951 delete arg2;
24952 }
24953 return NULL;
24954 }
24955
24956
24957 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24958 PyObject *obj;
24959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24960 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24961 Py_INCREF(obj);
24962 return Py_BuildValue((char *)"");
24963 }
24964 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24965 PyObject *resultobj;
24966 wxString const &arg1_defvalue = wxPyEmptyString ;
24967 wxString *arg1 = (wxString *) &arg1_defvalue ;
24968 wxPyTextDataObject *result;
24969 bool temp1 = False ;
24970 PyObject * obj0 = 0 ;
24971 char *kwnames[] = {
24972 (char *) "text", NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24976 if (obj0) {
24977 {
24978 arg1 = wxString_in_helper(obj0);
24979 if (arg1 == NULL) SWIG_fail;
24980 temp1 = True;
24981 }
24982 }
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
24991 {
24992 if (temp1)
24993 delete arg1;
24994 }
24995 return resultobj;
24996 fail:
24997 {
24998 if (temp1)
24999 delete arg1;
25000 }
25001 return NULL;
25002 }
25003
25004
25005 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
25008 PyObject *arg2 = (PyObject *) 0 ;
25009 PyObject *arg3 = (PyObject *) 0 ;
25010 PyObject * obj0 = 0 ;
25011 PyObject * obj1 = 0 ;
25012 PyObject * obj2 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "self",(char *) "_class", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25020 arg2 = obj1;
25021 arg3 = obj2;
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 (arg1)->_setCallbackInfo(arg2,arg3);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 Py_INCREF(Py_None); resultobj = Py_None;
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
25037 PyObject *obj;
25038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25039 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25040 Py_INCREF(obj);
25041 return Py_BuildValue((char *)"");
25042 }
25043 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25044 PyObject *resultobj;
25045 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25046 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25047 wxBitmapDataObject *result;
25048 PyObject * obj0 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "bitmap", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25054 if (obj0) {
25055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1)
25057 SWIG_fail;
25058 if (arg1 == NULL) {
25059 PyErr_SetString(PyExc_TypeError,"null reference");
25060 SWIG_fail;
25061 }
25062 }
25063 {
25064 PyThreadState* __tstate = wxPyBeginAllowThreads();
25065 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25066
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25071 return resultobj;
25072 fail:
25073 return NULL;
25074 }
25075
25076
25077 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25078 PyObject *resultobj;
25079 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25080 wxBitmap result;
25081 PyObject * obj0 = 0 ;
25082 char *kwnames[] = {
25083 (char *) "self", NULL
25084 };
25085
25086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 {
25097 wxBitmap * resultptr;
25098 resultptr = new wxBitmap((wxBitmap &) result);
25099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25100 }
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25110 wxBitmap *arg2 = 0 ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "bitmap", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25121 SWIG_POINTER_EXCEPTION | 0)) == -1)
25122 SWIG_fail;
25123 if (arg2 == NULL) {
25124 PyErr_SetString(PyExc_TypeError,"null reference");
25125 SWIG_fail;
25126 }
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25130
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 Py_INCREF(Py_None); resultobj = Py_None;
25135 return resultobj;
25136 fail:
25137 return NULL;
25138 }
25139
25140
25141 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25142 PyObject *obj;
25143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25144 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25145 Py_INCREF(obj);
25146 return Py_BuildValue((char *)"");
25147 }
25148 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25149 PyObject *resultobj;
25150 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25151 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25152 wxPyBitmapDataObject *result;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "bitmap", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25159 if (obj0) {
25160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25161 SWIG_POINTER_EXCEPTION | 0)) == -1)
25162 SWIG_fail;
25163 if (arg1 == NULL) {
25164 PyErr_SetString(PyExc_TypeError,"null reference");
25165 SWIG_fail;
25166 }
25167 }
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25171
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25176 return resultobj;
25177 fail:
25178 return NULL;
25179 }
25180
25181
25182 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25183 PyObject *resultobj;
25184 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25185 PyObject *arg2 = (PyObject *) 0 ;
25186 PyObject *arg3 = (PyObject *) 0 ;
25187 PyObject * obj0 = 0 ;
25188 PyObject * obj1 = 0 ;
25189 PyObject * obj2 = 0 ;
25190 char *kwnames[] = {
25191 (char *) "self",(char *) "self",(char *) "_class", NULL
25192 };
25193
25194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25197 arg2 = obj1;
25198 arg3 = obj2;
25199 {
25200 PyThreadState* __tstate = wxPyBeginAllowThreads();
25201 (arg1)->_setCallbackInfo(arg2,arg3);
25202
25203 wxPyEndAllowThreads(__tstate);
25204 if (PyErr_Occurred()) SWIG_fail;
25205 }
25206 Py_INCREF(Py_None); resultobj = Py_None;
25207 return resultobj;
25208 fail:
25209 return NULL;
25210 }
25211
25212
25213 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
25214 PyObject *obj;
25215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25216 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25217 Py_INCREF(obj);
25218 return Py_BuildValue((char *)"");
25219 }
25220 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxFileDataObject *result;
25223 char *kwnames[] = {
25224 NULL
25225 };
25226
25227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 result = (wxFileDataObject *)new wxFileDataObject();
25231
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj;
25244 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25245 wxArrayString *result;
25246 PyObject * obj0 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self", NULL
25249 };
25250
25251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 {
25257 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25258 result = (wxArrayString *) &_result_ref;
25259 }
25260
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 {
25265 resultobj = wxArrayString2PyList_helper(*result);
25266 }
25267 return resultobj;
25268 fail:
25269 return NULL;
25270 }
25271
25272
25273 static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25276 wxString *arg2 = 0 ;
25277 bool temp2 = False ;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "self",(char *) "filename", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25287 {
25288 arg2 = wxString_in_helper(obj1);
25289 if (arg2 == NULL) SWIG_fail;
25290 temp2 = True;
25291 }
25292 {
25293 PyThreadState* __tstate = wxPyBeginAllowThreads();
25294 (arg1)->AddFile((wxString const &)*arg2);
25295
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 Py_INCREF(Py_None); resultobj = Py_None;
25300 {
25301 if (temp2)
25302 delete arg2;
25303 }
25304 return resultobj;
25305 fail:
25306 {
25307 if (temp2)
25308 delete arg2;
25309 }
25310 return NULL;
25311 }
25312
25313
25314 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
25315 PyObject *obj;
25316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25317 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25318 Py_INCREF(obj);
25319 return Py_BuildValue((char *)"");
25320 }
25321 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25324 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25325 wxCustomDataObject *result;
25326 PyObject * obj0 = 0 ;
25327 char *kwnames[] = {
25328 (char *) "format", NULL
25329 };
25330
25331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25332 if (obj0) {
25333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25334 SWIG_POINTER_EXCEPTION | 0)) == -1)
25335 SWIG_fail;
25336 if (arg1 == NULL) {
25337 PyErr_SetString(PyExc_TypeError,"null reference");
25338 SWIG_fail;
25339 }
25340 }
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25344
25345 wxPyEndAllowThreads(__tstate);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 }
25348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25358 PyObject *arg2 = (PyObject *) 0 ;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 char *kwnames[] = {
25362 (char *) "self",(char *) "data", NULL
25363 };
25364
25365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
25366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25368 arg2 = obj1;
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 wxCustomDataObject_TakeData(arg1,arg2);
25372
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 Py_INCREF(Py_None); resultobj = Py_None;
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25386 PyObject *arg2 = (PyObject *) 0 ;
25387 bool result;
25388 PyObject * obj0 = 0 ;
25389 PyObject * obj1 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self",(char *) "data", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25397 arg2 = obj1;
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 {
25406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25407 }
25408 return resultobj;
25409 fail:
25410 return NULL;
25411 }
25412
25413
25414 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25415 PyObject *resultobj;
25416 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25417 size_t result;
25418 PyObject * obj0 = 0 ;
25419 char *kwnames[] = {
25420 (char *) "self", NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (size_t)(arg1)->GetSize();
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25434 return resultobj;
25435 fail:
25436 return NULL;
25437 }
25438
25439
25440 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25441 PyObject *resultobj;
25442 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25443 PyObject *result;
25444 PyObject * obj0 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25455
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 resultobj = result;
25460 return resultobj;
25461 fail:
25462 return NULL;
25463 }
25464
25465
25466 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
25467 PyObject *obj;
25468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25469 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25470 Py_INCREF(obj);
25471 return Py_BuildValue((char *)"");
25472 }
25473 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj;
25475 wxURLDataObject *result;
25476 char *kwnames[] = {
25477 NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25481 {
25482 PyThreadState* __tstate = wxPyBeginAllowThreads();
25483 result = (wxURLDataObject *)new wxURLDataObject();
25484
25485 wxPyEndAllowThreads(__tstate);
25486 if (PyErr_Occurred()) SWIG_fail;
25487 }
25488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25496 PyObject *resultobj;
25497 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25498 wxString result;
25499 PyObject * obj0 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "self", NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25507 {
25508 PyThreadState* __tstate = wxPyBeginAllowThreads();
25509 result = (arg1)->GetURL();
25510
25511 wxPyEndAllowThreads(__tstate);
25512 if (PyErr_Occurred()) SWIG_fail;
25513 }
25514 {
25515 #if wxUSE_UNICODE
25516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25517 #else
25518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25519 #endif
25520 }
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25528 PyObject *resultobj;
25529 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25530 wxString *arg2 = 0 ;
25531 bool temp2 = False ;
25532 PyObject * obj0 = 0 ;
25533 PyObject * obj1 = 0 ;
25534 char *kwnames[] = {
25535 (char *) "self",(char *) "url", NULL
25536 };
25537
25538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25541 {
25542 arg2 = wxString_in_helper(obj1);
25543 if (arg2 == NULL) SWIG_fail;
25544 temp2 = True;
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->SetURL((wxString const &)*arg2);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 Py_INCREF(Py_None); resultobj = Py_None;
25554 {
25555 if (temp2)
25556 delete arg2;
25557 }
25558 return resultobj;
25559 fail:
25560 {
25561 if (temp2)
25562 delete arg2;
25563 }
25564 return NULL;
25565 }
25566
25567
25568 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25569 PyObject *obj;
25570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25571 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25572 Py_INCREF(obj);
25573 return Py_BuildValue((char *)"");
25574 }
25575 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25576 PyObject *resultobj;
25577 wxMetafileDataObject *result;
25578 char *kwnames[] = {
25579 NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25598 PyObject *resultobj;
25599 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25600 wxMetafile *arg2 = 0 ;
25601 PyObject * obj0 = 0 ;
25602 PyObject * obj1 = 0 ;
25603 char *kwnames[] = {
25604 (char *) "self",(char *) "metafile", NULL
25605 };
25606
25607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25610 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25611 SWIG_POINTER_EXCEPTION | 0)) == -1)
25612 SWIG_fail;
25613 if (arg2 == NULL) {
25614 PyErr_SetString(PyExc_TypeError,"null reference");
25615 SWIG_fail;
25616 }
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 Py_INCREF(Py_None); resultobj = Py_None;
25625 return resultobj;
25626 fail:
25627 return NULL;
25628 }
25629
25630
25631 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25632 PyObject *resultobj;
25633 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25634 wxMetafile result;
25635 PyObject * obj0 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "self", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25646
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 {
25651 wxMetafile * resultptr;
25652 resultptr = new wxMetafile((wxMetafile &) result);
25653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25654 }
25655 return resultobj;
25656 fail:
25657 return NULL;
25658 }
25659
25660
25661 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25662 PyObject *obj;
25663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25664 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25665 Py_INCREF(obj);
25666 return Py_BuildValue((char *)"");
25667 }
25668 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 int arg1 ;
25671 bool result;
25672 PyObject * obj0 = 0 ;
25673 char *kwnames[] = {
25674 (char *) "res", NULL
25675 };
25676
25677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25678 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25683
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 {
25688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25689 }
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxWindow *arg1 = (wxWindow *) 0 ;
25699 wxCursor const &arg2_defvalue = wxNullCursor ;
25700 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25701 wxCursor const &arg3_defvalue = wxNullCursor ;
25702 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25703 wxCursor const &arg4_defvalue = wxNullCursor ;
25704 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25705 wxPyDropSource *result;
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 PyObject * obj2 = 0 ;
25709 PyObject * obj3 = 0 ;
25710 char *kwnames[] = {
25711 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25712 };
25713
25714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25717 if (obj1) {
25718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1)
25720 SWIG_fail;
25721 if (arg2 == NULL) {
25722 PyErr_SetString(PyExc_TypeError,"null reference");
25723 SWIG_fail;
25724 }
25725 }
25726 if (obj2) {
25727 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25728 SWIG_POINTER_EXCEPTION | 0)) == -1)
25729 SWIG_fail;
25730 if (arg3 == NULL) {
25731 PyErr_SetString(PyExc_TypeError,"null reference");
25732 SWIG_fail;
25733 }
25734 }
25735 if (obj3) {
25736 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25737 SWIG_POINTER_EXCEPTION | 0)) == -1)
25738 SWIG_fail;
25739 if (arg4 == NULL) {
25740 PyErr_SetString(PyExc_TypeError,"null reference");
25741 SWIG_fail;
25742 }
25743 }
25744 {
25745 PyThreadState* __tstate = wxPyBeginAllowThreads();
25746 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25747
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25752 return resultobj;
25753 fail:
25754 return NULL;
25755 }
25756
25757
25758 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25759 PyObject *resultobj;
25760 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25761 PyObject *arg2 = (PyObject *) 0 ;
25762 PyObject *arg3 = (PyObject *) 0 ;
25763 int arg4 ;
25764 PyObject * obj0 = 0 ;
25765 PyObject * obj1 = 0 ;
25766 PyObject * obj2 = 0 ;
25767 PyObject * obj3 = 0 ;
25768 char *kwnames[] = {
25769 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25770 };
25771
25772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25775 arg2 = obj1;
25776 arg3 = obj2;
25777 arg4 = (int) SWIG_AsInt(obj3);
25778 if (PyErr_Occurred()) SWIG_fail;
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 Py_INCREF(Py_None); resultobj = Py_None;
25787 return resultobj;
25788 fail:
25789 return NULL;
25790 }
25791
25792
25793 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25794 PyObject *resultobj;
25795 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25796 PyObject * obj0 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 delete arg1;
25807
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 Py_INCREF(Py_None); resultobj = Py_None;
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25819 PyObject *resultobj;
25820 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25821 wxDataObject *arg2 = 0 ;
25822 PyObject * obj0 = 0 ;
25823 PyObject * obj1 = 0 ;
25824 char *kwnames[] = {
25825 (char *) "self",(char *) "data", NULL
25826 };
25827
25828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25831 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25832 SWIG_POINTER_EXCEPTION | 0)) == -1)
25833 SWIG_fail;
25834 if (arg2 == NULL) {
25835 PyErr_SetString(PyExc_TypeError,"null reference");
25836 SWIG_fail;
25837 }
25838 {
25839 PyThreadState* __tstate = wxPyBeginAllowThreads();
25840 (arg1)->SetData(*arg2);
25841
25842 wxPyEndAllowThreads(__tstate);
25843 if (PyErr_Occurred()) SWIG_fail;
25844 }
25845 Py_INCREF(Py_None); resultobj = Py_None;
25846 return resultobj;
25847 fail:
25848 return NULL;
25849 }
25850
25851
25852 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25853 PyObject *resultobj;
25854 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25855 wxDataObject *result;
25856 PyObject * obj0 = 0 ;
25857 char *kwnames[] = {
25858 (char *) "self", NULL
25859 };
25860
25861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = (wxDataObject *)(arg1)->GetDataObject();
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25872 return resultobj;
25873 fail:
25874 return NULL;
25875 }
25876
25877
25878 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25881 int arg2 ;
25882 wxCursor *arg3 = 0 ;
25883 PyObject * obj0 = 0 ;
25884 PyObject * obj1 = 0 ;
25885 PyObject * obj2 = 0 ;
25886 char *kwnames[] = {
25887 (char *) "self",(char *) "res",(char *) "cursor", NULL
25888 };
25889
25890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25893 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25896 SWIG_POINTER_EXCEPTION | 0)) == -1)
25897 SWIG_fail;
25898 if (arg3 == NULL) {
25899 PyErr_SetString(PyExc_TypeError,"null reference");
25900 SWIG_fail;
25901 }
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 Py_INCREF(Py_None); resultobj = Py_None;
25910 return resultobj;
25911 fail:
25912 return NULL;
25913 }
25914
25915
25916 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj;
25918 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25919 int arg2 = (int) wxDrag_CopyOnly ;
25920 int result;
25921 PyObject * obj0 = 0 ;
25922 PyObject * obj1 = 0 ;
25923 char *kwnames[] = {
25924 (char *) "self",(char *) "flags", NULL
25925 };
25926
25927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25930 if (obj1) {
25931 arg2 = (int) SWIG_AsInt(obj1);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 {
25935 PyThreadState* __tstate = wxPyBeginAllowThreads();
25936 result = (int)(arg1)->DoDragDrop(arg2);
25937
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 resultobj = SWIG_FromInt((int)result);
25942 return resultobj;
25943 fail:
25944 return NULL;
25945 }
25946
25947
25948 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25949 PyObject *resultobj;
25950 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25951 int arg2 ;
25952 bool result;
25953 PyObject * obj0 = 0 ;
25954 PyObject * obj1 = 0 ;
25955 char *kwnames[] = {
25956 (char *) "self",(char *) "effect", NULL
25957 };
25958
25959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25962 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25963 if (PyErr_Occurred()) SWIG_fail;
25964 {
25965 PyThreadState* __tstate = wxPyBeginAllowThreads();
25966 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25967
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 {
25972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25973 }
25974 return resultobj;
25975 fail:
25976 return NULL;
25977 }
25978
25979
25980 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25981 PyObject *obj;
25982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25983 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25984 Py_INCREF(obj);
25985 return Py_BuildValue((char *)"");
25986 }
25987 static PyObject *_wrap_new_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj;
25989 wxDataObject *arg1 = (wxDataObject *) NULL ;
25990 wxPyDropTarget *result;
25991 PyObject * obj0 = 0 ;
25992 char *kwnames[] = {
25993 (char *) "dataObject", NULL
25994 };
25995
25996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
25997 if (obj0) {
25998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25999 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26000 }
26001 {
26002 PyThreadState* __tstate = wxPyBeginAllowThreads();
26003 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
26004
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
26009 return resultobj;
26010 fail:
26011 return NULL;
26012 }
26013
26014
26015 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26016 PyObject *resultobj;
26017 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26018 PyObject *arg2 = (PyObject *) 0 ;
26019 PyObject *arg3 = (PyObject *) 0 ;
26020 PyObject * obj0 = 0 ;
26021 PyObject * obj1 = 0 ;
26022 PyObject * obj2 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "self",(char *) "_class", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26030 arg2 = obj1;
26031 arg3 = obj2;
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 (arg1)->_setCallbackInfo(arg2,arg3);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 Py_INCREF(Py_None); resultobj = Py_None;
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26049 PyObject * obj0 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 delete arg1;
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
26064 Py_INCREF(Py_None); resultobj = Py_None;
26065 return resultobj;
26066 fail:
26067 return NULL;
26068 }
26069
26070
26071 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26072 PyObject *resultobj;
26073 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26074 wxDataObject *result;
26075 PyObject * obj0 = 0 ;
26076 char *kwnames[] = {
26077 (char *) "self", NULL
26078 };
26079
26080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26083 {
26084 PyThreadState* __tstate = wxPyBeginAllowThreads();
26085 result = (wxDataObject *)(arg1)->GetDataObject();
26086
26087 wxPyEndAllowThreads(__tstate);
26088 if (PyErr_Occurred()) SWIG_fail;
26089 }
26090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26091 return resultobj;
26092 fail:
26093 return NULL;
26094 }
26095
26096
26097 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
26098 PyObject *resultobj;
26099 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26100 wxDataObject *arg2 = (wxDataObject *) 0 ;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 char *kwnames[] = {
26104 (char *) "self",(char *) "dataObject", NULL
26105 };
26106
26107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26110 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26111 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26112 {
26113 PyThreadState* __tstate = wxPyBeginAllowThreads();
26114 (arg1)->SetDataObject(arg2);
26115
26116 wxPyEndAllowThreads(__tstate);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 Py_INCREF(Py_None); resultobj = Py_None;
26120 return resultobj;
26121 fail:
26122 return NULL;
26123 }
26124
26125
26126 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26127 PyObject *resultobj;
26128 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26129 int arg2 ;
26130 int arg3 ;
26131 int arg4 ;
26132 int result;
26133 PyObject * obj0 = 0 ;
26134 PyObject * obj1 = 0 ;
26135 PyObject * obj2 = 0 ;
26136 PyObject * obj3 = 0 ;
26137 char *kwnames[] = {
26138 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26139 };
26140
26141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26144 arg2 = (int) SWIG_AsInt(obj1);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 arg3 = (int) SWIG_AsInt(obj2);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26153
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 resultobj = SWIG_FromInt((int)result);
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26165 PyObject *resultobj;
26166 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26167 int arg2 ;
26168 int arg3 ;
26169 int arg4 ;
26170 int result;
26171 PyObject * obj0 = 0 ;
26172 PyObject * obj1 = 0 ;
26173 PyObject * obj2 = 0 ;
26174 PyObject * obj3 = 0 ;
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26177 };
26178
26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26182 arg2 = (int) SWIG_AsInt(obj1);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 arg3 = (int) SWIG_AsInt(obj2);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26187 if (PyErr_Occurred()) SWIG_fail;
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26191
26192 wxPyEndAllowThreads(__tstate);
26193 if (PyErr_Occurred()) SWIG_fail;
26194 }
26195 resultobj = SWIG_FromInt((int)result);
26196 return resultobj;
26197 fail:
26198 return NULL;
26199 }
26200
26201
26202 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26203 PyObject *resultobj;
26204 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26205 PyObject * obj0 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 (arg1)->base_OnLeave();
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 Py_INCREF(Py_None); resultobj = Py_None;
26221 return resultobj;
26222 fail:
26223 return NULL;
26224 }
26225
26226
26227 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26230 int arg2 ;
26231 int arg3 ;
26232 bool result;
26233 PyObject * obj0 = 0 ;
26234 PyObject * obj1 = 0 ;
26235 PyObject * obj2 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "x",(char *) "y", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26243 arg2 = (int) SWIG_AsInt(obj1);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 arg3 = (int) SWIG_AsInt(obj2);
26246 if (PyErr_Occurred()) SWIG_fail;
26247 {
26248 PyThreadState* __tstate = wxPyBeginAllowThreads();
26249 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26250
26251 wxPyEndAllowThreads(__tstate);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 {
26255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26256 }
26257 return resultobj;
26258 fail:
26259 return NULL;
26260 }
26261
26262
26263 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26264 PyObject *resultobj;
26265 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26266 bool result;
26267 PyObject * obj0 = 0 ;
26268 char *kwnames[] = {
26269 (char *) "self", NULL
26270 };
26271
26272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 result = (bool)(arg1)->GetData();
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
26282 {
26283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26284 }
26285 return resultobj;
26286 fail:
26287 return NULL;
26288 }
26289
26290
26291 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
26292 PyObject *obj;
26293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26294 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26295 Py_INCREF(obj);
26296 return Py_BuildValue((char *)"");
26297 }
26298 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26299 PyObject *resultobj;
26300 wxPyTextDropTarget *result;
26301 char *kwnames[] = {
26302 NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26314 return resultobj;
26315 fail:
26316 return NULL;
26317 }
26318
26319
26320 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26321 PyObject *resultobj;
26322 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26323 PyObject *arg2 = (PyObject *) 0 ;
26324 PyObject *arg3 = (PyObject *) 0 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 PyObject * obj2 = 0 ;
26328 char *kwnames[] = {
26329 (char *) "self",(char *) "self",(char *) "_class", NULL
26330 };
26331
26332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26335 arg2 = obj1;
26336 arg3 = obj2;
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 (arg1)->_setCallbackInfo(arg2,arg3);
26340
26341 wxPyEndAllowThreads(__tstate);
26342 if (PyErr_Occurred()) SWIG_fail;
26343 }
26344 Py_INCREF(Py_None); resultobj = Py_None;
26345 return resultobj;
26346 fail:
26347 return NULL;
26348 }
26349
26350
26351 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26352 PyObject *resultobj;
26353 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26354 int arg2 ;
26355 int arg3 ;
26356 int arg4 ;
26357 int result;
26358 PyObject * obj0 = 0 ;
26359 PyObject * obj1 = 0 ;
26360 PyObject * obj2 = 0 ;
26361 PyObject * obj3 = 0 ;
26362 char *kwnames[] = {
26363 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26364 };
26365
26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26369 arg2 = (int) SWIG_AsInt(obj1);
26370 if (PyErr_Occurred()) SWIG_fail;
26371 arg3 = (int) SWIG_AsInt(obj2);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 resultobj = SWIG_FromInt((int)result);
26383 return resultobj;
26384 fail:
26385 return NULL;
26386 }
26387
26388
26389 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26390 PyObject *resultobj;
26391 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26392 int arg2 ;
26393 int arg3 ;
26394 int arg4 ;
26395 int result;
26396 PyObject * obj0 = 0 ;
26397 PyObject * obj1 = 0 ;
26398 PyObject * obj2 = 0 ;
26399 PyObject * obj3 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26407 arg2 = (int) SWIG_AsInt(obj1);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 arg3 = (int) SWIG_AsInt(obj2);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 {
26414 PyThreadState* __tstate = wxPyBeginAllowThreads();
26415 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26416
26417 wxPyEndAllowThreads(__tstate);
26418 if (PyErr_Occurred()) SWIG_fail;
26419 }
26420 resultobj = SWIG_FromInt((int)result);
26421 return resultobj;
26422 fail:
26423 return NULL;
26424 }
26425
26426
26427 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26428 PyObject *resultobj;
26429 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26430 PyObject * obj0 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26438 {
26439 PyThreadState* __tstate = wxPyBeginAllowThreads();
26440 (arg1)->base_OnLeave();
26441
26442 wxPyEndAllowThreads(__tstate);
26443 if (PyErr_Occurred()) SWIG_fail;
26444 }
26445 Py_INCREF(Py_None); resultobj = Py_None;
26446 return resultobj;
26447 fail:
26448 return NULL;
26449 }
26450
26451
26452 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26453 PyObject *resultobj;
26454 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26455 int arg2 ;
26456 int arg3 ;
26457 bool result;
26458 PyObject * obj0 = 0 ;
26459 PyObject * obj1 = 0 ;
26460 PyObject * obj2 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "x",(char *) "y", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 arg2 = (int) SWIG_AsInt(obj1);
26469 if (PyErr_Occurred()) SWIG_fail;
26470 arg3 = (int) SWIG_AsInt(obj2);
26471 if (PyErr_Occurred()) SWIG_fail;
26472 {
26473 PyThreadState* __tstate = wxPyBeginAllowThreads();
26474 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26475
26476 wxPyEndAllowThreads(__tstate);
26477 if (PyErr_Occurred()) SWIG_fail;
26478 }
26479 {
26480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26481 }
26482 return resultobj;
26483 fail:
26484 return NULL;
26485 }
26486
26487
26488 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26489 PyObject *resultobj;
26490 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26491 int arg2 ;
26492 int arg3 ;
26493 int arg4 ;
26494 int result;
26495 PyObject * obj0 = 0 ;
26496 PyObject * obj1 = 0 ;
26497 PyObject * obj2 = 0 ;
26498 PyObject * obj3 = 0 ;
26499 char *kwnames[] = {
26500 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26501 };
26502
26503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26506 arg2 = (int) SWIG_AsInt(obj1);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 arg3 = (int) SWIG_AsInt(obj2);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26511 if (PyErr_Occurred()) SWIG_fail;
26512 {
26513 PyThreadState* __tstate = wxPyBeginAllowThreads();
26514 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26515
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 resultobj = SWIG_FromInt((int)result);
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26527 PyObject *obj;
26528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26529 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26530 Py_INCREF(obj);
26531 return Py_BuildValue((char *)"");
26532 }
26533 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26534 PyObject *resultobj;
26535 wxPyFileDropTarget *result;
26536 char *kwnames[] = {
26537 NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26549 return resultobj;
26550 fail:
26551 return NULL;
26552 }
26553
26554
26555 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj;
26557 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26558 PyObject *arg2 = (PyObject *) 0 ;
26559 PyObject *arg3 = (PyObject *) 0 ;
26560 PyObject * obj0 = 0 ;
26561 PyObject * obj1 = 0 ;
26562 PyObject * obj2 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self",(char *) "self",(char *) "_class", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26570 arg2 = obj1;
26571 arg3 = obj2;
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->_setCallbackInfo(arg2,arg3);
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 Py_INCREF(Py_None); resultobj = Py_None;
26580 return resultobj;
26581 fail:
26582 return NULL;
26583 }
26584
26585
26586 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj;
26588 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26589 int arg2 ;
26590 int arg3 ;
26591 int arg4 ;
26592 int result;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 PyObject * obj2 = 0 ;
26596 PyObject * obj3 = 0 ;
26597 char *kwnames[] = {
26598 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26599 };
26600
26601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26604 arg2 = (int) SWIG_AsInt(obj1);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 arg3 = (int) SWIG_AsInt(obj2);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26609 if (PyErr_Occurred()) SWIG_fail;
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26613
26614 wxPyEndAllowThreads(__tstate);
26615 if (PyErr_Occurred()) SWIG_fail;
26616 }
26617 resultobj = SWIG_FromInt((int)result);
26618 return resultobj;
26619 fail:
26620 return NULL;
26621 }
26622
26623
26624 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26625 PyObject *resultobj;
26626 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26627 int arg2 ;
26628 int arg3 ;
26629 int arg4 ;
26630 int result;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 PyObject * obj2 = 0 ;
26634 PyObject * obj3 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26642 arg2 = (int) SWIG_AsInt(obj1);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 arg3 = (int) SWIG_AsInt(obj2);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26651
26652 wxPyEndAllowThreads(__tstate);
26653 if (PyErr_Occurred()) SWIG_fail;
26654 }
26655 resultobj = SWIG_FromInt((int)result);
26656 return resultobj;
26657 fail:
26658 return NULL;
26659 }
26660
26661
26662 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26663 PyObject *resultobj;
26664 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26665 PyObject * obj0 = 0 ;
26666 char *kwnames[] = {
26667 (char *) "self", NULL
26668 };
26669
26670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26673 {
26674 PyThreadState* __tstate = wxPyBeginAllowThreads();
26675 (arg1)->base_OnLeave();
26676
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 Py_INCREF(Py_None); resultobj = Py_None;
26681 return resultobj;
26682 fail:
26683 return NULL;
26684 }
26685
26686
26687 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj;
26689 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26690 int arg2 ;
26691 int arg3 ;
26692 bool result;
26693 PyObject * obj0 = 0 ;
26694 PyObject * obj1 = 0 ;
26695 PyObject * obj2 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "self",(char *) "x",(char *) "y", NULL
26698 };
26699
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26703 arg2 = (int) SWIG_AsInt(obj1);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 arg3 = (int) SWIG_AsInt(obj2);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26710
26711 wxPyEndAllowThreads(__tstate);
26712 if (PyErr_Occurred()) SWIG_fail;
26713 }
26714 {
26715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26716 }
26717 return resultobj;
26718 fail:
26719 return NULL;
26720 }
26721
26722
26723 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26724 PyObject *resultobj;
26725 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26726 int arg2 ;
26727 int arg3 ;
26728 int arg4 ;
26729 int result;
26730 PyObject * obj0 = 0 ;
26731 PyObject * obj1 = 0 ;
26732 PyObject * obj2 = 0 ;
26733 PyObject * obj3 = 0 ;
26734 char *kwnames[] = {
26735 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26736 };
26737
26738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26741 arg2 = (int) SWIG_AsInt(obj1);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 arg3 = (int) SWIG_AsInt(obj2);
26744 if (PyErr_Occurred()) SWIG_fail;
26745 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26746 if (PyErr_Occurred()) SWIG_fail;
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26750
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 resultobj = SWIG_FromInt((int)result);
26755 return resultobj;
26756 fail:
26757 return NULL;
26758 }
26759
26760
26761 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26762 PyObject *obj;
26763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26764 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26765 Py_INCREF(obj);
26766 return Py_BuildValue((char *)"");
26767 }
26768 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26769 PyObject *resultobj;
26770 wxClipboard *result;
26771 char *kwnames[] = {
26772 NULL
26773 };
26774
26775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 result = (wxClipboard *)new wxClipboard();
26779
26780 wxPyEndAllowThreads(__tstate);
26781 if (PyErr_Occurred()) SWIG_fail;
26782 }
26783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26784 return resultobj;
26785 fail:
26786 return NULL;
26787 }
26788
26789
26790 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26791 PyObject *resultobj;
26792 wxClipboard *arg1 = (wxClipboard *) 0 ;
26793 PyObject * obj0 = 0 ;
26794 char *kwnames[] = {
26795 (char *) "self", NULL
26796 };
26797
26798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26801 {
26802 PyThreadState* __tstate = wxPyBeginAllowThreads();
26803 delete arg1;
26804
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 Py_INCREF(Py_None); resultobj = Py_None;
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj;
26817 wxClipboard *arg1 = (wxClipboard *) 0 ;
26818 bool result;
26819 PyObject * obj0 = 0 ;
26820 char *kwnames[] = {
26821 (char *) "self", NULL
26822 };
26823
26824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26827 {
26828 PyThreadState* __tstate = wxPyBeginAllowThreads();
26829 result = (bool)(arg1)->Open();
26830
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 {
26835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26836 }
26837 return resultobj;
26838 fail:
26839 return NULL;
26840 }
26841
26842
26843 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26844 PyObject *resultobj;
26845 wxClipboard *arg1 = (wxClipboard *) 0 ;
26846 PyObject * obj0 = 0 ;
26847 char *kwnames[] = {
26848 (char *) "self", NULL
26849 };
26850
26851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
26856 (arg1)->Close();
26857
26858 wxPyEndAllowThreads(__tstate);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 }
26861 Py_INCREF(Py_None); resultobj = Py_None;
26862 return resultobj;
26863 fail:
26864 return NULL;
26865 }
26866
26867
26868 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26869 PyObject *resultobj;
26870 wxClipboard *arg1 = (wxClipboard *) 0 ;
26871 bool result;
26872 PyObject * obj0 = 0 ;
26873 char *kwnames[] = {
26874 (char *) "self", NULL
26875 };
26876
26877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26880 {
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26883
26884 wxPyEndAllowThreads(__tstate);
26885 if (PyErr_Occurred()) SWIG_fail;
26886 }
26887 {
26888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26889 }
26890 return resultobj;
26891 fail:
26892 return NULL;
26893 }
26894
26895
26896 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26897 PyObject *resultobj;
26898 wxClipboard *arg1 = (wxClipboard *) 0 ;
26899 wxDataObject *arg2 = (wxDataObject *) 0 ;
26900 bool result;
26901 PyObject * obj0 = 0 ;
26902 PyObject * obj1 = 0 ;
26903 char *kwnames[] = {
26904 (char *) "self",(char *) "data", NULL
26905 };
26906
26907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26911 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 result = (bool)(arg1)->AddData(arg2);
26915
26916 wxPyEndAllowThreads(__tstate);
26917 if (PyErr_Occurred()) SWIG_fail;
26918 }
26919 {
26920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26921 }
26922 return resultobj;
26923 fail:
26924 return NULL;
26925 }
26926
26927
26928 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26929 PyObject *resultobj;
26930 wxClipboard *arg1 = (wxClipboard *) 0 ;
26931 wxDataObject *arg2 = (wxDataObject *) 0 ;
26932 bool result;
26933 PyObject * obj0 = 0 ;
26934 PyObject * obj1 = 0 ;
26935 char *kwnames[] = {
26936 (char *) "self",(char *) "data", NULL
26937 };
26938
26939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26942 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26943 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26944 {
26945 PyThreadState* __tstate = wxPyBeginAllowThreads();
26946 result = (bool)(arg1)->SetData(arg2);
26947
26948 wxPyEndAllowThreads(__tstate);
26949 if (PyErr_Occurred()) SWIG_fail;
26950 }
26951 {
26952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26953 }
26954 return resultobj;
26955 fail:
26956 return NULL;
26957 }
26958
26959
26960 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26961 PyObject *resultobj;
26962 wxClipboard *arg1 = (wxClipboard *) 0 ;
26963 wxDataFormat *arg2 = 0 ;
26964 bool result;
26965 PyObject * obj0 = 0 ;
26966 PyObject * obj1 = 0 ;
26967 char *kwnames[] = {
26968 (char *) "self",(char *) "format", NULL
26969 };
26970
26971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26975 SWIG_POINTER_EXCEPTION | 0)) == -1)
26976 SWIG_fail;
26977 if (arg2 == NULL) {
26978 PyErr_SetString(PyExc_TypeError,"null reference");
26979 SWIG_fail;
26980 }
26981 {
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26984
26985 wxPyEndAllowThreads(__tstate);
26986 if (PyErr_Occurred()) SWIG_fail;
26987 }
26988 {
26989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26990 }
26991 return resultobj;
26992 fail:
26993 return NULL;
26994 }
26995
26996
26997 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26998 PyObject *resultobj;
26999 wxClipboard *arg1 = (wxClipboard *) 0 ;
27000 wxDataObject *arg2 = 0 ;
27001 bool result;
27002 PyObject * obj0 = 0 ;
27003 PyObject * obj1 = 0 ;
27004 char *kwnames[] = {
27005 (char *) "self",(char *) "data", NULL
27006 };
27007
27008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
27009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27011 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
27012 SWIG_POINTER_EXCEPTION | 0)) == -1)
27013 SWIG_fail;
27014 if (arg2 == NULL) {
27015 PyErr_SetString(PyExc_TypeError,"null reference");
27016 SWIG_fail;
27017 }
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 result = (bool)(arg1)->GetData(*arg2);
27021
27022 wxPyEndAllowThreads(__tstate);
27023 if (PyErr_Occurred()) SWIG_fail;
27024 }
27025 {
27026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27027 }
27028 return resultobj;
27029 fail:
27030 return NULL;
27031 }
27032
27033
27034 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj;
27036 wxClipboard *arg1 = (wxClipboard *) 0 ;
27037 PyObject * obj0 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 (arg1)->Clear();
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
27052 Py_INCREF(Py_None); resultobj = Py_None;
27053 return resultobj;
27054 fail:
27055 return NULL;
27056 }
27057
27058
27059 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
27060 PyObject *resultobj;
27061 wxClipboard *arg1 = (wxClipboard *) 0 ;
27062 bool result;
27063 PyObject * obj0 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self", NULL
27066 };
27067
27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 result = (bool)(arg1)->Flush();
27074
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 {
27079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27080 }
27081 return resultobj;
27082 fail:
27083 return NULL;
27084 }
27085
27086
27087 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27088 PyObject *resultobj;
27089 wxClipboard *arg1 = (wxClipboard *) 0 ;
27090 bool arg2 = (bool) True ;
27091 PyObject * obj0 = 0 ;
27092 PyObject * obj1 = 0 ;
27093 char *kwnames[] = {
27094 (char *) "self",(char *) "primary", NULL
27095 };
27096
27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27100 if (obj1) {
27101 arg2 = (bool) SWIG_AsBool(obj1);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 {
27105 PyThreadState* __tstate = wxPyBeginAllowThreads();
27106 (arg1)->UsePrimarySelection(arg2);
27107
27108 wxPyEndAllowThreads(__tstate);
27109 if (PyErr_Occurred()) SWIG_fail;
27110 }
27111 Py_INCREF(Py_None); resultobj = Py_None;
27112 return resultobj;
27113 fail:
27114 return NULL;
27115 }
27116
27117
27118 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
27119 PyObject *obj;
27120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27121 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27122 Py_INCREF(obj);
27123 return Py_BuildValue((char *)"");
27124 }
27125 static int _wrap_TheClipboard_set(PyObject *_val) {
27126 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27127 return 1;
27128 }
27129
27130
27131 static PyObject *_wrap_TheClipboard_get() {
27132 PyObject *pyobj;
27133
27134 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27135 return pyobj;
27136 }
27137
27138
27139 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27140 PyObject *resultobj;
27141 wxClipboard *arg1 = (wxClipboard *) NULL ;
27142 wxClipboardLocker *result;
27143 PyObject * obj0 = 0 ;
27144 char *kwnames[] = {
27145 (char *) "clipboard", NULL
27146 };
27147
27148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27149 if (obj0) {
27150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27152 }
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
27160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27161 return resultobj;
27162 fail:
27163 return NULL;
27164 }
27165
27166
27167 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
27168 PyObject *resultobj;
27169 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27170 PyObject * obj0 = 0 ;
27171 char *kwnames[] = {
27172 (char *) "self", NULL
27173 };
27174
27175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27178 {
27179 PyThreadState* __tstate = wxPyBeginAllowThreads();
27180 delete arg1;
27181
27182 wxPyEndAllowThreads(__tstate);
27183 if (PyErr_Occurred()) SWIG_fail;
27184 }
27185 Py_INCREF(Py_None); resultobj = Py_None;
27186 return resultobj;
27187 fail:
27188 return NULL;
27189 }
27190
27191
27192 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
27193 PyObject *resultobj;
27194 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27195 bool result;
27196 PyObject * obj0 = 0 ;
27197 char *kwnames[] = {
27198 (char *) "self", NULL
27199 };
27200
27201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (bool)wxClipboardLocker___nonzero__(arg1);
27207
27208 wxPyEndAllowThreads(__tstate);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
27211 {
27212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27213 }
27214 return resultobj;
27215 fail:
27216 return NULL;
27217 }
27218
27219
27220 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
27221 PyObject *obj;
27222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27223 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27224 Py_INCREF(obj);
27225 return Py_BuildValue((char *)"");
27226 }
27227 static PyObject *_wrap_new_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 int arg1 = (int) 0 ;
27230 int arg2 = (int) 0 ;
27231 int arg3 = (int) 0 ;
27232 int arg4 = (int) 0 ;
27233 wxVideoMode *result;
27234 PyObject * obj0 = 0 ;
27235 PyObject * obj1 = 0 ;
27236 PyObject * obj2 = 0 ;
27237 PyObject * obj3 = 0 ;
27238 char *kwnames[] = {
27239 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27240 };
27241
27242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27243 if (obj0) {
27244 arg1 = (int) SWIG_AsInt(obj0);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 if (obj1) {
27248 arg2 = (int) SWIG_AsInt(obj1);
27249 if (PyErr_Occurred()) SWIG_fail;
27250 }
27251 if (obj2) {
27252 arg3 = (int) SWIG_AsInt(obj2);
27253 if (PyErr_Occurred()) SWIG_fail;
27254 }
27255 if (obj3) {
27256 arg4 = (int) SWIG_AsInt(obj3);
27257 if (PyErr_Occurred()) SWIG_fail;
27258 }
27259 {
27260 PyThreadState* __tstate = wxPyBeginAllowThreads();
27261 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27262
27263 wxPyEndAllowThreads(__tstate);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 }
27266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27267 return resultobj;
27268 fail:
27269 return NULL;
27270 }
27271
27272
27273 static PyObject *_wrap_delete_VideoMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27274 PyObject *resultobj;
27275 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27276 PyObject * obj0 = 0 ;
27277 char *kwnames[] = {
27278 (char *) "self", NULL
27279 };
27280
27281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 delete arg1;
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 Py_INCREF(Py_None); resultobj = Py_None;
27292 return resultobj;
27293 fail:
27294 return NULL;
27295 }
27296
27297
27298 static PyObject *_wrap_VideoMode_Matches(PyObject *self, PyObject *args, PyObject *kwargs) {
27299 PyObject *resultobj;
27300 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27301 wxVideoMode *arg2 = 0 ;
27302 bool result;
27303 PyObject * obj0 = 0 ;
27304 PyObject * obj1 = 0 ;
27305 char *kwnames[] = {
27306 (char *) "self",(char *) "other", NULL
27307 };
27308
27309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27313 SWIG_POINTER_EXCEPTION | 0)) == -1)
27314 SWIG_fail;
27315 if (arg2 == NULL) {
27316 PyErr_SetString(PyExc_TypeError,"null reference");
27317 SWIG_fail;
27318 }
27319 {
27320 PyThreadState* __tstate = wxPyBeginAllowThreads();
27321 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27322
27323 wxPyEndAllowThreads(__tstate);
27324 if (PyErr_Occurred()) SWIG_fail;
27325 }
27326 {
27327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27328 }
27329 return resultobj;
27330 fail:
27331 return NULL;
27332 }
27333
27334
27335 static PyObject *_wrap_VideoMode_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
27336 PyObject *resultobj;
27337 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27338 int result;
27339 PyObject * obj0 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27347 {
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27350
27351 wxPyEndAllowThreads(__tstate);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 resultobj = SWIG_FromInt((int)result);
27355 return resultobj;
27356 fail:
27357 return NULL;
27358 }
27359
27360
27361 static PyObject *_wrap_VideoMode_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27364 int result;
27365 PyObject * obj0 = 0 ;
27366 char *kwnames[] = {
27367 (char *) "self", NULL
27368 };
27369
27370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27373 {
27374 PyThreadState* __tstate = wxPyBeginAllowThreads();
27375 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27376
27377 wxPyEndAllowThreads(__tstate);
27378 if (PyErr_Occurred()) SWIG_fail;
27379 }
27380 resultobj = SWIG_FromInt((int)result);
27381 return resultobj;
27382 fail:
27383 return NULL;
27384 }
27385
27386
27387 static PyObject *_wrap_VideoMode_GetDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
27388 PyObject *resultobj;
27389 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27390 int result;
27391 PyObject * obj0 = 0 ;
27392 char *kwnames[] = {
27393 (char *) "self", NULL
27394 };
27395
27396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
27401 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27402
27403 wxPyEndAllowThreads(__tstate);
27404 if (PyErr_Occurred()) SWIG_fail;
27405 }
27406 resultobj = SWIG_FromInt((int)result);
27407 return resultobj;
27408 fail:
27409 return NULL;
27410 }
27411
27412
27413 static PyObject *_wrap_VideoMode_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27414 PyObject *resultobj;
27415 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27416 bool result;
27417 PyObject * obj0 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27425 {
27426 PyThreadState* __tstate = wxPyBeginAllowThreads();
27427 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27428
27429 wxPyEndAllowThreads(__tstate);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 {
27433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27434 }
27435 return resultobj;
27436 fail:
27437 return NULL;
27438 }
27439
27440
27441 static PyObject *_wrap_VideoMode___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
27442 PyObject *resultobj;
27443 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27444 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27445 bool result;
27446 PyObject * obj0 = 0 ;
27447 PyObject * obj1 = 0 ;
27448 char *kwnames[] = {
27449 (char *) "self",(char *) "other", NULL
27450 };
27451
27452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27457 {
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27460
27461 wxPyEndAllowThreads(__tstate);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 {
27465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27466 }
27467 return resultobj;
27468 fail:
27469 return NULL;
27470 }
27471
27472
27473 static PyObject *_wrap_VideoMode___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
27474 PyObject *resultobj;
27475 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27476 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27477 bool result;
27478 PyObject * obj0 = 0 ;
27479 PyObject * obj1 = 0 ;
27480 char *kwnames[] = {
27481 (char *) "self",(char *) "other", NULL
27482 };
27483
27484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 {
27497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27498 }
27499 return resultobj;
27500 fail:
27501 return NULL;
27502 }
27503
27504
27505 static PyObject *_wrap_VideoMode_w_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27506 PyObject *resultobj;
27507 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27508 int arg2 ;
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "w", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 arg2 = (int) SWIG_AsInt(obj1);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 if (arg1) (arg1)->w = arg2;
27521
27522 Py_INCREF(Py_None); resultobj = Py_None;
27523 return resultobj;
27524 fail:
27525 return NULL;
27526 }
27527
27528
27529 static PyObject *_wrap_VideoMode_w_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27530 PyObject *resultobj;
27531 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27532 int result;
27533 PyObject * obj0 = 0 ;
27534 char *kwnames[] = {
27535 (char *) "self", NULL
27536 };
27537
27538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27541 result = (int) ((arg1)->w);
27542
27543 resultobj = SWIG_FromInt((int)result);
27544 return resultobj;
27545 fail:
27546 return NULL;
27547 }
27548
27549
27550 static PyObject *_wrap_VideoMode_h_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27551 PyObject *resultobj;
27552 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27553 int arg2 ;
27554 PyObject * obj0 = 0 ;
27555 PyObject * obj1 = 0 ;
27556 char *kwnames[] = {
27557 (char *) "self",(char *) "h", NULL
27558 };
27559
27560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27563 arg2 = (int) SWIG_AsInt(obj1);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 if (arg1) (arg1)->h = arg2;
27566
27567 Py_INCREF(Py_None); resultobj = Py_None;
27568 return resultobj;
27569 fail:
27570 return NULL;
27571 }
27572
27573
27574 static PyObject *_wrap_VideoMode_h_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27575 PyObject *resultobj;
27576 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27577 int result;
27578 PyObject * obj0 = 0 ;
27579 char *kwnames[] = {
27580 (char *) "self", NULL
27581 };
27582
27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27586 result = (int) ((arg1)->h);
27587
27588 resultobj = SWIG_FromInt((int)result);
27589 return resultobj;
27590 fail:
27591 return NULL;
27592 }
27593
27594
27595 static PyObject *_wrap_VideoMode_bpp_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27596 PyObject *resultobj;
27597 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27598 int arg2 ;
27599 PyObject * obj0 = 0 ;
27600 PyObject * obj1 = 0 ;
27601 char *kwnames[] = {
27602 (char *) "self",(char *) "bpp", NULL
27603 };
27604
27605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27608 arg2 = (int) SWIG_AsInt(obj1);
27609 if (PyErr_Occurred()) SWIG_fail;
27610 if (arg1) (arg1)->bpp = arg2;
27611
27612 Py_INCREF(Py_None); resultobj = Py_None;
27613 return resultobj;
27614 fail:
27615 return NULL;
27616 }
27617
27618
27619 static PyObject *_wrap_VideoMode_bpp_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27620 PyObject *resultobj;
27621 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27622 int result;
27623 PyObject * obj0 = 0 ;
27624 char *kwnames[] = {
27625 (char *) "self", NULL
27626 };
27627
27628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27631 result = (int) ((arg1)->bpp);
27632
27633 resultobj = SWIG_FromInt((int)result);
27634 return resultobj;
27635 fail:
27636 return NULL;
27637 }
27638
27639
27640 static PyObject *_wrap_VideoMode_refresh_set(PyObject *self, PyObject *args, PyObject *kwargs) {
27641 PyObject *resultobj;
27642 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27643 int arg2 ;
27644 PyObject * obj0 = 0 ;
27645 PyObject * obj1 = 0 ;
27646 char *kwnames[] = {
27647 (char *) "self",(char *) "refresh", NULL
27648 };
27649
27650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27653 arg2 = (int) SWIG_AsInt(obj1);
27654 if (PyErr_Occurred()) SWIG_fail;
27655 if (arg1) (arg1)->refresh = arg2;
27656
27657 Py_INCREF(Py_None); resultobj = Py_None;
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 static PyObject *_wrap_VideoMode_refresh_get(PyObject *self, PyObject *args, PyObject *kwargs) {
27665 PyObject *resultobj;
27666 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27667 int result;
27668 PyObject * obj0 = 0 ;
27669 char *kwnames[] = {
27670 (char *) "self", NULL
27671 };
27672
27673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27676 result = (int) ((arg1)->refresh);
27677
27678 resultobj = SWIG_FromInt((int)result);
27679 return resultobj;
27680 fail:
27681 return NULL;
27682 }
27683
27684
27685 static PyObject * VideoMode_swigregister(PyObject *self, PyObject *args) {
27686 PyObject *obj;
27687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27688 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27689 Py_INCREF(obj);
27690 return Py_BuildValue((char *)"");
27691 }
27692 static int _wrap_DefaultVideoMode_set(PyObject *_val) {
27693 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27694 return 1;
27695 }
27696
27697
27698 static PyObject *_wrap_DefaultVideoMode_get() {
27699 PyObject *pyobj;
27700
27701 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27702 return pyobj;
27703 }
27704
27705
27706 static PyObject *_wrap_new_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27707 PyObject *resultobj;
27708 size_t arg1 = (size_t) 0 ;
27709 wxDisplay *result;
27710 PyObject * obj0 = 0 ;
27711 char *kwnames[] = {
27712 (char *) "index", NULL
27713 };
27714
27715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27716 if (obj0) {
27717 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 {
27721 PyThreadState* __tstate = wxPyBeginAllowThreads();
27722 result = (wxDisplay *)new wxDisplay(arg1);
27723
27724 wxPyEndAllowThreads(__tstate);
27725 if (PyErr_Occurred()) SWIG_fail;
27726 }
27727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27728 return resultobj;
27729 fail:
27730 return NULL;
27731 }
27732
27733
27734 static PyObject *_wrap_delete_Display(PyObject *self, PyObject *args, PyObject *kwargs) {
27735 PyObject *resultobj;
27736 wxDisplay *arg1 = (wxDisplay *) 0 ;
27737 PyObject * obj0 = 0 ;
27738 char *kwnames[] = {
27739 (char *) "self", NULL
27740 };
27741
27742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
27747 delete arg1;
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
27752 Py_INCREF(Py_None); resultobj = Py_None;
27753 return resultobj;
27754 fail:
27755 return NULL;
27756 }
27757
27758
27759 static PyObject *_wrap_Display_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
27760 PyObject *resultobj;
27761 size_t result;
27762 char *kwnames[] = {
27763 NULL
27764 };
27765
27766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27767 {
27768 PyThreadState* __tstate = wxPyBeginAllowThreads();
27769 result = (size_t)wxDisplay::GetCount();
27770
27771 wxPyEndAllowThreads(__tstate);
27772 if (PyErr_Occurred()) SWIG_fail;
27773 }
27774 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 static PyObject *_wrap_Display_GetFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj;
27783 wxPoint *arg1 = 0 ;
27784 int result;
27785 wxPoint temp1 ;
27786 PyObject * obj0 = 0 ;
27787 char *kwnames[] = {
27788 (char *) "pt", NULL
27789 };
27790
27791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27792 {
27793 arg1 = &temp1;
27794 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27795 }
27796 {
27797 PyThreadState* __tstate = wxPyBeginAllowThreads();
27798 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27799
27800 wxPyEndAllowThreads(__tstate);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 }
27803 resultobj = SWIG_FromInt((int)result);
27804 return resultobj;
27805 fail:
27806 return NULL;
27807 }
27808
27809
27810 static PyObject *_wrap_Display_GetFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj;
27812 wxWindow *arg1 = (wxWindow *) 0 ;
27813 int result;
27814 PyObject * obj0 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "window", NULL
27817 };
27818
27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27822 {
27823 PyThreadState* __tstate = wxPyBeginAllowThreads();
27824 result = (int)Display_GetFromWindow(arg1);
27825
27826 wxPyEndAllowThreads(__tstate);
27827 if (PyErr_Occurred()) SWIG_fail;
27828 }
27829 resultobj = SWIG_FromInt((int)result);
27830 return resultobj;
27831 fail:
27832 return NULL;
27833 }
27834
27835
27836 static PyObject *_wrap_Display_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
27837 PyObject *resultobj;
27838 wxDisplay *arg1 = (wxDisplay *) 0 ;
27839 bool result;
27840 PyObject * obj0 = 0 ;
27841 char *kwnames[] = {
27842 (char *) "self", NULL
27843 };
27844
27845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
27850 result = (bool)((wxDisplay const *)arg1)->IsOk();
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 {
27856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27857 }
27858 return resultobj;
27859 fail:
27860 return NULL;
27861 }
27862
27863
27864 static PyObject *_wrap_Display_GetGeometry(PyObject *self, PyObject *args, PyObject *kwargs) {
27865 PyObject *resultobj;
27866 wxDisplay *arg1 = (wxDisplay *) 0 ;
27867 wxRect result;
27868 PyObject * obj0 = 0 ;
27869 char *kwnames[] = {
27870 (char *) "self", NULL
27871 };
27872
27873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27876 {
27877 PyThreadState* __tstate = wxPyBeginAllowThreads();
27878 result = ((wxDisplay const *)arg1)->GetGeometry();
27879
27880 wxPyEndAllowThreads(__tstate);
27881 if (PyErr_Occurred()) SWIG_fail;
27882 }
27883 {
27884 wxRect * resultptr;
27885 resultptr = new wxRect((wxRect &) result);
27886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27887 }
27888 return resultobj;
27889 fail:
27890 return NULL;
27891 }
27892
27893
27894 static PyObject *_wrap_Display_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
27895 PyObject *resultobj;
27896 wxDisplay *arg1 = (wxDisplay *) 0 ;
27897 wxString result;
27898 PyObject * obj0 = 0 ;
27899 char *kwnames[] = {
27900 (char *) "self", NULL
27901 };
27902
27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
27908 result = ((wxDisplay const *)arg1)->GetName();
27909
27910 wxPyEndAllowThreads(__tstate);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 {
27914 #if wxUSE_UNICODE
27915 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27916 #else
27917 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27918 #endif
27919 }
27920 return resultobj;
27921 fail:
27922 return NULL;
27923 }
27924
27925
27926 static PyObject *_wrap_Display_IsPrimary(PyObject *self, PyObject *args, PyObject *kwargs) {
27927 PyObject *resultobj;
27928 wxDisplay *arg1 = (wxDisplay *) 0 ;
27929 bool result;
27930 PyObject * obj0 = 0 ;
27931 char *kwnames[] = {
27932 (char *) "self", NULL
27933 };
27934
27935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27938 {
27939 PyThreadState* __tstate = wxPyBeginAllowThreads();
27940 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27941
27942 wxPyEndAllowThreads(__tstate);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 {
27946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27947 }
27948 return resultobj;
27949 fail:
27950 return NULL;
27951 }
27952
27953
27954 static PyObject *_wrap_Display_GetModes(PyObject *self, PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj;
27956 wxDisplay *arg1 = (wxDisplay *) 0 ;
27957 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27958 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27959 PyObject *result;
27960 PyObject * obj0 = 0 ;
27961 PyObject * obj1 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self",(char *) "mode", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27969 if (obj1) {
27970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27971 SWIG_POINTER_EXCEPTION | 0)) == -1)
27972 SWIG_fail;
27973 if (arg2 == NULL) {
27974 PyErr_SetString(PyExc_TypeError,"null reference");
27975 SWIG_fail;
27976 }
27977 }
27978 {
27979 PyThreadState* __tstate = wxPyBeginAllowThreads();
27980 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27981
27982 wxPyEndAllowThreads(__tstate);
27983 if (PyErr_Occurred()) SWIG_fail;
27984 }
27985 resultobj = result;
27986 return resultobj;
27987 fail:
27988 return NULL;
27989 }
27990
27991
27992 static PyObject *_wrap_Display_GetCurrentMode(PyObject *self, PyObject *args, PyObject *kwargs) {
27993 PyObject *resultobj;
27994 wxDisplay *arg1 = (wxDisplay *) 0 ;
27995 wxVideoMode result;
27996 PyObject * obj0 = 0 ;
27997 char *kwnames[] = {
27998 (char *) "self", NULL
27999 };
28000
28001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
28002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28004 {
28005 PyThreadState* __tstate = wxPyBeginAllowThreads();
28006 result = ((wxDisplay const *)arg1)->GetCurrentMode();
28007
28008 wxPyEndAllowThreads(__tstate);
28009 if (PyErr_Occurred()) SWIG_fail;
28010 }
28011 {
28012 wxVideoMode * resultptr;
28013 resultptr = new wxVideoMode((wxVideoMode &) result);
28014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
28015 }
28016 return resultobj;
28017 fail:
28018 return NULL;
28019 }
28020
28021
28022 static PyObject *_wrap_Display_ChangeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28023 PyObject *resultobj;
28024 wxDisplay *arg1 = (wxDisplay *) 0 ;
28025 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28026 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28027 bool result;
28028 PyObject * obj0 = 0 ;
28029 PyObject * obj1 = 0 ;
28030 char *kwnames[] = {
28031 (char *) "self",(char *) "mode", NULL
28032 };
28033
28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28037 if (obj1) {
28038 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28039 SWIG_POINTER_EXCEPTION | 0)) == -1)
28040 SWIG_fail;
28041 if (arg2 == NULL) {
28042 PyErr_SetString(PyExc_TypeError,"null reference");
28043 SWIG_fail;
28044 }
28045 }
28046 {
28047 PyThreadState* __tstate = wxPyBeginAllowThreads();
28048 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28049
28050 wxPyEndAllowThreads(__tstate);
28051 if (PyErr_Occurred()) SWIG_fail;
28052 }
28053 {
28054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28055 }
28056 return resultobj;
28057 fail:
28058 return NULL;
28059 }
28060
28061
28062 static PyObject *_wrap_Display_ResetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
28063 PyObject *resultobj;
28064 wxDisplay *arg1 = (wxDisplay *) 0 ;
28065 PyObject * obj0 = 0 ;
28066 char *kwnames[] = {
28067 (char *) "self", NULL
28068 };
28069
28070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28073 {
28074 PyThreadState* __tstate = wxPyBeginAllowThreads();
28075 (arg1)->ResetMode();
28076
28077 wxPyEndAllowThreads(__tstate);
28078 if (PyErr_Occurred()) SWIG_fail;
28079 }
28080 Py_INCREF(Py_None); resultobj = Py_None;
28081 return resultobj;
28082 fail:
28083 return NULL;
28084 }
28085
28086
28087 static PyObject * Display_swigregister(PyObject *self, PyObject *args) {
28088 PyObject *obj;
28089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28090 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28091 Py_INCREF(obj);
28092 return Py_BuildValue((char *)"");
28093 }
28094 static PyMethodDef SwigMethods[] = {
28095 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
28096 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
28097 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
28098 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
28099 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
28100 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
28101 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
28102 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
28103 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
28104 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
28105 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
28106 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
28107 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
28108 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
28109 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
28110 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
28111 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
28112 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
28113 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
28114 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
28115 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
28116 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
28117 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
28118 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
28119 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
28120 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
28121 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
28122 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
28123 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
28124 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
28125 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
28126 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
28127 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
28128 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
28129 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
28130 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
28131 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
28132 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
28133 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
28134 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
28135 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
28136 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
28137 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
28138 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
28139 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
28140 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
28141 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
28142 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
28143 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
28144 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
28145 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
28146 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
28147 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
28148 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
28149 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
28150 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
28151 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
28152 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28153 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
28154 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28155 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
28156 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
28157 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
28158 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
28159 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28160 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
28161 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
28162 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
28163 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
28164 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
28165 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
28166 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28167 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
28168 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
28169 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
28170 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
28171 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
28172 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
28173 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
28174 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
28175 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
28176 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
28177 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
28178 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
28179 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
28180 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
28181 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
28182 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
28183 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
28184 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
28185 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
28186 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
28187 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
28188 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
28189 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
28190 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
28191 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
28192 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
28193 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28194 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
28195 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28196 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
28197 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
28198 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28199 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
28200 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
28201 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28202 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
28203 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
28204 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
28205 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
28206 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
28207 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
28208 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
28209 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
28210 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
28211 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
28212 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
28213 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
28214 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
28215 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
28216 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
28217 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
28218 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
28219 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
28220 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
28221 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
28222 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
28223 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
28224 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28225 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28226 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
28227 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
28228 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
28229 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
28230 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
28231 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
28232 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
28233 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
28234 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
28235 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
28236 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
28237 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28238 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
28239 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
28240 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
28241 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
28242 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
28243 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28244 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
28245 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
28246 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
28247 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
28248 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
28249 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
28250 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
28251 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
28252 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
28253 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
28254 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
28255 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
28256 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
28257 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
28258 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
28259 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
28260 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
28261 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
28262 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
28263 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
28264 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
28265 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28266 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
28267 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
28268 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
28269 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
28270 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
28271 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28272 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
28273 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
28274 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
28275 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
28276 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
28277 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
28278 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
28279 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
28280 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
28281 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
28282 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
28283 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
28284 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
28285 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
28286 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
28287 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
28288 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
28289 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
28290 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
28291 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
28292 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
28293 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
28294 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
28295 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28296 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28297 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
28298 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
28299 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
28300 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
28301 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
28302 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
28303 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
28304 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
28305 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
28306 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
28307 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
28308 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
28309 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
28310 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
28311 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
28312 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
28313 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
28314 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
28315 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
28316 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
28317 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
28318 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
28319 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
28320 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
28321 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
28322 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
28323 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
28324 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28325 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
28326 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
28327 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
28328 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
28329 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
28330 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28331 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
28332 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
28333 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
28334 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
28335 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
28336 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
28337 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
28338 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
28339 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
28340 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
28341 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
28342 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
28343 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
28344 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
28345 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
28346 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
28347 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
28348 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
28349 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
28350 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
28351 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
28352 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
28353 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
28354 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
28355 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28356 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28357 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
28358 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
28359 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
28360 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
28361 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
28362 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28363 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
28364 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
28365 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
28366 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
28367 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
28368 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
28369 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
28370 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
28371 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
28372 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
28373 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
28374 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
28375 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
28376 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
28377 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
28378 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
28379 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
28380 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
28381 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
28382 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
28383 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
28384 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
28385 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
28386 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
28387 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
28388 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
28389 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
28390 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
28391 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
28392 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
28393 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
28394 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
28395 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
28396 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
28397 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
28398 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
28399 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
28400 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
28401 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
28402 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
28403 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
28404 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
28405 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
28406 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
28407 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
28408 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
28409 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
28410 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
28411 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
28412 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
28413 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
28414 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
28415 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
28416 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
28417 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
28418 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
28419 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
28420 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
28421 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
28422 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
28423 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
28424 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
28425 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
28426 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
28427 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
28428 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
28429 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
28430 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
28431 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
28432 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
28433 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28434 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
28435 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
28436 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
28437 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
28438 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
28439 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28440 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28441 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28442 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
28443 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
28444 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28445 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
28446 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
28447 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
28448 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
28449 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
28450 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
28451 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
28452 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
28453 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
28454 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
28455 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
28456 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
28457 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
28458 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
28459 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
28460 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
28461 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
28462 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
28463 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
28464 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
28465 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
28466 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28467 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
28468 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
28469 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
28470 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
28471 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
28472 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
28473 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
28474 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
28475 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
28476 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
28477 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
28478 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
28479 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
28480 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28481 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
28482 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
28483 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
28484 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28485 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
28486 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
28487 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
28488 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
28489 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
28490 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
28491 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
28492 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
28493 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
28494 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
28495 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
28496 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
28497 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
28498 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
28499 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
28500 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
28501 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
28502 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
28503 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
28504 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
28505 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
28506 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
28507 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
28508 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
28509 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
28510 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
28511 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
28512 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
28513 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
28514 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
28515 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
28516 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
28517 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
28518 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
28519 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28520 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
28521 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
28522 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
28523 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28524 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
28525 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
28526 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
28527 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
28528 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
28529 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
28530 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
28531 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
28532 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
28533 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
28534 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
28535 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
28536 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
28537 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28538 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
28539 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
28540 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
28541 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
28542 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
28543 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
28544 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
28545 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
28546 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
28547 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
28548 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
28549 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
28550 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
28551 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
28552 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
28553 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
28554 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
28555 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
28556 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
28557 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
28558 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
28559 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
28560 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
28561 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
28562 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
28563 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
28564 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
28565 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
28566 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
28567 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
28568 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
28569 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
28570 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
28571 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
28572 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
28573 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
28574 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
28575 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
28576 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
28577 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
28578 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
28579 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
28580 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28581 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
28582 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28583 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
28584 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28585 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
28586 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
28587 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28588 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
28589 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
28590 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
28591 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28592 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
28593 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
28594 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
28595 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28596 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
28597 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
28598 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
28599 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
28600 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
28601 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
28602 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
28603 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
28604 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
28605 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
28606 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
28607 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
28608 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
28609 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
28610 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
28611 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
28612 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
28613 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
28614 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
28615 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
28616 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
28617 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
28618 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
28619 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28620 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
28621 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
28622 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
28623 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
28624 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
28625 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
28626 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
28627 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
28628 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
28629 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
28630 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
28631 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
28632 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
28633 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
28634 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
28635 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
28636 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
28637 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
28638 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
28639 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
28640 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
28641 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
28642 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
28643 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
28644 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
28645 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
28646 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
28647 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
28648 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
28649 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
28650 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
28651 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
28652 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
28653 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
28654 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
28655 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
28656 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
28657 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
28658 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
28659 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
28660 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
28661 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28662 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
28663 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28664 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
28665 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
28666 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28667 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28668 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28669 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
28670 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28671 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28672 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28673 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28674 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
28675 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28676 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28677 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28678 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
28679 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
28680 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
28681 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
28682 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28683 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28684 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
28685 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
28686 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
28687 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
28688 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
28689 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
28690 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28691 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28692 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
28693 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
28694 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
28695 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
28696 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
28697 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
28698 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
28699 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
28700 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
28701 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
28702 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
28703 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
28704 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
28705 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
28706 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
28707 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
28708 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
28709 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
28710 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
28711 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
28712 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
28713 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
28714 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
28715 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
28716 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
28717 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
28718 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
28719 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
28720 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
28721 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
28722 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
28723 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
28724 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
28725 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
28726 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
28727 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
28728 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
28729 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
28730 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
28731 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
28732 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
28733 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
28734 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
28735 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
28736 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
28737 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
28738 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
28739 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
28740 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
28741 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
28742 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
28743 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
28744 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
28745 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
28746 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
28747 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
28748 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
28749 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
28750 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
28751 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
28752 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
28753 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28754 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
28755 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28756 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
28757 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
28758 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
28759 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
28760 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28761 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
28762 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
28763 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
28764 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
28765 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
28766 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
28767 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
28768 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
28769 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
28770 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
28771 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28772 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
28773 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28774 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
28775 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
28776 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
28777 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
28778 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28779 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
28780 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
28781 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
28782 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
28783 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
28784 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
28785 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
28786 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
28787 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
28788 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
28789 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
28790 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
28791 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
28792 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
28793 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
28794 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
28795 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
28796 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
28797 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
28798 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
28799 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
28800 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28801 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
28802 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
28803 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28804 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
28805 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
28806 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
28807 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
28808 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS },
28809 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28810 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
28811 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
28812 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
28813 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28814 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28815 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28816 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28817 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
28818 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
28819 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
28820 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28821 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28822 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28823 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28824 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28825 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28826 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
28827 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
28828 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
28829 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
28830 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
28831 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
28832 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
28833 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
28834 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
28835 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
28836 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
28837 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
28838 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
28839 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
28840 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
28841 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
28842 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
28843 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
28844 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
28845 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
28846 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
28847 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
28848 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28849 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
28850 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
28851 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
28852 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS },
28853 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS },
28854 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS },
28855 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS },
28856 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS },
28857 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS },
28858 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS },
28859 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS },
28860 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS },
28861 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS },
28862 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS },
28863 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS },
28864 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS },
28865 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS },
28866 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS },
28867 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS },
28868 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS },
28869 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS },
28870 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS },
28871 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS },
28872 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS },
28873 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS },
28874 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS },
28875 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS },
28876 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS },
28877 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS },
28878 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS },
28879 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS },
28880 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS },
28881 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS },
28882 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS },
28883 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS },
28884 { NULL, NULL }
28885 };
28886
28887
28888 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28889
28890 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28891 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28892 }
28893 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28894 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28895 }
28896 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28897 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28898 }
28899 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28900 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28901 }
28902 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28903 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28904 }
28905 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28906 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28907 }
28908 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28909 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28910 }
28911 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28912 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28913 }
28914 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28916 }
28917 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28918 return (void *)((wxEvent *) ((wxPyEvent *) x));
28919 }
28920 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28921 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28922 }
28923 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28924 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28925 }
28926 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28927 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28928 }
28929 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28930 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28931 }
28932 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28933 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28934 }
28935 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28936 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28937 }
28938 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28939 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28940 }
28941 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28942 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28943 }
28944 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28945 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28946 }
28947 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28948 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28949 }
28950 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28951 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28952 }
28953 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28954 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28955 }
28956 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28957 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28958 }
28959 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28960 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28961 }
28962 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28963 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28964 }
28965 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28966 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28967 }
28968 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28969 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28970 }
28971 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28972 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28973 }
28974 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28975 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28976 }
28977 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28979 }
28980 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28981 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28982 }
28983 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28984 return (void *)((wxEvent *) ((wxShowEvent *) x));
28985 }
28986 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28987 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28988 }
28989 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28991 }
28992 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28993 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28994 }
28995 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28996 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28997 }
28998 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28999 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29000 }
29001 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29002 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29003 }
29004 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
29005 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
29006 }
29007 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
29008 return (void *)((wxConfigBase *) ((wxConfig *) x));
29009 }
29010 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
29011 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29012 }
29013 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
29014 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
29015 }
29016 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
29017 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
29018 }
29019 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29020 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29021 }
29022 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29023 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29024 }
29025 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29026 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29027 }
29028 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29029 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29030 }
29031 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29032 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29033 }
29034 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29035 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29036 }
29037 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29038 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29039 }
29040 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29041 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29042 }
29043 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29044 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29045 }
29046 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29047 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29048 }
29049 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29050 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29051 }
29052 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29053 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29054 }
29055 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29056 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29057 }
29058 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29059 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29060 }
29061 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29062 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29063 }
29064 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29065 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29066 }
29067 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29068 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29069 }
29070 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29071 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29072 }
29073 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29074 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29075 }
29076 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29077 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29078 }
29079 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29080 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29081 }
29082 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29084 }
29085 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29086 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29087 }
29088 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29089 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29090 }
29091 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29092 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29093 }
29094 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29095 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29096 }
29097 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29099 }
29100 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29101 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29102 }
29103 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29104 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29105 }
29106 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29107 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29108 }
29109 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29110 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29111 }
29112 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29113 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29114 }
29115 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29116 return (void *)((wxObject *) ((wxSizerItem *) x));
29117 }
29118 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29120 }
29121 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29122 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29123 }
29124 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29125 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29126 }
29127 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29128 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29129 }
29130 static void *_p_wxSizerTo_p_wxObject(void *x) {
29131 return (void *)((wxObject *) ((wxSizer *) x));
29132 }
29133 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29134 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29135 }
29136 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29137 return (void *)((wxObject *) ((wxFileHistory *) x));
29138 }
29139 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29140 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29141 }
29142 static void *_p_wxEventTo_p_wxObject(void *x) {
29143 return (void *)((wxObject *) ((wxEvent *) x));
29144 }
29145 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29146 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29147 }
29148 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29149 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29150 }
29151 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29152 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29153 }
29154 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29155 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29156 }
29157 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29158 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29159 }
29160 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29161 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29162 }
29163 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29164 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29165 }
29166 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29167 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29168 }
29169 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29170 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29171 }
29172 static void *_p_wxControlTo_p_wxObject(void *x) {
29173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29174 }
29175 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29176 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29177 }
29178 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29179 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29180 }
29181 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29182 return (void *)((wxObject *) ((wxFSFile *) x));
29183 }
29184 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29185 return (void *)((wxObject *) ((wxClipboard *) x));
29186 }
29187 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29188 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29189 }
29190 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29191 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29192 }
29193 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29195 }
29196 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29197 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29198 }
29199 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29200 return (void *)((wxObject *) ((wxToolTip *) x));
29201 }
29202 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29203 return (void *)((wxObject *) ((wxMenuItem *) x));
29204 }
29205 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29206 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29207 }
29208 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29210 }
29211 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29212 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29213 }
29214 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29215 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29216 }
29217 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29218 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29219 }
29220 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29221 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29222 }
29223 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29224 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29225 }
29226 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29227 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29228 }
29229 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29230 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29231 }
29232 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29233 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29234 }
29235 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29236 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29237 }
29238 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29239 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29240 }
29241 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29242 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29243 }
29244 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29245 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29246 }
29247 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29248 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29249 }
29250 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29251 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29252 }
29253 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29254 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29255 }
29256 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29257 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29258 }
29259 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29260 return (void *)((wxObject *) ((wxImageHandler *) x));
29261 }
29262 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29263 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29264 }
29265 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29266 return (void *)((wxObject *) ((wxEvtHandler *) x));
29267 }
29268 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29269 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29270 }
29271 static void *_p_wxImageTo_p_wxObject(void *x) {
29272 return (void *)((wxObject *) ((wxImage *) x));
29273 }
29274 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29275 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29276 }
29277 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29278 return (void *)((wxObject *) ((wxSystemOptions *) x));
29279 }
29280 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29281 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29282 }
29283 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29285 }
29286 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29287 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29288 }
29289 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29290 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29291 }
29292 static void *_p_wxWindowTo_p_wxObject(void *x) {
29293 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29294 }
29295 static void *_p_wxMenuTo_p_wxObject(void *x) {
29296 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29297 }
29298 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29300 }
29301 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29302 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29303 }
29304 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29305 return (void *)((wxObject *) ((wxFileSystem *) x));
29306 }
29307 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29309 }
29310 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29311 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29312 }
29313 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29314 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29315 }
29316 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29317 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29318 }
29319 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29321 }
29322 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29324 }
29325 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) ((wxBusyInfo *) x));
29327 }
29328 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29330 }
29331 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29333 }
29334 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29336 }
29337 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29339 }
29340 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29342 }
29343 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29344 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29345 }
29346 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29348 }
29349 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29350 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29351 }
29352 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29353 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29354 }
29355 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29356 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29357 }
29358 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29359 return (void *)((wxLog *) ((wxLogStderr *) x));
29360 }
29361 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29362 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29363 }
29364 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29365 return (void *)((wxLog *) ((wxLogWindow *) x));
29366 }
29367 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29368 return (void *)((wxLog *) ((wxLogChain *) x));
29369 }
29370 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29371 return (void *)((wxLog *) ((wxLogGui *) x));
29372 }
29373 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29374 return (void *)((wxLog *) ((wxPyLog *) x));
29375 }
29376 static void *_p_wxControlTo_p_wxWindow(void *x) {
29377 return (void *)((wxWindow *) ((wxControl *) x));
29378 }
29379 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29380 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29381 }
29382 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29383 return (void *)((wxWindow *) ((wxMenuBar *) x));
29384 }
29385 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29386 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29387 }
29388 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29389 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29390 }
29391 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}};
29392 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}};
29393 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29475 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}};
29476 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}};
29477 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}};
29478
29479 static swig_type_info *swig_types_initial[] = {
29480 _swigt__p_wxLogChain,
29481 _swigt__p_wxMutexGuiLocker,
29482 _swigt__p_wxMetafile,
29483 _swigt__p_wxFileHistory,
29484 _swigt__p_wxLog,
29485 _swigt__p_wxDateTime__TimeZone,
29486 _swigt__p_wxMenu,
29487 _swigt__p_wxEvent,
29488 _swigt__p_wxConfigBase,
29489 _swigt__p_wxDisplay,
29490 _swigt__p_wxFileType,
29491 _swigt__p_wxLogGui,
29492 _swigt__p_wxFont,
29493 _swigt__p_wxDataFormat,
29494 _swigt__p_wxTimerEvent,
29495 _swigt__p_wxCaret,
29496 _swigt__p_int,
29497 _swigt__p_wxSize,
29498 _swigt__p_wxClipboard,
29499 _swigt__p_wxStopWatch,
29500 _swigt__p_wxDC,
29501 _swigt__p_wxClipboardLocker,
29502 _swigt__p_wxIcon,
29503 _swigt__p_wxLogStderr,
29504 _swigt__p_wxLogTextCtrl,
29505 _swigt__p_wxTextCtrl,
29506 _swigt__p_wxBusyCursor,
29507 _swigt__p_wxPyTextDataObject,
29508 _swigt__p_wxBitmapDataObject,
29509 _swigt__p_wxTextDataObject,
29510 _swigt__p_wxDataObject,
29511 _swigt__p_wxPyBitmapDataObject,
29512 _swigt__p_wxFileDataObject,
29513 _swigt__p_wxCustomDataObject,
29514 _swigt__p_wxURLDataObject,
29515 _swigt__p_wxMetafileDataObject,
29516 _swigt__p_wxSound,
29517 _swigt__p_wxTimerRunner,
29518 _swigt__p_wxLogWindow,
29519 _swigt__p_wxTimeSpan,
29520 _swigt__p_wxArrayString,
29521 _swigt__p_wxWindowDisabler,
29522 _swigt__p_wxToolTip,
29523 _swigt__p_wxDataObjectComposite,
29524 _swigt__p_wxFileConfig,
29525 _swigt__p_wxSystemSettings,
29526 _swigt__p_wxVideoMode,
29527 _swigt__p_wxPyDataObjectSimple,
29528 _swigt__p_wxDataObjectSimple,
29529 _swigt__p_wxEvtHandler,
29530 _swigt__p_wxRect,
29531 _swigt__p_char,
29532 _swigt__p_wxSingleInstanceChecker,
29533 _swigt__p_wxFileTypeInfo,
29534 _swigt__p_wxFrame,
29535 _swigt__p_wxTimer,
29536 _swigt__p_wxMimeTypesManager,
29537 _swigt__p_wxPyArtProvider,
29538 _swigt__p_wxPyTipProvider,
29539 _swigt__p_wxTipProvider,
29540 _swigt__p_wxJoystick,
29541 _swigt__p_wxSystemOptions,
29542 _swigt__p_wxPoint,
29543 _swigt__p_wxJoystickEvent,
29544 _swigt__p_wxCursor,
29545 _swigt__p_wxObject,
29546 _swigt__p_wxOutputStream,
29547 _swigt__p_wxDateTime,
29548 _swigt__p_wxPyDropSource,
29549 _swigt__p_wxWindow,
29550 _swigt__p_wxString,
29551 _swigt__p_wxPyProcess,
29552 _swigt__p_wxBitmap,
29553 _swigt__p_wxConfig,
29554 _swigt__p_wxChar,
29555 _swigt__p_wxBusyInfo,
29556 _swigt__p_wxPyDropTarget,
29557 _swigt__p_wxPyTextDropTarget,
29558 _swigt__p_wxPyFileDropTarget,
29559 _swigt__p_wxProcessEvent,
29560 _swigt__p_wxPyLog,
29561 _swigt__p_wxLogNull,
29562 _swigt__p_wxColour,
29563 _swigt__p_wxByte,
29564 _swigt__p_wxConfigPathChanger,
29565 _swigt__p_wxPyTimer,
29566 _swigt__p_wxDateSpan,
29567 0
29568 };
29569
29570
29571 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29572
29573 static swig_const_info swig_const_table[] = {
29574 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29575 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29576 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29577 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29578 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29579 {0}};
29580
29581 #ifdef __cplusplus
29582 }
29583 #endif
29584
29585 #ifdef __cplusplus
29586 extern "C"
29587 #endif
29588 SWIGEXPORT(void) SWIG_init(void) {
29589 static PyObject *SWIG_globals = 0;
29590 static int typeinit = 0;
29591 PyObject *m, *d;
29592 int i;
29593 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29594 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29595 d = PyModule_GetDict(m);
29596
29597 if (!typeinit) {
29598 for (i = 0; swig_types_initial[i]; i++) {
29599 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29600 }
29601 typeinit = 1;
29602 }
29603 SWIG_InstallConstants(d,swig_const_table);
29604
29605 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29606 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29607 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29608 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29609 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29610 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29611 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29612 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29613 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29614 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29615 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29616 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29617 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29618 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29619 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29620 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29621 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29622 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29623 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29624 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29625 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29626 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29627 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29628 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29629 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29630 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29631 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29632 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29633 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29634 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29635 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29636 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29637 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29638 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29639 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29640 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29641 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29642 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29643 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29644 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29645 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29646 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29647 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29648 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29649 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29650 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29651 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29652 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29653 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29654 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29655 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29656 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29657 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29658 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29659 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29660 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29661 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29662 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29663 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29664 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29665 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29666 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29667 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29668 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29669 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29670 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29671 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29672 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29673 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29674 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29675 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29676 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29677 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29678 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29679 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29680 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29681 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29682 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29683 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29684 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29685 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29686 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29687 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29688 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29689 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29690 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29691 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29692 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29693 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29694 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29695 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29696 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29697 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29698 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29699 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29700 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29701 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29702 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29703 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29704 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
29705 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29706 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29707 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29708 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29709 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29710 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29711 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29712 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29713 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29714 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29715 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29716 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29717 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29718 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29719 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29720 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29721 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29722 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29723 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29724 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29725 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29726 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29727 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29728 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29729 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29730 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29731 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29732 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29733 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29734 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29735 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29736 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29737 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29738 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29739 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29740 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29741 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29742 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29743 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29744 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29745 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29746 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29747 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29748 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29749 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29750 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29751 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29752 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29753 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29754 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29755
29756 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29757
29758 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29759 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29760 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29761 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29762 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29763 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29764 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29765 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29766 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29767 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29768 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29769 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29770 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29771 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29772 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29773 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29774 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29775 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29776 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29777 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29778 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29779 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29780 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29781 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29782 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29783 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29784 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29785 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29786 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29787 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29788 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29789 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29790 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29791 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29792 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29793 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29794 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29795 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29796 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29797 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29798 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29799 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29800 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29801 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29802 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29803 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29804 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29805 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29806 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29807 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29808 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29809 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29810 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29811 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29812 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29813 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29814 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29815 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29816
29817 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29818
29819 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29820 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29821 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29822 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29823 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29824 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29825 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29826 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29827 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29828 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29829 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29830 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29831 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29832 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29833 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29834 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29835 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29836 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29837 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29838 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29839 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29840 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29841 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29842 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29843 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29844 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29845 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29846 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29847 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29848 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29849 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29850 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29851 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29852 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29853 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29854 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29855 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29856 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29857 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29858 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29859 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29860 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29861 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29862 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29863 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29864 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29865 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29866 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29867 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29868 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29869 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29870 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29871 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29872 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29873 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29874 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29875 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29876 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29877 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29878 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29879 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29880 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29881 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29882 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29883 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29884 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29885 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29886 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29887 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29888 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29889 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29890 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29891 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29892 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29893 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29894 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29895 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29896 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29897 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29898 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29899 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29900 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29901 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29902 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29903 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29904 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29905 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29906 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29907 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29908 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29909 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29910 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29911 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29912 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29913 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29914 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29915 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29916 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29917 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29918 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29919 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29920 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29921 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29922 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29923 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29924 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29925 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29926 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29927 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29928 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29929 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29930 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29931 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29932 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29933 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29934 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29935 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29936 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29937 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29938 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29939 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29940 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29941 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29942 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29943 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29944 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29945 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29946 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29947 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29948 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29949 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29950 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29951 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29952 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29953 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29954 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29955 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29956 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29957 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29958 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29959 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29960 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29961 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29962 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29963 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29964 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29965 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29966 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29967 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29968 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29969 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29970 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29971 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29972 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29973 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29974 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29975 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29976 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29977 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29978 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29979 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29980 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29981 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29982 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29983 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29984 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
29985 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
29986 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29987 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29988 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29989 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29990 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29991 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29992 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29993 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29994 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29995 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29996 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29997 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29998 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29999 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
30000 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
30001 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
30002 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
30003 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
30004 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
30005 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
30006 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
30007 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
30008 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
30009 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
30010 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
30011 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
30012 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
30013 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
30014 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
30015 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
30016 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
30017 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
30018 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30019
30020 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30021 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30022 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30023 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30024
30025 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
30026 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30027 }
30028