]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/misc_wrap.cpp
More about the sizer changes
[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){ return other ? (*self < *other) : False; }
1161 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
1162 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
1163 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
1164 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
1165 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
1166 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
1167 const wxChar* rv;
1168 const wxChar* _date = date;
1169 rv = self->ParseRfc822Date(_date);
1170 if (rv == NULL) return -1;
1171 return rv - _date;
1172 }
1173 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1174 const wxChar* rv;
1175 const wxChar* _date = date;
1176 rv = self->ParseFormat(_date, format, dateDef);
1177 if (rv == NULL) return -1;
1178 return rv - _date;
1179 }
1180 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1181 const wxChar* rv;
1182 const wxChar* _datetime = datetime;
1183 rv = self->ParseDateTime(_datetime);
1184 if (rv == NULL) return -1;
1185 return rv - _datetime;
1186 }
1187 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1188 const wxChar* rv;
1189 const wxChar* _date = date;
1190 rv = self->ParseDate(_date);
1191 if (rv == NULL) return -1;
1192 return rv - _date;
1193 }
1194 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1195 const wxChar* rv;
1196 const wxChar* _time = time;
1197 rv = self->ParseTime(_time);
1198 if (rv == NULL) return -1;
1199 return rv - _time;
1200 }
1201 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1202 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1203 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1204 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1205 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1206 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1207 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1208 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1209 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1210 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1211 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1212 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1213 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1214 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1215 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1216 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1217
1218 #include <wx/dataobj.h>
1219
1220 // Create a new class for wxPython to use
1221 class wxPyDataObjectSimple : public wxDataObjectSimple {
1222 public:
1223 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1224 : wxDataObjectSimple(format) {}
1225
1226 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1227 bool GetDataHere(void *buf) const;
1228 bool SetData(size_t len, const void *buf) const;
1229 PYPRIVATE;
1230 };
1231
1232 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1233
1234 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1235 // We need to get the data for this object and write it to buf. I think
1236 // the best way to do this for wxPython is to have the Python method
1237 // return either a string or None and then act appropriately with the
1238 // C++ version.
1239
1240 bool rval = False;
1241 bool blocked = wxPyBeginBlockThreads();
1242 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1243 PyObject* ro;
1244 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1245 if (ro) {
1246 rval = (ro != Py_None && PyString_Check(ro));
1247 if (rval)
1248 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1249 Py_DECREF(ro);
1250 }
1251 }
1252 wxPyEndBlockThreads(blocked);
1253 return rval;
1254 }
1255
1256 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1257 // For this one we simply need to make a string from buf and len
1258 // and send it to the Python method.
1259 bool rval = False;
1260 bool blocked = wxPyBeginBlockThreads();
1261 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1262 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1263 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1264 Py_DECREF(data);
1265 }
1266 wxPyEndBlockThreads(blocked);
1267 return rval;
1268 }
1269
1270 // Create a new class for wxPython to use
1271 class wxPyTextDataObject : public wxTextDataObject {
1272 public:
1273 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1274 : wxTextDataObject(text) {}
1275
1276 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1277 DEC_PYCALLBACK_STRING__const(GetText);
1278 DEC_PYCALLBACK__STRING(SetText);
1279 PYPRIVATE;
1280 };
1281
1282 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1283 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1284 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1285
1286
1287 // Create a new class for wxPython to use
1288 class wxPyBitmapDataObject : public wxBitmapDataObject {
1289 public:
1290 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1291 : wxBitmapDataObject(bitmap) {}
1292
1293 wxBitmap GetBitmap() const;
1294 void SetBitmap(const wxBitmap& bitmap);
1295 PYPRIVATE;
1296 };
1297
1298 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1299 wxBitmap* rval = &wxNullBitmap;
1300 bool blocked = wxPyBeginBlockThreads();
1301 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1302 PyObject* ro;
1303 wxBitmap* ptr;
1304 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1305 if (ro) {
1306 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1307 rval = ptr;
1308 Py_DECREF(ro);
1309 }
1310 }
1311 wxPyEndBlockThreads(blocked);
1312 return *rval;
1313 }
1314
1315 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1316 bool blocked = wxPyBeginBlockThreads();
1317 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1318 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1319 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1320 Py_DECREF(bo);
1321 }
1322 wxPyEndBlockThreads(blocked);
1323 }
1324
1325 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1326 if (PyString_Check(data)) {
1327 // for Python we just call SetData here since we always need it to make a copy.
1328 self->SetData(PyString_Size(data), PyString_AsString(data));
1329 }
1330 else {
1331 // raise a TypeError if not a string
1332 PyErr_SetString(PyExc_TypeError, "String expected.");
1333 }
1334 }
1335 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1336 if (PyString_Check(data)) {
1337 return self->SetData(PyString_Size(data), PyString_AsString(data));
1338 }
1339 else {
1340 // raise a TypeError if not a string
1341 PyErr_SetString(PyExc_TypeError, "String expected.");
1342 return False;
1343 }
1344 }
1345 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1346 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1347 }
1348
1349 #include <wx/metafile.h>
1350
1351
1352 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1353
1354
1355 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1356 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1357 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1358 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1359 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1360
1361
1362 class wxPyTextDropTarget : public wxTextDropTarget {
1363 public:
1364 wxPyTextDropTarget() {}
1365
1366 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1367
1368 DEC_PYCALLBACK__(OnLeave);
1369 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1370 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1372 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1373
1374 PYPRIVATE;
1375 };
1376
1377 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1378 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1379 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1380 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1381 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1382 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1383
1384
1385
1386 class wxPyFileDropTarget : public wxFileDropTarget {
1387 public:
1388 wxPyFileDropTarget() {}
1389
1390 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1391
1392 DEC_PYCALLBACK__(OnLeave);
1393 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1394 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1395 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1396 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1397
1398 PYPRIVATE;
1399 };
1400
1401 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1402 const wxArrayString& filenames) {
1403 bool rval = False;
1404 bool blocked = wxPyBeginBlockThreads();
1405 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1406 PyObject* list = wxArrayString2PyList_helper(filenames);
1407 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1408 Py_DECREF(list);
1409 }
1410 wxPyEndBlockThreads(blocked);
1411 return rval;
1412 }
1413
1414
1415
1416 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1417 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1418 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1419 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1420 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1421
1422
1423
1424
1425 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1426
1427 #include "wx/display.h"
1428
1429 bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : False; }
1430 bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : True; }
1431 int Display_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
1432 PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode){
1433 PyObject* pyList = NULL;
1434 wxArrayVideoModes arr = self->GetModes(mode);
1435 bool blocked = wxPyBeginBlockThreads();
1436 pyList = PyList_New(0);
1437 for (int i=0; i < arr.GetCount(); i++) {
1438 wxVideoMode* m = new wxVideoMode(arr.Item(i));
1439 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
1440 PyList_Append(pyList, pyObj);
1441 }
1442 wxPyEndBlockThreads(blocked);
1443 return pyList;
1444 }
1445 #ifdef __cplusplus
1446 extern "C" {
1447 #endif
1448 static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 int arg1 ;
1451 wxColour result;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "index", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1458 arg1 = (wxSystemColour) SWIG_AsInt(obj0);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 {
1468 wxColour * resultptr;
1469 resultptr = new wxColour((wxColour &) result);
1470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
1471 }
1472 return resultobj;
1473 fail:
1474 return NULL;
1475 }
1476
1477
1478 static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 int arg1 ;
1481 wxFont result;
1482 PyObject * obj0 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "index", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1488 arg1 = (wxSystemFont) SWIG_AsInt(obj0);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 {
1498 wxFont * resultptr;
1499 resultptr = new wxFont((wxFont &) result);
1500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
1501 }
1502 return resultobj;
1503 fail:
1504 return NULL;
1505 }
1506
1507
1508 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 int arg1 ;
1511 int result;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "index", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1518 arg1 = (wxSystemMetric) SWIG_AsInt(obj0);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 {
1521 PyThreadState* __tstate = wxPyBeginAllowThreads();
1522 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1523
1524 wxPyEndAllowThreads(__tstate);
1525 if (PyErr_Occurred()) SWIG_fail;
1526 }
1527 resultobj = SWIG_FromInt((int)result);
1528 return resultobj;
1529 fail:
1530 return NULL;
1531 }
1532
1533
1534 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
1535 PyObject *resultobj;
1536 int arg1 ;
1537 bool result;
1538 PyObject * obj0 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "index", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1544 arg1 = (wxSystemFeature) SWIG_AsInt(obj0);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 {
1554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1555 }
1556 return resultobj;
1557 fail:
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 int result;
1565 char *kwnames[] = {
1566 NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 result = (int)wxSystemSettings::GetScreenType();
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 resultobj = SWIG_FromInt((int)result);
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 int arg1 ;
1587 PyObject * obj0 = 0 ;
1588 char *kwnames[] = {
1589 (char *) "screen", NULL
1590 };
1591
1592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1593 arg1 = (wxSystemScreenType) SWIG_AsInt(obj0);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) SWIG_fail;
1601 }
1602 Py_INCREF(Py_None); resultobj = Py_None;
1603 return resultobj;
1604 fail:
1605 return NULL;
1606 }
1607
1608
1609 static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
1610 PyObject *obj;
1611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1612 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1613 Py_INCREF(obj);
1614 return Py_BuildValue((char *)"");
1615 }
1616 static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxSystemOptions *result;
1619 char *kwnames[] = {
1620 NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1624 {
1625 PyThreadState* __tstate = wxPyBeginAllowThreads();
1626 result = (wxSystemOptions *)new wxSystemOptions();
1627
1628 wxPyEndAllowThreads(__tstate);
1629 if (PyErr_Occurred()) SWIG_fail;
1630 }
1631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
1632 return resultobj;
1633 fail:
1634 return NULL;
1635 }
1636
1637
1638 static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxString *arg1 = 0 ;
1641 wxString *arg2 = 0 ;
1642 bool temp1 = False ;
1643 bool temp2 = False ;
1644 PyObject * obj0 = 0 ;
1645 PyObject * obj1 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "name",(char *) "value", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1651 {
1652 arg1 = wxString_in_helper(obj0);
1653 if (arg1 == NULL) SWIG_fail;
1654 temp1 = True;
1655 }
1656 {
1657 arg2 = wxString_in_helper(obj1);
1658 if (arg2 == NULL) SWIG_fail;
1659 temp2 = True;
1660 }
1661 {
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1664
1665 wxPyEndAllowThreads(__tstate);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 Py_INCREF(Py_None); resultobj = Py_None;
1669 {
1670 if (temp1)
1671 delete arg1;
1672 }
1673 {
1674 if (temp2)
1675 delete arg2;
1676 }
1677 return resultobj;
1678 fail:
1679 {
1680 if (temp1)
1681 delete arg1;
1682 }
1683 {
1684 if (temp2)
1685 delete arg2;
1686 }
1687 return NULL;
1688 }
1689
1690
1691 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
1692 PyObject *resultobj;
1693 wxString *arg1 = 0 ;
1694 int arg2 ;
1695 bool temp1 = False ;
1696 PyObject * obj0 = 0 ;
1697 PyObject * obj1 = 0 ;
1698 char *kwnames[] = {
1699 (char *) "name",(char *) "value", NULL
1700 };
1701
1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1703 {
1704 arg1 = wxString_in_helper(obj0);
1705 if (arg1 == NULL) SWIG_fail;
1706 temp1 = True;
1707 }
1708 arg2 = (int) SWIG_AsInt(obj1);
1709 if (PyErr_Occurred()) SWIG_fail;
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 Py_INCREF(Py_None); resultobj = Py_None;
1718 {
1719 if (temp1)
1720 delete arg1;
1721 }
1722 return resultobj;
1723 fail:
1724 {
1725 if (temp1)
1726 delete arg1;
1727 }
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxString *arg1 = 0 ;
1735 wxString result;
1736 bool temp1 = False ;
1737 PyObject * obj0 = 0 ;
1738 char *kwnames[] = {
1739 (char *) "name", NULL
1740 };
1741
1742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1743 {
1744 arg1 = wxString_in_helper(obj0);
1745 if (arg1 == NULL) SWIG_fail;
1746 temp1 = True;
1747 }
1748 {
1749 PyThreadState* __tstate = wxPyBeginAllowThreads();
1750 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1751
1752 wxPyEndAllowThreads(__tstate);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 {
1756 #if wxUSE_UNICODE
1757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1758 #else
1759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1760 #endif
1761 }
1762 {
1763 if (temp1)
1764 delete arg1;
1765 }
1766 return resultobj;
1767 fail:
1768 {
1769 if (temp1)
1770 delete arg1;
1771 }
1772 return NULL;
1773 }
1774
1775
1776 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxString *arg1 = 0 ;
1779 int result;
1780 bool temp1 = False ;
1781 PyObject * obj0 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1787 {
1788 arg1 = wxString_in_helper(obj0);
1789 if (arg1 == NULL) SWIG_fail;
1790 temp1 = True;
1791 }
1792 {
1793 PyThreadState* __tstate = wxPyBeginAllowThreads();
1794 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1795
1796 wxPyEndAllowThreads(__tstate);
1797 if (PyErr_Occurred()) SWIG_fail;
1798 }
1799 resultobj = SWIG_FromInt((int)result);
1800 {
1801 if (temp1)
1802 delete arg1;
1803 }
1804 return resultobj;
1805 fail:
1806 {
1807 if (temp1)
1808 delete arg1;
1809 }
1810 return NULL;
1811 }
1812
1813
1814 static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxString *arg1 = 0 ;
1817 bool result;
1818 bool temp1 = False ;
1819 PyObject * obj0 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "name", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1825 {
1826 arg1 = wxString_in_helper(obj0);
1827 if (arg1 == NULL) SWIG_fail;
1828 temp1 = True;
1829 }
1830 {
1831 PyThreadState* __tstate = wxPyBeginAllowThreads();
1832 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1833
1834 wxPyEndAllowThreads(__tstate);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
1837 {
1838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1839 }
1840 {
1841 if (temp1)
1842 delete arg1;
1843 }
1844 return resultobj;
1845 fail:
1846 {
1847 if (temp1)
1848 delete arg1;
1849 }
1850 return NULL;
1851 }
1852
1853
1854 static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
1855 PyObject *obj;
1856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1858 Py_INCREF(obj);
1859 return Py_BuildValue((char *)"");
1860 }
1861 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
1862 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1863 return 1;
1864 }
1865
1866
1867 static PyObject *_wrap_FileSelectorPromptStr_get() {
1868 PyObject *pyobj;
1869
1870 {
1871 #if wxUSE_UNICODE
1872 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1873 #else
1874 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1875 #endif
1876 }
1877 return pyobj;
1878 }
1879
1880
1881 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
1882 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1883 return 1;
1884 }
1885
1886
1887 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1888 PyObject *pyobj;
1889
1890 {
1891 #if wxUSE_UNICODE
1892 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1893 #else
1894 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1895 #endif
1896 }
1897 return pyobj;
1898 }
1899
1900
1901 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
1902 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1903 return 1;
1904 }
1905
1906
1907 static PyObject *_wrap_DirSelectorPromptStr_get() {
1908 PyObject *pyobj;
1909
1910 {
1911 #if wxUSE_UNICODE
1912 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1913 #else
1914 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1915 #endif
1916 }
1917 return pyobj;
1918 }
1919
1920
1921 static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 long result;
1924 char *kwnames[] = {
1925 NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1929 {
1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
1931 result = (long)wxNewId();
1932
1933 wxPyEndAllowThreads(__tstate);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
1936 resultobj = SWIG_FromLong((long)result);
1937 return resultobj;
1938 fail:
1939 return NULL;
1940 }
1941
1942
1943 static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
1944 PyObject *resultobj;
1945 long arg1 ;
1946 PyObject * obj0 = 0 ;
1947 char *kwnames[] = {
1948 (char *) "id", NULL
1949 };
1950
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1952 arg1 = (long) SWIG_AsLong(obj0);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 wxRegisterId(arg1);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 long result;
1971 char *kwnames[] = {
1972 NULL
1973 };
1974
1975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 result = (long)wxGetCurrentId();
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 resultobj = SWIG_FromLong((long)result);
1984 return resultobj;
1985 fail:
1986 return NULL;
1987 }
1988
1989
1990 static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 char *kwnames[] = {
1993 NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 wxBell();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008 }
2009
2010
2011 static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 wxEndBusyCursor();
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 bool arg1 = (bool) True ;
2035 long result;
2036 PyObject * obj0 = 0 ;
2037 char *kwnames[] = {
2038 (char *) "resetTimer", NULL
2039 };
2040
2041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
2042 if (obj0) {
2043 arg1 = (bool) SWIG_AsBool(obj0);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (long)wxGetElapsedTime(arg1);
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
2053 resultobj = SWIG_FromLong((long)result);
2054 return resultobj;
2055 fail:
2056 return NULL;
2057 }
2058
2059
2060 static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
2061 PyObject *resultobj;
2062 int *arg1 = (int *) 0 ;
2063 int *arg2 = (int *) 0 ;
2064 int temp1 ;
2065 int temp2 ;
2066 char *kwnames[] = {
2067 NULL
2068 };
2069
2070 arg1 = &temp1;
2071 arg2 = &temp2;
2072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 wxGetMousePosition(arg1,arg2);
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 Py_INCREF(Py_None); resultobj = Py_None;
2081 {
2082 PyObject *o = PyInt_FromLong((long) (*arg1));
2083 resultobj = t_output_helper(resultobj,o);
2084 }
2085 {
2086 PyObject *o = PyInt_FromLong((long) (*arg2));
2087 resultobj = t_output_helper(resultobj,o);
2088 }
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 bool result;
2098 char *kwnames[] = {
2099 NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
2103 {
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (bool)wxIsBusy();
2106
2107 wxPyEndAllowThreads(__tstate);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2112 }
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 wxString result;
2122 char *kwnames[] = {
2123 NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = wxNow();
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 {
2135 #if wxUSE_UNICODE
2136 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2137 #else
2138 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2139 #endif
2140 }
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxString const &arg1_defvalue = wxPyEmptyString ;
2150 wxString *arg1 = (wxString *) &arg1_defvalue ;
2151 bool result;
2152 bool temp1 = False ;
2153 PyObject * obj0 = 0 ;
2154 char *kwnames[] = {
2155 (char *) "command", NULL
2156 };
2157
2158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
2159 if (obj0) {
2160 {
2161 arg1 = wxString_in_helper(obj0);
2162 if (arg1 == NULL) SWIG_fail;
2163 temp1 = True;
2164 }
2165 }
2166 {
2167 PyThreadState* __tstate = wxPyBeginAllowThreads();
2168 result = (bool)wxShell((wxString const &)*arg1);
2169
2170 wxPyEndAllowThreads(__tstate);
2171 if (PyErr_Occurred()) SWIG_fail;
2172 }
2173 {
2174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2175 }
2176 {
2177 if (temp1)
2178 delete arg1;
2179 }
2180 return resultobj;
2181 fail:
2182 {
2183 if (temp1)
2184 delete arg1;
2185 }
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 char *kwnames[] = {
2193 NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2197 {
2198 PyThreadState* __tstate = wxPyBeginAllowThreads();
2199 wxStartTimer();
2200
2201 wxPyEndAllowThreads(__tstate);
2202 if (PyErr_Occurred()) SWIG_fail;
2203 }
2204 Py_INCREF(Py_None); resultobj = Py_None;
2205 return resultobj;
2206 fail:
2207 return NULL;
2208 }
2209
2210
2211 static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
2212 PyObject *resultobj;
2213 int *arg1 = (int *) 0 ;
2214 int *arg2 = (int *) 0 ;
2215 int result;
2216 int temp1 ;
2217 int temp2 ;
2218 char *kwnames[] = {
2219 NULL
2220 };
2221
2222 arg1 = &temp1;
2223 arg2 = &temp2;
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 result = (int)wxGetOsVersion(arg1,arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 resultobj = SWIG_FromInt((int)result);
2233 {
2234 PyObject *o = PyInt_FromLong((long) (*arg1));
2235 resultobj = t_output_helper(resultobj,o);
2236 }
2237 {
2238 PyObject *o = PyInt_FromLong((long) (*arg2));
2239 resultobj = t_output_helper(resultobj,o);
2240 }
2241 return resultobj;
2242 fail:
2243 return NULL;
2244 }
2245
2246
2247 static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxString result;
2250 char *kwnames[] = {
2251 NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = wxGetOsDescription();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 {
2263 #if wxUSE_UNICODE
2264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2265 #else
2266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2267 #endif
2268 }
2269 return resultobj;
2270 fail:
2271 return NULL;
2272 }
2273
2274
2275 static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 long result;
2278 char *kwnames[] = {
2279 NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 result = (long)wxGetFreeMemory();
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 resultobj = SWIG_FromLong((long)result);
2291 return resultobj;
2292 fail:
2293 return NULL;
2294 }
2295
2296
2297 static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 int arg1 ;
2300 bool result;
2301 PyObject * obj0 = 0 ;
2302 char *kwnames[] = {
2303 (char *) "wFlags", NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2307 arg1 = (wxShutdownFlags) SWIG_AsInt(obj0);
2308 if (PyErr_Occurred()) SWIG_fail;
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 {
2317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2318 }
2319 return resultobj;
2320 fail:
2321 return NULL;
2322 }
2323
2324
2325 static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
2326 PyObject *resultobj;
2327 int arg1 ;
2328 PyObject * obj0 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "secs", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2334 arg1 = (int) SWIG_AsInt(obj0);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 wxSleep(arg1);
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 Py_INCREF(Py_None); resultobj = Py_None;
2344 return resultobj;
2345 fail:
2346 return NULL;
2347 }
2348
2349
2350 static PyObject *_wrap_Usleep(PyObject *, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 unsigned long arg1 ;
2353 PyObject * obj0 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "milliseconds", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2359 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 wxUsleep(arg1);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 Py_INCREF(Py_None); resultobj = Py_None;
2369 return resultobj;
2370 fail:
2371 return NULL;
2372 }
2373
2374
2375 static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 bool arg1 ;
2378 PyObject * obj0 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "enable", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2384 arg1 = (bool) SWIG_AsBool(obj0);
2385 if (PyErr_Occurred()) SWIG_fail;
2386 {
2387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2388 wxEnableTopLevelWindows(arg1);
2389
2390 wxPyEndAllowThreads(__tstate);
2391 if (PyErr_Occurred()) SWIG_fail;
2392 }
2393 Py_INCREF(Py_None); resultobj = Py_None;
2394 return resultobj;
2395 fail:
2396 return NULL;
2397 }
2398
2399
2400 static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
2401 PyObject *resultobj;
2402 wxString *arg1 = 0 ;
2403 wxString result;
2404 bool temp1 = False ;
2405 PyObject * obj0 = 0 ;
2406 char *kwnames[] = {
2407 (char *) "in", NULL
2408 };
2409
2410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2411 {
2412 arg1 = wxString_in_helper(obj0);
2413 if (arg1 == NULL) SWIG_fail;
2414 temp1 = True;
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 result = wxStripMenuCodes((wxString const &)*arg1);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 {
2424 #if wxUSE_UNICODE
2425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2426 #else
2427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2428 #endif
2429 }
2430 {
2431 if (temp1)
2432 delete arg1;
2433 }
2434 return resultobj;
2435 fail:
2436 {
2437 if (temp1)
2438 delete arg1;
2439 }
2440 return NULL;
2441 }
2442
2443
2444 static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxString result;
2447 char *kwnames[] = {
2448 NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2452 {
2453 PyThreadState* __tstate = wxPyBeginAllowThreads();
2454 result = wxGetEmailAddress();
2455
2456 wxPyEndAllowThreads(__tstate);
2457 if (PyErr_Occurred()) SWIG_fail;
2458 }
2459 {
2460 #if wxUSE_UNICODE
2461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2462 #else
2463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2464 #endif
2465 }
2466 return resultobj;
2467 fail:
2468 return NULL;
2469 }
2470
2471
2472 static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 wxString result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = wxGetHostName();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 #if wxUSE_UNICODE
2489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2490 #else
2491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2492 #endif
2493 }
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxString result;
2503 char *kwnames[] = {
2504 NULL
2505 };
2506
2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 result = wxGetFullHostName();
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 {
2516 #if wxUSE_UNICODE
2517 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2518 #else
2519 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2520 #endif
2521 }
2522 return resultobj;
2523 fail:
2524 return NULL;
2525 }
2526
2527
2528 static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
2529 PyObject *resultobj;
2530 wxString result;
2531 char *kwnames[] = {
2532 NULL
2533 };
2534
2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 result = wxGetUserId();
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 {
2544 #if wxUSE_UNICODE
2545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2546 #else
2547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2548 #endif
2549 }
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxString result;
2559 char *kwnames[] = {
2560 NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2564 {
2565 PyThreadState* __tstate = wxPyBeginAllowThreads();
2566 result = wxGetUserName();
2567
2568 wxPyEndAllowThreads(__tstate);
2569 if (PyErr_Occurred()) SWIG_fail;
2570 }
2571 {
2572 #if wxUSE_UNICODE
2573 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2574 #else
2575 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2576 #endif
2577 }
2578 return resultobj;
2579 fail:
2580 return NULL;
2581 }
2582
2583
2584 static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
2585 PyObject *resultobj;
2586 wxString result;
2587 char *kwnames[] = {
2588 NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 result = wxGetHomeDir();
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 {
2600 #if wxUSE_UNICODE
2601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2602 #else
2603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2604 #endif
2605 }
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxString const &arg1_defvalue = wxPyEmptyString ;
2615 wxString *arg1 = (wxString *) &arg1_defvalue ;
2616 wxString result;
2617 bool temp1 = False ;
2618 PyObject * obj0 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "user", NULL
2621 };
2622
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2624 if (obj0) {
2625 {
2626 arg1 = wxString_in_helper(obj0);
2627 if (arg1 == NULL) SWIG_fail;
2628 temp1 = True;
2629 }
2630 }
2631 {
2632 PyThreadState* __tstate = wxPyBeginAllowThreads();
2633 result = wxGetUserHome((wxString const &)*arg1);
2634
2635 wxPyEndAllowThreads(__tstate);
2636 if (PyErr_Occurred()) SWIG_fail;
2637 }
2638 {
2639 #if wxUSE_UNICODE
2640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2641 #else
2642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2643 #endif
2644 }
2645 {
2646 if (temp1)
2647 delete arg1;
2648 }
2649 return resultobj;
2650 fail:
2651 {
2652 if (temp1)
2653 delete arg1;
2654 }
2655 return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 unsigned long result;
2662 char *kwnames[] = {
2663 NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 result = (unsigned long)wxGetProcessId();
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
2675 return resultobj;
2676 fail:
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 char *kwnames[] = {
2684 NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2688 {
2689 PyThreadState* __tstate = wxPyBeginAllowThreads();
2690 wxTrap();
2691
2692 wxPyEndAllowThreads(__tstate);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 Py_INCREF(Py_None); resultobj = Py_None;
2696 return resultobj;
2697 fail:
2698 return NULL;
2699 }
2700
2701
2702 static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2703 PyObject *resultobj;
2704 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2705 wxString *arg1 = (wxString *) &arg1_defvalue ;
2706 wxString const &arg2_defvalue = wxPyEmptyString ;
2707 wxString *arg2 = (wxString *) &arg2_defvalue ;
2708 wxString const &arg3_defvalue = wxPyEmptyString ;
2709 wxString *arg3 = (wxString *) &arg3_defvalue ;
2710 wxString const &arg4_defvalue = wxPyEmptyString ;
2711 wxString *arg4 = (wxString *) &arg4_defvalue ;
2712 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2713 wxString *arg5 = (wxString *) &arg5_defvalue ;
2714 int arg6 = (int) 0 ;
2715 wxWindow *arg7 = (wxWindow *) NULL ;
2716 int arg8 = (int) -1 ;
2717 int arg9 = (int) -1 ;
2718 wxString result;
2719 bool temp1 = False ;
2720 bool temp2 = False ;
2721 bool temp3 = False ;
2722 bool temp4 = False ;
2723 bool temp5 = False ;
2724 PyObject * obj0 = 0 ;
2725 PyObject * obj1 = 0 ;
2726 PyObject * obj2 = 0 ;
2727 PyObject * obj3 = 0 ;
2728 PyObject * obj4 = 0 ;
2729 PyObject * obj5 = 0 ;
2730 PyObject * obj6 = 0 ;
2731 PyObject * obj7 = 0 ;
2732 PyObject * obj8 = 0 ;
2733 char *kwnames[] = {
2734 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2735 };
2736
2737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2738 if (obj0) {
2739 {
2740 arg1 = wxString_in_helper(obj0);
2741 if (arg1 == NULL) SWIG_fail;
2742 temp1 = True;
2743 }
2744 }
2745 if (obj1) {
2746 {
2747 arg2 = wxString_in_helper(obj1);
2748 if (arg2 == NULL) SWIG_fail;
2749 temp2 = True;
2750 }
2751 }
2752 if (obj2) {
2753 {
2754 arg3 = wxString_in_helper(obj2);
2755 if (arg3 == NULL) SWIG_fail;
2756 temp3 = True;
2757 }
2758 }
2759 if (obj3) {
2760 {
2761 arg4 = wxString_in_helper(obj3);
2762 if (arg4 == NULL) SWIG_fail;
2763 temp4 = True;
2764 }
2765 }
2766 if (obj4) {
2767 {
2768 arg5 = wxString_in_helper(obj4);
2769 if (arg5 == NULL) SWIG_fail;
2770 temp5 = True;
2771 }
2772 }
2773 if (obj5) {
2774 arg6 = (int) SWIG_AsInt(obj5);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 if (obj6) {
2778 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
2779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2780 }
2781 if (obj7) {
2782 arg8 = (int) SWIG_AsInt(obj7);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 if (obj8) {
2786 arg9 = (int) SWIG_AsInt(obj8);
2787 if (PyErr_Occurred()) SWIG_fail;
2788 }
2789 {
2790 PyThreadState* __tstate = wxPyBeginAllowThreads();
2791 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2792
2793 wxPyEndAllowThreads(__tstate);
2794 if (PyErr_Occurred()) SWIG_fail;
2795 }
2796 {
2797 #if wxUSE_UNICODE
2798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2799 #else
2800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2801 #endif
2802 }
2803 {
2804 if (temp1)
2805 delete arg1;
2806 }
2807 {
2808 if (temp2)
2809 delete arg2;
2810 }
2811 {
2812 if (temp3)
2813 delete arg3;
2814 }
2815 {
2816 if (temp4)
2817 delete arg4;
2818 }
2819 {
2820 if (temp5)
2821 delete arg5;
2822 }
2823 return resultobj;
2824 fail:
2825 {
2826 if (temp1)
2827 delete arg1;
2828 }
2829 {
2830 if (temp2)
2831 delete arg2;
2832 }
2833 {
2834 if (temp3)
2835 delete arg3;
2836 }
2837 {
2838 if (temp4)
2839 delete arg4;
2840 }
2841 {
2842 if (temp5)
2843 delete arg5;
2844 }
2845 return NULL;
2846 }
2847
2848
2849 static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxString *arg1 = 0 ;
2852 wxString *arg2 = 0 ;
2853 wxString const &arg3_defvalue = wxPyEmptyString ;
2854 wxString *arg3 = (wxString *) &arg3_defvalue ;
2855 wxWindow *arg4 = (wxWindow *) NULL ;
2856 wxString result;
2857 bool temp1 = False ;
2858 bool temp2 = False ;
2859 bool temp3 = False ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 char *kwnames[] = {
2865 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2866 };
2867
2868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2869 {
2870 arg1 = wxString_in_helper(obj0);
2871 if (arg1 == NULL) SWIG_fail;
2872 temp1 = True;
2873 }
2874 {
2875 arg2 = wxString_in_helper(obj1);
2876 if (arg2 == NULL) SWIG_fail;
2877 temp2 = True;
2878 }
2879 if (obj2) {
2880 {
2881 arg3 = wxString_in_helper(obj2);
2882 if (arg3 == NULL) SWIG_fail;
2883 temp3 = True;
2884 }
2885 }
2886 if (obj3) {
2887 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 {
2898 #if wxUSE_UNICODE
2899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2900 #else
2901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2902 #endif
2903 }
2904 {
2905 if (temp1)
2906 delete arg1;
2907 }
2908 {
2909 if (temp2)
2910 delete arg2;
2911 }
2912 {
2913 if (temp3)
2914 delete arg3;
2915 }
2916 return resultobj;
2917 fail:
2918 {
2919 if (temp1)
2920 delete arg1;
2921 }
2922 {
2923 if (temp2)
2924 delete arg2;
2925 }
2926 {
2927 if (temp3)
2928 delete arg3;
2929 }
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxString *arg1 = 0 ;
2937 wxString *arg2 = 0 ;
2938 wxString const &arg3_defvalue = wxPyEmptyString ;
2939 wxString *arg3 = (wxString *) &arg3_defvalue ;
2940 wxWindow *arg4 = (wxWindow *) NULL ;
2941 wxString result;
2942 bool temp1 = False ;
2943 bool temp2 = False ;
2944 bool temp3 = False ;
2945 PyObject * obj0 = 0 ;
2946 PyObject * obj1 = 0 ;
2947 PyObject * obj2 = 0 ;
2948 PyObject * obj3 = 0 ;
2949 char *kwnames[] = {
2950 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2954 {
2955 arg1 = wxString_in_helper(obj0);
2956 if (arg1 == NULL) SWIG_fail;
2957 temp1 = True;
2958 }
2959 {
2960 arg2 = wxString_in_helper(obj1);
2961 if (arg2 == NULL) SWIG_fail;
2962 temp2 = True;
2963 }
2964 if (obj2) {
2965 {
2966 arg3 = wxString_in_helper(obj2);
2967 if (arg3 == NULL) SWIG_fail;
2968 temp3 = True;
2969 }
2970 }
2971 if (obj3) {
2972 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
2973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2974 }
2975 {
2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
2977 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2978
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 {
2983 #if wxUSE_UNICODE
2984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2985 #else
2986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2987 #endif
2988 }
2989 {
2990 if (temp1)
2991 delete arg1;
2992 }
2993 {
2994 if (temp2)
2995 delete arg2;
2996 }
2997 {
2998 if (temp3)
2999 delete arg3;
3000 }
3001 return resultobj;
3002 fail:
3003 {
3004 if (temp1)
3005 delete arg1;
3006 }
3007 {
3008 if (temp2)
3009 delete arg2;
3010 }
3011 {
3012 if (temp3)
3013 delete arg3;
3014 }
3015 return NULL;
3016 }
3017
3018
3019 static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
3022 wxString *arg1 = (wxString *) &arg1_defvalue ;
3023 wxString const &arg2_defvalue = wxPyEmptyString ;
3024 wxString *arg2 = (wxString *) &arg2_defvalue ;
3025 long arg3 = (long) wxDD_DEFAULT_STYLE ;
3026 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3027 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3028 wxWindow *arg5 = (wxWindow *) NULL ;
3029 wxString result;
3030 bool temp1 = False ;
3031 bool temp2 = False ;
3032 wxPoint temp4 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 PyObject * obj2 = 0 ;
3036 PyObject * obj3 = 0 ;
3037 PyObject * obj4 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3040 };
3041
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3043 if (obj0) {
3044 {
3045 arg1 = wxString_in_helper(obj0);
3046 if (arg1 == NULL) SWIG_fail;
3047 temp1 = True;
3048 }
3049 }
3050 if (obj1) {
3051 {
3052 arg2 = wxString_in_helper(obj1);
3053 if (arg2 == NULL) SWIG_fail;
3054 temp2 = True;
3055 }
3056 }
3057 if (obj2) {
3058 arg3 = (long) SWIG_AsLong(obj2);
3059 if (PyErr_Occurred()) SWIG_fail;
3060 }
3061 if (obj3) {
3062 {
3063 arg4 = &temp4;
3064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3065 }
3066 }
3067 if (obj4) {
3068 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 {
3079 #if wxUSE_UNICODE
3080 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3081 #else
3082 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3083 #endif
3084 }
3085 {
3086 if (temp1)
3087 delete arg1;
3088 }
3089 {
3090 if (temp2)
3091 delete arg2;
3092 }
3093 return resultobj;
3094 fail:
3095 {
3096 if (temp1)
3097 delete arg1;
3098 }
3099 {
3100 if (temp2)
3101 delete arg2;
3102 }
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxString *arg1 = 0 ;
3110 wxString const &arg2_defvalue = wxPyEmptyString ;
3111 wxString *arg2 = (wxString *) &arg2_defvalue ;
3112 wxString const &arg3_defvalue = wxPyEmptyString ;
3113 wxString *arg3 = (wxString *) &arg3_defvalue ;
3114 wxWindow *arg4 = (wxWindow *) NULL ;
3115 int arg5 = (int) -1 ;
3116 int arg6 = (int) -1 ;
3117 bool arg7 = (bool) True ;
3118 wxString result;
3119 bool temp1 = False ;
3120 bool temp2 = False ;
3121 bool temp3 = False ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 PyObject * obj2 = 0 ;
3125 PyObject * obj3 = 0 ;
3126 PyObject * obj4 = 0 ;
3127 PyObject * obj5 = 0 ;
3128 PyObject * obj6 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3134 {
3135 arg1 = wxString_in_helper(obj0);
3136 if (arg1 == NULL) SWIG_fail;
3137 temp1 = True;
3138 }
3139 if (obj1) {
3140 {
3141 arg2 = wxString_in_helper(obj1);
3142 if (arg2 == NULL) SWIG_fail;
3143 temp2 = True;
3144 }
3145 }
3146 if (obj2) {
3147 {
3148 arg3 = wxString_in_helper(obj2);
3149 if (arg3 == NULL) SWIG_fail;
3150 temp3 = True;
3151 }
3152 }
3153 if (obj3) {
3154 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3156 }
3157 if (obj4) {
3158 arg5 = (int) SWIG_AsInt(obj4);
3159 if (PyErr_Occurred()) SWIG_fail;
3160 }
3161 if (obj5) {
3162 arg6 = (int) SWIG_AsInt(obj5);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 if (obj6) {
3166 arg7 = (bool) SWIG_AsBool(obj6);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 {
3170 PyThreadState* __tstate = wxPyBeginAllowThreads();
3171 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3172
3173 wxPyEndAllowThreads(__tstate);
3174 if (PyErr_Occurred()) SWIG_fail;
3175 }
3176 {
3177 #if wxUSE_UNICODE
3178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3179 #else
3180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3181 #endif
3182 }
3183 {
3184 if (temp1)
3185 delete arg1;
3186 }
3187 {
3188 if (temp2)
3189 delete arg2;
3190 }
3191 {
3192 if (temp3)
3193 delete arg3;
3194 }
3195 return resultobj;
3196 fail:
3197 {
3198 if (temp1)
3199 delete arg1;
3200 }
3201 {
3202 if (temp2)
3203 delete arg2;
3204 }
3205 {
3206 if (temp3)
3207 delete arg3;
3208 }
3209 return NULL;
3210 }
3211
3212
3213 static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3214 PyObject *resultobj;
3215 wxString *arg1 = 0 ;
3216 wxString const &arg2_defvalue = wxPyEmptyString ;
3217 wxString *arg2 = (wxString *) &arg2_defvalue ;
3218 wxString const &arg3_defvalue = wxPyEmptyString ;
3219 wxString *arg3 = (wxString *) &arg3_defvalue ;
3220 wxWindow *arg4 = (wxWindow *) NULL ;
3221 wxString result;
3222 bool temp1 = False ;
3223 bool temp2 = False ;
3224 bool temp3 = False ;
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 PyObject * obj2 = 0 ;
3228 PyObject * obj3 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3234 {
3235 arg1 = wxString_in_helper(obj0);
3236 if (arg1 == NULL) SWIG_fail;
3237 temp1 = True;
3238 }
3239 if (obj1) {
3240 {
3241 arg2 = wxString_in_helper(obj1);
3242 if (arg2 == NULL) SWIG_fail;
3243 temp2 = True;
3244 }
3245 }
3246 if (obj2) {
3247 {
3248 arg3 = wxString_in_helper(obj2);
3249 if (arg3 == NULL) SWIG_fail;
3250 temp3 = True;
3251 }
3252 }
3253 if (obj3) {
3254 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3256 }
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 {
3265 #if wxUSE_UNICODE
3266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3267 #else
3268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3269 #endif
3270 }
3271 {
3272 if (temp1)
3273 delete arg1;
3274 }
3275 {
3276 if (temp2)
3277 delete arg2;
3278 }
3279 {
3280 if (temp3)
3281 delete arg3;
3282 }
3283 return resultobj;
3284 fail:
3285 {
3286 if (temp1)
3287 delete arg1;
3288 }
3289 {
3290 if (temp2)
3291 delete arg2;
3292 }
3293 {
3294 if (temp3)
3295 delete arg3;
3296 }
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxString *arg1 = 0 ;
3304 wxString *arg2 = 0 ;
3305 int arg3 ;
3306 wxString *arg4 = (wxString *) 0 ;
3307 wxWindow *arg5 = (wxWindow *) NULL ;
3308 int arg6 = (int) -1 ;
3309 int arg7 = (int) -1 ;
3310 bool arg8 = (bool) True ;
3311 int arg9 = (int) 150 ;
3312 int arg10 = (int) 200 ;
3313 wxString result;
3314 bool temp1 = False ;
3315 bool temp2 = False ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 PyObject * obj2 = 0 ;
3319 PyObject * obj3 = 0 ;
3320 PyObject * obj4 = 0 ;
3321 PyObject * obj5 = 0 ;
3322 PyObject * obj6 = 0 ;
3323 PyObject * obj7 = 0 ;
3324 PyObject * obj8 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3330 {
3331 arg1 = wxString_in_helper(obj0);
3332 if (arg1 == NULL) SWIG_fail;
3333 temp1 = True;
3334 }
3335 {
3336 arg2 = wxString_in_helper(obj1);
3337 if (arg2 == NULL) SWIG_fail;
3338 temp2 = True;
3339 }
3340 {
3341 arg3 = PyList_Size(obj2);
3342 arg4 = wxString_LIST_helper(obj2);
3343 if (arg4 == NULL) SWIG_fail;
3344 }
3345 if (obj3) {
3346 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3348 }
3349 if (obj4) {
3350 arg6 = (int) SWIG_AsInt(obj4);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 if (obj5) {
3354 arg7 = (int) SWIG_AsInt(obj5);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 if (obj6) {
3358 arg8 = (bool) SWIG_AsBool(obj6);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 if (obj7) {
3362 arg9 = (int) SWIG_AsInt(obj7);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 if (obj8) {
3366 arg10 = (int) SWIG_AsInt(obj8);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 {
3377 #if wxUSE_UNICODE
3378 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3379 #else
3380 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3381 #endif
3382 }
3383 {
3384 if (temp1)
3385 delete arg1;
3386 }
3387 {
3388 if (temp2)
3389 delete arg2;
3390 }
3391 {
3392 if (arg4) delete [] arg4;
3393 }
3394 return resultobj;
3395 fail:
3396 {
3397 if (temp1)
3398 delete arg1;
3399 }
3400 {
3401 if (temp2)
3402 delete arg2;
3403 }
3404 {
3405 if (arg4) delete [] arg4;
3406 }
3407 return NULL;
3408 }
3409
3410
3411 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 wxString *arg1 = 0 ;
3414 wxString *arg2 = 0 ;
3415 int arg3 ;
3416 wxString *arg4 = (wxString *) 0 ;
3417 wxWindow *arg5 = (wxWindow *) NULL ;
3418 int arg6 = (int) -1 ;
3419 int arg7 = (int) -1 ;
3420 bool arg8 = (bool) True ;
3421 int arg9 = (int) 150 ;
3422 int arg10 = (int) 200 ;
3423 int result;
3424 bool temp1 = False ;
3425 bool temp2 = False ;
3426 PyObject * obj0 = 0 ;
3427 PyObject * obj1 = 0 ;
3428 PyObject * obj2 = 0 ;
3429 PyObject * obj3 = 0 ;
3430 PyObject * obj4 = 0 ;
3431 PyObject * obj5 = 0 ;
3432 PyObject * obj6 = 0 ;
3433 PyObject * obj7 = 0 ;
3434 PyObject * obj8 = 0 ;
3435 char *kwnames[] = {
3436 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3437 };
3438
3439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3440 {
3441 arg1 = wxString_in_helper(obj0);
3442 if (arg1 == NULL) SWIG_fail;
3443 temp1 = True;
3444 }
3445 {
3446 arg2 = wxString_in_helper(obj1);
3447 if (arg2 == NULL) SWIG_fail;
3448 temp2 = True;
3449 }
3450 {
3451 arg3 = PyList_Size(obj2);
3452 arg4 = wxString_LIST_helper(obj2);
3453 if (arg4 == NULL) SWIG_fail;
3454 }
3455 if (obj3) {
3456 if ((SWIG_ConvertPtr(obj3,(void **)(&arg5),SWIGTYPE_p_wxWindow,
3457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3458 }
3459 if (obj4) {
3460 arg6 = (int) SWIG_AsInt(obj4);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 if (obj5) {
3464 arg7 = (int) SWIG_AsInt(obj5);
3465 if (PyErr_Occurred()) SWIG_fail;
3466 }
3467 if (obj6) {
3468 arg8 = (bool) SWIG_AsBool(obj6);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 if (obj7) {
3472 arg9 = (int) SWIG_AsInt(obj7);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 if (obj8) {
3476 arg10 = (int) SWIG_AsInt(obj8);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 PyThreadState* __tstate = wxPyBeginAllowThreads();
3481 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3482
3483 wxPyEndAllowThreads(__tstate);
3484 if (PyErr_Occurred()) SWIG_fail;
3485 }
3486 resultobj = SWIG_FromInt((int)result);
3487 {
3488 if (temp1)
3489 delete arg1;
3490 }
3491 {
3492 if (temp2)
3493 delete arg2;
3494 }
3495 {
3496 if (arg4) delete [] arg4;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (temp1)
3502 delete arg1;
3503 }
3504 {
3505 if (temp2)
3506 delete arg2;
3507 }
3508 {
3509 if (arg4) delete [] arg4;
3510 }
3511 return NULL;
3512 }
3513
3514
3515 static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
3516 PyObject *resultobj;
3517 wxString *arg1 = 0 ;
3518 wxString const &arg2_defvalue = wxPyEmptyString ;
3519 wxString *arg2 = (wxString *) &arg2_defvalue ;
3520 int arg3 = (int) wxOK|wxCENTRE ;
3521 wxWindow *arg4 = (wxWindow *) NULL ;
3522 int arg5 = (int) -1 ;
3523 int arg6 = (int) -1 ;
3524 int result;
3525 bool temp1 = False ;
3526 bool temp2 = False ;
3527 PyObject * obj0 = 0 ;
3528 PyObject * obj1 = 0 ;
3529 PyObject * obj2 = 0 ;
3530 PyObject * obj3 = 0 ;
3531 PyObject * obj4 = 0 ;
3532 PyObject * obj5 = 0 ;
3533 char *kwnames[] = {
3534 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3535 };
3536
3537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3538 {
3539 arg1 = wxString_in_helper(obj0);
3540 if (arg1 == NULL) SWIG_fail;
3541 temp1 = True;
3542 }
3543 if (obj1) {
3544 {
3545 arg2 = wxString_in_helper(obj1);
3546 if (arg2 == NULL) SWIG_fail;
3547 temp2 = True;
3548 }
3549 }
3550 if (obj2) {
3551 arg3 = (int) SWIG_AsInt(obj2);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 if (obj3) {
3555 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
3556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3557 }
3558 if (obj4) {
3559 arg5 = (int) SWIG_AsInt(obj4);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 if (obj5) {
3563 arg6 = (int) SWIG_AsInt(obj5);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 {
3567 PyThreadState* __tstate = wxPyBeginAllowThreads();
3568 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3569
3570 wxPyEndAllowThreads(__tstate);
3571 if (PyErr_Occurred()) SWIG_fail;
3572 }
3573 resultobj = SWIG_FromInt((int)result);
3574 {
3575 if (temp1)
3576 delete arg1;
3577 }
3578 {
3579 if (temp2)
3580 delete arg2;
3581 }
3582 return resultobj;
3583 fail:
3584 {
3585 if (temp1)
3586 delete arg1;
3587 }
3588 {
3589 if (temp2)
3590 delete arg2;
3591 }
3592 return NULL;
3593 }
3594
3595
3596 static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxString *arg1 = 0 ;
3599 wxString *arg2 = 0 ;
3600 wxString *arg3 = 0 ;
3601 long arg4 ;
3602 long arg5 = (long) 0 ;
3603 long arg6 = (long) 100 ;
3604 wxWindow *arg7 = (wxWindow *) NULL ;
3605 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3606 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3607 long result;
3608 bool temp1 = False ;
3609 bool temp2 = False ;
3610 bool temp3 = False ;
3611 wxPoint temp8 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 PyObject * obj2 = 0 ;
3615 PyObject * obj3 = 0 ;
3616 PyObject * obj4 = 0 ;
3617 PyObject * obj5 = 0 ;
3618 PyObject * obj6 = 0 ;
3619 PyObject * obj7 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3625 {
3626 arg1 = wxString_in_helper(obj0);
3627 if (arg1 == NULL) SWIG_fail;
3628 temp1 = True;
3629 }
3630 {
3631 arg2 = wxString_in_helper(obj1);
3632 if (arg2 == NULL) SWIG_fail;
3633 temp2 = True;
3634 }
3635 {
3636 arg3 = wxString_in_helper(obj2);
3637 if (arg3 == NULL) SWIG_fail;
3638 temp3 = True;
3639 }
3640 arg4 = (long) SWIG_AsLong(obj3);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 if (obj4) {
3643 arg5 = (long) SWIG_AsLong(obj4);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 if (obj5) {
3647 arg6 = (long) SWIG_AsLong(obj5);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 if (obj6) {
3651 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxWindow,
3652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3653 }
3654 if (obj7) {
3655 {
3656 arg8 = &temp8;
3657 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3658 }
3659 }
3660 {
3661 PyThreadState* __tstate = wxPyBeginAllowThreads();
3662 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3663
3664 wxPyEndAllowThreads(__tstate);
3665 if (PyErr_Occurred()) SWIG_fail;
3666 }
3667 resultobj = SWIG_FromLong((long)result);
3668 {
3669 if (temp1)
3670 delete arg1;
3671 }
3672 {
3673 if (temp2)
3674 delete arg2;
3675 }
3676 {
3677 if (temp3)
3678 delete arg3;
3679 }
3680 return resultobj;
3681 fail:
3682 {
3683 if (temp1)
3684 delete arg1;
3685 }
3686 {
3687 if (temp2)
3688 delete arg2;
3689 }
3690 {
3691 if (temp3)
3692 delete arg3;
3693 }
3694 return NULL;
3695 }
3696
3697
3698 static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
3699 PyObject *resultobj;
3700 bool result;
3701 char *kwnames[] = {
3702 NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3706 {
3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
3708 result = (bool)wxColourDisplay();
3709
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 {
3714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3715 }
3716 return resultobj;
3717 fail:
3718 return NULL;
3719 }
3720
3721
3722 static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
3723 PyObject *resultobj;
3724 int result;
3725 char *kwnames[] = {
3726 NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (int)wxDisplayDepth();
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 resultobj = SWIG_FromInt((int)result);
3738 return resultobj;
3739 fail:
3740 return NULL;
3741 }
3742
3743
3744 static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 int result;
3747 char *kwnames[] = {
3748 NULL
3749 };
3750
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (int)wxGetDisplayDepth();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 resultobj = SWIG_FromInt((int)result);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 int *arg1 = (int *) 0 ;
3769 int *arg2 = (int *) 0 ;
3770 int temp1 ;
3771 int temp2 ;
3772 char *kwnames[] = {
3773 NULL
3774 };
3775
3776 arg1 = &temp1;
3777 arg2 = &temp2;
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3779 {
3780 PyThreadState* __tstate = wxPyBeginAllowThreads();
3781 wxDisplaySize(arg1,arg2);
3782
3783 wxPyEndAllowThreads(__tstate);
3784 if (PyErr_Occurred()) SWIG_fail;
3785 }
3786 Py_INCREF(Py_None); resultobj = Py_None;
3787 {
3788 PyObject *o = PyInt_FromLong((long) (*arg1));
3789 resultobj = t_output_helper(resultobj,o);
3790 }
3791 {
3792 PyObject *o = PyInt_FromLong((long) (*arg2));
3793 resultobj = t_output_helper(resultobj,o);
3794 }
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxSize result;
3804 char *kwnames[] = {
3805 NULL
3806 };
3807
3808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3809 {
3810 PyThreadState* __tstate = wxPyBeginAllowThreads();
3811 result = wxGetDisplaySize();
3812
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 {
3817 wxSize * resultptr;
3818 resultptr = new wxSize((wxSize &) result);
3819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3820 }
3821 return resultobj;
3822 fail:
3823 return NULL;
3824 }
3825
3826
3827 static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 int *arg1 = (int *) 0 ;
3830 int *arg2 = (int *) 0 ;
3831 int temp1 ;
3832 int temp2 ;
3833 char *kwnames[] = {
3834 NULL
3835 };
3836
3837 arg1 = &temp1;
3838 arg2 = &temp2;
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 wxDisplaySizeMM(arg1,arg2);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 {
3849 PyObject *o = PyInt_FromLong((long) (*arg1));
3850 resultobj = t_output_helper(resultobj,o);
3851 }
3852 {
3853 PyObject *o = PyInt_FromLong((long) (*arg2));
3854 resultobj = t_output_helper(resultobj,o);
3855 }
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxSize result;
3865 char *kwnames[] = {
3866 NULL
3867 };
3868
3869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 result = wxGetDisplaySizeMM();
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 {
3878 wxSize * resultptr;
3879 resultptr = new wxSize((wxSize &) result);
3880 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
3881 }
3882 return resultobj;
3883 fail:
3884 return NULL;
3885 }
3886
3887
3888 static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
3889 PyObject *resultobj;
3890 int *arg1 = (int *) 0 ;
3891 int *arg2 = (int *) 0 ;
3892 int *arg3 = (int *) 0 ;
3893 int *arg4 = (int *) 0 ;
3894 int temp1 ;
3895 int temp2 ;
3896 int temp3 ;
3897 int temp4 ;
3898 char *kwnames[] = {
3899 NULL
3900 };
3901
3902 arg1 = &temp1;
3903 arg2 = &temp2;
3904 arg3 = &temp3;
3905 arg4 = &temp4;
3906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 {
3916 PyObject *o = PyInt_FromLong((long) (*arg1));
3917 resultobj = t_output_helper(resultobj,o);
3918 }
3919 {
3920 PyObject *o = PyInt_FromLong((long) (*arg2));
3921 resultobj = t_output_helper(resultobj,o);
3922 }
3923 {
3924 PyObject *o = PyInt_FromLong((long) (*arg3));
3925 resultobj = t_output_helper(resultobj,o);
3926 }
3927 {
3928 PyObject *o = PyInt_FromLong((long) (*arg4));
3929 resultobj = t_output_helper(resultobj,o);
3930 }
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
3938 PyObject *resultobj;
3939 wxRect result;
3940 char *kwnames[] = {
3941 NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3945 {
3946 PyThreadState* __tstate = wxPyBeginAllowThreads();
3947 result = wxGetClientDisplayRect();
3948
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
3953 wxRect * resultptr;
3954 resultptr = new wxRect((wxRect &) result);
3955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxCursor *arg1 = 0 ;
3966 PyObject * obj0 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "cursor", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
3973 SWIG_POINTER_EXCEPTION | 0)) == -1)
3974 SWIG_fail;
3975 if (arg1 == NULL) {
3976 PyErr_SetString(PyExc_TypeError,"null reference");
3977 SWIG_fail;
3978 }
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 wxSetCursor(*arg1);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 Py_INCREF(Py_None); resultobj = Py_None;
3987 return resultobj;
3988 fail:
3989 return NULL;
3990 }
3991
3992
3993 static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3996 PyObject * obj0 = 0 ;
3997 char *kwnames[] = {
3998 (char *) "cursor", NULL
3999 };
4000
4001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
4002 if (obj0) {
4003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
4004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 wxBeginBusyCursor(arg1);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 Py_INCREF(Py_None); resultobj = Py_None;
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxWindow *result;
4023 char *kwnames[] = {
4024 NULL
4025 };
4026
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (wxWindow *)wxGetActiveWindow();
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 {
4036 resultobj = wxPyMake_wxObject(result);
4037 }
4038 return resultobj;
4039 fail:
4040 return NULL;
4041 }
4042
4043
4044 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj;
4046 wxPoint *arg1 = 0 ;
4047 wxWindow *result;
4048 wxPoint temp1 ;
4049 PyObject * obj0 = 0 ;
4050 char *kwnames[] = {
4051 (char *) "pt", NULL
4052 };
4053
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
4055 {
4056 arg1 = &temp1;
4057 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4058 }
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 {
4067 resultobj = wxPyMake_wxObject(result);
4068 }
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxPoint *arg1 = 0 ;
4078 wxWindow *result;
4079 wxPoint temp1 ;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "pt", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
4086 {
4087 arg1 = &temp1;
4088 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 {
4098 resultobj = wxPyMake_wxObject(result);
4099 }
4100 return resultobj;
4101 fail:
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxWindow *arg1 = (wxWindow *) 0 ;
4109 wxWindow *result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "win", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (wxWindow *)wxGetTopLevelParent(arg1);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 {
4126 resultobj = wxPyMake_wxObject(result);
4127 }
4128 return resultobj;
4129 fail:
4130 return NULL;
4131 }
4132
4133
4134 static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 int arg1 ;
4137 bool result;
4138 PyObject * obj0 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "key", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4144 arg1 = (wxKeyCode) SWIG_AsInt(obj0);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 {
4154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4155 }
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 char *kwnames[] = {
4165 NULL
4166 };
4167
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 wxWakeUpMainThread();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 Py_INCREF(Py_None); resultobj = Py_None;
4177 return resultobj;
4178 fail:
4179 return NULL;
4180 }
4181
4182
4183 static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
4184 PyObject *resultobj;
4185 char *kwnames[] = {
4186 NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 wxMutexGuiEnter();
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 Py_INCREF(Py_None); resultobj = Py_None;
4198 return resultobj;
4199 fail:
4200 return NULL;
4201 }
4202
4203
4204 static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 char *kwnames[] = {
4207 NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 wxMutexGuiLeave();
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 Py_INCREF(Py_None); resultobj = Py_None;
4219 return resultobj;
4220 fail:
4221 return NULL;
4222 }
4223
4224
4225 static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4226 PyObject *resultobj;
4227 wxMutexGuiLocker *result;
4228 char *kwnames[] = {
4229 NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
4241 return resultobj;
4242 fail:
4243 return NULL;
4244 }
4245
4246
4247 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4250 PyObject * obj0 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMutexGuiLocker,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 delete arg1;
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 return resultobj;
4267 fail:
4268 return NULL;
4269 }
4270
4271
4272 static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
4273 PyObject *obj;
4274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4275 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4276 Py_INCREF(obj);
4277 return Py_BuildValue((char *)"");
4278 }
4279 static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 bool result;
4282 char *kwnames[] = {
4283 NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)wxThread_IsMain();
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 {
4295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4296 }
4297 return resultobj;
4298 fail:
4299 return NULL;
4300 }
4301
4302
4303 static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxString *arg1 = 0 ;
4306 wxToolTip *result;
4307 bool temp1 = False ;
4308 PyObject * obj0 = 0 ;
4309 char *kwnames[] = {
4310 (char *) "tip", NULL
4311 };
4312
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4314 {
4315 arg1 = wxString_in_helper(obj0);
4316 if (arg1 == NULL) SWIG_fail;
4317 temp1 = True;
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 {
4327 resultobj = wxPyMake_wxObject(result);
4328 }
4329 {
4330 if (temp1)
4331 delete arg1;
4332 }
4333 return resultobj;
4334 fail:
4335 {
4336 if (temp1)
4337 delete arg1;
4338 }
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxToolTip *arg1 = (wxToolTip *) 0 ;
4346 wxString *arg2 = 0 ;
4347 bool temp2 = False ;
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self",(char *) "tip", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4357 {
4358 arg2 = wxString_in_helper(obj1);
4359 if (arg2 == NULL) SWIG_fail;
4360 temp2 = True;
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetTip((wxString const &)*arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 {
4371 if (temp2)
4372 delete arg2;
4373 }
4374 return resultobj;
4375 fail:
4376 {
4377 if (temp2)
4378 delete arg2;
4379 }
4380 return NULL;
4381 }
4382
4383
4384 static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxToolTip *arg1 = (wxToolTip *) 0 ;
4387 wxString result;
4388 PyObject * obj0 = 0 ;
4389 char *kwnames[] = {
4390 (char *) "self", NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 result = (arg1)->GetTip();
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 {
4404 #if wxUSE_UNICODE
4405 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4406 #else
4407 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4408 #endif
4409 }
4410 return resultobj;
4411 fail:
4412 return NULL;
4413 }
4414
4415
4416 static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4417 PyObject *resultobj;
4418 wxToolTip *arg1 = (wxToolTip *) 0 ;
4419 wxWindow *result;
4420 PyObject * obj0 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self", NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolTip,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (wxWindow *)(arg1)->GetWindow();
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 {
4436 resultobj = wxPyMake_wxObject(result);
4437 }
4438 return resultobj;
4439 fail:
4440 return NULL;
4441 }
4442
4443
4444 static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
4445 PyObject *resultobj;
4446 bool arg1 ;
4447 PyObject * obj0 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "flag", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4453 arg1 = (bool) SWIG_AsBool(obj0);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 wxToolTip::Enable(arg1);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4462 Py_INCREF(Py_None); resultobj = Py_None;
4463 return resultobj;
4464 fail:
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 long arg1 ;
4472 PyObject * obj0 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "milliseconds", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4478 arg1 = (long) SWIG_AsLong(obj0);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 wxToolTip::SetDelay(arg1);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 Py_INCREF(Py_None); resultobj = Py_None;
4488 return resultobj;
4489 fail:
4490 return NULL;
4491 }
4492
4493
4494 static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
4495 PyObject *obj;
4496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4497 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4498 Py_INCREF(obj);
4499 return Py_BuildValue((char *)"");
4500 }
4501 static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxWindow *arg1 = (wxWindow *) 0 ;
4504 wxSize *arg2 = 0 ;
4505 wxCaret *result;
4506 wxSize temp2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "window",(char *) "size", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4516 {
4517 arg2 = &temp2;
4518 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4519 }
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxCaret *arg1 = (wxCaret *) 0 ;
4537 PyObject * obj0 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 delete arg1;
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxCaret *arg1 = (wxCaret *) 0 ;
4562 bool result;
4563 PyObject * obj0 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 result = (bool)(arg1)->IsOk();
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 {
4579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4580 }
4581 return resultobj;
4582 fail:
4583 return NULL;
4584 }
4585
4586
4587 static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj;
4589 wxCaret *arg1 = (wxCaret *) 0 ;
4590 bool result;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = (bool)(arg1)->IsVisible();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4608 }
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxCaret *arg1 = (wxCaret *) 0 ;
4618 wxPoint result;
4619 PyObject * obj0 = 0 ;
4620 char *kwnames[] = {
4621 (char *) "self", NULL
4622 };
4623
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
4629 result = (arg1)->GetPosition();
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 {
4635 wxPoint * resultptr;
4636 resultptr = new wxPoint((wxPoint &) result);
4637 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4638 }
4639 return resultobj;
4640 fail:
4641 return NULL;
4642 }
4643
4644
4645 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
4646 PyObject *resultobj;
4647 wxCaret *arg1 = (wxCaret *) 0 ;
4648 int *arg2 = (int *) 0 ;
4649 int *arg3 = (int *) 0 ;
4650 int temp2 ;
4651 int temp3 ;
4652 PyObject * obj0 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self", NULL
4655 };
4656
4657 arg2 = &temp2;
4658 arg3 = &temp3;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->GetPosition(arg2,arg3);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 {
4671 PyObject *o = PyInt_FromLong((long) (*arg2));
4672 resultobj = t_output_helper(resultobj,o);
4673 }
4674 {
4675 PyObject *o = PyInt_FromLong((long) (*arg3));
4676 resultobj = t_output_helper(resultobj,o);
4677 }
4678 return resultobj;
4679 fail:
4680 return NULL;
4681 }
4682
4683
4684 static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj;
4686 wxCaret *arg1 = (wxCaret *) 0 ;
4687 wxSize result;
4688 PyObject * obj0 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (arg1)->GetSize();
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 {
4704 wxSize * resultptr;
4705 resultptr = new wxSize((wxSize &) result);
4706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
4707 }
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxCaret *arg1 = (wxCaret *) 0 ;
4717 int *arg2 = (int *) 0 ;
4718 int *arg3 = (int *) 0 ;
4719 int temp2 ;
4720 int temp3 ;
4721 PyObject * obj0 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self", NULL
4724 };
4725
4726 arg2 = &temp2;
4727 arg3 = &temp3;
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4731 {
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 (arg1)->GetSize(arg2,arg3);
4734
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 Py_INCREF(Py_None); resultobj = Py_None;
4739 {
4740 PyObject *o = PyInt_FromLong((long) (*arg2));
4741 resultobj = t_output_helper(resultobj,o);
4742 }
4743 {
4744 PyObject *o = PyInt_FromLong((long) (*arg3));
4745 resultobj = t_output_helper(resultobj,o);
4746 }
4747 return resultobj;
4748 fail:
4749 return NULL;
4750 }
4751
4752
4753 static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxCaret *arg1 = (wxCaret *) 0 ;
4756 wxWindow *result;
4757 PyObject * obj0 = 0 ;
4758 char *kwnames[] = {
4759 (char *) "self", NULL
4760 };
4761
4762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (wxWindow *)(arg1)->GetWindow();
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 {
4773 resultobj = wxPyMake_wxObject(result);
4774 }
4775 return resultobj;
4776 fail:
4777 return NULL;
4778 }
4779
4780
4781 static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxCaret *arg1 = (wxCaret *) 0 ;
4784 int arg2 ;
4785 int arg3 ;
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 PyObject * obj2 = 0 ;
4789 char *kwnames[] = {
4790 (char *) "self",(char *) "x",(char *) "y", NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4796 arg2 = (int) SWIG_AsInt(obj1);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 arg3 = (int) SWIG_AsInt(obj2);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 (arg1)->Move(arg2,arg3);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 Py_INCREF(Py_None); resultobj = Py_None;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxCaret *arg1 = (wxCaret *) 0 ;
4817 wxPoint *arg2 = 0 ;
4818 wxPoint temp2 ;
4819 PyObject * obj0 = 0 ;
4820 PyObject * obj1 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self",(char *) "pt", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4828 {
4829 arg2 = &temp2;
4830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 (arg1)->Move((wxPoint const &)*arg2);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 Py_INCREF(Py_None); resultobj = Py_None;
4840 return resultobj;
4841 fail:
4842 return NULL;
4843 }
4844
4845
4846 static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj;
4848 wxCaret *arg1 = (wxCaret *) 0 ;
4849 int arg2 ;
4850 int arg3 ;
4851 PyObject * obj0 = 0 ;
4852 PyObject * obj1 = 0 ;
4853 PyObject * obj2 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self",(char *) "width",(char *) "height", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4861 arg2 = (int) SWIG_AsInt(obj1);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 arg3 = (int) SWIG_AsInt(obj2);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 (arg1)->SetSize(arg2,arg3);
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 Py_INCREF(Py_None); resultobj = Py_None;
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxCaret *arg1 = (wxCaret *) 0 ;
4882 wxSize *arg2 = 0 ;
4883 wxSize temp2 ;
4884 PyObject * obj0 = 0 ;
4885 PyObject * obj1 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "size", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4893 {
4894 arg2 = &temp2;
4895 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4896 }
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 (arg1)->SetSize((wxSize const &)*arg2);
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 Py_INCREF(Py_None); resultobj = Py_None;
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxCaret *arg1 = (wxCaret *) 0 ;
4914 int arg2 = (int) True ;
4915 PyObject * obj0 = 0 ;
4916 PyObject * obj1 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "show", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4924 if (obj1) {
4925 arg2 = (int) SWIG_AsInt(obj1);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 (arg1)->Show(arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 Py_INCREF(Py_None); resultobj = Py_None;
4936 return resultobj;
4937 fail:
4938 return NULL;
4939 }
4940
4941
4942 static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxCaret *arg1 = (wxCaret *) 0 ;
4945 PyObject * obj0 = 0 ;
4946 char *kwnames[] = {
4947 (char *) "self", NULL
4948 };
4949
4950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCaret,
4952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 (arg1)->Hide();
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 Py_INCREF(Py_None); resultobj = Py_None;
4961 return resultobj;
4962 fail:
4963 return NULL;
4964 }
4965
4966
4967 static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
4968 PyObject *obj;
4969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4970 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4971 Py_INCREF(obj);
4972 return Py_BuildValue((char *)"");
4973 }
4974 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 int result;
4977 char *kwnames[] = {
4978 NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (int)wxCaret_GetBlinkTime();
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 resultobj = SWIG_FromInt((int)result);
4990 return resultobj;
4991 fail:
4992 return NULL;
4993 }
4994
4995
4996 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 int arg1 ;
4999 PyObject * obj0 = 0 ;
5000 char *kwnames[] = {
5001 (char *) "milliseconds", NULL
5002 };
5003
5004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
5005 arg1 = (int) SWIG_AsInt(obj0);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 wxCaret_SetBlinkTime(arg1);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 Py_INCREF(Py_None); resultobj = Py_None;
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5024 wxBusyCursor *result;
5025 PyObject * obj0 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "cursor", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
5031 if (obj0) {
5032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCursor,
5033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 result = (wxBusyCursor *)new wxBusyCursor(arg1);
5038
5039 wxPyEndAllowThreads(__tstate);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
5043 return resultobj;
5044 fail:
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyCursor,
5059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5060 {
5061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5062 delete arg1;
5063
5064 wxPyEndAllowThreads(__tstate);
5065 if (PyErr_Occurred()) SWIG_fail;
5066 }
5067 Py_INCREF(Py_None); resultobj = Py_None;
5068 return resultobj;
5069 fail:
5070 return NULL;
5071 }
5072
5073
5074 static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
5075 PyObject *obj;
5076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
5078 Py_INCREF(obj);
5079 return Py_BuildValue((char *)"");
5080 }
5081 static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxWindow *arg1 = (wxWindow *) NULL ;
5084 wxWindowDisabler *result;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "winToSkip", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
5091 if (obj0) {
5092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5094 }
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj;
5111 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
5112 PyObject * obj0 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
5118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDisabler,
5119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 delete arg1;
5123
5124 wxPyEndAllowThreads(__tstate);
5125 if (PyErr_Occurred()) SWIG_fail;
5126 }
5127 Py_INCREF(Py_None); resultobj = Py_None;
5128 return resultobj;
5129 fail:
5130 return NULL;
5131 }
5132
5133
5134 static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
5135 PyObject *obj;
5136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5137 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
5138 Py_INCREF(obj);
5139 return Py_BuildValue((char *)"");
5140 }
5141 static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxString *arg1 = 0 ;
5144 wxBusyInfo *result;
5145 bool temp1 = False ;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "message", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
5152 {
5153 arg1 = wxString_in_helper(obj0);
5154 if (arg1 == NULL) SWIG_fail;
5155 temp1 = True;
5156 }
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
5165 {
5166 if (temp1)
5167 delete arg1;
5168 }
5169 return resultobj;
5170 fail:
5171 {
5172 if (temp1)
5173 delete arg1;
5174 }
5175 return NULL;
5176 }
5177
5178
5179 static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5182 PyObject * obj0 = 0 ;
5183 char *kwnames[] = {
5184 (char *) "self", NULL
5185 };
5186
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBusyInfo,
5189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 delete arg1;
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 Py_INCREF(Py_None); resultobj = Py_None;
5198 return resultobj;
5199 fail:
5200 return NULL;
5201 }
5202
5203
5204 static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
5205 PyObject *obj;
5206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5208 Py_INCREF(obj);
5209 return Py_BuildValue((char *)"");
5210 }
5211 static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxStopWatch *result;
5214 char *kwnames[] = {
5215 NULL
5216 };
5217
5218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (wxStopWatch *)new wxStopWatch();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230 }
5231
5232
5233 static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5236 long arg2 = (long) 0 ;
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
5239 char *kwnames[] = {
5240 (char *) "self",(char *) "t0", NULL
5241 };
5242
5243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5246 if (obj1) {
5247 arg2 = (long) SWIG_AsLong(obj1);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->Start(arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 return resultobj;
5259 fail:
5260 return NULL;
5261 }
5262
5263
5264 static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5267 PyObject * obj0 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->Pause();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5292 PyObject * obj0 = 0 ;
5293 char *kwnames[] = {
5294 (char *) "self", NULL
5295 };
5296
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 (arg1)->Resume();
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 Py_INCREF(Py_None); resultobj = Py_None;
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5317 long result;
5318 PyObject * obj0 = 0 ;
5319 char *kwnames[] = {
5320 (char *) "self", NULL
5321 };
5322
5323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStopWatch,
5325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (long)((wxStopWatch const *)arg1)->Time();
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 resultobj = SWIG_FromLong((long)result);
5334 return resultobj;
5335 fail:
5336 return NULL;
5337 }
5338
5339
5340 static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
5341 PyObject *obj;
5342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5344 Py_INCREF(obj);
5345 return Py_BuildValue((char *)"");
5346 }
5347 static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj;
5349 int arg1 = (int) 9 ;
5350 wxFileHistory *result;
5351 PyObject * obj0 = 0 ;
5352 char *kwnames[] = {
5353 (char *) "maxFiles", NULL
5354 };
5355
5356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5357 if (obj0) {
5358 arg1 = (int) SWIG_AsInt(obj0);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 {
5362 PyThreadState* __tstate = wxPyBeginAllowThreads();
5363 result = (wxFileHistory *)new wxFileHistory(arg1);
5364
5365 wxPyEndAllowThreads(__tstate);
5366 if (PyErr_Occurred()) SWIG_fail;
5367 }
5368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
5369 return resultobj;
5370 fail:
5371 return NULL;
5372 }
5373
5374
5375 static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5376 PyObject *resultobj;
5377 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5378 PyObject * obj0 = 0 ;
5379 char *kwnames[] = {
5380 (char *) "self", NULL
5381 };
5382
5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 delete arg1;
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5403 wxString *arg2 = 0 ;
5404 bool temp2 = False ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 char *kwnames[] = {
5408 (char *) "self",(char *) "file", NULL
5409 };
5410
5411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5414 {
5415 arg2 = wxString_in_helper(obj1);
5416 if (arg2 == NULL) SWIG_fail;
5417 temp2 = True;
5418 }
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 (arg1)->AddFileToHistory((wxString const &)*arg2);
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 Py_INCREF(Py_None); resultobj = Py_None;
5427 {
5428 if (temp2)
5429 delete arg2;
5430 }
5431 return resultobj;
5432 fail:
5433 {
5434 if (temp2)
5435 delete arg2;
5436 }
5437 return NULL;
5438 }
5439
5440
5441 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj;
5443 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5444 int arg2 ;
5445 PyObject * obj0 = 0 ;
5446 PyObject * obj1 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self",(char *) "i", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5454 arg2 = (int) SWIG_AsInt(obj1);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 (arg1)->RemoveFileFromHistory(arg2);
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 Py_INCREF(Py_None); resultobj = Py_None;
5464 return resultobj;
5465 fail:
5466 return NULL;
5467 }
5468
5469
5470 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
5471 PyObject *resultobj;
5472 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5473 int result;
5474 PyObject * obj0 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5482 {
5483 PyThreadState* __tstate = wxPyBeginAllowThreads();
5484 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5485
5486 wxPyEndAllowThreads(__tstate);
5487 if (PyErr_Occurred()) SWIG_fail;
5488 }
5489 resultobj = SWIG_FromInt((int)result);
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5497 PyObject *resultobj;
5498 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5499 wxMenu *arg2 = (wxMenu *) 0 ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char *kwnames[] = {
5503 (char *) "self",(char *) "menu", NULL
5504 };
5505
5506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 (arg1)->UseMenu(arg2);
5514
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 Py_INCREF(Py_None); resultobj = Py_None;
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5526 PyObject *resultobj;
5527 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5528 wxMenu *arg2 = (wxMenu *) 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self",(char *) "menu", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 (arg1)->RemoveMenu(arg2);
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 Py_INCREF(Py_None); resultobj = Py_None;
5548 return resultobj;
5549 fail:
5550 return NULL;
5551 }
5552
5553
5554 static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5557 wxConfigBase *arg2 = 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "config", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5567 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5568 SWIG_POINTER_EXCEPTION | 0)) == -1)
5569 SWIG_fail;
5570 if (arg2 == NULL) {
5571 PyErr_SetString(PyExc_TypeError,"null reference");
5572 SWIG_fail;
5573 }
5574 {
5575 PyThreadState* __tstate = wxPyBeginAllowThreads();
5576 (arg1)->Load(*arg2);
5577
5578 wxPyEndAllowThreads(__tstate);
5579 if (PyErr_Occurred()) SWIG_fail;
5580 }
5581 Py_INCREF(Py_None); resultobj = Py_None;
5582 return resultobj;
5583 fail:
5584 return NULL;
5585 }
5586
5587
5588 static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
5589 PyObject *resultobj;
5590 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5591 wxConfigBase *arg2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self",(char *) "config", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxConfigBase,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1)
5603 SWIG_fail;
5604 if (arg2 == NULL) {
5605 PyErr_SetString(PyExc_TypeError,"null reference");
5606 SWIG_fail;
5607 }
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 (arg1)->Save(*arg2);
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 Py_INCREF(Py_None); resultobj = Py_None;
5616 return resultobj;
5617 fail:
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5625 PyObject * obj0 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->AddFilesToMenu();
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 return resultobj;
5642 fail:
5643 return NULL;
5644 }
5645
5646
5647 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5650 wxMenu *arg2 = (wxMenu *) 0 ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self",(char *) "menu", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
5661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->AddFilesToMenu(arg2);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5679 int arg2 ;
5680 wxString result;
5681 PyObject * obj0 = 0 ;
5682 PyObject * obj1 = 0 ;
5683 char *kwnames[] = {
5684 (char *) "self",(char *) "i", NULL
5685 };
5686
5687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5690 arg2 = (int) SWIG_AsInt(obj1);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 {
5700 #if wxUSE_UNICODE
5701 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5702 #else
5703 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5704 #endif
5705 }
5706 return resultobj;
5707 fail:
5708 return NULL;
5709 }
5710
5711
5712 static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5715 int result;
5716 PyObject * obj0 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileHistory,
5723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (int)((wxFileHistory const *)arg1)->GetCount();
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 resultobj = SWIG_FromInt((int)result);
5732 return resultobj;
5733 fail:
5734 return NULL;
5735 }
5736
5737
5738 static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
5739 PyObject *obj;
5740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5741 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5742 Py_INCREF(obj);
5743 return Py_BuildValue((char *)"");
5744 }
5745 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxString *arg1 = 0 ;
5748 wxString const &arg2_defvalue = wxPyEmptyString ;
5749 wxString *arg2 = (wxString *) &arg2_defvalue ;
5750 wxSingleInstanceChecker *result;
5751 bool temp1 = False ;
5752 bool temp2 = False ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "name",(char *) "path", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5760 {
5761 arg1 = wxString_in_helper(obj0);
5762 if (arg1 == NULL) SWIG_fail;
5763 temp1 = True;
5764 }
5765 if (obj1) {
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
5769 temp2 = True;
5770 }
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5780 {
5781 if (temp1)
5782 delete arg1;
5783 }
5784 {
5785 if (temp2)
5786 delete arg2;
5787 }
5788 return resultobj;
5789 fail:
5790 {
5791 if (temp1)
5792 delete arg1;
5793 }
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxSingleInstanceChecker *result;
5805 char *kwnames[] = {
5806 NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5827 PyObject * obj0 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 delete arg1;
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 Py_INCREF(Py_None); resultobj = Py_None;
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5852 wxString *arg2 = 0 ;
5853 wxString const &arg3_defvalue = wxPyEmptyString ;
5854 wxString *arg3 = (wxString *) &arg3_defvalue ;
5855 bool result;
5856 bool temp2 = False ;
5857 bool temp3 = False ;
5858 PyObject * obj0 = 0 ;
5859 PyObject * obj1 = 0 ;
5860 PyObject * obj2 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self",(char *) "name",(char *) "path", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5868 {
5869 arg2 = wxString_in_helper(obj1);
5870 if (arg2 == NULL) SWIG_fail;
5871 temp2 = True;
5872 }
5873 if (obj2) {
5874 {
5875 arg3 = wxString_in_helper(obj2);
5876 if (arg3 == NULL) SWIG_fail;
5877 temp3 = True;
5878 }
5879 }
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 {
5888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5889 }
5890 {
5891 if (temp2)
5892 delete arg2;
5893 }
5894 {
5895 if (temp3)
5896 delete arg3;
5897 }
5898 return resultobj;
5899 fail:
5900 {
5901 if (temp2)
5902 delete arg2;
5903 }
5904 {
5905 if (temp3)
5906 delete arg3;
5907 }
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5915 bool result;
5916 PyObject * obj0 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSingleInstanceChecker,
5923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5924 {
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5927
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 {
5932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5933 }
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
5941 PyObject *obj;
5942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5944 Py_INCREF(obj);
5945 return Py_BuildValue((char *)"");
5946 }
5947 static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj;
5949 wxWindow *arg1 = (wxWindow *) 0 ;
5950 wxDC *arg2 = 0 ;
5951 int arg3 ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
5954 PyObject * obj2 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "window",(char *) "dc",(char *) "method", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
5963 SWIG_POINTER_EXCEPTION | 0)) == -1)
5964 SWIG_fail;
5965 if (arg2 == NULL) {
5966 PyErr_SetString(PyExc_TypeError,"null reference");
5967 SWIG_fail;
5968 }
5969 arg3 = (int) SWIG_AsInt(obj2);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 delete arg1;
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6013 wxString result;
6014 PyObject * obj0 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (arg1)->GetTip();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 {
6030 #if wxUSE_UNICODE
6031 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6032 #else
6033 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6034 #endif
6035 }
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6045 size_t result;
6046 PyObject * obj0 = 0 ;
6047 char *kwnames[] = {
6048 (char *) "self", NULL
6049 };
6050
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
6052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (size_t)(arg1)->GetCurrentTip();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
6071 wxString *arg2 = 0 ;
6072 wxString result;
6073 bool temp2 = False ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char *kwnames[] = {
6077 (char *) "self",(char *) "tip", NULL
6078 };
6079
6080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
6081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTipProvider,
6082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6083 {
6084 arg2 = wxString_in_helper(obj1);
6085 if (arg2 == NULL) SWIG_fail;
6086 temp2 = True;
6087 }
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (arg1)->PreprocessTip((wxString const &)*arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 {
6096 #if wxUSE_UNICODE
6097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6098 #else
6099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6100 #endif
6101 }
6102 {
6103 if (temp2)
6104 delete arg2;
6105 }
6106 return resultobj;
6107 fail:
6108 {
6109 if (temp2)
6110 delete arg2;
6111 }
6112 return NULL;
6113 }
6114
6115
6116 static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
6117 PyObject *obj;
6118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6119 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
6120 Py_INCREF(obj);
6121 return Py_BuildValue((char *)"");
6122 }
6123 static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 size_t arg1 ;
6126 wxPyTipProvider *result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "currentTip", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
6133 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
6152 PyObject *arg2 = (PyObject *) 0 ;
6153 PyObject *arg3 = (PyObject *) 0 ;
6154 PyObject * obj0 = 0 ;
6155 PyObject * obj1 = 0 ;
6156 PyObject * obj2 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "self",(char *) "_class", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTipProvider,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6164 arg2 = obj1;
6165 arg3 = obj2;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 (arg1)->_setCallbackInfo(arg2,arg3);
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 Py_INCREF(Py_None); resultobj = Py_None;
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
6181 PyObject *obj;
6182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
6184 Py_INCREF(obj);
6185 return Py_BuildValue((char *)"");
6186 }
6187 static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxWindow *arg1 = (wxWindow *) 0 ;
6190 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6191 bool arg3 = (bool) True ;
6192 bool result;
6193 PyObject * obj0 = 0 ;
6194 PyObject * obj1 = 0 ;
6195 PyObject * obj2 = 0 ;
6196 char *kwnames[] = {
6197 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6198 };
6199
6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTipProvider,
6204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6205 if (obj2) {
6206 arg3 = (bool) SWIG_AsBool(obj2);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)wxShowTip(arg1,arg2,arg3);
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 {
6217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6218 }
6219 return resultobj;
6220 fail:
6221 return NULL;
6222 }
6223
6224
6225 static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxString *arg1 = 0 ;
6228 size_t arg2 ;
6229 wxTipProvider *result;
6230 bool temp1 = False ;
6231 PyObject * obj0 = 0 ;
6232 PyObject * obj1 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "filename",(char *) "currentTip", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6238 {
6239 arg1 = wxString_in_helper(obj0);
6240 if (arg1 == NULL) SWIG_fail;
6241 temp1 = True;
6242 }
6243 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
6253 {
6254 if (temp1)
6255 delete arg1;
6256 }
6257 return resultobj;
6258 fail:
6259 {
6260 if (temp1)
6261 delete arg1;
6262 }
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6270 int arg2 = (int) -1 ;
6271 wxPyTimer *result;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "owner",(char *) "id", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6279 if (obj0) {
6280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
6281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6282 }
6283 if (obj1) {
6284 arg2 = (int) SWIG_AsInt(obj1);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
6295 return resultobj;
6296 fail:
6297 return NULL;
6298 }
6299
6300
6301 static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj;
6303 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6304 PyObject * obj0 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 delete arg1;
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323 }
6324
6325
6326 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6329 PyObject *arg2 = (PyObject *) 0 ;
6330 PyObject *arg3 = (PyObject *) 0 ;
6331 int arg4 = (int) 1 ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj2 = 0 ;
6335 PyObject * obj3 = 0 ;
6336 char *kwnames[] = {
6337 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6338 };
6339
6340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
6341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6343 arg2 = obj1;
6344 arg3 = obj2;
6345 if (obj3) {
6346 arg4 = (int) SWIG_AsInt(obj3);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 Py_INCREF(Py_None); resultobj = Py_None;
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6366 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6367 int arg3 = (int) -1 ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 PyObject * obj2 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "owner",(char *) "id", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
6379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6380 if (obj2) {
6381 arg3 = (int) SWIG_AsInt(obj2);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->SetOwner(arg2,arg3);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6401 int arg2 = (int) -1 ;
6402 bool arg3 = (bool) False ;
6403 bool result;
6404 PyObject * obj0 = 0 ;
6405 PyObject * obj1 = 0 ;
6406 PyObject * obj2 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6414 if (obj1) {
6415 arg2 = (int) SWIG_AsInt(obj1);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 if (obj2) {
6419 arg3 = (bool) SWIG_AsBool(obj2);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (bool)(arg1)->Start(arg2,arg3);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 {
6430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6431 }
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6441 PyObject * obj0 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->Stop();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6466 bool result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6484 }
6485 return resultobj;
6486 fail:
6487 return NULL;
6488 }
6489
6490
6491 static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj;
6493 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6494 int result;
6495 PyObject * obj0 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 resultobj = SWIG_FromInt((int)result);
6511 return resultobj;
6512 fail:
6513 return NULL;
6514 }
6515
6516
6517 static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6520 bool result;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) SWIG_fail;
6535 }
6536 {
6537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6538 }
6539 return resultobj;
6540 fail:
6541 return NULL;
6542 }
6543
6544
6545 static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6548 int result;
6549 PyObject * obj0 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTimer,
6556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (int)((wxPyTimer const *)arg1)->GetId();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 resultobj = SWIG_FromInt((int)result);
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
6572 PyObject *obj;
6573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6574 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6575 Py_INCREF(obj);
6576 return Py_BuildValue((char *)"");
6577 }
6578 static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
6579 PyObject *resultobj;
6580 int arg1 = (int) 0 ;
6581 int arg2 = (int) 0 ;
6582 wxTimerEvent *result;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "timerid",(char *) "interval", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6590 if (obj0) {
6591 arg1 = (int) SWIG_AsInt(obj0);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 if (obj1) {
6595 arg2 = (int) SWIG_AsInt(obj1);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
6606 return resultobj;
6607 fail:
6608 return NULL;
6609 }
6610
6611
6612 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6615 int result;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerEvent,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = SWIG_FromInt((int)result);
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
6639 PyObject *obj;
6640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6642 Py_INCREF(obj);
6643 return Py_BuildValue((char *)"");
6644 }
6645 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
6646 PyObject *resultobj;
6647 wxTimer *arg1 = 0 ;
6648 wxTimerRunner *result;
6649 PyObject * obj0 = 0 ;
6650
6651 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1)
6654 SWIG_fail;
6655 if (arg1 == NULL) {
6656 PyErr_SetString(PyExc_TypeError,"null reference");
6657 SWIG_fail;
6658 }
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6667 return resultobj;
6668 fail:
6669 return NULL;
6670 }
6671
6672
6673 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
6674 PyObject *resultobj;
6675 wxTimer *arg1 = 0 ;
6676 int arg2 ;
6677 bool arg3 = (bool) False ;
6678 wxTimerRunner *result;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 PyObject * obj2 = 0 ;
6682
6683 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimer,
6685 SWIG_POINTER_EXCEPTION | 0)) == -1)
6686 SWIG_fail;
6687 if (arg1 == NULL) {
6688 PyErr_SetString(PyExc_TypeError,"null reference");
6689 SWIG_fail;
6690 }
6691 arg2 = (int) SWIG_AsInt(obj1);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 if (obj2) {
6694 arg3 = (bool) SWIG_AsBool(obj2);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6712 int argc;
6713 PyObject *argv[4];
6714 int ii;
6715
6716 argc = PyObject_Length(args);
6717 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6718 argv[ii] = PyTuple_GetItem(args,ii);
6719 }
6720 if (argc == 1) {
6721 int _v;
6722 {
6723 void *ptr;
6724 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6725 _v = 0;
6726 PyErr_Clear();
6727 } else {
6728 _v = 1;
6729 }
6730 }
6731 if (_v) {
6732 return _wrap_new_TimerRunner__SWIG_0(self,args);
6733 }
6734 }
6735 if ((argc >= 2) && (argc <= 3)) {
6736 int _v;
6737 {
6738 void *ptr;
6739 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6740 _v = 0;
6741 PyErr_Clear();
6742 } else {
6743 _v = 1;
6744 }
6745 }
6746 if (_v) {
6747 _v = SWIG_CheckInt(argv[1]);
6748 if (_v) {
6749 if (argc <= 2) {
6750 return _wrap_new_TimerRunner__SWIG_1(self,args);
6751 }
6752 _v = SWIG_CheckBool(argv[2]);
6753 if (_v) {
6754 return _wrap_new_TimerRunner__SWIG_1(self,args);
6755 }
6756 }
6757 }
6758 }
6759
6760 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 delete arg1;
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6793 int arg2 ;
6794 bool arg3 = (bool) False ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj1 = 0 ;
6797 PyObject * obj2 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimerRunner,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 arg2 = (int) SWIG_AsInt(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 if (obj2) {
6808 arg3 = (bool) SWIG_AsBool(obj2);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 {
6812 PyThreadState* __tstate = wxPyBeginAllowThreads();
6813 (arg1)->Start(arg2,arg3);
6814
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 Py_INCREF(Py_None); resultobj = Py_None;
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
6826 PyObject *obj;
6827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6829 Py_INCREF(obj);
6830 return Py_BuildValue((char *)"");
6831 }
6832 static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxLog *result;
6835 char *kwnames[] = {
6836 NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxLog *)new wxLog();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
6848 return resultobj;
6849 fail:
6850 return NULL;
6851 }
6852
6853
6854 static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 bool result;
6857 char *kwnames[] = {
6858 NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 result = (bool)wxLog::IsEnabled();
6865
6866 wxPyEndAllowThreads(__tstate);
6867 if (PyErr_Occurred()) SWIG_fail;
6868 }
6869 {
6870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6871 }
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 bool arg1 = (bool) True ;
6881 bool result;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "doIt", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6888 if (obj0) {
6889 arg1 = (bool) SWIG_AsBool(obj0);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (bool)wxLog::EnableLogging(arg1);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 {
6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6901 }
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxLogLevel arg1 ;
6911 wxChar *arg2 = (wxChar *) 0 ;
6912 time_t arg3 ;
6913 PyObject * obj0 = 0 ;
6914 PyObject * obj1 = 0 ;
6915 PyObject * obj2 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "level",(char *) "szString",(char *) "t", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6921 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxChar,
6924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6925 arg3 = (time_t) SWIG_AsUnsignedInt(obj2);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxLog *arg1 = (wxLog *) 0 ;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
6951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 (arg1)->Flush();
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 Py_INCREF(Py_None); resultobj = Py_None;
6960 return resultobj;
6961 fail:
6962 return NULL;
6963 }
6964
6965
6966 static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 char *kwnames[] = {
6969 NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 wxLog::FlushActive();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 Py_INCREF(Py_None); resultobj = Py_None;
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxLog *result;
6990 char *kwnames[] = {
6991 NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 result = (wxLog *)wxLog::GetActiveTarget();
6998
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
7002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7003 return resultobj;
7004 fail:
7005 return NULL;
7006 }
7007
7008
7009 static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj;
7011 wxLog *arg1 = (wxLog *) 0 ;
7012 wxLog *result;
7013 PyObject * obj0 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "pLogger", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (wxLog *)wxLog::SetActiveTarget(arg1);
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 char *kwnames[] = {
7038 NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 wxLog::Suspend();
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 char *kwnames[] = {
7059 NULL
7060 };
7061
7062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 wxLog::Resume();
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 Py_INCREF(Py_None); resultobj = Py_None;
7071 return resultobj;
7072 fail:
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 bool arg1 = (bool) True ;
7080 PyObject * obj0 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "bVerbose", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
7086 if (obj0) {
7087 arg1 = (bool) SWIG_AsBool(obj0);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 wxLog::SetVerbose(arg1);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxLogLevel arg1 ;
7107 PyObject * obj0 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "logLevel", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
7113 arg1 = (wxLogLevel) SWIG_AsUnsignedLong(obj0);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 wxLog::SetLogLevel(arg1);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 char *kwnames[] = {
7132 NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 wxLog::DontCreateOnDemand();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 return resultobj;
7145 fail:
7146 return NULL;
7147 }
7148
7149
7150 static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7151 PyObject *resultobj;
7152 wxTraceMask arg1 ;
7153 PyObject * obj0 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "ulMask", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
7159 arg1 = (wxTraceMask) SWIG_AsUnsignedLong(obj0);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 wxLog::SetTraceMask(arg1);
7164
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 Py_INCREF(Py_None); resultobj = Py_None;
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj;
7177 wxString *arg1 = 0 ;
7178 bool temp1 = False ;
7179 PyObject * obj0 = 0 ;
7180 char *kwnames[] = {
7181 (char *) "str", NULL
7182 };
7183
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7185 {
7186 arg1 = wxString_in_helper(obj0);
7187 if (arg1 == NULL) SWIG_fail;
7188 temp1 = True;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 wxLog::AddTraceMask((wxString const &)*arg1);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 Py_INCREF(Py_None); resultobj = Py_None;
7198 {
7199 if (temp1)
7200 delete arg1;
7201 }
7202 return resultobj;
7203 fail:
7204 {
7205 if (temp1)
7206 delete arg1;
7207 }
7208 return NULL;
7209 }
7210
7211
7212 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxString *arg1 = 0 ;
7215 bool temp1 = False ;
7216 PyObject * obj0 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "str", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7222 {
7223 arg1 = wxString_in_helper(obj0);
7224 if (arg1 == NULL) SWIG_fail;
7225 temp1 = True;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 wxLog::RemoveTraceMask((wxString const &)*arg1);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 Py_INCREF(Py_None); resultobj = Py_None;
7235 {
7236 if (temp1)
7237 delete arg1;
7238 }
7239 return resultobj;
7240 fail:
7241 {
7242 if (temp1)
7243 delete arg1;
7244 }
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 char *kwnames[] = {
7252 NULL
7253 };
7254
7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 wxLog::ClearTraceMasks();
7259
7260 wxPyEndAllowThreads(__tstate);
7261 if (PyErr_Occurred()) SWIG_fail;
7262 }
7263 Py_INCREF(Py_None); resultobj = Py_None;
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxArrayString *result;
7273 char *kwnames[] = {
7274 NULL
7275 };
7276
7277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 {
7281 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7282 result = (wxArrayString *) &_result_ref;
7283 }
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 {
7289 resultobj = wxArrayString2PyList_helper(*result);
7290 }
7291 return resultobj;
7292 fail:
7293 return NULL;
7294 }
7295
7296
7297 static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7298 PyObject *resultobj;
7299 wxChar *arg1 = (wxChar *) 0 ;
7300 PyObject * obj0 = 0 ;
7301 char *kwnames[] = {
7302 (char *) "ts", NULL
7303 };
7304
7305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 wxLog::SetTimestamp((wxChar const *)arg1);
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 bool result;
7325 char *kwnames[] = {
7326 NULL
7327 };
7328
7329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7330 {
7331 PyThreadState* __tstate = wxPyBeginAllowThreads();
7332 result = (bool)wxLog::GetVerbose();
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 {
7338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7339 }
7340 return resultobj;
7341 fail:
7342 return NULL;
7343 }
7344
7345
7346 static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxTraceMask result;
7349 char *kwnames[] = {
7350 NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (wxTraceMask)wxLog::GetTraceMask();
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7362 return resultobj;
7363 fail:
7364 return NULL;
7365 }
7366
7367
7368 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7369 PyObject *resultobj;
7370 wxChar *arg1 = (wxChar *) 0 ;
7371 bool result;
7372 PyObject * obj0 = 0 ;
7373 char *kwnames[] = {
7374 (char *) "mask", NULL
7375 };
7376
7377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChar,
7379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 {
7388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7389 }
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxLogLevel result;
7399 char *kwnames[] = {
7400 NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 result = (wxLogLevel)wxLog::GetLogLevel();
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7412 return resultobj;
7413 fail:
7414 return NULL;
7415 }
7416
7417
7418 static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxChar *result;
7421 char *kwnames[] = {
7422 NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxChar *)wxLog::GetTimestamp();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxString result;
7443 char *kwnames[] = {
7444 NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = Log_TimeStamp();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 {
7456 #if wxUSE_UNICODE
7457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7458 #else
7459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7460 #endif
7461 }
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxLog *arg1 = (wxLog *) 0 ;
7471 PyObject * obj0 = 0 ;
7472 char *kwnames[] = {
7473 (char *) "self", NULL
7474 };
7475
7476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7479 {
7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
7481 wxLog_Destroy(arg1);
7482
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 Py_INCREF(Py_None); resultobj = Py_None;
7487 return resultobj;
7488 fail:
7489 return NULL;
7490 }
7491
7492
7493 static PyObject * Log_swigregister(PyObject *, PyObject *args) {
7494 PyObject *obj;
7495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7497 Py_INCREF(obj);
7498 return Py_BuildValue((char *)"");
7499 }
7500 static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxLogStderr *result;
7503 char *kwnames[] = {
7504 NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (wxLogStderr *)new wxLogStderr();
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
7523 PyObject *obj;
7524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7526 Py_INCREF(obj);
7527 return Py_BuildValue((char *)"");
7528 }
7529 static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7530 PyObject *resultobj;
7531 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7532 wxLogTextCtrl *result;
7533 PyObject * obj0 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "pTextCtrl", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
7556 PyObject *obj;
7557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7558 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7559 Py_INCREF(obj);
7560 return Py_BuildValue((char *)"");
7561 }
7562 static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
7563 PyObject *resultobj;
7564 wxLogGui *result;
7565 char *kwnames[] = {
7566 NULL
7567 };
7568
7569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (wxLogGui *)new wxLogGui();
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
7578 return resultobj;
7579 fail:
7580 return NULL;
7581 }
7582
7583
7584 static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
7585 PyObject *obj;
7586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7588 Py_INCREF(obj);
7589 return Py_BuildValue((char *)"");
7590 }
7591 static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxFrame *arg1 = (wxFrame *) 0 ;
7594 wxString *arg2 = 0 ;
7595 bool arg3 = (bool) True ;
7596 bool arg4 = (bool) True ;
7597 wxLogWindow *result;
7598 bool temp2 = False ;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 PyObject * obj2 = 0 ;
7602 PyObject * obj3 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
7609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7610 {
7611 arg2 = wxString_in_helper(obj1);
7612 if (arg2 == NULL) SWIG_fail;
7613 temp2 = True;
7614 }
7615 if (obj2) {
7616 arg3 = (bool) SWIG_AsBool(obj2);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 if (obj3) {
7620 arg4 = (bool) SWIG_AsBool(obj3);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
7631 {
7632 if (temp2)
7633 delete arg2;
7634 }
7635 return resultobj;
7636 fail:
7637 {
7638 if (temp2)
7639 delete arg2;
7640 }
7641 return NULL;
7642 }
7643
7644
7645 static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7646 PyObject *resultobj;
7647 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7648 bool arg2 = (bool) True ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self",(char *) "bShow", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7658 if (obj1) {
7659 arg2 = (bool) SWIG_AsBool(obj1);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->Show(arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7679 wxFrame *result;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 {
7696 resultobj = wxPyMake_wxObject(result);
7697 }
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7707 wxLog *result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7724 return resultobj;
7725 fail:
7726 return NULL;
7727 }
7728
7729
7730 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7733 bool result;
7734 PyObject * obj0 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 {
7750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7751 }
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7761 bool arg2 ;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "bDoPass", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogWindow,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 arg2 = (bool) SWIG_AsBool(obj1);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 {
7774 PyThreadState* __tstate = wxPyBeginAllowThreads();
7775 (arg1)->PassMessages(arg2);
7776
7777 wxPyEndAllowThreads(__tstate);
7778 if (PyErr_Occurred()) SWIG_fail;
7779 }
7780 Py_INCREF(Py_None); resultobj = Py_None;
7781 return resultobj;
7782 fail:
7783 return NULL;
7784 }
7785
7786
7787 static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
7788 PyObject *obj;
7789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7790 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7791 Py_INCREF(obj);
7792 return Py_BuildValue((char *)"");
7793 }
7794 static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxLog *arg1 = (wxLog *) 0 ;
7797 wxLogChain *result;
7798 PyObject * obj0 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "logger", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLog,
7805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 result = (wxLogChain *)new wxLogChain(arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
7814 return resultobj;
7815 fail:
7816 return NULL;
7817 }
7818
7819
7820 static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj;
7822 wxLogChain *arg1 = (wxLogChain *) 0 ;
7823 wxLog *arg2 = (wxLog *) 0 ;
7824 PyObject * obj0 = 0 ;
7825 PyObject * obj1 = 0 ;
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "logger", NULL
7828 };
7829
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLog,
7834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetLog(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxLogChain *arg1 = (wxLogChain *) 0 ;
7852 bool arg2 ;
7853 PyObject * obj0 = 0 ;
7854 PyObject * obj1 = 0 ;
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "bDoPass", NULL
7857 };
7858
7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7862 arg2 = (bool) SWIG_AsBool(obj1);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 (arg1)->PassMessages(arg2);
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 Py_INCREF(Py_None); resultobj = Py_None;
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxLogChain *arg1 = (wxLogChain *) 0 ;
7881 bool result;
7882 PyObject * obj0 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (bool)(arg1)->IsPassingMessages();
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7899 }
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxLogChain *arg1 = (wxLogChain *) 0 ;
7909 wxLog *result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogChain,
7917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (wxLog *)(arg1)->GetOldLog();
7921
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
7933 PyObject *obj;
7934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7936 Py_INCREF(obj);
7937 return Py_BuildValue((char *)"");
7938 }
7939 static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 unsigned long result;
7942 char *kwnames[] = {
7943 NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 result = (unsigned long)wxSysErrorCode();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 unsigned long arg1 = (unsigned long) 0 ;
7964 wxString result;
7965 PyObject * obj0 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "nErrCode", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7971 if (obj0) {
7972 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = wxSysErrorMsg(arg1);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983 #if wxUSE_UNICODE
7984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7985 #else
7986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7987 #endif
7988 }
7989 return resultobj;
7990 fail:
7991 return NULL;
7992 }
7993
7994
7995 static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj;
7997 wxString *arg1 = 0 ;
7998 bool temp1 = False ;
7999 PyObject * obj0 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "msg", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
8005 {
8006 arg1 = wxString_in_helper(obj0);
8007 if (arg1 == NULL) SWIG_fail;
8008 temp1 = True;
8009 }
8010 {
8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
8012 wxLogFatalError((wxString const &)*arg1);
8013
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 Py_INCREF(Py_None); resultobj = Py_None;
8018 {
8019 if (temp1)
8020 delete arg1;
8021 }
8022 return resultobj;
8023 fail:
8024 {
8025 if (temp1)
8026 delete arg1;
8027 }
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxString *arg1 = 0 ;
8035 bool temp1 = False ;
8036 PyObject * obj0 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "msg", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
8042 {
8043 arg1 = wxString_in_helper(obj0);
8044 if (arg1 == NULL) SWIG_fail;
8045 temp1 = True;
8046 }
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 wxLogError((wxString const &)*arg1);
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 Py_INCREF(Py_None); resultobj = Py_None;
8055 {
8056 if (temp1)
8057 delete arg1;
8058 }
8059 return resultobj;
8060 fail:
8061 {
8062 if (temp1)
8063 delete arg1;
8064 }
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxString *arg1 = 0 ;
8072 bool temp1 = False ;
8073 PyObject * obj0 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "msg", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
8079 {
8080 arg1 = wxString_in_helper(obj0);
8081 if (arg1 == NULL) SWIG_fail;
8082 temp1 = True;
8083 }
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 wxLogWarning((wxString const &)*arg1);
8087
8088 wxPyEndAllowThreads(__tstate);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 }
8091 Py_INCREF(Py_None); resultobj = Py_None;
8092 {
8093 if (temp1)
8094 delete arg1;
8095 }
8096 return resultobj;
8097 fail:
8098 {
8099 if (temp1)
8100 delete arg1;
8101 }
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxString *arg1 = 0 ;
8109 bool temp1 = False ;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "msg", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
8116 {
8117 arg1 = wxString_in_helper(obj0);
8118 if (arg1 == NULL) SWIG_fail;
8119 temp1 = True;
8120 }
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 wxLogMessage((wxString const &)*arg1);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 {
8130 if (temp1)
8131 delete arg1;
8132 }
8133 return resultobj;
8134 fail:
8135 {
8136 if (temp1)
8137 delete arg1;
8138 }
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxString *arg1 = 0 ;
8146 bool temp1 = False ;
8147 PyObject * obj0 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "msg", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
8153 {
8154 arg1 = wxString_in_helper(obj0);
8155 if (arg1 == NULL) SWIG_fail;
8156 temp1 = True;
8157 }
8158 {
8159 PyThreadState* __tstate = wxPyBeginAllowThreads();
8160 wxLogInfo((wxString const &)*arg1);
8161
8162 wxPyEndAllowThreads(__tstate);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 }
8165 Py_INCREF(Py_None); resultobj = Py_None;
8166 {
8167 if (temp1)
8168 delete arg1;
8169 }
8170 return resultobj;
8171 fail:
8172 {
8173 if (temp1)
8174 delete arg1;
8175 }
8176 return NULL;
8177 }
8178
8179
8180 static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
8181 PyObject *resultobj;
8182 wxString *arg1 = 0 ;
8183 bool temp1 = False ;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "msg", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8190 {
8191 arg1 = wxString_in_helper(obj0);
8192 if (arg1 == NULL) SWIG_fail;
8193 temp1 = True;
8194 }
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 wxLogDebug((wxString const &)*arg1);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 {
8204 if (temp1)
8205 delete arg1;
8206 }
8207 return resultobj;
8208 fail:
8209 {
8210 if (temp1)
8211 delete arg1;
8212 }
8213 return NULL;
8214 }
8215
8216
8217 static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 wxString *arg1 = 0 ;
8220 bool temp1 = False ;
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "msg", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8227 {
8228 arg1 = wxString_in_helper(obj0);
8229 if (arg1 == NULL) SWIG_fail;
8230 temp1 = True;
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 wxLogVerbose((wxString const &)*arg1);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 Py_INCREF(Py_None); resultobj = Py_None;
8240 {
8241 if (temp1)
8242 delete arg1;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp1)
8248 delete arg1;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxString *arg1 = 0 ;
8257 bool temp1 = False ;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "msg", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8264 {
8265 arg1 = wxString_in_helper(obj0);
8266 if (arg1 == NULL) SWIG_fail;
8267 temp1 = True;
8268 }
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 wxLogStatus((wxString const &)*arg1);
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 {
8278 if (temp1)
8279 delete arg1;
8280 }
8281 return resultobj;
8282 fail:
8283 {
8284 if (temp1)
8285 delete arg1;
8286 }
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxFrame *arg1 = (wxFrame *) 0 ;
8294 wxString *arg2 = 0 ;
8295 bool temp2 = False ;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "pFrame",(char *) "msg", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFrame,
8304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8305 {
8306 arg2 = wxString_in_helper(obj1);
8307 if (arg2 == NULL) SWIG_fail;
8308 temp2 = True;
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 wxLogStatus(arg1,(wxString const &)*arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 {
8319 if (temp2)
8320 delete arg2;
8321 }
8322 return resultobj;
8323 fail:
8324 {
8325 if (temp2)
8326 delete arg2;
8327 }
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxString *arg1 = 0 ;
8335 bool temp1 = False ;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "msg", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8342 {
8343 arg1 = wxString_in_helper(obj0);
8344 if (arg1 == NULL) SWIG_fail;
8345 temp1 = True;
8346 }
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 wxLogSysError((wxString const &)*arg1);
8350
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 Py_INCREF(Py_None); resultobj = Py_None;
8355 {
8356 if (temp1)
8357 delete arg1;
8358 }
8359 return resultobj;
8360 fail:
8361 {
8362 if (temp1)
8363 delete arg1;
8364 }
8365 return NULL;
8366 }
8367
8368
8369 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
8370 PyObject *resultobj;
8371 unsigned long arg1 ;
8372 wxString *arg2 = 0 ;
8373 bool temp2 = False ;
8374 PyObject * obj0 = 0 ;
8375 PyObject * obj1 = 0 ;
8376
8377 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8378 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 {
8381 arg2 = wxString_in_helper(obj1);
8382 if (arg2 == NULL) SWIG_fail;
8383 temp2 = True;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 wxLogTrace(arg1,(wxString const &)*arg2);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return resultobj;
8398 fail:
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
8408 PyObject *resultobj;
8409 wxString *arg1 = 0 ;
8410 wxString *arg2 = 0 ;
8411 bool temp1 = False ;
8412 bool temp2 = False ;
8413 PyObject * obj0 = 0 ;
8414 PyObject * obj1 = 0 ;
8415
8416 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8417 {
8418 arg1 = wxString_in_helper(obj0);
8419 if (arg1 == NULL) SWIG_fail;
8420 temp1 = True;
8421 }
8422 {
8423 arg2 = wxString_in_helper(obj1);
8424 if (arg2 == NULL) SWIG_fail;
8425 temp2 = True;
8426 }
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 Py_INCREF(Py_None); resultobj = Py_None;
8435 {
8436 if (temp1)
8437 delete arg1;
8438 }
8439 {
8440 if (temp2)
8441 delete arg2;
8442 }
8443 return resultobj;
8444 fail:
8445 {
8446 if (temp1)
8447 delete arg1;
8448 }
8449 {
8450 if (temp2)
8451 delete arg2;
8452 }
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8458 int argc;
8459 PyObject *argv[3];
8460 int ii;
8461
8462 argc = PyObject_Length(args);
8463 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8464 argv[ii] = PyTuple_GetItem(args,ii);
8465 }
8466 if (argc == 2) {
8467 int _v;
8468 {
8469 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8470 }
8471 if (_v) {
8472 {
8473 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8474 }
8475 if (_v) {
8476 return _wrap_LogTrace__SWIG_1(self,args);
8477 }
8478 }
8479 }
8480 if (argc == 2) {
8481 int _v;
8482 _v = SWIG_CheckUnsignedLong(argv[0]);
8483 if (_v) {
8484 {
8485 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8486 }
8487 if (_v) {
8488 return _wrap_LogTrace__SWIG_0(self,args);
8489 }
8490 }
8491 }
8492
8493 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8494 return NULL;
8495 }
8496
8497
8498 static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 unsigned long arg1 ;
8501 wxString *arg2 = 0 ;
8502 bool temp2 = False ;
8503 PyObject * obj0 = 0 ;
8504 PyObject * obj1 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "level",(char *) "msg", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8510 arg1 = (unsigned long) SWIG_AsUnsignedLong(obj0);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 {
8513 arg2 = wxString_in_helper(obj1);
8514 if (arg2 == NULL) SWIG_fail;
8515 temp2 = True;
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 wxLogGeneric(arg1,(wxString const &)*arg2);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 Py_INCREF(Py_None); resultobj = Py_None;
8525 {
8526 if (temp2)
8527 delete arg2;
8528 }
8529 return resultobj;
8530 fail:
8531 {
8532 if (temp2)
8533 delete arg2;
8534 }
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxString *arg1 = 0 ;
8542 wxString *arg2 = 0 ;
8543 bool temp1 = False ;
8544 bool temp2 = False ;
8545 PyObject * obj0 = 0 ;
8546 PyObject * obj1 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "title",(char *) "text", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8552 {
8553 arg1 = wxString_in_helper(obj0);
8554 if (arg1 == NULL) SWIG_fail;
8555 temp1 = True;
8556 }
8557 {
8558 arg2 = wxString_in_helper(obj1);
8559 if (arg2 == NULL) SWIG_fail;
8560 temp2 = True;
8561 }
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 Py_INCREF(Py_None); resultobj = Py_None;
8570 {
8571 if (temp1)
8572 delete arg1;
8573 }
8574 {
8575 if (temp2)
8576 delete arg2;
8577 }
8578 return resultobj;
8579 fail:
8580 {
8581 if (temp1)
8582 delete arg1;
8583 }
8584 {
8585 if (temp2)
8586 delete arg2;
8587 }
8588 return NULL;
8589 }
8590
8591
8592 static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
8593 PyObject *resultobj;
8594 wxLogNull *result;
8595 char *kwnames[] = {
8596 NULL
8597 };
8598
8599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 result = (wxLogNull *)new wxLogNull();
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxLogNull *arg1 = (wxLogNull *) 0 ;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLogNull,
8624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 delete arg1;
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 return resultobj;
8634 fail:
8635 return NULL;
8636 }
8637
8638
8639 static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
8640 PyObject *obj;
8641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8643 Py_INCREF(obj);
8644 return Py_BuildValue((char *)"");
8645 }
8646 static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxPyLog *result;
8649 char *kwnames[] = {
8650 NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (wxPyLog *)new wxPyLog();
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
8662 return resultobj;
8663 fail:
8664 return NULL;
8665 }
8666
8667
8668 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxPyLog *arg1 = (wxPyLog *) 0 ;
8671 PyObject *arg2 = (PyObject *) 0 ;
8672 PyObject *arg3 = (PyObject *) 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 PyObject * obj2 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self",(char *) "self",(char *) "_class", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyLog,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8683 arg2 = obj1;
8684 arg3 = obj2;
8685 {
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 (arg1)->_setCallbackInfo(arg2,arg3);
8688
8689 wxPyEndAllowThreads(__tstate);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 }
8692 Py_INCREF(Py_None); resultobj = Py_None;
8693 return resultobj;
8694 fail:
8695 return NULL;
8696 }
8697
8698
8699 static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
8700 PyObject *obj;
8701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8703 Py_INCREF(obj);
8704 return Py_BuildValue((char *)"");
8705 }
8706 static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 int arg1 ;
8709 int arg2 = (int) wxSIGTERM ;
8710 int result;
8711 PyObject * obj0 = 0 ;
8712 PyObject * obj1 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "pid",(char *) "sig", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8718 arg1 = (int) SWIG_AsInt(obj0);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 if (obj1) {
8721 arg2 = (wxSignal) SWIG_AsInt(obj1);
8722 if (PyErr_Occurred()) SWIG_fail;
8723 }
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 resultobj = SWIG_FromInt((int)result);
8732 return resultobj;
8733 fail:
8734 return NULL;
8735 }
8736
8737
8738 static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj;
8740 int arg1 ;
8741 bool result;
8742 PyObject * obj0 = 0 ;
8743 char *kwnames[] = {
8744 (char *) "pid", NULL
8745 };
8746
8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8748 arg1 = (int) SWIG_AsInt(obj0);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (bool)wxPyProcess::Exists(arg1);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 {
8758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8759 }
8760 return resultobj;
8761 fail:
8762 return NULL;
8763 }
8764
8765
8766 static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
8767 PyObject *resultobj;
8768 wxString *arg1 = 0 ;
8769 int arg2 = (int) wxEXEC_ASYNC ;
8770 wxPyProcess *result;
8771 bool temp1 = False ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "cmd",(char *) "flags", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8779 {
8780 arg1 = wxString_in_helper(obj0);
8781 if (arg1 == NULL) SWIG_fail;
8782 temp1 = True;
8783 }
8784 if (obj1) {
8785 arg2 = (int) SWIG_AsInt(obj1);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
8796 {
8797 if (temp1)
8798 delete arg1;
8799 }
8800 return resultobj;
8801 fail:
8802 {
8803 if (temp1)
8804 delete arg1;
8805 }
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8813 int arg2 = (int) -1 ;
8814 wxPyProcess *result;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char *kwnames[] = {
8818 (char *) "parent",(char *) "id", NULL
8819 };
8820
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8822 if (obj0) {
8823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
8824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8825 }
8826 if (obj1) {
8827 arg2 = (int) SWIG_AsInt(obj1);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
8838 return resultobj;
8839 fail:
8840 return NULL;
8841 }
8842
8843
8844 static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8845 PyObject *resultobj;
8846 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8847 PyObject *arg2 = (PyObject *) 0 ;
8848 PyObject *arg3 = (PyObject *) 0 ;
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj1 = 0 ;
8851 PyObject * obj2 = 0 ;
8852 char *kwnames[] = {
8853 (char *) "self",(char *) "self",(char *) "_class", NULL
8854 };
8855
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8859 arg2 = obj1;
8860 arg3 = obj2;
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 (arg1)->_setCallbackInfo(arg2,arg3);
8864
8865 wxPyEndAllowThreads(__tstate);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 }
8868 Py_INCREF(Py_None); resultobj = Py_None;
8869 return resultobj;
8870 fail:
8871 return NULL;
8872 }
8873
8874
8875 static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
8876 PyObject *resultobj;
8877 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8878 int arg2 ;
8879 int arg3 ;
8880 PyObject * obj0 = 0 ;
8881 PyObject * obj1 = 0 ;
8882 PyObject * obj2 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "pid",(char *) "status", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8890 arg2 = (int) SWIG_AsInt(obj1);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 arg3 = (int) SWIG_AsInt(obj2);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->base_OnTerminate(arg2,arg3);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8911 PyObject * obj0 = 0 ;
8912 char *kwnames[] = {
8913 (char *) "self", NULL
8914 };
8915
8916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 (arg1)->Redirect();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 Py_INCREF(Py_None); resultobj = Py_None;
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8936 bool result;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (bool)(arg1)->IsRedirected();
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 {
8953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8954 }
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8964 PyObject * obj0 = 0 ;
8965 char *kwnames[] = {
8966 (char *) "self", NULL
8967 };
8968
8969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->Detach();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8989 wxInputStream *result;
8990 PyObject * obj0 = 0 ;
8991 char *kwnames[] = {
8992 (char *) "self", NULL
8993 };
8994
8995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
8997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 result = (wxInputStream *)(arg1)->GetInputStream();
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 {
9006 wxPyInputStream * _ptr = NULL;
9007
9008 if (result) {
9009 _ptr = new wxPyInputStream(result);
9010 }
9011 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9012 }
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9022 wxInputStream *result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
9029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 result = (wxInputStream *)(arg1)->GetErrorStream();
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 {
9039 wxPyInputStream * _ptr = NULL;
9040
9041 if (result) {
9042 _ptr = new wxPyInputStream(result);
9043 }
9044 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
9045 }
9046 return resultobj;
9047 fail:
9048 return NULL;
9049 }
9050
9051
9052 static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9055 wxOutputStream *result;
9056 PyObject * obj0 = 0 ;
9057 char *kwnames[] = {
9058 (char *) "self", NULL
9059 };
9060
9061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
9062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = (wxOutputStream *)(arg1)->GetOutputStream();
9067
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj;
9080 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9081 PyObject * obj0 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 (arg1)->CloseOutput();
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 Py_INCREF(Py_None); resultobj = Py_None;
9097 return resultobj;
9098 fail:
9099 return NULL;
9100 }
9101
9102
9103 static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
9104 PyObject *resultobj;
9105 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9106 bool result;
9107 PyObject * obj0 = 0 ;
9108 char *kwnames[] = {
9109 (char *) "self", NULL
9110 };
9111
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
9113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 {
9123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9124 }
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9134 bool result;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
9141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 {
9151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9152 }
9153 return resultobj;
9154 fail:
9155 return NULL;
9156 }
9157
9158
9159 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
9160 PyObject *resultobj;
9161 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
9162 bool result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyProcess,
9170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 {
9179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9180 }
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject * Process_swigregister(PyObject *, PyObject *args) {
9188 PyObject *obj;
9189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9191 Py_INCREF(obj);
9192 return Py_BuildValue((char *)"");
9193 }
9194 static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj;
9196 int arg1 = (int) 0 ;
9197 int arg2 = (int) 0 ;
9198 int arg3 = (int) 0 ;
9199 wxProcessEvent *result;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 PyObject * obj2 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9208 if (obj0) {
9209 arg1 = (int) SWIG_AsInt(obj0);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 if (obj1) {
9213 arg2 = (int) SWIG_AsInt(obj1);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 if (obj2) {
9217 arg3 = (int) SWIG_AsInt(obj2);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9237 int result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 result = (int)(arg1)->GetPid();
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = SWIG_FromInt((int)result);
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj;
9262 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9263 int result;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9272 {
9273 PyThreadState* __tstate = wxPyBeginAllowThreads();
9274 result = (int)(arg1)->GetExitCode();
9275
9276 wxPyEndAllowThreads(__tstate);
9277 if (PyErr_Occurred()) SWIG_fail;
9278 }
9279 resultobj = SWIG_FromInt((int)result);
9280 return resultobj;
9281 fail:
9282 return NULL;
9283 }
9284
9285
9286 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj;
9288 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9289 int arg2 ;
9290 PyObject * obj0 = 0 ;
9291 PyObject * obj1 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self",(char *) "m_pid", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 arg2 = (int) SWIG_AsInt(obj1);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 if (arg1) (arg1)->m_pid = arg2;
9302
9303 Py_INCREF(Py_None); resultobj = Py_None;
9304 return resultobj;
9305 fail:
9306 return NULL;
9307 }
9308
9309
9310 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9313 int result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9322 result = (int) ((arg1)->m_pid);
9323
9324 resultobj = SWIG_FromInt((int)result);
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9334 int arg2 ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 char *kwnames[] = {
9338 (char *) "self",(char *) "m_exitcode", NULL
9339 };
9340
9341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9344 arg2 = (int) SWIG_AsInt(obj1);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 if (arg1) (arg1)->m_exitcode = arg2;
9347
9348 Py_INCREF(Py_None); resultobj = Py_None;
9349 return resultobj;
9350 fail:
9351 return NULL;
9352 }
9353
9354
9355 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
9356 PyObject *resultobj;
9357 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9358 int result;
9359 PyObject * obj0 = 0 ;
9360 char *kwnames[] = {
9361 (char *) "self", NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxProcessEvent,
9366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9367 result = (int) ((arg1)->m_exitcode);
9368
9369 resultobj = SWIG_FromInt((int)result);
9370 return resultobj;
9371 fail:
9372 return NULL;
9373 }
9374
9375
9376 static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
9377 PyObject *obj;
9378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9380 Py_INCREF(obj);
9381 return Py_BuildValue((char *)"");
9382 }
9383 static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxString *arg1 = 0 ;
9386 int arg2 = (int) wxEXEC_ASYNC ;
9387 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9388 long result;
9389 bool temp1 = False ;
9390 PyObject * obj0 = 0 ;
9391 PyObject * obj1 = 0 ;
9392 PyObject * obj2 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "command",(char *) "flags",(char *) "process", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9398 {
9399 arg1 = wxString_in_helper(obj0);
9400 if (arg1 == NULL) SWIG_fail;
9401 temp1 = True;
9402 }
9403 if (obj1) {
9404 arg2 = (int) SWIG_AsInt(obj1);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 }
9407 if (obj2) {
9408 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyProcess,
9409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9410 }
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 resultobj = SWIG_FromLong((long)result);
9419 {
9420 if (temp1)
9421 delete arg1;
9422 }
9423 return resultobj;
9424 fail:
9425 {
9426 if (temp1)
9427 delete arg1;
9428 }
9429 return NULL;
9430 }
9431
9432
9433 static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 int arg1 = (int) wxJOYSTICK1 ;
9436 wxJoystick *result;
9437 PyObject * obj0 = 0 ;
9438 char *kwnames[] = {
9439 (char *) "joystick", NULL
9440 };
9441
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9443 if (obj0) {
9444 arg1 = (int) SWIG_AsInt(obj0);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 {
9448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9449 result = (wxJoystick *)new wxJoystick(arg1);
9450
9451 wxPyEndAllowThreads(__tstate);
9452 if (PyErr_Occurred()) SWIG_fail;
9453 }
9454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
9455 return resultobj;
9456 fail:
9457 return NULL;
9458 }
9459
9460
9461 static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
9462 PyObject *resultobj;
9463 wxJoystick *arg1 = (wxJoystick *) 0 ;
9464 PyObject * obj0 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 delete arg1;
9475
9476 wxPyEndAllowThreads(__tstate);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 Py_INCREF(Py_None); resultobj = Py_None;
9480 return resultobj;
9481 fail:
9482 return NULL;
9483 }
9484
9485
9486 static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxJoystick *arg1 = (wxJoystick *) 0 ;
9489 wxPoint result;
9490 PyObject * obj0 = 0 ;
9491 char *kwnames[] = {
9492 (char *) "self", NULL
9493 };
9494
9495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (arg1)->GetPosition();
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 {
9506 wxPoint * resultptr;
9507 resultptr = new wxPoint((wxPoint &) result);
9508 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9509 }
9510 return resultobj;
9511 fail:
9512 return NULL;
9513 }
9514
9515
9516 static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9517 PyObject *resultobj;
9518 wxJoystick *arg1 = (wxJoystick *) 0 ;
9519 int result;
9520 PyObject * obj0 = 0 ;
9521 char *kwnames[] = {
9522 (char *) "self", NULL
9523 };
9524
9525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (int)(arg1)->GetZPosition();
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = SWIG_FromInt((int)result);
9536 return resultobj;
9537 fail:
9538 return NULL;
9539 }
9540
9541
9542 static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxJoystick *arg1 = (wxJoystick *) 0 ;
9545 int result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 result = (int)(arg1)->GetButtonState();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 resultobj = SWIG_FromInt((int)result);
9562 return resultobj;
9563 fail:
9564 return NULL;
9565 }
9566
9567
9568 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxJoystick *arg1 = (wxJoystick *) 0 ;
9571 int result;
9572 PyObject * obj0 = 0 ;
9573 char *kwnames[] = {
9574 (char *) "self", NULL
9575 };
9576
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 result = (int)(arg1)->GetPOVPosition();
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 resultobj = SWIG_FromInt((int)result);
9588 return resultobj;
9589 fail:
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxJoystick *arg1 = (wxJoystick *) 0 ;
9597 int result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (int)(arg1)->GetPOVCTSPosition();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 resultobj = SWIG_FromInt((int)result);
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxJoystick *arg1 = (wxJoystick *) 0 ;
9623 int result;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (int)(arg1)->GetRudderPosition();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 resultobj = SWIG_FromInt((int)result);
9640 return resultobj;
9641 fail:
9642 return NULL;
9643 }
9644
9645
9646 static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxJoystick *arg1 = (wxJoystick *) 0 ;
9649 int result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (int)(arg1)->GetUPosition();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = SWIG_FromInt((int)result);
9666 return resultobj;
9667 fail:
9668 return NULL;
9669 }
9670
9671
9672 static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9673 PyObject *resultobj;
9674 wxJoystick *arg1 = (wxJoystick *) 0 ;
9675 int result;
9676 PyObject * obj0 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)(arg1)->GetVPosition();
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = SWIG_FromInt((int)result);
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxJoystick *arg1 = (wxJoystick *) 0 ;
9701 int result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (int)(arg1)->GetMovementThreshold();
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 resultobj = SWIG_FromInt((int)result);
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj;
9726 wxJoystick *arg1 = (wxJoystick *) 0 ;
9727 int arg2 ;
9728 PyObject * obj0 = 0 ;
9729 PyObject * obj1 = 0 ;
9730 char *kwnames[] = {
9731 (char *) "self",(char *) "threshold", NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9737 arg2 = (int) SWIG_AsInt(obj1);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 (arg1)->SetMovementThreshold(arg2);
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 Py_INCREF(Py_None); resultobj = Py_None;
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystick *arg1 = (wxJoystick *) 0 ;
9756 bool result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (bool)(arg1)->IsOk();
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 {
9773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9774 }
9775 return resultobj;
9776 fail:
9777 return NULL;
9778 }
9779
9780
9781 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj;
9783 wxJoystick *arg1 = (wxJoystick *) 0 ;
9784 int result;
9785 PyObject * obj0 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (int)(arg1)->GetNumberJoysticks();
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 resultobj = SWIG_FromInt((int)result);
9801 return resultobj;
9802 fail:
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxJoystick *arg1 = (wxJoystick *) 0 ;
9810 int result;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (int)(arg1)->GetManufacturerId();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_FromInt((int)result);
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxJoystick *arg1 = (wxJoystick *) 0 ;
9836 int result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (int)(arg1)->GetProductId();
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_FromInt((int)result);
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxJoystick *arg1 = (wxJoystick *) 0 ;
9862 wxString result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (arg1)->GetProductName();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 {
9879 #if wxUSE_UNICODE
9880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9881 #else
9882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9883 #endif
9884 }
9885 return resultobj;
9886 fail:
9887 return NULL;
9888 }
9889
9890
9891 static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxJoystick *arg1 = (wxJoystick *) 0 ;
9894 int result;
9895 PyObject * obj0 = 0 ;
9896 char *kwnames[] = {
9897 (char *) "self", NULL
9898 };
9899
9900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (int)(arg1)->GetXMin();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = SWIG_FromInt((int)result);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
9918 PyObject *resultobj;
9919 wxJoystick *arg1 = (wxJoystick *) 0 ;
9920 int result;
9921 PyObject * obj0 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (int)(arg1)->GetYMin();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 resultobj = SWIG_FromInt((int)result);
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
9944 PyObject *resultobj;
9945 wxJoystick *arg1 = (wxJoystick *) 0 ;
9946 int result;
9947 PyObject * obj0 = 0 ;
9948 char *kwnames[] = {
9949 (char *) "self", NULL
9950 };
9951
9952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 result = (int)(arg1)->GetZMin();
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 resultobj = SWIG_FromInt((int)result);
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxJoystick *arg1 = (wxJoystick *) 0 ;
9972 int result;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (int)(arg1)->GetXMax();
9984
9985 wxPyEndAllowThreads(__tstate);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 resultobj = SWIG_FromInt((int)result);
9989 return resultobj;
9990 fail:
9991 return NULL;
9992 }
9993
9994
9995 static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
9996 PyObject *resultobj;
9997 wxJoystick *arg1 = (wxJoystick *) 0 ;
9998 int result;
9999 PyObject * obj0 = 0 ;
10000 char *kwnames[] = {
10001 (char *) "self", NULL
10002 };
10003
10004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
10005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 result = (int)(arg1)->GetYMax();
10010
10011 wxPyEndAllowThreads(__tstate);
10012 if (PyErr_Occurred()) SWIG_fail;
10013 }
10014 resultobj = SWIG_FromInt((int)result);
10015 return resultobj;
10016 fail:
10017 return NULL;
10018 }
10019
10020
10021 static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxJoystick *arg1 = (wxJoystick *) 0 ;
10024 int result;
10025 PyObject * obj0 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 result = (int)(arg1)->GetZMax();
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_FromInt((int)result);
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxJoystick *arg1 = (wxJoystick *) 0 ;
10050 int result;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (int)(arg1)->GetNumberButtons();
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 resultobj = SWIG_FromInt((int)result);
10067 return resultobj;
10068 fail:
10069 return NULL;
10070 }
10071
10072
10073 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10074 PyObject *resultobj;
10075 wxJoystick *arg1 = (wxJoystick *) 0 ;
10076 int result;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
10083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (int)(arg1)->GetNumberAxes();
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 resultobj = SWIG_FromInt((int)result);
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxJoystick *arg1 = (wxJoystick *) 0 ;
10102 int result;
10103 PyObject * obj0 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 result = (int)(arg1)->GetMaxButtons();
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 resultobj = SWIG_FromInt((int)result);
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxJoystick *arg1 = (wxJoystick *) 0 ;
10128 int result;
10129 PyObject * obj0 = 0 ;
10130 char *kwnames[] = {
10131 (char *) "self", NULL
10132 };
10133
10134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
10135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (int)(arg1)->GetMaxAxes();
10140
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_FromInt((int)result);
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxJoystick *arg1 = (wxJoystick *) 0 ;
10154 int result;
10155 PyObject * obj0 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10163 {
10164 PyThreadState* __tstate = wxPyBeginAllowThreads();
10165 result = (int)(arg1)->GetPollingMin();
10166
10167 wxPyEndAllowThreads(__tstate);
10168 if (PyErr_Occurred()) SWIG_fail;
10169 }
10170 resultobj = SWIG_FromInt((int)result);
10171 return resultobj;
10172 fail:
10173 return NULL;
10174 }
10175
10176
10177 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
10178 PyObject *resultobj;
10179 wxJoystick *arg1 = (wxJoystick *) 0 ;
10180 int result;
10181 PyObject * obj0 = 0 ;
10182 char *kwnames[] = {
10183 (char *) "self", NULL
10184 };
10185
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
10187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (int)(arg1)->GetPollingMax();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 resultobj = SWIG_FromInt((int)result);
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxJoystick *arg1 = (wxJoystick *) 0 ;
10206 int result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)(arg1)->GetRudderMin();
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_FromInt((int)result);
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxJoystick *arg1 = (wxJoystick *) 0 ;
10232 int result;
10233 PyObject * obj0 = 0 ;
10234 char *kwnames[] = {
10235 (char *) "self", NULL
10236 };
10237
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (int)(arg1)->GetRudderMax();
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
10248 resultobj = SWIG_FromInt((int)result);
10249 return resultobj;
10250 fail:
10251 return NULL;
10252 }
10253
10254
10255 static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxJoystick *arg1 = (wxJoystick *) 0 ;
10258 int result;
10259 PyObject * obj0 = 0 ;
10260 char *kwnames[] = {
10261 (char *) "self", NULL
10262 };
10263
10264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10267 {
10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
10269 result = (int)(arg1)->GetUMin();
10270
10271 wxPyEndAllowThreads(__tstate);
10272 if (PyErr_Occurred()) SWIG_fail;
10273 }
10274 resultobj = SWIG_FromInt((int)result);
10275 return resultobj;
10276 fail:
10277 return NULL;
10278 }
10279
10280
10281 static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
10282 PyObject *resultobj;
10283 wxJoystick *arg1 = (wxJoystick *) 0 ;
10284 int result;
10285 PyObject * obj0 = 0 ;
10286 char *kwnames[] = {
10287 (char *) "self", NULL
10288 };
10289
10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (int)(arg1)->GetUMax();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = SWIG_FromInt((int)result);
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxJoystick *arg1 = (wxJoystick *) 0 ;
10310 int result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 result = (int)(arg1)->GetVMin();
10322
10323 wxPyEndAllowThreads(__tstate);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 }
10326 resultobj = SWIG_FromInt((int)result);
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxJoystick *arg1 = (wxJoystick *) 0 ;
10336 int result;
10337 PyObject * obj0 = 0 ;
10338 char *kwnames[] = {
10339 (char *) "self", NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (int)(arg1)->GetVMax();
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 resultobj = SWIG_FromInt((int)result);
10353 return resultobj;
10354 fail:
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxJoystick *arg1 = (wxJoystick *) 0 ;
10362 bool result;
10363 PyObject * obj0 = 0 ;
10364 char *kwnames[] = {
10365 (char *) "self", NULL
10366 };
10367
10368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (bool)(arg1)->HasRudder();
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 {
10379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10380 }
10381 return resultobj;
10382 fail:
10383 return NULL;
10384 }
10385
10386
10387 static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
10388 PyObject *resultobj;
10389 wxJoystick *arg1 = (wxJoystick *) 0 ;
10390 bool result;
10391 PyObject * obj0 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (bool)(arg1)->HasZ();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 {
10407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10408 }
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxJoystick *arg1 = (wxJoystick *) 0 ;
10418 bool result;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 result = (bool)(arg1)->HasU();
10430
10431 wxPyEndAllowThreads(__tstate);
10432 if (PyErr_Occurred()) SWIG_fail;
10433 }
10434 {
10435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10436 }
10437 return resultobj;
10438 fail:
10439 return NULL;
10440 }
10441
10442
10443 static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxJoystick *arg1 = (wxJoystick *) 0 ;
10446 bool result;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (bool)(arg1)->HasV();
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 {
10463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10464 }
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxJoystick *arg1 = (wxJoystick *) 0 ;
10474 bool result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)(arg1)->HasPOV();
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 {
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 }
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
10500 PyObject *resultobj;
10501 wxJoystick *arg1 = (wxJoystick *) 0 ;
10502 bool result;
10503 PyObject * obj0 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (bool)(arg1)->HasPOV4Dir();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 {
10519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10520 }
10521 return resultobj;
10522 fail:
10523 return NULL;
10524 }
10525
10526
10527 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxJoystick *arg1 = (wxJoystick *) 0 ;
10530 bool result;
10531 PyObject * obj0 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = (bool)(arg1)->HasPOVCTS();
10542
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 {
10547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10548 }
10549 return resultobj;
10550 fail:
10551 return NULL;
10552 }
10553
10554
10555 static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
10556 PyObject *resultobj;
10557 wxJoystick *arg1 = (wxJoystick *) 0 ;
10558 wxWindow *arg2 = (wxWindow *) 0 ;
10559 int arg3 = (int) 0 ;
10560 bool result;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
10563 PyObject * obj2 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10573 if (obj2) {
10574 arg3 = (int) SWIG_AsInt(obj2);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 {
10578 PyThreadState* __tstate = wxPyBeginAllowThreads();
10579 result = (bool)(arg1)->SetCapture(arg2,arg3);
10580
10581 wxPyEndAllowThreads(__tstate);
10582 if (PyErr_Occurred()) SWIG_fail;
10583 }
10584 {
10585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10586 }
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxJoystick *arg1 = (wxJoystick *) 0 ;
10596 bool result;
10597 PyObject * obj0 = 0 ;
10598 char *kwnames[] = {
10599 (char *) "self", NULL
10600 };
10601
10602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystick,
10604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 result = (bool)(arg1)->ReleaseCapture();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 {
10613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10614 }
10615 return resultobj;
10616 fail:
10617 return NULL;
10618 }
10619
10620
10621 static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
10622 PyObject *obj;
10623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10625 Py_INCREF(obj);
10626 return Py_BuildValue((char *)"");
10627 }
10628 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10631 wxPoint *arg2 = (wxPoint *) 0 ;
10632 PyObject * obj0 = 0 ;
10633 PyObject * obj1 = 0 ;
10634 char *kwnames[] = {
10635 (char *) "self",(char *) "m_pos", NULL
10636 };
10637
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
10642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10643 if (arg1) (arg1)->m_pos = *arg2;
10644
10645 Py_INCREF(Py_None); resultobj = Py_None;
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10655 wxPoint *result;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10664 result = (wxPoint *)& ((arg1)->m_pos);
10665
10666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10676 int arg2 ;
10677 PyObject * obj0 = 0 ;
10678 PyObject * obj1 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self",(char *) "m_zPosition", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10686 arg2 = (int) SWIG_AsInt(obj1);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 if (arg1) (arg1)->m_zPosition = arg2;
10689
10690 Py_INCREF(Py_None); resultobj = Py_None;
10691 return resultobj;
10692 fail:
10693 return NULL;
10694 }
10695
10696
10697 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj;
10699 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10700 int result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10709 result = (int) ((arg1)->m_zPosition);
10710
10711 resultobj = SWIG_FromInt((int)result);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10721 int arg2 ;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self",(char *) "m_buttonChange", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10731 arg2 = (int) SWIG_AsInt(obj1);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 if (arg1) (arg1)->m_buttonChange = arg2;
10734
10735 Py_INCREF(Py_None); resultobj = Py_None;
10736 return resultobj;
10737 fail:
10738 return NULL;
10739 }
10740
10741
10742 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10745 int result;
10746 PyObject * obj0 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10754 result = (int) ((arg1)->m_buttonChange);
10755
10756 resultobj = SWIG_FromInt((int)result);
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10766 int arg2 ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "m_buttonState", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 arg2 = (int) SWIG_AsInt(obj1);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 if (arg1) (arg1)->m_buttonState = arg2;
10779
10780 Py_INCREF(Py_None); resultobj = Py_None;
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10790 int result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10799 result = (int) ((arg1)->m_buttonState);
10800
10801 resultobj = SWIG_FromInt((int)result);
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10811 int arg2 ;
10812 PyObject * obj0 = 0 ;
10813 PyObject * obj1 = 0 ;
10814 char *kwnames[] = {
10815 (char *) "self",(char *) "m_joyStick", NULL
10816 };
10817
10818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10821 arg2 = (int) SWIG_AsInt(obj1);
10822 if (PyErr_Occurred()) SWIG_fail;
10823 if (arg1) (arg1)->m_joyStick = arg2;
10824
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10835 int result;
10836 PyObject * obj0 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10844 result = (int) ((arg1)->m_joyStick);
10845
10846 resultobj = SWIG_FromInt((int)result);
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
10854 PyObject *resultobj;
10855 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10856 int arg2 = (int) 0 ;
10857 int arg3 = (int) wxJOYSTICK1 ;
10858 int arg4 = (int) 0 ;
10859 wxJoystickEvent *result;
10860 PyObject * obj0 = 0 ;
10861 PyObject * obj1 = 0 ;
10862 PyObject * obj2 = 0 ;
10863 PyObject * obj3 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10869 if (obj0) {
10870 arg1 = (wxEventType) SWIG_AsInt(obj0);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 if (obj1) {
10874 arg2 = (int) SWIG_AsInt(obj1);
10875 if (PyErr_Occurred()) SWIG_fail;
10876 }
10877 if (obj2) {
10878 arg3 = (int) SWIG_AsInt(obj2);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 if (obj3) {
10882 arg4 = (int) SWIG_AsInt(obj3);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10902 wxPoint result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10911 {
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10914
10915 wxPyEndAllowThreads(__tstate);
10916 if (PyErr_Occurred()) SWIG_fail;
10917 }
10918 {
10919 wxPoint * resultptr;
10920 resultptr = new wxPoint((wxPoint &) result);
10921 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10922 }
10923 return resultobj;
10924 fail:
10925 return NULL;
10926 }
10927
10928
10929 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10932 int result;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
10948 resultobj = SWIG_FromInt((int)result);
10949 return resultobj;
10950 fail:
10951 return NULL;
10952 }
10953
10954
10955 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10958 int result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = SWIG_FromInt((int)result);
10975 return resultobj;
10976 fail:
10977 return NULL;
10978 }
10979
10980
10981 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj;
10983 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10984 int result;
10985 PyObject * obj0 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
10992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = SWIG_FromInt((int)result);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11010 int result;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
11017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 resultobj = SWIG_FromInt((int)result);
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11036 int arg2 ;
11037 PyObject * obj0 = 0 ;
11038 PyObject * obj1 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self",(char *) "stick", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 arg2 = (int) SWIG_AsInt(obj1);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 (arg1)->SetJoystick(arg2);
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 Py_INCREF(Py_None); resultobj = Py_None;
11056 return resultobj;
11057 fail:
11058 return NULL;
11059 }
11060
11061
11062 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11065 int arg2 ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "state", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11075 arg2 = (int) SWIG_AsInt(obj1);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->SetButtonState(arg2);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088 }
11089
11090
11091 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11094 int arg2 ;
11095 PyObject * obj0 = 0 ;
11096 PyObject * obj1 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self",(char *) "change", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11104 arg2 = (int) SWIG_AsInt(obj1);
11105 if (PyErr_Occurred()) SWIG_fail;
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetButtonChange(arg2);
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 Py_INCREF(Py_None); resultobj = Py_None;
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11123 wxPoint *arg2 = 0 ;
11124 wxPoint temp2 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self",(char *) "pos", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11134 {
11135 arg2 = &temp2;
11136 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11137 }
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->SetPosition((wxPoint const &)*arg2);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 Py_INCREF(Py_None); resultobj = Py_None;
11146 return resultobj;
11147 fail:
11148 return NULL;
11149 }
11150
11151
11152 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11155 int arg2 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "zPos", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11165 arg2 = (int) SWIG_AsInt(obj1);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 (arg1)->SetZPosition(arg2);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 Py_INCREF(Py_None); resultobj = Py_None;
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11184 bool result;
11185 PyObject * obj0 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 {
11201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11202 }
11203 return resultobj;
11204 fail:
11205 return NULL;
11206 }
11207
11208
11209 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
11210 PyObject *resultobj;
11211 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11212 bool result;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11221 {
11222 PyThreadState* __tstate = wxPyBeginAllowThreads();
11223 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
11224
11225 wxPyEndAllowThreads(__tstate);
11226 if (PyErr_Occurred()) SWIG_fail;
11227 }
11228 {
11229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11230 }
11231 return resultobj;
11232 fail:
11233 return NULL;
11234 }
11235
11236
11237 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
11238 PyObject *resultobj;
11239 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11240 bool result;
11241 PyObject * obj0 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 {
11257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11258 }
11259 return resultobj;
11260 fail:
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11268 int arg2 = (int) wxJOY_BUTTON_ANY ;
11269 bool result;
11270 PyObject * obj0 = 0 ;
11271 PyObject * obj1 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "self",(char *) "but", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11279 if (obj1) {
11280 arg2 = (int) SWIG_AsInt(obj1);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 {
11291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11292 }
11293 return resultobj;
11294 fail:
11295 return NULL;
11296 }
11297
11298
11299 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
11300 PyObject *resultobj;
11301 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11302 int arg2 = (int) wxJOY_BUTTON_ANY ;
11303 bool result;
11304 PyObject * obj0 = 0 ;
11305 PyObject * obj1 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "but", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11313 if (obj1) {
11314 arg2 = (int) SWIG_AsInt(obj1);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 {
11325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11336 int arg2 = (int) wxJOY_BUTTON_ANY ;
11337 bool result;
11338 PyObject * obj0 = 0 ;
11339 PyObject * obj1 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self",(char *) "but", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxJoystickEvent,
11346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11347 if (obj1) {
11348 arg2 = (int) SWIG_AsInt(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 {
11359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11360 }
11361 return resultobj;
11362 fail:
11363 return NULL;
11364 }
11365
11366
11367 static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
11368 PyObject *obj;
11369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11371 Py_INCREF(obj);
11372 return Py_BuildValue((char *)"");
11373 }
11374 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *, PyObject *args) {
11375 PyObject *resultobj;
11376 wxSound *result;
11377
11378 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 result = (wxSound *)new wxSound();
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *, PyObject *args) {
11394 PyObject *resultobj;
11395 wxString *arg1 = 0 ;
11396 bool arg2 = (bool) false ;
11397 wxSound *result;
11398 bool temp1 = False ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401
11402 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11403 {
11404 arg1 = wxString_in_helper(obj0);
11405 if (arg1 == NULL) SWIG_fail;
11406 temp1 = True;
11407 }
11408 if (obj1) {
11409 arg2 = (bool) SWIG_AsBool(obj1);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 PyThreadState* __tstate = wxPyBeginAllowThreads();
11414 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11415
11416 wxPyEndAllowThreads(__tstate);
11417 if (PyErr_Occurred()) SWIG_fail;
11418 }
11419 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11420 {
11421 if (temp1)
11422 delete arg1;
11423 }
11424 return resultobj;
11425 fail:
11426 {
11427 if (temp1)
11428 delete arg1;
11429 }
11430 return NULL;
11431 }
11432
11433
11434 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *, PyObject *args) {
11435 PyObject *resultobj;
11436 int arg1 ;
11437 wxByte *arg2 = (wxByte *) 0 ;
11438 wxSound *result;
11439 PyObject * obj0 = 0 ;
11440 PyObject * obj1 = 0 ;
11441
11442 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11443 arg1 = (int) SWIG_AsInt(obj0);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxByte,
11446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11462 int argc;
11463 PyObject *argv[3];
11464 int ii;
11465
11466 argc = PyObject_Length(args);
11467 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11468 argv[ii] = PyTuple_GetItem(args,ii);
11469 }
11470 if (argc == 0) {
11471 return _wrap_new_Sound__SWIG_0(self,args);
11472 }
11473 if ((argc >= 1) && (argc <= 2)) {
11474 int _v;
11475 {
11476 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11477 }
11478 if (_v) {
11479 if (argc <= 1) {
11480 return _wrap_new_Sound__SWIG_1(self,args);
11481 }
11482 _v = SWIG_CheckBool(argv[1]);
11483 if (_v) {
11484 return _wrap_new_Sound__SWIG_1(self,args);
11485 }
11486 }
11487 }
11488 if (argc == 2) {
11489 int _v;
11490 _v = SWIG_CheckInt(argv[0]);
11491 if (_v) {
11492 {
11493 void *ptr;
11494 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11495 _v = 0;
11496 PyErr_Clear();
11497 } else {
11498 _v = 1;
11499 }
11500 }
11501 if (_v) {
11502 return _wrap_new_Sound__SWIG_2(self,args);
11503 }
11504 }
11505 }
11506
11507 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11508 return NULL;
11509 }
11510
11511
11512 static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxSound *arg1 = (wxSound *) 0 ;
11515 PyObject * obj0 = 0 ;
11516 char *kwnames[] = {
11517 (char *) "self", NULL
11518 };
11519
11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11523 {
11524 PyThreadState* __tstate = wxPyBeginAllowThreads();
11525 delete arg1;
11526
11527 wxPyEndAllowThreads(__tstate);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 }
11530 Py_INCREF(Py_None); resultobj = Py_None;
11531 return resultobj;
11532 fail:
11533 return NULL;
11534 }
11535
11536
11537 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *, PyObject *args) {
11538 PyObject *resultobj;
11539 wxSound *arg1 = (wxSound *) 0 ;
11540 wxString *arg2 = 0 ;
11541 bool arg3 = (bool) false ;
11542 bool result;
11543 bool temp2 = False ;
11544 PyObject * obj0 = 0 ;
11545 PyObject * obj1 = 0 ;
11546 PyObject * obj2 = 0 ;
11547
11548 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11551 {
11552 arg2 = wxString_in_helper(obj1);
11553 if (arg2 == NULL) SWIG_fail;
11554 temp2 = True;
11555 }
11556 if (obj2) {
11557 arg3 = (bool) SWIG_AsBool(obj2);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 {
11561 PyThreadState* __tstate = wxPyBeginAllowThreads();
11562 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11563
11564 wxPyEndAllowThreads(__tstate);
11565 if (PyErr_Occurred()) SWIG_fail;
11566 }
11567 {
11568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11569 }
11570 {
11571 if (temp2)
11572 delete arg2;
11573 }
11574 return resultobj;
11575 fail:
11576 {
11577 if (temp2)
11578 delete arg2;
11579 }
11580 return NULL;
11581 }
11582
11583
11584 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *, PyObject *args) {
11585 PyObject *resultobj;
11586 wxSound *arg1 = (wxSound *) 0 ;
11587 int arg2 ;
11588 wxByte *arg3 = (wxByte *) 0 ;
11589 bool result;
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 PyObject * obj2 = 0 ;
11593
11594 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11597 arg2 = (int) SWIG_AsInt(obj1);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxByte,
11600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (bool)wxSound_Create__SWIG_1(arg1,arg2,(wxByte const *)arg3);
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
11608 {
11609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11610 }
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11618 int argc;
11619 PyObject *argv[4];
11620 int ii;
11621
11622 argc = PyObject_Length(args);
11623 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11624 argv[ii] = PyTuple_GetItem(args,ii);
11625 }
11626 if ((argc >= 2) && (argc <= 3)) {
11627 int _v;
11628 {
11629 void *ptr;
11630 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11631 _v = 0;
11632 PyErr_Clear();
11633 } else {
11634 _v = 1;
11635 }
11636 }
11637 if (_v) {
11638 {
11639 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11640 }
11641 if (_v) {
11642 if (argc <= 2) {
11643 return _wrap_Sound_Create__SWIG_0(self,args);
11644 }
11645 _v = SWIG_CheckBool(argv[2]);
11646 if (_v) {
11647 return _wrap_Sound_Create__SWIG_0(self,args);
11648 }
11649 }
11650 }
11651 }
11652 if (argc == 3) {
11653 int _v;
11654 {
11655 void *ptr;
11656 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11657 _v = 0;
11658 PyErr_Clear();
11659 } else {
11660 _v = 1;
11661 }
11662 }
11663 if (_v) {
11664 _v = SWIG_CheckInt(argv[1]);
11665 if (_v) {
11666 {
11667 void *ptr;
11668 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11669 _v = 0;
11670 PyErr_Clear();
11671 } else {
11672 _v = 1;
11673 }
11674 }
11675 if (_v) {
11676 return _wrap_Sound_Create__SWIG_1(self,args);
11677 }
11678 }
11679 }
11680 }
11681
11682 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11683 return NULL;
11684 }
11685
11686
11687 static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj;
11689 wxSound *arg1 = (wxSound *) 0 ;
11690 bool result;
11691 PyObject * obj0 = 0 ;
11692 char *kwnames[] = {
11693 (char *) "self", NULL
11694 };
11695
11696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 result = (bool)(arg1)->IsOk();
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 {
11707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11708 }
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args) {
11716 PyObject *resultobj;
11717 wxSound *arg1 = (wxSound *) 0 ;
11718 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11719 bool result;
11720 PyObject * obj0 = 0 ;
11721 PyObject * obj1 = 0 ;
11722
11723 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSound,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11726 if (obj1) {
11727 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11728 if (PyErr_Occurred()) SWIG_fail;
11729 }
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (bool)((wxSound const *)arg1)->Play(arg2);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 {
11738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11739 }
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args) {
11747 PyObject *resultobj;
11748 wxString *arg1 = 0 ;
11749 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11750 bool result;
11751 bool temp1 = False ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754
11755 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11756 {
11757 arg1 = wxString_in_helper(obj0);
11758 if (arg1 == NULL) SWIG_fail;
11759 temp1 = True;
11760 }
11761 if (obj1) {
11762 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 {
11766 PyThreadState* __tstate = wxPyBeginAllowThreads();
11767 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11768
11769 wxPyEndAllowThreads(__tstate);
11770 if (PyErr_Occurred()) SWIG_fail;
11771 }
11772 {
11773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11774 }
11775 {
11776 if (temp1)
11777 delete arg1;
11778 }
11779 return resultobj;
11780 fail:
11781 {
11782 if (temp1)
11783 delete arg1;
11784 }
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 char *kwnames[] = {
11792 NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 Sound_Stop();
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 Py_INCREF(Py_None); resultobj = Py_None;
11804 return resultobj;
11805 fail:
11806 return NULL;
11807 }
11808
11809
11810 static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
11811 PyObject *obj;
11812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11814 Py_INCREF(obj);
11815 return Py_BuildValue((char *)"");
11816 }
11817 static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxString *arg1 = 0 ;
11820 wxString *arg2 = 0 ;
11821 wxString *arg3 = 0 ;
11822 wxString *arg4 = 0 ;
11823 wxFileTypeInfo *result;
11824 bool temp1 = False ;
11825 bool temp2 = False ;
11826 bool temp3 = False ;
11827 bool temp4 = False ;
11828 PyObject * obj0 = 0 ;
11829 PyObject * obj1 = 0 ;
11830 PyObject * obj2 = 0 ;
11831 PyObject * obj3 = 0 ;
11832 char *kwnames[] = {
11833 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11834 };
11835
11836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11837 {
11838 arg1 = wxString_in_helper(obj0);
11839 if (arg1 == NULL) SWIG_fail;
11840 temp1 = True;
11841 }
11842 {
11843 arg2 = wxString_in_helper(obj1);
11844 if (arg2 == NULL) SWIG_fail;
11845 temp2 = True;
11846 }
11847 {
11848 arg3 = wxString_in_helper(obj2);
11849 if (arg3 == NULL) SWIG_fail;
11850 temp3 = True;
11851 }
11852 {
11853 arg4 = wxString_in_helper(obj3);
11854 if (arg4 == NULL) SWIG_fail;
11855 temp4 = True;
11856 }
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11865 {
11866 if (temp1)
11867 delete arg1;
11868 }
11869 {
11870 if (temp2)
11871 delete arg2;
11872 }
11873 {
11874 if (temp3)
11875 delete arg3;
11876 }
11877 {
11878 if (temp4)
11879 delete arg4;
11880 }
11881 return resultobj;
11882 fail:
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 NULL;
11900 }
11901
11902
11903 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxArrayString *arg1 = 0 ;
11906 wxFileTypeInfo *result;
11907 bool temp1 = False ;
11908 PyObject * obj0 = 0 ;
11909 char *kwnames[] = {
11910 (char *) "sArray", NULL
11911 };
11912
11913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11914 {
11915 if (! PySequence_Check(obj0)) {
11916 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11917 SWIG_fail;
11918 }
11919 arg1 = new wxArrayString;
11920 temp1 = True;
11921 int i, len=PySequence_Length(obj0);
11922 for (i=0; i<len; i++) {
11923 PyObject* item = PySequence_GetItem(obj0, i);
11924 #if wxUSE_UNICODE
11925 PyObject* str = PyObject_Unicode(item);
11926 #else
11927 PyObject* str = PyObject_Str(item);
11928 #endif
11929 arg1->Add(Py2wxString(str));
11930 Py_DECREF(item);
11931 Py_DECREF(str);
11932 }
11933 }
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11942 {
11943 if (temp1) delete arg1;
11944 }
11945 return resultobj;
11946 fail:
11947 {
11948 if (temp1) delete arg1;
11949 }
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxFileTypeInfo *result;
11957 char *kwnames[] = {
11958 NULL
11959 };
11960
11961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
11969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
11970 return resultobj;
11971 fail:
11972 return NULL;
11973 }
11974
11975
11976 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj;
11978 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11979 bool result;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
11987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11991
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 {
11996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11997 }
11998 return resultobj;
11999 fail:
12000 return NULL;
12001 }
12002
12003
12004 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12005 PyObject *resultobj;
12006 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12007 wxString *arg2 = 0 ;
12008 int arg3 = (int) 0 ;
12009 bool temp2 = False ;
12010 PyObject * obj0 = 0 ;
12011 PyObject * obj1 = 0 ;
12012 PyObject * obj2 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12020 {
12021 arg2 = wxString_in_helper(obj1);
12022 if (arg2 == NULL) SWIG_fail;
12023 temp2 = True;
12024 }
12025 if (obj2) {
12026 arg3 = (int) SWIG_AsInt(obj2);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->SetIcon((wxString const &)*arg2,arg3);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 {
12038 if (temp2)
12039 delete arg2;
12040 }
12041 return resultobj;
12042 fail:
12043 {
12044 if (temp2)
12045 delete arg2;
12046 }
12047 return NULL;
12048 }
12049
12050
12051 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj;
12053 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12054 wxString *arg2 = 0 ;
12055 bool temp2 = False ;
12056 PyObject * obj0 = 0 ;
12057 PyObject * obj1 = 0 ;
12058 char *kwnames[] = {
12059 (char *) "self",(char *) "shortDesc", NULL
12060 };
12061
12062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
12063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12065 {
12066 arg2 = wxString_in_helper(obj1);
12067 if (arg2 == NULL) SWIG_fail;
12068 temp2 = True;
12069 }
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 (arg1)->SetShortDesc((wxString const &)*arg2);
12073
12074 wxPyEndAllowThreads(__tstate);
12075 if (PyErr_Occurred()) SWIG_fail;
12076 }
12077 Py_INCREF(Py_None); resultobj = Py_None;
12078 {
12079 if (temp2)
12080 delete arg2;
12081 }
12082 return resultobj;
12083 fail:
12084 {
12085 if (temp2)
12086 delete arg2;
12087 }
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12095 wxString *result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 {
12107 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
12108 result = (wxString *) &_result_ref;
12109 }
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 {
12115 #if wxUSE_UNICODE
12116 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12117 #else
12118 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12119 #endif
12120 }
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12130 wxString *result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 {
12142 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
12143 result = (wxString *) &_result_ref;
12144 }
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 {
12150 #if wxUSE_UNICODE
12151 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12152 #else
12153 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12154 #endif
12155 }
12156 return resultobj;
12157 fail:
12158 return NULL;
12159 }
12160
12161
12162 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12163 PyObject *resultobj;
12164 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12165 wxString *result;
12166 PyObject * obj0 = 0 ;
12167 char *kwnames[] = {
12168 (char *) "self", NULL
12169 };
12170
12171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
12172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 {
12177 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
12178 result = (wxString *) &_result_ref;
12179 }
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 {
12185 #if wxUSE_UNICODE
12186 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12187 #else
12188 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12189 #endif
12190 }
12191 return resultobj;
12192 fail:
12193 return NULL;
12194 }
12195
12196
12197 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12200 wxString *result;
12201 PyObject * obj0 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 {
12212 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
12213 result = (wxString *) &_result_ref;
12214 }
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 {
12220 #if wxUSE_UNICODE
12221 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12222 #else
12223 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12224 #endif
12225 }
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12235 wxString *result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 {
12247 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12248 result = (wxString *) &_result_ref;
12249 }
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 {
12255 #if wxUSE_UNICODE
12256 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12257 #else
12258 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12259 #endif
12260 }
12261 return resultobj;
12262 fail:
12263 return NULL;
12264 }
12265
12266
12267 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12270 wxArrayString *result;
12271 PyObject * obj0 = 0 ;
12272 char *kwnames[] = {
12273 (char *) "self", NULL
12274 };
12275
12276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 {
12282 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12283 result = (wxArrayString *) &_result_ref;
12284 }
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 {
12290 resultobj = wxArrayString2PyList_helper(*result);
12291 }
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12301 int result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_FromInt((int)result);
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12327 wxString *result;
12328 PyObject * obj0 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 {
12339 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12340 result = (wxString *) &_result_ref;
12341 }
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 {
12347 #if wxUSE_UNICODE
12348 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12349 #else
12350 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12351 #endif
12352 }
12353 return resultobj;
12354 fail:
12355 return NULL;
12356 }
12357
12358
12359 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12362 int result;
12363 PyObject * obj0 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = SWIG_FromInt((int)result);
12379 return resultobj;
12380 fail:
12381 return NULL;
12382 }
12383
12384
12385 static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
12386 PyObject *obj;
12387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12388 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12389 Py_INCREF(obj);
12390 return Py_BuildValue((char *)"");
12391 }
12392 static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxFileTypeInfo *arg1 = 0 ;
12395 wxFileType *result;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "ftInfo", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileTypeInfo,
12403 SWIG_POINTER_EXCEPTION | 0)) == -1)
12404 SWIG_fail;
12405 if (arg1 == NULL) {
12406 PyErr_SetString(PyExc_TypeError,"null reference");
12407 SWIG_fail;
12408 }
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12412
12413 wxPyEndAllowThreads(__tstate);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 }
12416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
12417 return resultobj;
12418 fail:
12419 return NULL;
12420 }
12421
12422
12423 static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
12424 PyObject *resultobj;
12425 wxFileType *arg1 = (wxFileType *) 0 ;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 delete arg1;
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 Py_INCREF(Py_None); resultobj = Py_None;
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxFileType *arg1 = (wxFileType *) 0 ;
12451 PyObject *result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (PyObject *)wxFileType_GetMimeType(arg1);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = result;
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxFileType *arg1 = (wxFileType *) 0 ;
12477 PyObject *result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = result;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxFileType *arg1 = (wxFileType *) 0 ;
12503 PyObject *result;
12504 PyObject * obj0 = 0 ;
12505 char *kwnames[] = {
12506 (char *) "self", NULL
12507 };
12508
12509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 result = (PyObject *)wxFileType_GetExtensions(arg1);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 resultobj = result;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523 }
12524
12525
12526 static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12527 PyObject *resultobj;
12528 wxFileType *arg1 = (wxFileType *) 0 ;
12529 wxIcon *result;
12530 PyObject * obj0 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = (wxIcon *)wxFileType_GetIcon(arg1);
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
12546 return resultobj;
12547 fail:
12548 return NULL;
12549 }
12550
12551
12552 static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxFileType *arg1 = (wxFileType *) 0 ;
12555 PyObject *result;
12556 PyObject * obj0 = 0 ;
12557 char *kwnames[] = {
12558 (char *) "self", NULL
12559 };
12560
12561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = result;
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxFileType *arg1 = (wxFileType *) 0 ;
12581 PyObject *result;
12582 PyObject * obj0 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (PyObject *)wxFileType_GetDescription(arg1);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 resultobj = result;
12598 return resultobj;
12599 fail:
12600 return NULL;
12601 }
12602
12603
12604 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxFileType *arg1 = (wxFileType *) 0 ;
12607 wxString *arg2 = 0 ;
12608 wxString const &arg3_defvalue = wxPyEmptyString ;
12609 wxString *arg3 = (wxString *) &arg3_defvalue ;
12610 PyObject *result;
12611 bool temp2 = False ;
12612 bool temp3 = False ;
12613 PyObject * obj0 = 0 ;
12614 PyObject * obj1 = 0 ;
12615 PyObject * obj2 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12623 {
12624 arg2 = wxString_in_helper(obj1);
12625 if (arg2 == NULL) SWIG_fail;
12626 temp2 = True;
12627 }
12628 if (obj2) {
12629 {
12630 arg3 = wxString_in_helper(obj2);
12631 if (arg3 == NULL) SWIG_fail;
12632 temp3 = True;
12633 }
12634 }
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 resultobj = result;
12643 {
12644 if (temp2)
12645 delete arg2;
12646 }
12647 {
12648 if (temp3)
12649 delete arg3;
12650 }
12651 return resultobj;
12652 fail:
12653 {
12654 if (temp2)
12655 delete arg2;
12656 }
12657 {
12658 if (temp3)
12659 delete arg3;
12660 }
12661 return NULL;
12662 }
12663
12664
12665 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12666 PyObject *resultobj;
12667 wxFileType *arg1 = (wxFileType *) 0 ;
12668 wxString *arg2 = 0 ;
12669 wxString const &arg3_defvalue = wxPyEmptyString ;
12670 wxString *arg3 = (wxString *) &arg3_defvalue ;
12671 PyObject *result;
12672 bool temp2 = False ;
12673 bool temp3 = False ;
12674 PyObject * obj0 = 0 ;
12675 PyObject * obj1 = 0 ;
12676 PyObject * obj2 = 0 ;
12677 char *kwnames[] = {
12678 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12679 };
12680
12681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12684 {
12685 arg2 = wxString_in_helper(obj1);
12686 if (arg2 == NULL) SWIG_fail;
12687 temp2 = True;
12688 }
12689 if (obj2) {
12690 {
12691 arg3 = wxString_in_helper(obj2);
12692 if (arg3 == NULL) SWIG_fail;
12693 temp3 = True;
12694 }
12695 }
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 resultobj = result;
12704 {
12705 if (temp2)
12706 delete arg2;
12707 }
12708 {
12709 if (temp3)
12710 delete arg3;
12711 }
12712 return resultobj;
12713 fail:
12714 {
12715 if (temp2)
12716 delete arg2;
12717 }
12718 {
12719 if (temp3)
12720 delete arg3;
12721 }
12722 return NULL;
12723 }
12724
12725
12726 static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxFileType *arg1 = (wxFileType *) 0 ;
12729 wxString *arg2 = 0 ;
12730 wxString const &arg3_defvalue = wxPyEmptyString ;
12731 wxString *arg3 = (wxString *) &arg3_defvalue ;
12732 PyObject *result;
12733 bool temp2 = False ;
12734 bool temp3 = False ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 PyObject * obj2 = 0 ;
12738 char *kwnames[] = {
12739 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12740 };
12741
12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12745 {
12746 arg2 = wxString_in_helper(obj1);
12747 if (arg2 == NULL) SWIG_fail;
12748 temp2 = True;
12749 }
12750 if (obj2) {
12751 {
12752 arg3 = wxString_in_helper(obj2);
12753 if (arg3 == NULL) SWIG_fail;
12754 temp3 = True;
12755 }
12756 }
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 resultobj = result;
12765 {
12766 if (temp2)
12767 delete arg2;
12768 }
12769 {
12770 if (temp3)
12771 delete arg3;
12772 }
12773 return resultobj;
12774 fail:
12775 {
12776 if (temp2)
12777 delete arg2;
12778 }
12779 {
12780 if (temp3)
12781 delete arg3;
12782 }
12783 return NULL;
12784 }
12785
12786
12787 static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj;
12789 wxFileType *arg1 = (wxFileType *) 0 ;
12790 wxString *arg2 = 0 ;
12791 wxString *arg3 = 0 ;
12792 bool arg4 = (bool) True ;
12793 bool result;
12794 bool temp2 = False ;
12795 bool temp3 = False ;
12796 PyObject * obj0 = 0 ;
12797 PyObject * obj1 = 0 ;
12798 PyObject * obj2 = 0 ;
12799 PyObject * obj3 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12807 {
12808 arg2 = wxString_in_helper(obj1);
12809 if (arg2 == NULL) SWIG_fail;
12810 temp2 = True;
12811 }
12812 {
12813 arg3 = wxString_in_helper(obj2);
12814 if (arg3 == NULL) SWIG_fail;
12815 temp3 = True;
12816 }
12817 if (obj3) {
12818 arg4 = (bool) SWIG_AsBool(obj3);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 {
12829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12830 }
12831 {
12832 if (temp2)
12833 delete arg2;
12834 }
12835 {
12836 if (temp3)
12837 delete arg3;
12838 }
12839 return resultobj;
12840 fail:
12841 {
12842 if (temp2)
12843 delete arg2;
12844 }
12845 {
12846 if (temp3)
12847 delete arg3;
12848 }
12849 return NULL;
12850 }
12851
12852
12853 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj;
12855 wxFileType *arg1 = (wxFileType *) 0 ;
12856 wxString const &arg2_defvalue = wxPyEmptyString ;
12857 wxString *arg2 = (wxString *) &arg2_defvalue ;
12858 int arg3 = (int) 0 ;
12859 bool result;
12860 bool temp2 = False ;
12861 PyObject * obj0 = 0 ;
12862 PyObject * obj1 = 0 ;
12863 PyObject * obj2 = 0 ;
12864 char *kwnames[] = {
12865 (char *) "self",(char *) "cmd",(char *) "index", NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12871 if (obj1) {
12872 {
12873 arg2 = wxString_in_helper(obj1);
12874 if (arg2 == NULL) SWIG_fail;
12875 temp2 = True;
12876 }
12877 }
12878 if (obj2) {
12879 arg3 = (int) SWIG_AsInt(obj2);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 {
12890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12891 }
12892 {
12893 if (temp2)
12894 delete arg2;
12895 }
12896 return resultobj;
12897 fail:
12898 {
12899 if (temp2)
12900 delete arg2;
12901 }
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxFileType *arg1 = (wxFileType *) 0 ;
12909 bool result;
12910 PyObject * obj0 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileType,
12917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 result = (bool)(arg1)->Unassociate();
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 {
12926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12927 }
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
12935 PyObject *resultobj;
12936 wxString *arg1 = 0 ;
12937 wxString *arg2 = 0 ;
12938 wxString const &arg3_defvalue = wxPyEmptyString ;
12939 wxString *arg3 = (wxString *) &arg3_defvalue ;
12940 wxString result;
12941 bool temp1 = False ;
12942 bool temp2 = False ;
12943 bool temp3 = False ;
12944 PyObject * obj0 = 0 ;
12945 PyObject * obj1 = 0 ;
12946 PyObject * obj2 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12952 {
12953 arg1 = wxString_in_helper(obj0);
12954 if (arg1 == NULL) SWIG_fail;
12955 temp1 = True;
12956 }
12957 {
12958 arg2 = wxString_in_helper(obj1);
12959 if (arg2 == NULL) SWIG_fail;
12960 temp2 = True;
12961 }
12962 if (obj2) {
12963 {
12964 arg3 = wxString_in_helper(obj2);
12965 if (arg3 == NULL) SWIG_fail;
12966 temp3 = True;
12967 }
12968 }
12969 {
12970 PyThreadState* __tstate = wxPyBeginAllowThreads();
12971 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12972
12973 wxPyEndAllowThreads(__tstate);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 {
12977 #if wxUSE_UNICODE
12978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12979 #else
12980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12981 #endif
12982 }
12983 {
12984 if (temp1)
12985 delete arg1;
12986 }
12987 {
12988 if (temp2)
12989 delete arg2;
12990 }
12991 {
12992 if (temp3)
12993 delete arg3;
12994 }
12995 return resultobj;
12996 fail:
12997 {
12998 if (temp1)
12999 delete arg1;
13000 }
13001 {
13002 if (temp2)
13003 delete arg2;
13004 }
13005 {
13006 if (temp3)
13007 delete arg3;
13008 }
13009 return NULL;
13010 }
13011
13012
13013 static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
13014 PyObject *obj;
13015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13016 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
13017 Py_INCREF(obj);
13018 return Py_BuildValue((char *)"");
13019 }
13020 static int _wrap_TheMimeTypesManager_set(PyObject *) {
13021 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
13022 return 1;
13023 }
13024
13025
13026 static PyObject *_wrap_TheMimeTypesManager_get() {
13027 PyObject *pyobj;
13028
13029 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
13030 return pyobj;
13031 }
13032
13033
13034 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
13035 PyObject *resultobj;
13036 wxString *arg1 = 0 ;
13037 wxString *arg2 = 0 ;
13038 bool result;
13039 bool temp1 = False ;
13040 bool temp2 = False ;
13041 PyObject * obj0 = 0 ;
13042 PyObject * obj1 = 0 ;
13043 char *kwnames[] = {
13044 (char *) "mimeType",(char *) "wildcard", NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
13048 {
13049 arg1 = wxString_in_helper(obj0);
13050 if (arg1 == NULL) SWIG_fail;
13051 temp1 = True;
13052 }
13053 {
13054 arg2 = wxString_in_helper(obj1);
13055 if (arg2 == NULL) SWIG_fail;
13056 temp2 = True;
13057 }
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13067 }
13068 {
13069 if (temp1)
13070 delete arg1;
13071 }
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 return resultobj;
13077 fail:
13078 {
13079 if (temp1)
13080 delete arg1;
13081 }
13082 {
13083 if (temp2)
13084 delete arg2;
13085 }
13086 return NULL;
13087 }
13088
13089
13090 static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13091 PyObject *resultobj;
13092 wxMimeTypesManager *result;
13093 char *kwnames[] = {
13094 NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (wxMimeTypesManager *)new wxMimeTypesManager();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13115 int arg2 = (int) wxMAILCAP_ALL ;
13116 wxString const &arg3_defvalue = wxPyEmptyString ;
13117 wxString *arg3 = (wxString *) &arg3_defvalue ;
13118 bool temp3 = False ;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 PyObject * obj2 = 0 ;
13122 char *kwnames[] = {
13123 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13124 };
13125
13126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
13127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13129 if (obj1) {
13130 arg2 = (int) SWIG_AsInt(obj1);
13131 if (PyErr_Occurred()) SWIG_fail;
13132 }
13133 if (obj2) {
13134 {
13135 arg3 = wxString_in_helper(obj2);
13136 if (arg3 == NULL) SWIG_fail;
13137 temp3 = True;
13138 }
13139 }
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 (arg1)->Initialize(arg2,(wxString const &)*arg3);
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 {
13149 if (temp3)
13150 delete arg3;
13151 }
13152 return resultobj;
13153 fail:
13154 {
13155 if (temp3)
13156 delete arg3;
13157 }
13158 return NULL;
13159 }
13160
13161
13162 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 (arg1)->ClearData();
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 Py_INCREF(Py_None); resultobj = Py_None;
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13190 wxString *arg2 = 0 ;
13191 wxFileType *result;
13192 bool temp2 = False ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "ext", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13202 {
13203 arg2 = wxString_in_helper(obj1);
13204 if (arg2 == NULL) SWIG_fail;
13205 temp2 = True;
13206 }
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
13214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13215 {
13216 if (temp2)
13217 delete arg2;
13218 }
13219 return resultobj;
13220 fail:
13221 {
13222 if (temp2)
13223 delete arg2;
13224 }
13225 return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13232 wxString *arg2 = 0 ;
13233 wxFileType *result;
13234 bool temp2 = False ;
13235 PyObject * obj0 = 0 ;
13236 PyObject * obj1 = 0 ;
13237 char *kwnames[] = {
13238 (char *) "self",(char *) "mimeType", NULL
13239 };
13240
13241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
13242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13244 {
13245 arg2 = wxString_in_helper(obj1);
13246 if (arg2 == NULL) SWIG_fail;
13247 temp2 = True;
13248 }
13249 {
13250 PyThreadState* __tstate = wxPyBeginAllowThreads();
13251 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
13252
13253 wxPyEndAllowThreads(__tstate);
13254 if (PyErr_Occurred()) SWIG_fail;
13255 }
13256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13257 {
13258 if (temp2)
13259 delete arg2;
13260 }
13261 return resultobj;
13262 fail:
13263 {
13264 if (temp2)
13265 delete arg2;
13266 }
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13274 wxString *arg2 = 0 ;
13275 bool arg3 = (bool) False ;
13276 bool result;
13277 bool temp2 = False ;
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280 PyObject * obj2 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13288 {
13289 arg2 = wxString_in_helper(obj1);
13290 if (arg2 == NULL) SWIG_fail;
13291 temp2 = True;
13292 }
13293 if (obj2) {
13294 arg3 = (bool) SWIG_AsBool(obj2);
13295 if (PyErr_Occurred()) SWIG_fail;
13296 }
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 {
13305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13306 }
13307 {
13308 if (temp2)
13309 delete arg2;
13310 }
13311 return resultobj;
13312 fail:
13313 {
13314 if (temp2)
13315 delete arg2;
13316 }
13317 return NULL;
13318 }
13319
13320
13321 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13324 wxString *arg2 = 0 ;
13325 bool result;
13326 bool temp2 = False ;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self",(char *) "filename", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13336 {
13337 arg2 = wxString_in_helper(obj1);
13338 if (arg2 == NULL) SWIG_fail;
13339 temp2 = True;
13340 }
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 {
13349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13350 }
13351 {
13352 if (temp2)
13353 delete arg2;
13354 }
13355 return resultobj;
13356 fail:
13357 {
13358 if (temp2)
13359 delete arg2;
13360 }
13361 return NULL;
13362 }
13363
13364
13365 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13368 PyObject *result;
13369 PyObject * obj0 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = result;
13385 return resultobj;
13386 fail:
13387 return NULL;
13388 }
13389
13390
13391 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13394 wxFileTypeInfo *arg2 = 0 ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397 char *kwnames[] = {
13398 (char *) "self",(char *) "ft", NULL
13399 };
13400
13401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13404 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13405 SWIG_POINTER_EXCEPTION | 0)) == -1)
13406 SWIG_fail;
13407 if (arg2 == NULL) {
13408 PyErr_SetString(PyExc_TypeError,"null reference");
13409 SWIG_fail;
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13428 wxFileTypeInfo *arg2 = 0 ;
13429 wxFileType *result;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "ftInfo", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileTypeInfo,
13440 SWIG_POINTER_EXCEPTION | 0)) == -1)
13441 SWIG_fail;
13442 if (arg2 == NULL) {
13443 PyErr_SetString(PyExc_TypeError,"null reference");
13444 SWIG_fail;
13445 }
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
13454 return resultobj;
13455 fail:
13456 return NULL;
13457 }
13458
13459
13460 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13463 wxFileType *arg2 = (wxFileType *) 0 ;
13464 bool result;
13465 PyObject * obj0 = 0 ;
13466 PyObject * obj1 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self",(char *) "ft", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13474 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileType,
13475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 result = (bool)(arg1)->Unassociate(arg2);
13479
13480 wxPyEndAllowThreads(__tstate);
13481 if (PyErr_Occurred()) SWIG_fail;
13482 }
13483 {
13484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13485 }
13486 return resultobj;
13487 fail:
13488 return NULL;
13489 }
13490
13491
13492 static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
13493 PyObject *resultobj;
13494 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMimeTypesManager,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 delete arg1;
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 Py_INCREF(Py_None); resultobj = Py_None;
13511 return resultobj;
13512 fail:
13513 return NULL;
13514 }
13515
13516
13517 static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
13518 PyObject *obj;
13519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13520 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13521 Py_INCREF(obj);
13522 return Py_BuildValue((char *)"");
13523 }
13524 static int _wrap_ART_TOOLBAR_set(PyObject *) {
13525 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13526 return 1;
13527 }
13528
13529
13530 static PyObject *_wrap_ART_TOOLBAR_get() {
13531 PyObject *pyobj;
13532
13533 {
13534 #if wxUSE_UNICODE
13535 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13536 #else
13537 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13538 #endif
13539 }
13540 return pyobj;
13541 }
13542
13543
13544 static int _wrap_ART_MENU_set(PyObject *) {
13545 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13546 return 1;
13547 }
13548
13549
13550 static PyObject *_wrap_ART_MENU_get() {
13551 PyObject *pyobj;
13552
13553 {
13554 #if wxUSE_UNICODE
13555 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13556 #else
13557 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13558 #endif
13559 }
13560 return pyobj;
13561 }
13562
13563
13564 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
13565 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13566 return 1;
13567 }
13568
13569
13570 static PyObject *_wrap_ART_FRAME_ICON_get() {
13571 PyObject *pyobj;
13572
13573 {
13574 #if wxUSE_UNICODE
13575 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13576 #else
13577 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13578 #endif
13579 }
13580 return pyobj;
13581 }
13582
13583
13584 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
13585 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13586 return 1;
13587 }
13588
13589
13590 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13591 PyObject *pyobj;
13592
13593 {
13594 #if wxUSE_UNICODE
13595 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13596 #else
13597 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13598 #endif
13599 }
13600 return pyobj;
13601 }
13602
13603
13604 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
13605 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13606 return 1;
13607 }
13608
13609
13610 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13611 PyObject *pyobj;
13612
13613 {
13614 #if wxUSE_UNICODE
13615 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13616 #else
13617 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13618 #endif
13619 }
13620 return pyobj;
13621 }
13622
13623
13624 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
13625 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13626 return 1;
13627 }
13628
13629
13630 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13631 PyObject *pyobj;
13632
13633 {
13634 #if wxUSE_UNICODE
13635 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13636 #else
13637 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13638 #endif
13639 }
13640 return pyobj;
13641 }
13642
13643
13644 static int _wrap_ART_OTHER_set(PyObject *) {
13645 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13646 return 1;
13647 }
13648
13649
13650 static PyObject *_wrap_ART_OTHER_get() {
13651 PyObject *pyobj;
13652
13653 {
13654 #if wxUSE_UNICODE
13655 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13656 #else
13657 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13658 #endif
13659 }
13660 return pyobj;
13661 }
13662
13663
13664 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
13665 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13666 return 1;
13667 }
13668
13669
13670 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13671 PyObject *pyobj;
13672
13673 {
13674 #if wxUSE_UNICODE
13675 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13676 #else
13677 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13678 #endif
13679 }
13680 return pyobj;
13681 }
13682
13683
13684 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
13685 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13686 return 1;
13687 }
13688
13689
13690 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13691 PyObject *pyobj;
13692
13693 {
13694 #if wxUSE_UNICODE
13695 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13696 #else
13697 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13698 #endif
13699 }
13700 return pyobj;
13701 }
13702
13703
13704 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
13705 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13706 return 1;
13707 }
13708
13709
13710 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13711 PyObject *pyobj;
13712
13713 {
13714 #if wxUSE_UNICODE
13715 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13716 #else
13717 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13718 #endif
13719 }
13720 return pyobj;
13721 }
13722
13723
13724 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
13725 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13726 return 1;
13727 }
13728
13729
13730 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13731 PyObject *pyobj;
13732
13733 {
13734 #if wxUSE_UNICODE
13735 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13736 #else
13737 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13738 #endif
13739 }
13740 return pyobj;
13741 }
13742
13743
13744 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
13745 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13746 return 1;
13747 }
13748
13749
13750 static PyObject *_wrap_ART_HELP_BOOK_get() {
13751 PyObject *pyobj;
13752
13753 {
13754 #if wxUSE_UNICODE
13755 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13756 #else
13757 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13758 #endif
13759 }
13760 return pyobj;
13761 }
13762
13763
13764 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
13765 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13766 return 1;
13767 }
13768
13769
13770 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13771 PyObject *pyobj;
13772
13773 {
13774 #if wxUSE_UNICODE
13775 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13776 #else
13777 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13778 #endif
13779 }
13780 return pyobj;
13781 }
13782
13783
13784 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
13785 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13786 return 1;
13787 }
13788
13789
13790 static PyObject *_wrap_ART_HELP_PAGE_get() {
13791 PyObject *pyobj;
13792
13793 {
13794 #if wxUSE_UNICODE
13795 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13796 #else
13797 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13798 #endif
13799 }
13800 return pyobj;
13801 }
13802
13803
13804 static int _wrap_ART_GO_BACK_set(PyObject *) {
13805 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13806 return 1;
13807 }
13808
13809
13810 static PyObject *_wrap_ART_GO_BACK_get() {
13811 PyObject *pyobj;
13812
13813 {
13814 #if wxUSE_UNICODE
13815 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13816 #else
13817 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13818 #endif
13819 }
13820 return pyobj;
13821 }
13822
13823
13824 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
13825 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13826 return 1;
13827 }
13828
13829
13830 static PyObject *_wrap_ART_GO_FORWARD_get() {
13831 PyObject *pyobj;
13832
13833 {
13834 #if wxUSE_UNICODE
13835 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13836 #else
13837 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13838 #endif
13839 }
13840 return pyobj;
13841 }
13842
13843
13844 static int _wrap_ART_GO_UP_set(PyObject *) {
13845 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13846 return 1;
13847 }
13848
13849
13850 static PyObject *_wrap_ART_GO_UP_get() {
13851 PyObject *pyobj;
13852
13853 {
13854 #if wxUSE_UNICODE
13855 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13856 #else
13857 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13858 #endif
13859 }
13860 return pyobj;
13861 }
13862
13863
13864 static int _wrap_ART_GO_DOWN_set(PyObject *) {
13865 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13866 return 1;
13867 }
13868
13869
13870 static PyObject *_wrap_ART_GO_DOWN_get() {
13871 PyObject *pyobj;
13872
13873 {
13874 #if wxUSE_UNICODE
13875 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13876 #else
13877 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13878 #endif
13879 }
13880 return pyobj;
13881 }
13882
13883
13884 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
13885 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13886 return 1;
13887 }
13888
13889
13890 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13891 PyObject *pyobj;
13892
13893 {
13894 #if wxUSE_UNICODE
13895 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13896 #else
13897 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13898 #endif
13899 }
13900 return pyobj;
13901 }
13902
13903
13904 static int _wrap_ART_GO_HOME_set(PyObject *) {
13905 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13906 return 1;
13907 }
13908
13909
13910 static PyObject *_wrap_ART_GO_HOME_get() {
13911 PyObject *pyobj;
13912
13913 {
13914 #if wxUSE_UNICODE
13915 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13916 #else
13917 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13918 #endif
13919 }
13920 return pyobj;
13921 }
13922
13923
13924 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
13925 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13926 return 1;
13927 }
13928
13929
13930 static PyObject *_wrap_ART_FILE_OPEN_get() {
13931 PyObject *pyobj;
13932
13933 {
13934 #if wxUSE_UNICODE
13935 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13936 #else
13937 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13938 #endif
13939 }
13940 return pyobj;
13941 }
13942
13943
13944 static int _wrap_ART_PRINT_set(PyObject *) {
13945 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13946 return 1;
13947 }
13948
13949
13950 static PyObject *_wrap_ART_PRINT_get() {
13951 PyObject *pyobj;
13952
13953 {
13954 #if wxUSE_UNICODE
13955 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13956 #else
13957 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13958 #endif
13959 }
13960 return pyobj;
13961 }
13962
13963
13964 static int _wrap_ART_HELP_set(PyObject *) {
13965 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13966 return 1;
13967 }
13968
13969
13970 static PyObject *_wrap_ART_HELP_get() {
13971 PyObject *pyobj;
13972
13973 {
13974 #if wxUSE_UNICODE
13975 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13976 #else
13977 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13978 #endif
13979 }
13980 return pyobj;
13981 }
13982
13983
13984 static int _wrap_ART_TIP_set(PyObject *) {
13985 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13986 return 1;
13987 }
13988
13989
13990 static PyObject *_wrap_ART_TIP_get() {
13991 PyObject *pyobj;
13992
13993 {
13994 #if wxUSE_UNICODE
13995 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13996 #else
13997 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13998 #endif
13999 }
14000 return pyobj;
14001 }
14002
14003
14004 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
14005 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
14006 return 1;
14007 }
14008
14009
14010 static PyObject *_wrap_ART_REPORT_VIEW_get() {
14011 PyObject *pyobj;
14012
14013 {
14014 #if wxUSE_UNICODE
14015 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14016 #else
14017 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
14018 #endif
14019 }
14020 return pyobj;
14021 }
14022
14023
14024 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
14025 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
14026 return 1;
14027 }
14028
14029
14030 static PyObject *_wrap_ART_LIST_VIEW_get() {
14031 PyObject *pyobj;
14032
14033 {
14034 #if wxUSE_UNICODE
14035 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14036 #else
14037 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
14038 #endif
14039 }
14040 return pyobj;
14041 }
14042
14043
14044 static int _wrap_ART_NEW_DIR_set(PyObject *) {
14045 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
14046 return 1;
14047 }
14048
14049
14050 static PyObject *_wrap_ART_NEW_DIR_get() {
14051 PyObject *pyobj;
14052
14053 {
14054 #if wxUSE_UNICODE
14055 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14056 #else
14057 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
14058 #endif
14059 }
14060 return pyobj;
14061 }
14062
14063
14064 static int _wrap_ART_FOLDER_set(PyObject *) {
14065 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
14066 return 1;
14067 }
14068
14069
14070 static PyObject *_wrap_ART_FOLDER_get() {
14071 PyObject *pyobj;
14072
14073 {
14074 #if wxUSE_UNICODE
14075 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14076 #else
14077 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
14078 #endif
14079 }
14080 return pyobj;
14081 }
14082
14083
14084 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
14085 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
14086 return 1;
14087 }
14088
14089
14090 static PyObject *_wrap_ART_GO_DIR_UP_get() {
14091 PyObject *pyobj;
14092
14093 {
14094 #if wxUSE_UNICODE
14095 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14096 #else
14097 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
14098 #endif
14099 }
14100 return pyobj;
14101 }
14102
14103
14104 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
14105 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
14106 return 1;
14107 }
14108
14109
14110 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
14111 PyObject *pyobj;
14112
14113 {
14114 #if wxUSE_UNICODE
14115 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14116 #else
14117 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
14118 #endif
14119 }
14120 return pyobj;
14121 }
14122
14123
14124 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
14125 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
14126 return 1;
14127 }
14128
14129
14130 static PyObject *_wrap_ART_NORMAL_FILE_get() {
14131 PyObject *pyobj;
14132
14133 {
14134 #if wxUSE_UNICODE
14135 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14136 #else
14137 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
14138 #endif
14139 }
14140 return pyobj;
14141 }
14142
14143
14144 static int _wrap_ART_TICK_MARK_set(PyObject *) {
14145 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
14146 return 1;
14147 }
14148
14149
14150 static PyObject *_wrap_ART_TICK_MARK_get() {
14151 PyObject *pyobj;
14152
14153 {
14154 #if wxUSE_UNICODE
14155 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14156 #else
14157 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
14158 #endif
14159 }
14160 return pyobj;
14161 }
14162
14163
14164 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
14165 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
14166 return 1;
14167 }
14168
14169
14170 static PyObject *_wrap_ART_CROSS_MARK_get() {
14171 PyObject *pyobj;
14172
14173 {
14174 #if wxUSE_UNICODE
14175 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14176 #else
14177 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
14178 #endif
14179 }
14180 return pyobj;
14181 }
14182
14183
14184 static int _wrap_ART_ERROR_set(PyObject *) {
14185 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
14186 return 1;
14187 }
14188
14189
14190 static PyObject *_wrap_ART_ERROR_get() {
14191 PyObject *pyobj;
14192
14193 {
14194 #if wxUSE_UNICODE
14195 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14196 #else
14197 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
14198 #endif
14199 }
14200 return pyobj;
14201 }
14202
14203
14204 static int _wrap_ART_QUESTION_set(PyObject *) {
14205 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
14206 return 1;
14207 }
14208
14209
14210 static PyObject *_wrap_ART_QUESTION_get() {
14211 PyObject *pyobj;
14212
14213 {
14214 #if wxUSE_UNICODE
14215 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14216 #else
14217 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
14218 #endif
14219 }
14220 return pyobj;
14221 }
14222
14223
14224 static int _wrap_ART_WARNING_set(PyObject *) {
14225 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
14226 return 1;
14227 }
14228
14229
14230 static PyObject *_wrap_ART_WARNING_get() {
14231 PyObject *pyobj;
14232
14233 {
14234 #if wxUSE_UNICODE
14235 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14236 #else
14237 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
14238 #endif
14239 }
14240 return pyobj;
14241 }
14242
14243
14244 static int _wrap_ART_INFORMATION_set(PyObject *) {
14245 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
14246 return 1;
14247 }
14248
14249
14250 static PyObject *_wrap_ART_INFORMATION_get() {
14251 PyObject *pyobj;
14252
14253 {
14254 #if wxUSE_UNICODE
14255 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14256 #else
14257 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
14258 #endif
14259 }
14260 return pyobj;
14261 }
14262
14263
14264 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
14265 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
14266 return 1;
14267 }
14268
14269
14270 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
14271 PyObject *pyobj;
14272
14273 {
14274 #if wxUSE_UNICODE
14275 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14276 #else
14277 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14278 #endif
14279 }
14280 return pyobj;
14281 }
14282
14283
14284 static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14285 PyObject *resultobj;
14286 wxPyArtProvider *result;
14287 char *kwnames[] = {
14288 NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (wxPyArtProvider *)new wxPyArtProvider();
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14309 PyObject *arg2 = (PyObject *) 0 ;
14310 PyObject *arg3 = (PyObject *) 0 ;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj1 = 0 ;
14313 PyObject * obj2 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self",(char *) "self",(char *) "_class", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14321 arg2 = obj1;
14322 arg3 = obj2;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 (arg1)->_setCallbackInfo(arg2,arg3);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 Py_INCREF(Py_None); resultobj = Py_None;
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "provider", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14348 {
14349 PyThreadState* __tstate = wxPyBeginAllowThreads();
14350 wxPyArtProvider::PushProvider(arg1);
14351
14352 wxPyEndAllowThreads(__tstate);
14353 if (PyErr_Occurred()) SWIG_fail;
14354 }
14355 Py_INCREF(Py_None); resultobj = Py_None;
14356 return resultobj;
14357 fail:
14358 return NULL;
14359 }
14360
14361
14362 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14363 PyObject *resultobj;
14364 bool result;
14365 char *kwnames[] = {
14366 NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (bool)wxPyArtProvider::PopProvider();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14379 }
14380 return resultobj;
14381 fail:
14382 return NULL;
14383 }
14384
14385
14386 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
14387 PyObject *resultobj;
14388 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14389 bool result;
14390 PyObject * obj0 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "provider", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 {
14406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14407 }
14408 return resultobj;
14409 fail:
14410 return NULL;
14411 }
14412
14413
14414 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
14415 PyObject *resultobj;
14416 wxString *arg1 = 0 ;
14417 wxString const &arg2_defvalue = wxPyART_OTHER ;
14418 wxString *arg2 = (wxString *) &arg2_defvalue ;
14419 wxSize const &arg3_defvalue = wxDefaultSize ;
14420 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14421 wxBitmap result;
14422 bool temp1 = False ;
14423 bool temp2 = False ;
14424 wxSize temp3 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 PyObject * obj2 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "id",(char *) "client",(char *) "size", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14433 {
14434 arg1 = wxString_in_helper(obj0);
14435 if (arg1 == NULL) SWIG_fail;
14436 temp1 = True;
14437 }
14438 if (obj1) {
14439 {
14440 arg2 = wxString_in_helper(obj1);
14441 if (arg2 == NULL) SWIG_fail;
14442 temp2 = True;
14443 }
14444 }
14445 if (obj2) {
14446 {
14447 arg3 = &temp3;
14448 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14449 }
14450 }
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 wxBitmap * resultptr;
14460 resultptr = new wxBitmap((wxBitmap &) result);
14461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
14462 }
14463 {
14464 if (temp1)
14465 delete arg1;
14466 }
14467 {
14468 if (temp2)
14469 delete arg2;
14470 }
14471 return resultobj;
14472 fail:
14473 {
14474 if (temp1)
14475 delete arg1;
14476 }
14477 {
14478 if (temp2)
14479 delete arg2;
14480 }
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxString *arg1 = 0 ;
14488 wxString const &arg2_defvalue = wxPyART_OTHER ;
14489 wxString *arg2 = (wxString *) &arg2_defvalue ;
14490 wxSize const &arg3_defvalue = wxDefaultSize ;
14491 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14492 wxIcon result;
14493 bool temp1 = False ;
14494 bool temp2 = False ;
14495 wxSize temp3 ;
14496 PyObject * obj0 = 0 ;
14497 PyObject * obj1 = 0 ;
14498 PyObject * obj2 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "id",(char *) "client",(char *) "size", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14504 {
14505 arg1 = wxString_in_helper(obj0);
14506 if (arg1 == NULL) SWIG_fail;
14507 temp1 = True;
14508 }
14509 if (obj1) {
14510 {
14511 arg2 = wxString_in_helper(obj1);
14512 if (arg2 == NULL) SWIG_fail;
14513 temp2 = True;
14514 }
14515 }
14516 if (obj2) {
14517 {
14518 arg3 = &temp3;
14519 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14520 }
14521 }
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 wxIcon * resultptr;
14531 resultptr = new wxIcon((wxIcon &) result);
14532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
14533 }
14534 {
14535 if (temp1)
14536 delete arg1;
14537 }
14538 {
14539 if (temp2)
14540 delete arg2;
14541 }
14542 return resultobj;
14543 fail:
14544 {
14545 if (temp1)
14546 delete arg1;
14547 }
14548 {
14549 if (temp2)
14550 delete arg2;
14551 }
14552 return NULL;
14553 }
14554
14555
14556 static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyArtProvider,
14566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 wxPyArtProvider_Destroy(arg1);
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 Py_INCREF(Py_None); resultobj = Py_None;
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
14582 PyObject *obj;
14583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14584 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14585 Py_INCREF(obj);
14586 return Py_BuildValue((char *)"");
14587 }
14588 static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 delete arg1;
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 Py_INCREF(Py_None); resultobj = Py_None;
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14616 wxConfigBase *result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "config", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14633 return resultobj;
14634 fail:
14635 return NULL;
14636 }
14637
14638
14639 static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 bool arg1 = (bool) True ;
14642 wxConfigBase *result;
14643 PyObject * obj0 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "createOnDemand", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14649 if (obj0) {
14650 arg1 = (bool) SWIG_AsBool(obj0);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 {
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
14655 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14656
14657 wxPyEndAllowThreads(__tstate);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 }
14660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14661 return resultobj;
14662 fail:
14663 return NULL;
14664 }
14665
14666
14667 static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
14668 PyObject *resultobj;
14669 wxConfigBase *result;
14670 char *kwnames[] = {
14671 NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14675 {
14676 PyThreadState* __tstate = wxPyBeginAllowThreads();
14677 result = (wxConfigBase *)wxConfigBase::Create();
14678
14679 wxPyEndAllowThreads(__tstate);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
14683 return resultobj;
14684 fail:
14685 return NULL;
14686 }
14687
14688
14689 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 char *kwnames[] = {
14692 NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 wxConfigBase::DontCreateOnDemand();
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 Py_INCREF(Py_None); resultobj = Py_None;
14704 return resultobj;
14705 fail:
14706 return NULL;
14707 }
14708
14709
14710 static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14713 wxString *arg2 = 0 ;
14714 bool temp2 = False ;
14715 PyObject * obj0 = 0 ;
14716 PyObject * obj1 = 0 ;
14717 char *kwnames[] = {
14718 (char *) "self",(char *) "path", NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14724 {
14725 arg2 = wxString_in_helper(obj1);
14726 if (arg2 == NULL) SWIG_fail;
14727 temp2 = True;
14728 }
14729 {
14730 PyThreadState* __tstate = wxPyBeginAllowThreads();
14731 (arg1)->SetPath((wxString const &)*arg2);
14732
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 {
14738 if (temp2)
14739 delete arg2;
14740 }
14741 return resultobj;
14742 fail:
14743 {
14744 if (temp2)
14745 delete arg2;
14746 }
14747 return NULL;
14748 }
14749
14750
14751 static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
14752 PyObject *resultobj;
14753 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14754 wxString *result;
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "self", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14763 {
14764 PyThreadState* __tstate = wxPyBeginAllowThreads();
14765 {
14766 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14767 result = (wxString *) &_result_ref;
14768 }
14769
14770 wxPyEndAllowThreads(__tstate);
14771 if (PyErr_Occurred()) SWIG_fail;
14772 }
14773 {
14774 #if wxUSE_UNICODE
14775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14776 #else
14777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14778 #endif
14779 }
14780 return resultobj;
14781 fail:
14782 return NULL;
14783 }
14784
14785
14786 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14787 PyObject *resultobj;
14788 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14789 PyObject *result;
14790 PyObject * obj0 = 0 ;
14791 char *kwnames[] = {
14792 (char *) "self", NULL
14793 };
14794
14795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14798 {
14799 PyThreadState* __tstate = wxPyBeginAllowThreads();
14800 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14801
14802 wxPyEndAllowThreads(__tstate);
14803 if (PyErr_Occurred()) SWIG_fail;
14804 }
14805 resultobj = result;
14806 return resultobj;
14807 fail:
14808 return NULL;
14809 }
14810
14811
14812 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14813 PyObject *resultobj;
14814 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14815 long arg2 ;
14816 PyObject *result;
14817 PyObject * obj0 = 0 ;
14818 PyObject * obj1 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self",(char *) "index", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14826 arg2 = (long) SWIG_AsLong(obj1);
14827 if (PyErr_Occurred()) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = result;
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14845 PyObject *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14857
14858 wxPyEndAllowThreads(__tstate);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 resultobj = result;
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14871 long arg2 ;
14872 PyObject *result;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self",(char *) "index", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14882 arg2 = (long) SWIG_AsLong(obj1);
14883 if (PyErr_Occurred()) SWIG_fail;
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = result;
14892 return resultobj;
14893 fail:
14894 return NULL;
14895 }
14896
14897
14898 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14901 bool arg2 = (bool) False ;
14902 size_t result;
14903 PyObject * obj0 = 0 ;
14904 PyObject * obj1 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "self",(char *) "recursive", NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14912 if (obj1) {
14913 arg2 = (bool) SWIG_AsBool(obj1);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14933 bool arg2 = (bool) False ;
14934 size_t result;
14935 PyObject * obj0 = 0 ;
14936 PyObject * obj1 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self",(char *) "recursive", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14944 if (obj1) {
14945 arg2 = (bool) SWIG_AsBool(obj1);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14965 wxString *arg2 = 0 ;
14966 bool result;
14967 bool temp2 = False ;
14968 PyObject * obj0 = 0 ;
14969 PyObject * obj1 = 0 ;
14970 char *kwnames[] = {
14971 (char *) "self",(char *) "name", NULL
14972 };
14973
14974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
14976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14977 {
14978 arg2 = wxString_in_helper(obj1);
14979 if (arg2 == NULL) SWIG_fail;
14980 temp2 = True;
14981 }
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 {
14990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14991 }
14992 {
14993 if (temp2)
14994 delete arg2;
14995 }
14996 return resultobj;
14997 fail:
14998 {
14999 if (temp2)
15000 delete arg2;
15001 }
15002 return NULL;
15003 }
15004
15005
15006 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15009 wxString *arg2 = 0 ;
15010 bool result;
15011 bool temp2 = False ;
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self",(char *) "name", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15021 {
15022 arg2 = wxString_in_helper(obj1);
15023 if (arg2 == NULL) SWIG_fail;
15024 temp2 = True;
15025 }
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 {
15034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15035 }
15036 {
15037 if (temp2)
15038 delete arg2;
15039 }
15040 return resultobj;
15041 fail:
15042 {
15043 if (temp2)
15044 delete arg2;
15045 }
15046 return NULL;
15047 }
15048
15049
15050 static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15053 wxString *arg2 = 0 ;
15054 bool result;
15055 bool temp2 = False ;
15056 PyObject * obj0 = 0 ;
15057 PyObject * obj1 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self",(char *) "name", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15065 {
15066 arg2 = wxString_in_helper(obj1);
15067 if (arg2 == NULL) SWIG_fail;
15068 temp2 = True;
15069 }
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 {
15078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15079 }
15080 {
15081 if (temp2)
15082 delete arg2;
15083 }
15084 return resultobj;
15085 fail:
15086 {
15087 if (temp2)
15088 delete arg2;
15089 }
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15097 wxString *arg2 = 0 ;
15098 int result;
15099 bool temp2 = False ;
15100 PyObject * obj0 = 0 ;
15101 PyObject * obj1 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self",(char *) "name", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15109 {
15110 arg2 = wxString_in_helper(obj1);
15111 if (arg2 == NULL) SWIG_fail;
15112 temp2 = True;
15113 }
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = SWIG_FromInt((int)result);
15122 {
15123 if (temp2)
15124 delete arg2;
15125 }
15126 return resultobj;
15127 fail:
15128 {
15129 if (temp2)
15130 delete arg2;
15131 }
15132 return NULL;
15133 }
15134
15135
15136 static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj;
15138 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15139 wxString *arg2 = 0 ;
15140 wxString const &arg3_defvalue = wxPyEmptyString ;
15141 wxString *arg3 = (wxString *) &arg3_defvalue ;
15142 wxString result;
15143 bool temp2 = False ;
15144 bool temp3 = False ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 PyObject * obj2 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15155 {
15156 arg2 = wxString_in_helper(obj1);
15157 if (arg2 == NULL) SWIG_fail;
15158 temp2 = True;
15159 }
15160 if (obj2) {
15161 {
15162 arg3 = wxString_in_helper(obj2);
15163 if (arg3 == NULL) SWIG_fail;
15164 temp3 = True;
15165 }
15166 }
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 {
15175 #if wxUSE_UNICODE
15176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15177 #else
15178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15179 #endif
15180 }
15181 {
15182 if (temp2)
15183 delete arg2;
15184 }
15185 {
15186 if (temp3)
15187 delete arg3;
15188 }
15189 return resultobj;
15190 fail:
15191 {
15192 if (temp2)
15193 delete arg2;
15194 }
15195 {
15196 if (temp3)
15197 delete arg3;
15198 }
15199 return NULL;
15200 }
15201
15202
15203 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15206 wxString *arg2 = 0 ;
15207 long arg3 = (long) 0 ;
15208 long result;
15209 bool temp2 = False ;
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
15212 PyObject * obj2 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15220 {
15221 arg2 = wxString_in_helper(obj1);
15222 if (arg2 == NULL) SWIG_fail;
15223 temp2 = True;
15224 }
15225 if (obj2) {
15226 arg3 = (long) SWIG_AsLong(obj2);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 resultobj = SWIG_FromLong((long)result);
15237 {
15238 if (temp2)
15239 delete arg2;
15240 }
15241 return resultobj;
15242 fail:
15243 {
15244 if (temp2)
15245 delete arg2;
15246 }
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15254 wxString *arg2 = 0 ;
15255 double arg3 = (double) 0.0 ;
15256 double result;
15257 bool temp2 = False ;
15258 PyObject * obj0 = 0 ;
15259 PyObject * obj1 = 0 ;
15260 PyObject * obj2 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15268 {
15269 arg2 = wxString_in_helper(obj1);
15270 if (arg2 == NULL) SWIG_fail;
15271 temp2 = True;
15272 }
15273 if (obj2) {
15274 arg3 = (double) SWIG_AsDouble(obj2);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_FromDouble((double)result);
15285 {
15286 if (temp2)
15287 delete arg2;
15288 }
15289 return resultobj;
15290 fail:
15291 {
15292 if (temp2)
15293 delete arg2;
15294 }
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15302 wxString *arg2 = 0 ;
15303 bool arg3 = (bool) False ;
15304 bool result;
15305 bool temp2 = False ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 PyObject * obj2 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15316 {
15317 arg2 = wxString_in_helper(obj1);
15318 if (arg2 == NULL) SWIG_fail;
15319 temp2 = True;
15320 }
15321 if (obj2) {
15322 arg3 = (bool) SWIG_AsBool(obj2);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 {
15326 PyThreadState* __tstate = wxPyBeginAllowThreads();
15327 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15328
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 {
15333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15334 }
15335 {
15336 if (temp2)
15337 delete arg2;
15338 }
15339 return resultobj;
15340 fail:
15341 {
15342 if (temp2)
15343 delete arg2;
15344 }
15345 return NULL;
15346 }
15347
15348
15349 static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15352 wxString *arg2 = 0 ;
15353 wxString *arg3 = 0 ;
15354 bool result;
15355 bool temp2 = False ;
15356 bool temp3 = False ;
15357 PyObject * obj0 = 0 ;
15358 PyObject * obj1 = 0 ;
15359 PyObject * obj2 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self",(char *) "key",(char *) "value", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15367 {
15368 arg2 = wxString_in_helper(obj1);
15369 if (arg2 == NULL) SWIG_fail;
15370 temp2 = True;
15371 }
15372 {
15373 arg3 = wxString_in_helper(obj2);
15374 if (arg3 == NULL) SWIG_fail;
15375 temp3 = True;
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 {
15385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15386 }
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 {
15392 if (temp3)
15393 delete arg3;
15394 }
15395 return resultobj;
15396 fail:
15397 {
15398 if (temp2)
15399 delete arg2;
15400 }
15401 {
15402 if (temp3)
15403 delete arg3;
15404 }
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15412 wxString *arg2 = 0 ;
15413 long arg3 ;
15414 bool result;
15415 bool temp2 = False ;
15416 PyObject * obj0 = 0 ;
15417 PyObject * obj1 = 0 ;
15418 PyObject * obj2 = 0 ;
15419 char *kwnames[] = {
15420 (char *) "self",(char *) "key",(char *) "value", NULL
15421 };
15422
15423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15426 {
15427 arg2 = wxString_in_helper(obj1);
15428 if (arg2 == NULL) SWIG_fail;
15429 temp2 = True;
15430 }
15431 arg3 = (long) SWIG_AsLong(obj2);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 {
15441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15442 }
15443 {
15444 if (temp2)
15445 delete arg2;
15446 }
15447 return resultobj;
15448 fail:
15449 {
15450 if (temp2)
15451 delete arg2;
15452 }
15453 return NULL;
15454 }
15455
15456
15457 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj;
15459 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15460 wxString *arg2 = 0 ;
15461 double arg3 ;
15462 bool result;
15463 bool temp2 = False ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 PyObject * obj2 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "key",(char *) "value", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15474 {
15475 arg2 = wxString_in_helper(obj1);
15476 if (arg2 == NULL) SWIG_fail;
15477 temp2 = True;
15478 }
15479 arg3 = (double) SWIG_AsDouble(obj2);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 {
15489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15490 }
15491 {
15492 if (temp2)
15493 delete arg2;
15494 }
15495 return resultobj;
15496 fail:
15497 {
15498 if (temp2)
15499 delete arg2;
15500 }
15501 return NULL;
15502 }
15503
15504
15505 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15508 wxString *arg2 = 0 ;
15509 bool arg3 ;
15510 bool result;
15511 bool temp2 = False ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 char *kwnames[] = {
15516 (char *) "self",(char *) "key",(char *) "value", NULL
15517 };
15518
15519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15522 {
15523 arg2 = wxString_in_helper(obj1);
15524 if (arg2 == NULL) SWIG_fail;
15525 temp2 = True;
15526 }
15527 arg3 = (bool) SWIG_AsBool(obj2);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 {
15537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15538 }
15539 {
15540 if (temp2)
15541 delete arg2;
15542 }
15543 return resultobj;
15544 fail:
15545 {
15546 if (temp2)
15547 delete arg2;
15548 }
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15556 bool arg2 = (bool) False ;
15557 bool result;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 char *kwnames[] = {
15561 (char *) "self",(char *) "currentOnly", NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15567 if (obj1) {
15568 arg2 = (bool) SWIG_AsBool(obj1);
15569 if (PyErr_Occurred()) SWIG_fail;
15570 }
15571 {
15572 PyThreadState* __tstate = wxPyBeginAllowThreads();
15573 result = (bool)(arg1)->Flush(arg2);
15574
15575 wxPyEndAllowThreads(__tstate);
15576 if (PyErr_Occurred()) SWIG_fail;
15577 }
15578 {
15579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15580 }
15581 return resultobj;
15582 fail:
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15590 wxString *arg2 = 0 ;
15591 wxString *arg3 = 0 ;
15592 bool result;
15593 bool temp2 = False ;
15594 bool temp3 = False ;
15595 PyObject * obj0 = 0 ;
15596 PyObject * obj1 = 0 ;
15597 PyObject * obj2 = 0 ;
15598 char *kwnames[] = {
15599 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15605 {
15606 arg2 = wxString_in_helper(obj1);
15607 if (arg2 == NULL) SWIG_fail;
15608 temp2 = True;
15609 }
15610 {
15611 arg3 = wxString_in_helper(obj2);
15612 if (arg3 == NULL) SWIG_fail;
15613 temp3 = True;
15614 }
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15618
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
15622 {
15623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15624 }
15625 {
15626 if (temp2)
15627 delete arg2;
15628 }
15629 {
15630 if (temp3)
15631 delete arg3;
15632 }
15633 return resultobj;
15634 fail:
15635 {
15636 if (temp2)
15637 delete arg2;
15638 }
15639 {
15640 if (temp3)
15641 delete arg3;
15642 }
15643 return NULL;
15644 }
15645
15646
15647 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15648 PyObject *resultobj;
15649 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15650 wxString *arg2 = 0 ;
15651 wxString *arg3 = 0 ;
15652 bool result;
15653 bool temp2 = False ;
15654 bool temp3 = False ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 PyObject * obj2 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15665 {
15666 arg2 = wxString_in_helper(obj1);
15667 if (arg2 == NULL) SWIG_fail;
15668 temp2 = True;
15669 }
15670 {
15671 arg3 = wxString_in_helper(obj2);
15672 if (arg3 == NULL) SWIG_fail;
15673 temp3 = True;
15674 }
15675 {
15676 PyThreadState* __tstate = wxPyBeginAllowThreads();
15677 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 {
15683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15684 }
15685 {
15686 if (temp2)
15687 delete arg2;
15688 }
15689 {
15690 if (temp3)
15691 delete arg3;
15692 }
15693 return resultobj;
15694 fail:
15695 {
15696 if (temp2)
15697 delete arg2;
15698 }
15699 {
15700 if (temp3)
15701 delete arg3;
15702 }
15703 return NULL;
15704 }
15705
15706
15707 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj;
15709 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15710 wxString *arg2 = 0 ;
15711 bool arg3 = (bool) True ;
15712 bool result;
15713 bool temp2 = False ;
15714 PyObject * obj0 = 0 ;
15715 PyObject * obj1 = 0 ;
15716 PyObject * obj2 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15724 {
15725 arg2 = wxString_in_helper(obj1);
15726 if (arg2 == NULL) SWIG_fail;
15727 temp2 = True;
15728 }
15729 if (obj2) {
15730 arg3 = (bool) SWIG_AsBool(obj2);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 {
15741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15742 }
15743 {
15744 if (temp2)
15745 delete arg2;
15746 }
15747 return resultobj;
15748 fail:
15749 {
15750 if (temp2)
15751 delete arg2;
15752 }
15753 return NULL;
15754 }
15755
15756
15757 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15760 wxString *arg2 = 0 ;
15761 bool result;
15762 bool temp2 = False ;
15763 PyObject * obj0 = 0 ;
15764 PyObject * obj1 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self",(char *) "key", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15772 {
15773 arg2 = wxString_in_helper(obj1);
15774 if (arg2 == NULL) SWIG_fail;
15775 temp2 = True;
15776 }
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15786 }
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 return resultobj;
15792 fail:
15793 {
15794 if (temp2)
15795 delete arg2;
15796 }
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15804 bool result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15813 {
15814 PyThreadState* __tstate = wxPyBeginAllowThreads();
15815 result = (bool)(arg1)->DeleteAll();
15816
15817 wxPyEndAllowThreads(__tstate);
15818 if (PyErr_Occurred()) SWIG_fail;
15819 }
15820 {
15821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15822 }
15823 return resultobj;
15824 fail:
15825 return NULL;
15826 }
15827
15828
15829 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15830 PyObject *resultobj;
15831 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15832 bool arg2 = (bool) True ;
15833 PyObject * obj0 = 0 ;
15834 PyObject * obj1 = 0 ;
15835 char *kwnames[] = {
15836 (char *) "self",(char *) "doIt", NULL
15837 };
15838
15839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15842 if (obj1) {
15843 arg2 = (bool) SWIG_AsBool(obj1);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 {
15847 PyThreadState* __tstate = wxPyBeginAllowThreads();
15848 (arg1)->SetExpandEnvVars(arg2);
15849
15850 wxPyEndAllowThreads(__tstate);
15851 if (PyErr_Occurred()) SWIG_fail;
15852 }
15853 Py_INCREF(Py_None); resultobj = Py_None;
15854 return resultobj;
15855 fail:
15856 return NULL;
15857 }
15858
15859
15860 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15861 PyObject *resultobj;
15862 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15863 bool result;
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 {
15880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15881 }
15882 return resultobj;
15883 fail:
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15891 bool arg2 = (bool) True ;
15892 PyObject * obj0 = 0 ;
15893 PyObject * obj1 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self",(char *) "doIt", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15901 if (obj1) {
15902 arg2 = (bool) SWIG_AsBool(obj1);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 (arg1)->SetRecordDefaults(arg2);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 Py_INCREF(Py_None); resultobj = Py_None;
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15922 bool result;
15923 PyObject * obj0 = 0 ;
15924 char *kwnames[] = {
15925 (char *) "self", NULL
15926 };
15927
15928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 {
15939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15940 }
15941 return resultobj;
15942 fail:
15943 return NULL;
15944 }
15945
15946
15947 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
15948 PyObject *resultobj;
15949 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15950 wxString *arg2 = 0 ;
15951 wxString result;
15952 bool temp2 = False ;
15953 PyObject * obj0 = 0 ;
15954 PyObject * obj1 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self",(char *) "str", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
15961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15962 {
15963 arg2 = wxString_in_helper(obj1);
15964 if (arg2 == NULL) SWIG_fail;
15965 temp2 = True;
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 {
15975 #if wxUSE_UNICODE
15976 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15977 #else
15978 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15979 #endif
15980 }
15981 {
15982 if (temp2)
15983 delete arg2;
15984 }
15985 return resultobj;
15986 fail:
15987 {
15988 if (temp2)
15989 delete arg2;
15990 }
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15998 wxString result;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = ((wxConfigBase const *)arg1)->GetAppName();
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 {
16015 #if wxUSE_UNICODE
16016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16017 #else
16018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16019 #endif
16020 }
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16030 wxString result;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
16037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = ((wxConfigBase const *)arg1)->GetVendorName();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047 #if wxUSE_UNICODE
16048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16049 #else
16050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16051 #endif
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056 }
16057
16058
16059 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16062 wxString *arg2 = 0 ;
16063 bool temp2 = False ;
16064 PyObject * obj0 = 0 ;
16065 PyObject * obj1 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self",(char *) "appName", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16073 {
16074 arg2 = wxString_in_helper(obj1);
16075 if (arg2 == NULL) SWIG_fail;
16076 temp2 = True;
16077 }
16078 {
16079 PyThreadState* __tstate = wxPyBeginAllowThreads();
16080 (arg1)->SetAppName((wxString const &)*arg2);
16081
16082 wxPyEndAllowThreads(__tstate);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 }
16085 Py_INCREF(Py_None); resultobj = Py_None;
16086 {
16087 if (temp2)
16088 delete arg2;
16089 }
16090 return resultobj;
16091 fail:
16092 {
16093 if (temp2)
16094 delete arg2;
16095 }
16096 return NULL;
16097 }
16098
16099
16100 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
16101 PyObject *resultobj;
16102 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16103 wxString *arg2 = 0 ;
16104 bool temp2 = False ;
16105 PyObject * obj0 = 0 ;
16106 PyObject * obj1 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "vendorName", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16114 {
16115 arg2 = wxString_in_helper(obj1);
16116 if (arg2 == NULL) SWIG_fail;
16117 temp2 = True;
16118 }
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 (arg1)->SetVendorName((wxString const &)*arg2);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 Py_INCREF(Py_None); resultobj = Py_None;
16127 {
16128 if (temp2)
16129 delete arg2;
16130 }
16131 return resultobj;
16132 fail:
16133 {
16134 if (temp2)
16135 delete arg2;
16136 }
16137 return NULL;
16138 }
16139
16140
16141 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16142 PyObject *resultobj;
16143 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16144 long arg2 ;
16145 PyObject * obj0 = 0 ;
16146 PyObject * obj1 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self",(char *) "style", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
16152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16154 arg2 = (long) SWIG_AsLong(obj1);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetStyle(arg2);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167 }
16168
16169
16170 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16173 long result;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 result = (long)((wxConfigBase const *)arg1)->GetStyle();
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 resultobj = SWIG_FromLong((long)result);
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
16197 PyObject *obj;
16198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
16200 Py_INCREF(obj);
16201 return Py_BuildValue((char *)"");
16202 }
16203 static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxString const &arg1_defvalue = wxPyEmptyString ;
16206 wxString *arg1 = (wxString *) &arg1_defvalue ;
16207 wxString const &arg2_defvalue = wxPyEmptyString ;
16208 wxString *arg2 = (wxString *) &arg2_defvalue ;
16209 wxString const &arg3_defvalue = wxPyEmptyString ;
16210 wxString *arg3 = (wxString *) &arg3_defvalue ;
16211 wxString const &arg4_defvalue = wxPyEmptyString ;
16212 wxString *arg4 = (wxString *) &arg4_defvalue ;
16213 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16214 wxConfig *result;
16215 bool temp1 = False ;
16216 bool temp2 = False ;
16217 bool temp3 = False ;
16218 bool temp4 = False ;
16219 PyObject * obj0 = 0 ;
16220 PyObject * obj1 = 0 ;
16221 PyObject * obj2 = 0 ;
16222 PyObject * obj3 = 0 ;
16223 PyObject * obj4 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16229 if (obj0) {
16230 {
16231 arg1 = wxString_in_helper(obj0);
16232 if (arg1 == NULL) SWIG_fail;
16233 temp1 = True;
16234 }
16235 }
16236 if (obj1) {
16237 {
16238 arg2 = wxString_in_helper(obj1);
16239 if (arg2 == NULL) SWIG_fail;
16240 temp2 = True;
16241 }
16242 }
16243 if (obj2) {
16244 {
16245 arg3 = wxString_in_helper(obj2);
16246 if (arg3 == NULL) SWIG_fail;
16247 temp3 = True;
16248 }
16249 }
16250 if (obj3) {
16251 {
16252 arg4 = wxString_in_helper(obj3);
16253 if (arg4 == NULL) SWIG_fail;
16254 temp4 = True;
16255 }
16256 }
16257 if (obj4) {
16258 arg5 = (long) SWIG_AsLong(obj4);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
16269 {
16270 if (temp1)
16271 delete arg1;
16272 }
16273 {
16274 if (temp2)
16275 delete arg2;
16276 }
16277 {
16278 if (temp3)
16279 delete arg3;
16280 }
16281 {
16282 if (temp4)
16283 delete arg4;
16284 }
16285 return resultobj;
16286 fail:
16287 {
16288 if (temp1)
16289 delete arg1;
16290 }
16291 {
16292 if (temp2)
16293 delete arg2;
16294 }
16295 {
16296 if (temp3)
16297 delete arg3;
16298 }
16299 {
16300 if (temp4)
16301 delete arg4;
16302 }
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxConfig *arg1 = (wxConfig *) 0 ;
16310 PyObject * obj0 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfig,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 delete arg1;
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 Py_INCREF(Py_None); resultobj = Py_None;
16326 return resultobj;
16327 fail:
16328 return NULL;
16329 }
16330
16331
16332 static PyObject * Config_swigregister(PyObject *, PyObject *args) {
16333 PyObject *obj;
16334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16335 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16336 Py_INCREF(obj);
16337 return Py_BuildValue((char *)"");
16338 }
16339 static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxString const &arg1_defvalue = wxPyEmptyString ;
16342 wxString *arg1 = (wxString *) &arg1_defvalue ;
16343 wxString const &arg2_defvalue = wxPyEmptyString ;
16344 wxString *arg2 = (wxString *) &arg2_defvalue ;
16345 wxString const &arg3_defvalue = wxPyEmptyString ;
16346 wxString *arg3 = (wxString *) &arg3_defvalue ;
16347 wxString const &arg4_defvalue = wxPyEmptyString ;
16348 wxString *arg4 = (wxString *) &arg4_defvalue ;
16349 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
16350 wxFileConfig *result;
16351 bool temp1 = False ;
16352 bool temp2 = False ;
16353 bool temp3 = False ;
16354 bool temp4 = False ;
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 PyObject * obj2 = 0 ;
16358 PyObject * obj3 = 0 ;
16359 PyObject * obj4 = 0 ;
16360 char *kwnames[] = {
16361 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16362 };
16363
16364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16365 if (obj0) {
16366 {
16367 arg1 = wxString_in_helper(obj0);
16368 if (arg1 == NULL) SWIG_fail;
16369 temp1 = True;
16370 }
16371 }
16372 if (obj1) {
16373 {
16374 arg2 = wxString_in_helper(obj1);
16375 if (arg2 == NULL) SWIG_fail;
16376 temp2 = True;
16377 }
16378 }
16379 if (obj2) {
16380 {
16381 arg3 = wxString_in_helper(obj2);
16382 if (arg3 == NULL) SWIG_fail;
16383 temp3 = True;
16384 }
16385 }
16386 if (obj3) {
16387 {
16388 arg4 = wxString_in_helper(obj3);
16389 if (arg4 == NULL) SWIG_fail;
16390 temp4 = True;
16391 }
16392 }
16393 if (obj4) {
16394 arg5 = (long) SWIG_AsLong(obj4);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
16404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
16405 {
16406 if (temp1)
16407 delete arg1;
16408 }
16409 {
16410 if (temp2)
16411 delete arg2;
16412 }
16413 {
16414 if (temp3)
16415 delete arg3;
16416 }
16417 {
16418 if (temp4)
16419 delete arg4;
16420 }
16421 return resultobj;
16422 fail:
16423 {
16424 if (temp1)
16425 delete arg1;
16426 }
16427 {
16428 if (temp2)
16429 delete arg2;
16430 }
16431 {
16432 if (temp3)
16433 delete arg3;
16434 }
16435 {
16436 if (temp4)
16437 delete arg4;
16438 }
16439 return NULL;
16440 }
16441
16442
16443 static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
16444 PyObject *resultobj;
16445 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16446 PyObject * obj0 = 0 ;
16447 char *kwnames[] = {
16448 (char *) "self", NULL
16449 };
16450
16451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileConfig,
16453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 delete arg1;
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
16469 PyObject *obj;
16470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16471 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16472 Py_INCREF(obj);
16473 return Py_BuildValue((char *)"");
16474 }
16475 static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16476 PyObject *resultobj;
16477 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16478 wxString *arg2 = 0 ;
16479 wxConfigPathChanger *result;
16480 bool temp2 = False ;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "config",(char *) "entry", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigBase,
16489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16490 {
16491 arg2 = wxString_in_helper(obj1);
16492 if (arg2 == NULL) SWIG_fail;
16493 temp2 = True;
16494 }
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
16503 {
16504 if (temp2)
16505 delete arg2;
16506 }
16507 return resultobj;
16508 fail:
16509 {
16510 if (temp2)
16511 delete arg2;
16512 }
16513 return NULL;
16514 }
16515
16516
16517 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16520 PyObject * obj0 = 0 ;
16521 char *kwnames[] = {
16522 (char *) "self", NULL
16523 };
16524
16525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 delete arg1;
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16545 wxString *result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxConfigPathChanger,
16553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 {
16557 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16558 result = (wxString *) &_result_ref;
16559 }
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 {
16565 #if wxUSE_UNICODE
16566 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16567 #else
16568 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16569 #endif
16570 }
16571 return resultobj;
16572 fail:
16573 return NULL;
16574 }
16575
16576
16577 static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
16578 PyObject *obj;
16579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16580 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16581 Py_INCREF(obj);
16582 return Py_BuildValue((char *)"");
16583 }
16584 static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxString *arg1 = 0 ;
16587 wxString result;
16588 bool temp1 = False ;
16589 PyObject * obj0 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "sz", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16595 {
16596 arg1 = wxString_in_helper(obj0);
16597 if (arg1 == NULL) SWIG_fail;
16598 temp1 = True;
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = wxExpandEnvVars((wxString const &)*arg1);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 #if wxUSE_UNICODE
16609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16610 #else
16611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16612 #endif
16613 }
16614 {
16615 if (temp1)
16616 delete arg1;
16617 }
16618 return resultobj;
16619 fail:
16620 {
16621 if (temp1)
16622 delete arg1;
16623 }
16624 return NULL;
16625 }
16626
16627
16628 static int _wrap_DateFormatStr_set(PyObject *) {
16629 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16630 return 1;
16631 }
16632
16633
16634 static PyObject *_wrap_DateFormatStr_get() {
16635 PyObject *pyobj;
16636
16637 {
16638 #if wxUSE_UNICODE
16639 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16640 #else
16641 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16642 #endif
16643 }
16644 return pyobj;
16645 }
16646
16647
16648 static int _wrap_TimeSpanFormatStr_set(PyObject *) {
16649 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16650 return 1;
16651 }
16652
16653
16654 static PyObject *_wrap_TimeSpanFormatStr_get() {
16655 PyObject *pyobj;
16656
16657 {
16658 #if wxUSE_UNICODE
16659 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16660 #else
16661 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16662 #endif
16663 }
16664 return pyobj;
16665 }
16666
16667
16668 static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 int arg1 ;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "country", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16677 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 Py_INCREF(Py_None); resultobj = Py_None;
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 int result;
16696 char *kwnames[] = {
16697 NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 result = (int)wxDateTime::GetCountry();
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 resultobj = SWIG_FromInt((int)result);
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 int arg1 = (int) wxDateTime::Country_Default ;
16718 bool result;
16719 PyObject * obj0 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "country", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16725 if (obj0) {
16726 arg1 = (wxDateTime::Country) SWIG_AsInt(obj0);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 {
16737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16738 }
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 int arg1 = (int) wxDateTime::Gregorian ;
16748 int result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "cal", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16755 if (obj0) {
16756 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_FromInt((int)result);
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 int arg1 ;
16776 int result;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "year", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16783 arg1 = (int) SWIG_AsInt(obj0);
16784 if (PyErr_Occurred()) SWIG_fail;
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 result = (int)wxDateTime::ConvertYearToBC(arg1);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 resultobj = SWIG_FromInt((int)result);
16793 return resultobj;
16794 fail:
16795 return NULL;
16796 }
16797
16798
16799 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
16800 PyObject *resultobj;
16801 int arg1 = (int) wxDateTime::Gregorian ;
16802 int result;
16803 PyObject * obj0 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "cal", NULL
16806 };
16807
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16809 if (obj0) {
16810 arg1 = (wxDateTime::Calendar) SWIG_AsInt(obj0);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 PyThreadState* __tstate = wxPyBeginAllowThreads();
16815 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16816
16817 wxPyEndAllowThreads(__tstate);
16818 if (PyErr_Occurred()) SWIG_fail;
16819 }
16820 resultobj = SWIG_FromInt((int)result);
16821 return resultobj;
16822 fail:
16823 return NULL;
16824 }
16825
16826
16827 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
16828 PyObject *resultobj;
16829 int arg1 = (int) wxDateTime::Inv_Year ;
16830 int arg2 = (int) wxDateTime::Gregorian ;
16831 bool result;
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "year",(char *) "cal", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16839 if (obj0) {
16840 arg1 = (int) SWIG_AsInt(obj0);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 if (obj1) {
16844 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16845 if (PyErr_Occurred()) SWIG_fail;
16846 }
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
16854 {
16855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16856 }
16857 return resultobj;
16858 fail:
16859 return NULL;
16860 }
16861
16862
16863 static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
16864 PyObject *resultobj;
16865 int arg1 = (int) wxDateTime::Inv_Year ;
16866 int result;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "year", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16873 if (obj0) {
16874 arg1 = (int) SWIG_AsInt(obj0);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (int)wxDateTime::GetCentury(arg1);
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_FromInt((int)result);
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 int arg1 ;
16894 int arg2 = (int) wxDateTime::Gregorian ;
16895 int result;
16896 PyObject * obj0 = 0 ;
16897 PyObject * obj1 = 0 ;
16898 char *kwnames[] = {
16899 (char *) "year",(char *) "cal", NULL
16900 };
16901
16902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16903 arg1 = (int) SWIG_AsInt(obj0);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 if (obj1) {
16906 arg2 = (wxDateTime::Calendar) SWIG_AsInt(obj1);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 resultobj = SWIG_FromInt((int)result);
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 int arg1 ;
16926 int arg2 = (int) wxDateTime::Inv_Year ;
16927 int arg3 = (int) wxDateTime::Gregorian ;
16928 int result;
16929 PyObject * obj0 = 0 ;
16930 PyObject * obj1 = 0 ;
16931 PyObject * obj2 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "month",(char *) "year",(char *) "cal", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16937 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 if (obj1) {
16940 arg2 = (int) SWIG_AsInt(obj1);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 if (obj2) {
16944 arg3 = (wxDateTime::Calendar) SWIG_AsInt(obj2);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
16949 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16950
16951 wxPyEndAllowThreads(__tstate);
16952 if (PyErr_Occurred()) SWIG_fail;
16953 }
16954 resultobj = SWIG_FromInt((int)result);
16955 return resultobj;
16956 fail:
16957 return NULL;
16958 }
16959
16960
16961 static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
16962 PyObject *resultobj;
16963 int arg1 ;
16964 int arg2 = (int) wxDateTime::Name_Full ;
16965 wxString result;
16966 PyObject * obj0 = 0 ;
16967 PyObject * obj1 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "month",(char *) "flags", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16973 arg1 = (wxDateTime::Month) SWIG_AsInt(obj0);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 if (obj1) {
16976 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
16977 if (PyErr_Occurred()) SWIG_fail;
16978 }
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
16987 #if wxUSE_UNICODE
16988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16989 #else
16990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16991 #endif
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 int arg1 ;
17002 int arg2 = (int) wxDateTime::Name_Full ;
17003 wxString result;
17004 PyObject * obj0 = 0 ;
17005 PyObject * obj1 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "weekday",(char *) "flags", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
17011 arg1 = (wxDateTime::WeekDay) SWIG_AsInt(obj0);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 if (obj1) {
17014 arg2 = (wxDateTime::NameFlags) SWIG_AsInt(obj1);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 {
17018 PyThreadState* __tstate = wxPyBeginAllowThreads();
17019 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
17020
17021 wxPyEndAllowThreads(__tstate);
17022 if (PyErr_Occurred()) SWIG_fail;
17023 }
17024 {
17025 #if wxUSE_UNICODE
17026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17027 #else
17028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17029 #endif
17030 }
17031 return resultobj;
17032 fail:
17033 return NULL;
17034 }
17035
17036
17037 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
17038 PyObject *resultobj;
17039 wxString *arg1 = (wxString *) 0 ;
17040 wxString *arg2 = (wxString *) 0 ;
17041 bool temp1 = False ;
17042 bool temp2 = False ;
17043 PyObject * obj0 = 0 ;
17044 PyObject * obj1 = 0 ;
17045 char *kwnames[] = {
17046 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17047 };
17048
17049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
17050 {
17051 arg1 = wxString_in_helper(obj0);
17052 if (arg1 == NULL) SWIG_fail;
17053 temp1 = True;
17054 }
17055 {
17056 arg2 = wxString_in_helper(obj1);
17057 if (arg2 == NULL) SWIG_fail;
17058 temp2 = True;
17059 }
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 wxDateTime::GetAmPmStrings(arg1,arg2);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 Py_INCREF(Py_None); resultobj = Py_None;
17068 {
17069 if (temp1)
17070 delete arg1;
17071 }
17072 {
17073 if (temp2)
17074 delete arg2;
17075 }
17076 return resultobj;
17077 fail:
17078 {
17079 if (temp1)
17080 delete arg1;
17081 }
17082 {
17083 if (temp2)
17084 delete arg2;
17085 }
17086 return NULL;
17087 }
17088
17089
17090 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj;
17092 int arg1 = (int) wxDateTime::Inv_Year ;
17093 int arg2 = (int) wxDateTime::Country_Default ;
17094 bool result;
17095 PyObject * obj0 = 0 ;
17096 PyObject * obj1 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "year",(char *) "country", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
17102 if (obj0) {
17103 arg1 = (int) SWIG_AsInt(obj0);
17104 if (PyErr_Occurred()) SWIG_fail;
17105 }
17106 if (obj1) {
17107 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 {
17118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17119 }
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 int arg1 = (int) wxDateTime::Inv_Year ;
17129 int arg2 = (int) wxDateTime::Country_Default ;
17130 wxDateTime result;
17131 PyObject * obj0 = 0 ;
17132 PyObject * obj1 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "year",(char *) "country", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
17138 if (obj0) {
17139 arg1 = (int) SWIG_AsInt(obj0);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 if (obj1) {
17143 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 {
17154 wxDateTime * resultptr;
17155 resultptr = new wxDateTime((wxDateTime &) result);
17156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17157 }
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 int arg1 = (int) wxDateTime::Inv_Year ;
17167 int arg2 = (int) wxDateTime::Country_Default ;
17168 wxDateTime result;
17169 PyObject * obj0 = 0 ;
17170 PyObject * obj1 = 0 ;
17171 char *kwnames[] = {
17172 (char *) "year",(char *) "country", NULL
17173 };
17174
17175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
17176 if (obj0) {
17177 arg1 = (int) SWIG_AsInt(obj0);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 if (obj1) {
17181 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 {
17192 wxDateTime * resultptr;
17193 resultptr = new wxDateTime((wxDateTime &) result);
17194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17195 }
17196 return resultobj;
17197 fail:
17198 return NULL;
17199 }
17200
17201
17202 static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxDateTime result;
17205 char *kwnames[] = {
17206 NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = wxDateTime::Now();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 {
17218 wxDateTime * resultptr;
17219 resultptr = new wxDateTime((wxDateTime &) result);
17220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17221 }
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj;
17230 wxDateTime result;
17231 char *kwnames[] = {
17232 NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = wxDateTime::UNow();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 wxDateTime * resultptr;
17245 resultptr = new wxDateTime((wxDateTime &) result);
17246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17247 }
17248 return resultobj;
17249 fail:
17250 return NULL;
17251 }
17252
17253
17254 static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
17255 PyObject *resultobj;
17256 wxDateTime result;
17257 char *kwnames[] = {
17258 NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
17262 {
17263 PyThreadState* __tstate = wxPyBeginAllowThreads();
17264 result = wxDateTime::Today();
17265
17266 wxPyEndAllowThreads(__tstate);
17267 if (PyErr_Occurred()) SWIG_fail;
17268 }
17269 {
17270 wxDateTime * resultptr;
17271 resultptr = new wxDateTime((wxDateTime &) result);
17272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
17273 }
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxDateTime *result;
17283 char *kwnames[] = {
17284 NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (wxDateTime *)new wxDateTime();
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17296 return resultobj;
17297 fail:
17298 return NULL;
17299 }
17300
17301
17302 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17303 PyObject *resultobj;
17304 time_t arg1 ;
17305 wxDateTime *result;
17306 PyObject * obj0 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "timet", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17312 arg1 = (time_t) SWIG_AsUnsignedInt(obj0);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (wxDateTime *)new wxDateTime(arg1);
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 double arg1 ;
17331 wxDateTime *result;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "jdn", NULL
17335 };
17336
17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17338 arg1 = (double) SWIG_AsDouble(obj0);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 result = (wxDateTime *)new wxDateTime(arg1);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 int arg1 ;
17357 int arg2 = (int) 0 ;
17358 int arg3 = (int) 0 ;
17359 int arg4 = (int) 0 ;
17360 wxDateTime *result;
17361 PyObject * obj0 = 0 ;
17362 PyObject * obj1 = 0 ;
17363 PyObject * obj2 = 0 ;
17364 PyObject * obj3 = 0 ;
17365 char *kwnames[] = {
17366 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17367 };
17368
17369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17370 arg1 = (int) SWIG_AsInt(obj0);
17371 if (PyErr_Occurred()) SWIG_fail;
17372 if (obj1) {
17373 arg2 = (int) SWIG_AsInt(obj1);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 if (obj2) {
17377 arg3 = (int) SWIG_AsInt(obj2);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 if (obj3) {
17381 arg4 = (int) SWIG_AsInt(obj3);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
17391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17392 return resultobj;
17393 fail:
17394 return NULL;
17395 }
17396
17397
17398 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
17399 PyObject *resultobj;
17400 int arg1 ;
17401 int arg2 = (int) wxDateTime::Inv_Month ;
17402 int arg3 = (int) wxDateTime::Inv_Year ;
17403 int arg4 = (int) 0 ;
17404 int arg5 = (int) 0 ;
17405 int arg6 = (int) 0 ;
17406 int arg7 = (int) 0 ;
17407 wxDateTime *result;
17408 PyObject * obj0 = 0 ;
17409 PyObject * obj1 = 0 ;
17410 PyObject * obj2 = 0 ;
17411 PyObject * obj3 = 0 ;
17412 PyObject * obj4 = 0 ;
17413 PyObject * obj5 = 0 ;
17414 PyObject * obj6 = 0 ;
17415 char *kwnames[] = {
17416 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17417 };
17418
17419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17420 arg1 = (int) SWIG_AsInt(obj0);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 if (obj1) {
17423 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17424 if (PyErr_Occurred()) SWIG_fail;
17425 }
17426 if (obj2) {
17427 arg3 = (int) SWIG_AsInt(obj2);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 if (obj3) {
17431 arg4 = (int) SWIG_AsInt(obj3);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 if (obj4) {
17435 arg5 = (int) SWIG_AsInt(obj4);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 if (obj5) {
17439 arg6 = (int) SWIG_AsInt(obj5);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 if (obj6) {
17443 arg7 = (int) SWIG_AsInt(obj6);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
17454 return resultobj;
17455 fail:
17456 return NULL;
17457 }
17458
17459
17460 static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
17461 PyObject *resultobj;
17462 wxDateTime *arg1 = (wxDateTime *) 0 ;
17463 PyObject * obj0 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 delete arg1;
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxDateTime *arg1 = (wxDateTime *) 0 ;
17488 wxDateTime *result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17497 {
17498 PyThreadState* __tstate = wxPyBeginAllowThreads();
17499 {
17500 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17501 result = (wxDateTime *) &_result_ref;
17502 }
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxDateTime *arg1 = (wxDateTime *) 0 ;
17517 time_t arg2 ;
17518 wxDateTime *result;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "timet", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 arg2 = (time_t) SWIG_AsUnsignedInt(obj1);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 {
17533 wxDateTime &_result_ref = (arg1)->Set(arg2);
17534 result = (wxDateTime *) &_result_ref;
17535 }
17536
17537 wxPyEndAllowThreads(__tstate);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17541 return resultobj;
17542 fail:
17543 return NULL;
17544 }
17545
17546
17547 static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
17548 PyObject *resultobj;
17549 wxDateTime *arg1 = (wxDateTime *) 0 ;
17550 double arg2 ;
17551 wxDateTime *result;
17552 PyObject * obj0 = 0 ;
17553 PyObject * obj1 = 0 ;
17554 char *kwnames[] = {
17555 (char *) "self",(char *) "jdn", NULL
17556 };
17557
17558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17561 arg2 = (double) SWIG_AsDouble(obj1);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 {
17566 wxDateTime &_result_ref = (arg1)->Set(arg2);
17567 result = (wxDateTime *) &_result_ref;
17568 }
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxDateTime *arg1 = (wxDateTime *) 0 ;
17583 int arg2 ;
17584 int arg3 = (int) 0 ;
17585 int arg4 = (int) 0 ;
17586 int arg5 = (int) 0 ;
17587 wxDateTime *result;
17588 PyObject * obj0 = 0 ;
17589 PyObject * obj1 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 PyObject * obj3 = 0 ;
17592 PyObject * obj4 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17600 arg2 = (int) SWIG_AsInt(obj1);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 if (obj2) {
17603 arg3 = (int) SWIG_AsInt(obj2);
17604 if (PyErr_Occurred()) SWIG_fail;
17605 }
17606 if (obj3) {
17607 arg4 = (int) SWIG_AsInt(obj3);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 if (obj4) {
17611 arg5 = (int) SWIG_AsInt(obj4);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 {
17617 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17618 result = (wxDateTime *) &_result_ref;
17619 }
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17625 return resultobj;
17626 fail:
17627 return NULL;
17628 }
17629
17630
17631 static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
17632 PyObject *resultobj;
17633 wxDateTime *arg1 = (wxDateTime *) 0 ;
17634 int arg2 ;
17635 int arg3 = (int) wxDateTime::Inv_Month ;
17636 int arg4 = (int) wxDateTime::Inv_Year ;
17637 int arg5 = (int) 0 ;
17638 int arg6 = (int) 0 ;
17639 int arg7 = (int) 0 ;
17640 int arg8 = (int) 0 ;
17641 wxDateTime *result;
17642 PyObject * obj0 = 0 ;
17643 PyObject * obj1 = 0 ;
17644 PyObject * obj2 = 0 ;
17645 PyObject * obj3 = 0 ;
17646 PyObject * obj4 = 0 ;
17647 PyObject * obj5 = 0 ;
17648 PyObject * obj6 = 0 ;
17649 PyObject * obj7 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17657 arg2 = (int) SWIG_AsInt(obj1);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 if (obj2) {
17660 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 if (obj3) {
17664 arg4 = (int) SWIG_AsInt(obj3);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 if (obj4) {
17668 arg5 = (int) SWIG_AsInt(obj4);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 if (obj5) {
17672 arg6 = (int) SWIG_AsInt(obj5);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 if (obj6) {
17676 arg7 = (int) SWIG_AsInt(obj6);
17677 if (PyErr_Occurred()) SWIG_fail;
17678 }
17679 if (obj7) {
17680 arg8 = (int) SWIG_AsInt(obj7);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 {
17686 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17687 result = (wxDateTime *) &_result_ref;
17688 }
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxDateTime *arg1 = (wxDateTime *) 0 ;
17703 wxDateTime *result;
17704 PyObject * obj0 = 0 ;
17705 char *kwnames[] = {
17706 (char *) "self", NULL
17707 };
17708
17709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 {
17715 wxDateTime &_result_ref = (arg1)->ResetTime();
17716 result = (wxDateTime *) &_result_ref;
17717 }
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxDateTime *arg1 = (wxDateTime *) 0 ;
17732 int arg2 ;
17733 wxDateTime *result;
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "year", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17743 arg2 = (int) SWIG_AsInt(obj1);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 {
17748 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17749 result = (wxDateTime *) &_result_ref;
17750 }
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxDateTime *arg1 = (wxDateTime *) 0 ;
17765 int arg2 ;
17766 wxDateTime *result;
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 char *kwnames[] = {
17770 (char *) "self",(char *) "month", NULL
17771 };
17772
17773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17776 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 {
17781 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17782 result = (wxDateTime *) &_result_ref;
17783 }
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxDateTime *arg1 = (wxDateTime *) 0 ;
17798 int arg2 ;
17799 wxDateTime *result;
17800 PyObject * obj0 = 0 ;
17801 PyObject * obj1 = 0 ;
17802 char *kwnames[] = {
17803 (char *) "self",(char *) "day", NULL
17804 };
17805
17806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17809 arg2 = (int) SWIG_AsInt(obj1);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 {
17814 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17815 result = (wxDateTime *) &_result_ref;
17816 }
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17822 return resultobj;
17823 fail:
17824 return NULL;
17825 }
17826
17827
17828 static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
17829 PyObject *resultobj;
17830 wxDateTime *arg1 = (wxDateTime *) 0 ;
17831 int arg2 ;
17832 wxDateTime *result;
17833 PyObject * obj0 = 0 ;
17834 PyObject * obj1 = 0 ;
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "hour", NULL
17837 };
17838
17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17842 arg2 = (int) SWIG_AsInt(obj1);
17843 if (PyErr_Occurred()) SWIG_fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 {
17847 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17848 result = (wxDateTime *) &_result_ref;
17849 }
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17855 return resultobj;
17856 fail:
17857 return NULL;
17858 }
17859
17860
17861 static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
17862 PyObject *resultobj;
17863 wxDateTime *arg1 = (wxDateTime *) 0 ;
17864 int arg2 ;
17865 wxDateTime *result;
17866 PyObject * obj0 = 0 ;
17867 PyObject * obj1 = 0 ;
17868 char *kwnames[] = {
17869 (char *) "self",(char *) "minute", NULL
17870 };
17871
17872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17875 arg2 = (int) SWIG_AsInt(obj1);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 {
17880 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17881 result = (wxDateTime *) &_result_ref;
17882 }
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxDateTime *arg1 = (wxDateTime *) 0 ;
17897 int arg2 ;
17898 wxDateTime *result;
17899 PyObject * obj0 = 0 ;
17900 PyObject * obj1 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "second", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17908 arg2 = (int) SWIG_AsInt(obj1);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 {
17911 PyThreadState* __tstate = wxPyBeginAllowThreads();
17912 {
17913 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17914 result = (wxDateTime *) &_result_ref;
17915 }
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17921 return resultobj;
17922 fail:
17923 return NULL;
17924 }
17925
17926
17927 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxDateTime *arg1 = (wxDateTime *) 0 ;
17930 int arg2 ;
17931 wxDateTime *result;
17932 PyObject * obj0 = 0 ;
17933 PyObject * obj1 = 0 ;
17934 char *kwnames[] = {
17935 (char *) "self",(char *) "millisecond", NULL
17936 };
17937
17938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17941 arg2 = (int) SWIG_AsInt(obj1);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 {
17946 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17947 result = (wxDateTime *) &_result_ref;
17948 }
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17954 return resultobj;
17955 fail:
17956 return NULL;
17957 }
17958
17959
17960 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxDateTime *arg1 = (wxDateTime *) 0 ;
17963 int arg2 ;
17964 int arg3 = (int) wxDateTime::Monday_First ;
17965 wxDateTime *result;
17966 PyObject * obj0 = 0 ;
17967 PyObject * obj1 = 0 ;
17968 PyObject * obj2 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 if (obj2) {
17979 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 {
17983 PyThreadState* __tstate = wxPyBeginAllowThreads();
17984 {
17985 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17986 result = (wxDateTime *) &_result_ref;
17987 }
17988
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18000 PyObject *resultobj;
18001 wxDateTime *arg1 = (wxDateTime *) 0 ;
18002 int arg2 ;
18003 int arg3 = (int) wxDateTime::Monday_First ;
18004 wxDateTime result;
18005 PyObject * obj0 = 0 ;
18006 PyObject * obj1 = 0 ;
18007 PyObject * obj2 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18015 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 if (obj2) {
18018 arg3 = (wxDateTime::WeekFlags) SWIG_AsInt(obj2);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 {
18029 wxDateTime * resultptr;
18030 resultptr = new wxDateTime((wxDateTime &) result);
18031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18032 }
18033 return resultobj;
18034 fail:
18035 return NULL;
18036 }
18037
18038
18039 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 wxDateTime *arg1 = (wxDateTime *) 0 ;
18042 int arg2 ;
18043 wxDateTime *result;
18044 PyObject * obj0 = 0 ;
18045 PyObject * obj1 = 0 ;
18046 char *kwnames[] = {
18047 (char *) "self",(char *) "weekday", NULL
18048 };
18049
18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18053 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 {
18056 PyThreadState* __tstate = wxPyBeginAllowThreads();
18057 {
18058 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
18059 result = (wxDateTime *) &_result_ref;
18060 }
18061
18062 wxPyEndAllowThreads(__tstate);
18063 if (PyErr_Occurred()) SWIG_fail;
18064 }
18065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18066 return resultobj;
18067 fail:
18068 return NULL;
18069 }
18070
18071
18072 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18073 PyObject *resultobj;
18074 wxDateTime *arg1 = (wxDateTime *) 0 ;
18075 int arg2 ;
18076 wxDateTime result;
18077 PyObject * obj0 = 0 ;
18078 PyObject * obj1 = 0 ;
18079 char *kwnames[] = {
18080 (char *) "self",(char *) "weekday", NULL
18081 };
18082
18083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
18084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18086 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 {
18096 wxDateTime * resultptr;
18097 resultptr = new wxDateTime((wxDateTime &) result);
18098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18099 }
18100 return resultobj;
18101 fail:
18102 return NULL;
18103 }
18104
18105
18106 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18107 PyObject *resultobj;
18108 wxDateTime *arg1 = (wxDateTime *) 0 ;
18109 int arg2 ;
18110 wxDateTime *result;
18111 PyObject * obj0 = 0 ;
18112 PyObject * obj1 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self",(char *) "weekday", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18120 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 {
18125 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
18126 result = (wxDateTime *) &_result_ref;
18127 }
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18133 return resultobj;
18134 fail:
18135 return NULL;
18136 }
18137
18138
18139 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxDateTime *arg1 = (wxDateTime *) 0 ;
18142 int arg2 ;
18143 wxDateTime result;
18144 PyObject * obj0 = 0 ;
18145 PyObject * obj1 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self",(char *) "weekday", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18153 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 {
18163 wxDateTime * resultptr;
18164 resultptr = new wxDateTime((wxDateTime &) result);
18165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18166 }
18167 return resultobj;
18168 fail:
18169 return NULL;
18170 }
18171
18172
18173 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxDateTime *arg1 = (wxDateTime *) 0 ;
18176 int arg2 ;
18177 int arg3 = (int) 1 ;
18178 int arg4 = (int) wxDateTime::Inv_Month ;
18179 int arg5 = (int) wxDateTime::Inv_Year ;
18180 bool result;
18181 PyObject * obj0 = 0 ;
18182 PyObject * obj1 = 0 ;
18183 PyObject * obj2 = 0 ;
18184 PyObject * obj3 = 0 ;
18185 PyObject * obj4 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18193 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 if (obj2) {
18196 arg3 = (int) SWIG_AsInt(obj2);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 if (obj3) {
18200 arg4 = (wxDateTime::Month) SWIG_AsInt(obj3);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 }
18203 if (obj4) {
18204 arg5 = (int) SWIG_AsInt(obj4);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 {
18215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18216 }
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxDateTime *arg1 = (wxDateTime *) 0 ;
18226 int arg2 ;
18227 int arg3 = (int) wxDateTime::Inv_Month ;
18228 int arg4 = (int) wxDateTime::Inv_Year ;
18229 bool result;
18230 PyObject * obj0 = 0 ;
18231 PyObject * obj1 = 0 ;
18232 PyObject * obj2 = 0 ;
18233 PyObject * obj3 = 0 ;
18234 char *kwnames[] = {
18235 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18236 };
18237
18238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18241 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 if (obj2) {
18244 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 if (obj3) {
18248 arg4 = (int) SWIG_AsInt(obj3);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 {
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18260 }
18261 return resultobj;
18262 fail:
18263 return NULL;
18264 }
18265
18266
18267 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj;
18269 wxDateTime *arg1 = (wxDateTime *) 0 ;
18270 int arg2 ;
18271 int arg3 = (int) wxDateTime::Inv_Month ;
18272 int arg4 = (int) wxDateTime::Inv_Year ;
18273 wxDateTime result;
18274 PyObject * obj0 = 0 ;
18275 PyObject * obj1 = 0 ;
18276 PyObject * obj2 = 0 ;
18277 PyObject * obj3 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18285 arg2 = (wxDateTime::WeekDay) SWIG_AsInt(obj1);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 if (obj2) {
18288 arg3 = (wxDateTime::Month) SWIG_AsInt(obj2);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 if (obj3) {
18292 arg4 = (int) SWIG_AsInt(obj3);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 {
18303 wxDateTime * resultptr;
18304 resultptr = new wxDateTime((wxDateTime &) result);
18305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18306 }
18307 return resultobj;
18308 fail:
18309 return NULL;
18310 }
18311
18312
18313 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18314 PyObject *resultobj;
18315 wxDateTime *arg1 = (wxDateTime *) 0 ;
18316 int arg2 ;
18317 int arg3 = (int) wxDateTime::Mon ;
18318 int arg4 = (int) wxDateTime::Monday_First ;
18319 bool result;
18320 PyObject * obj0 = 0 ;
18321 PyObject * obj1 = 0 ;
18322 PyObject * obj2 = 0 ;
18323 PyObject * obj3 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18331 arg2 = (int) SWIG_AsInt(obj1);
18332 if (PyErr_Occurred()) SWIG_fail;
18333 if (obj2) {
18334 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 if (obj3) {
18338 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18350 }
18351 return resultobj;
18352 fail:
18353 return NULL;
18354 }
18355
18356
18357 static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
18358 PyObject *resultobj;
18359 wxDateTime *arg1 = (wxDateTime *) 0 ;
18360 int arg2 ;
18361 int arg3 = (int) wxDateTime::Mon ;
18362 int arg4 = (int) wxDateTime::Monday_First ;
18363 wxDateTime result;
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366 PyObject * obj2 = 0 ;
18367 PyObject * obj3 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18375 arg2 = (int) SWIG_AsInt(obj1);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 if (obj2) {
18378 arg3 = (wxDateTime::WeekDay) SWIG_AsInt(obj2);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 if (obj3) {
18382 arg4 = (wxDateTime::WeekFlags) SWIG_AsInt(obj3);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 {
18386 PyThreadState* __tstate = wxPyBeginAllowThreads();
18387 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18388
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 {
18393 wxDateTime * resultptr;
18394 resultptr = new wxDateTime((wxDateTime &) result);
18395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18396 }
18397 return resultobj;
18398 fail:
18399 return NULL;
18400 }
18401
18402
18403 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxDateTime *arg1 = (wxDateTime *) 0 ;
18406 int arg2 = (int) wxDateTime::Inv_Month ;
18407 int arg3 = (int) wxDateTime::Inv_Year ;
18408 wxDateTime *result;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 PyObject * obj2 = 0 ;
18412 char *kwnames[] = {
18413 (char *) "self",(char *) "month",(char *) "year", NULL
18414 };
18415
18416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18419 if (obj1) {
18420 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 if (obj2) {
18424 arg3 = (int) SWIG_AsInt(obj2);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 {
18430 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18431 result = (wxDateTime *) &_result_ref;
18432 }
18433
18434 wxPyEndAllowThreads(__tstate);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18438 return resultobj;
18439 fail:
18440 return NULL;
18441 }
18442
18443
18444 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
18445 PyObject *resultobj;
18446 wxDateTime *arg1 = (wxDateTime *) 0 ;
18447 int arg2 = (int) wxDateTime::Inv_Month ;
18448 int arg3 = (int) wxDateTime::Inv_Year ;
18449 wxDateTime result;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj1 = 0 ;
18452 PyObject * obj2 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "month",(char *) "year", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18460 if (obj1) {
18461 arg2 = (wxDateTime::Month) SWIG_AsInt(obj1);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 if (obj2) {
18465 arg3 = (int) SWIG_AsInt(obj2);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 {
18476 wxDateTime * resultptr;
18477 resultptr = new wxDateTime((wxDateTime &) result);
18478 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18479 }
18480 return resultobj;
18481 fail:
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxDateTime *arg1 = (wxDateTime *) 0 ;
18489 int arg2 ;
18490 wxDateTime *result;
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "yday", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18500 arg2 = (int) SWIG_AsInt(obj1);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 {
18505 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18506 result = (wxDateTime *) &_result_ref;
18507 }
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxDateTime *arg1 = (wxDateTime *) 0 ;
18522 int arg2 ;
18523 wxDateTime result;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "yday", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18533 arg2 = (int) SWIG_AsInt(obj1);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 result = (arg1)->GetYearDay(arg2);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 {
18543 wxDateTime * resultptr;
18544 resultptr = new wxDateTime((wxDateTime &) result);
18545 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxDateTime *arg1 = (wxDateTime *) 0 ;
18556 double result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (double)(arg1)->GetJulianDayNumber();
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 resultobj = SWIG_FromDouble((double)result);
18573 return resultobj;
18574 fail:
18575 return NULL;
18576 }
18577
18578
18579 static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxDateTime *arg1 = (wxDateTime *) 0 ;
18582 double result;
18583 PyObject * obj0 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 result = (double)(arg1)->GetJDN();
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 resultobj = SWIG_FromDouble((double)result);
18599 return resultobj;
18600 fail:
18601 return NULL;
18602 }
18603
18604
18605 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
18606 PyObject *resultobj;
18607 wxDateTime *arg1 = (wxDateTime *) 0 ;
18608 double result;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 resultobj = SWIG_FromDouble((double)result);
18625 return resultobj;
18626 fail:
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxDateTime *arg1 = (wxDateTime *) 0 ;
18634 double result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (double)(arg1)->GetMJD();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = SWIG_FromDouble((double)result);
18651 return resultobj;
18652 fail:
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxDateTime *arg1 = (wxDateTime *) 0 ;
18660 double result;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (double)(arg1)->GetRataDie();
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = SWIG_FromDouble((double)result);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxDateTime *arg1 = (wxDateTime *) 0 ;
18686 wxDateTime::TimeZone *arg2 = 0 ;
18687 bool arg3 = (bool) False ;
18688 wxDateTime result;
18689 bool temp2 = False ;
18690 PyObject * obj0 = 0 ;
18691 PyObject * obj1 = 0 ;
18692 PyObject * obj2 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18700 {
18701 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18702 temp2 = True;
18703 }
18704 if (obj2) {
18705 arg3 = (bool) SWIG_AsBool(obj2);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18711
18712 wxPyEndAllowThreads(__tstate);
18713 if (PyErr_Occurred()) SWIG_fail;
18714 }
18715 {
18716 wxDateTime * resultptr;
18717 resultptr = new wxDateTime((wxDateTime &) result);
18718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18719 }
18720 {
18721 if (temp2) delete arg2;
18722 }
18723 return resultobj;
18724 fail:
18725 {
18726 if (temp2) delete arg2;
18727 }
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxDateTime *arg1 = (wxDateTime *) 0 ;
18735 wxDateTime::TimeZone *arg2 = 0 ;
18736 bool arg3 = (bool) False ;
18737 wxDateTime *result;
18738 bool temp2 = False ;
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 PyObject * obj2 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18749 {
18750 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18751 temp2 = True;
18752 }
18753 if (obj2) {
18754 arg3 = (bool) SWIG_AsBool(obj2);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 {
18760 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18761 result = (wxDateTime *) &_result_ref;
18762 }
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18768 {
18769 if (temp2) delete arg2;
18770 }
18771 return resultobj;
18772 fail:
18773 {
18774 if (temp2) delete arg2;
18775 }
18776 return NULL;
18777 }
18778
18779
18780 static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxDateTime *arg1 = (wxDateTime *) 0 ;
18783 bool arg2 = (bool) False ;
18784 wxDateTime result;
18785 PyObject * obj0 = 0 ;
18786 PyObject * obj1 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self",(char *) "noDST", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18794 if (obj1) {
18795 arg2 = (bool) SWIG_AsBool(obj1);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (arg1)->ToGMT(arg2);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 {
18806 wxDateTime * resultptr;
18807 resultptr = new wxDateTime((wxDateTime &) result);
18808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
18809 }
18810 return resultobj;
18811 fail:
18812 return NULL;
18813 }
18814
18815
18816 static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxDateTime *arg1 = (wxDateTime *) 0 ;
18819 bool arg2 = (bool) False ;
18820 wxDateTime *result;
18821 PyObject * obj0 = 0 ;
18822 PyObject * obj1 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self",(char *) "noDST", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 if (obj1) {
18831 arg2 = (bool) SWIG_AsBool(obj1);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 {
18837 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18838 result = (wxDateTime *) &_result_ref;
18839 }
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxDateTime *arg1 = (wxDateTime *) 0 ;
18854 int arg2 = (int) wxDateTime::Country_Default ;
18855 int result;
18856 PyObject * obj0 = 0 ;
18857 PyObject * obj1 = 0 ;
18858 char *kwnames[] = {
18859 (char *) "self",(char *) "country", NULL
18860 };
18861
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18865 if (obj1) {
18866 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
18867 if (PyErr_Occurred()) SWIG_fail;
18868 }
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18872
18873 wxPyEndAllowThreads(__tstate);
18874 if (PyErr_Occurred()) SWIG_fail;
18875 }
18876 resultobj = SWIG_FromInt((int)result);
18877 return resultobj;
18878 fail:
18879 return NULL;
18880 }
18881
18882
18883 static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
18884 PyObject *resultobj;
18885 wxDateTime *arg1 = (wxDateTime *) 0 ;
18886 bool result;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (bool)((wxDateTime const *)arg1)->IsValid();
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 {
18903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18904 }
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxDateTime *arg1 = (wxDateTime *) 0 ;
18914 time_t result;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
18931 return resultobj;
18932 fail:
18933 return NULL;
18934 }
18935
18936
18937 static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj;
18939 wxDateTime *arg1 = (wxDateTime *) 0 ;
18940 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18941 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18942 int result;
18943 bool temp2 = False ;
18944 PyObject * obj0 = 0 ;
18945 PyObject * obj1 = 0 ;
18946 char *kwnames[] = {
18947 (char *) "self",(char *) "tz", NULL
18948 };
18949
18950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18953 if (obj1) {
18954 {
18955 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18956 temp2 = True;
18957 }
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = SWIG_FromInt((int)result);
18967 {
18968 if (temp2) delete arg2;
18969 }
18970 return resultobj;
18971 fail:
18972 {
18973 if (temp2) delete arg2;
18974 }
18975 return NULL;
18976 }
18977
18978
18979 static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxDateTime *arg1 = (wxDateTime *) 0 ;
18982 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18983 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18984 int result;
18985 bool temp2 = False ;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self",(char *) "tz", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
18994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18995 if (obj1) {
18996 {
18997 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18998 temp2 = True;
18999 }
19000 }
19001 {
19002 PyThreadState* __tstate = wxPyBeginAllowThreads();
19003 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
19004
19005 wxPyEndAllowThreads(__tstate);
19006 if (PyErr_Occurred()) SWIG_fail;
19007 }
19008 resultobj = SWIG_FromInt((int)result);
19009 {
19010 if (temp2) delete arg2;
19011 }
19012 return resultobj;
19013 fail:
19014 {
19015 if (temp2) delete arg2;
19016 }
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxDateTime *arg1 = (wxDateTime *) 0 ;
19024 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19025 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19026 int result;
19027 bool temp2 = False ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj1 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self",(char *) "tz", NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
19035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19037 if (obj1) {
19038 {
19039 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19040 temp2 = True;
19041 }
19042 }
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 resultobj = SWIG_FromInt((int)result);
19051 {
19052 if (temp2) delete arg2;
19053 }
19054 return resultobj;
19055 fail:
19056 {
19057 if (temp2) delete arg2;
19058 }
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxDateTime *arg1 = (wxDateTime *) 0 ;
19066 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19067 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19068 int result;
19069 bool temp2 = False ;
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "tz", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19079 if (obj1) {
19080 {
19081 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19082 temp2 = True;
19083 }
19084 }
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 resultobj = SWIG_FromInt((int)result);
19093 {
19094 if (temp2) delete arg2;
19095 }
19096 return resultobj;
19097 fail:
19098 {
19099 if (temp2) delete arg2;
19100 }
19101 return NULL;
19102 }
19103
19104
19105 static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
19106 PyObject *resultobj;
19107 wxDateTime *arg1 = (wxDateTime *) 0 ;
19108 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19109 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19110 int result;
19111 bool temp2 = False ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "tz", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19121 if (obj1) {
19122 {
19123 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19124 temp2 = True;
19125 }
19126 }
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
19130
19131 wxPyEndAllowThreads(__tstate);
19132 if (PyErr_Occurred()) SWIG_fail;
19133 }
19134 resultobj = SWIG_FromInt((int)result);
19135 {
19136 if (temp2) delete arg2;
19137 }
19138 return resultobj;
19139 fail:
19140 {
19141 if (temp2) delete arg2;
19142 }
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxDateTime *arg1 = (wxDateTime *) 0 ;
19150 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19151 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19152 int result;
19153 bool temp2 = False ;
19154 PyObject * obj0 = 0 ;
19155 PyObject * obj1 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self",(char *) "tz", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19163 if (obj1) {
19164 {
19165 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19166 temp2 = True;
19167 }
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = SWIG_FromInt((int)result);
19177 {
19178 if (temp2) delete arg2;
19179 }
19180 return resultobj;
19181 fail:
19182 {
19183 if (temp2) delete arg2;
19184 }
19185 return NULL;
19186 }
19187
19188
19189 static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxDateTime *arg1 = (wxDateTime *) 0 ;
19192 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19193 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19194 int result;
19195 bool temp2 = False ;
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self",(char *) "tz", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
19203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19205 if (obj1) {
19206 {
19207 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19208 temp2 = True;
19209 }
19210 }
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_FromInt((int)result);
19219 {
19220 if (temp2) delete arg2;
19221 }
19222 return resultobj;
19223 fail:
19224 {
19225 if (temp2) delete arg2;
19226 }
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxDateTime *arg1 = (wxDateTime *) 0 ;
19234 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19235 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19236 int result;
19237 bool temp2 = False ;
19238 PyObject * obj0 = 0 ;
19239 PyObject * obj1 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "tz", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19247 if (obj1) {
19248 {
19249 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19250 temp2 = True;
19251 }
19252 }
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 resultobj = SWIG_FromInt((int)result);
19261 {
19262 if (temp2) delete arg2;
19263 }
19264 return resultobj;
19265 fail:
19266 {
19267 if (temp2) delete arg2;
19268 }
19269 return NULL;
19270 }
19271
19272
19273 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxDateTime *arg1 = (wxDateTime *) 0 ;
19276 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19277 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19278 int result;
19279 bool temp2 = False ;
19280 PyObject * obj0 = 0 ;
19281 PyObject * obj1 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self",(char *) "tz", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19289 if (obj1) {
19290 {
19291 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19292 temp2 = True;
19293 }
19294 }
19295 {
19296 PyThreadState* __tstate = wxPyBeginAllowThreads();
19297 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19298
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 resultobj = SWIG_FromInt((int)result);
19303 {
19304 if (temp2) delete arg2;
19305 }
19306 return resultobj;
19307 fail:
19308 {
19309 if (temp2) delete arg2;
19310 }
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxDateTime *arg1 = (wxDateTime *) 0 ;
19318 int arg2 = (int) wxDateTime::Monday_First ;
19319 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19320 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19321 int result;
19322 bool temp3 = False ;
19323 PyObject * obj0 = 0 ;
19324 PyObject * obj1 = 0 ;
19325 PyObject * obj2 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self",(char *) "flags",(char *) "tz", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19333 if (obj1) {
19334 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 if (obj2) {
19338 {
19339 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19340 temp3 = True;
19341 }
19342 }
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 resultobj = SWIG_FromInt((int)result);
19351 {
19352 if (temp3) delete arg3;
19353 }
19354 return resultobj;
19355 fail:
19356 {
19357 if (temp3) delete arg3;
19358 }
19359 return NULL;
19360 }
19361
19362
19363 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19364 PyObject *resultobj;
19365 wxDateTime *arg1 = (wxDateTime *) 0 ;
19366 int arg2 = (int) wxDateTime::Monday_First ;
19367 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19368 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19369 int result;
19370 bool temp3 = False ;
19371 PyObject * obj0 = 0 ;
19372 PyObject * obj1 = 0 ;
19373 PyObject * obj2 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self",(char *) "flags",(char *) "tz", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19381 if (obj1) {
19382 arg2 = (wxDateTime::WeekFlags) SWIG_AsInt(obj1);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 if (obj2) {
19386 {
19387 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19388 temp3 = True;
19389 }
19390 }
19391 {
19392 PyThreadState* __tstate = wxPyBeginAllowThreads();
19393 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19394
19395 wxPyEndAllowThreads(__tstate);
19396 if (PyErr_Occurred()) SWIG_fail;
19397 }
19398 resultobj = SWIG_FromInt((int)result);
19399 {
19400 if (temp3) delete arg3;
19401 }
19402 return resultobj;
19403 fail:
19404 {
19405 if (temp3) delete arg3;
19406 }
19407 return NULL;
19408 }
19409
19410
19411 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxDateTime *arg1 = (wxDateTime *) 0 ;
19414 int arg2 = (int) wxDateTime::Country_Default ;
19415 bool result;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "country", NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19425 if (obj1) {
19426 arg2 = (wxDateTime::Country) SWIG_AsInt(obj1);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 {
19437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19438 }
19439 return resultobj;
19440 fail:
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxDateTime *arg1 = (wxDateTime *) 0 ;
19448 wxDateTime *arg2 = 0 ;
19449 bool result;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj1 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "datetime", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19460 SWIG_POINTER_EXCEPTION | 0)) == -1)
19461 SWIG_fail;
19462 if (arg2 == NULL) {
19463 PyErr_SetString(PyExc_TypeError,"null reference");
19464 SWIG_fail;
19465 }
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 {
19474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19475 }
19476 return resultobj;
19477 fail:
19478 return NULL;
19479 }
19480
19481
19482 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
19483 PyObject *resultobj;
19484 wxDateTime *arg1 = (wxDateTime *) 0 ;
19485 wxDateTime *arg2 = 0 ;
19486 bool result;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj1 = 0 ;
19489 char *kwnames[] = {
19490 (char *) "self",(char *) "datetime", NULL
19491 };
19492
19493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19496 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19497 SWIG_POINTER_EXCEPTION | 0)) == -1)
19498 SWIG_fail;
19499 if (arg2 == NULL) {
19500 PyErr_SetString(PyExc_TypeError,"null reference");
19501 SWIG_fail;
19502 }
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
19505 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19506
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 {
19511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19512 }
19513 return resultobj;
19514 fail:
19515 return NULL;
19516 }
19517
19518
19519 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
19520 PyObject *resultobj;
19521 wxDateTime *arg1 = (wxDateTime *) 0 ;
19522 wxDateTime *arg2 = 0 ;
19523 bool result;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self",(char *) "datetime", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19534 SWIG_POINTER_EXCEPTION | 0)) == -1)
19535 SWIG_fail;
19536 if (arg2 == NULL) {
19537 PyErr_SetString(PyExc_TypeError,"null reference");
19538 SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19549 }
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxDateTime *arg1 = (wxDateTime *) 0 ;
19559 wxDateTime *arg2 = 0 ;
19560 wxDateTime *arg3 = 0 ;
19561 bool result;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 PyObject * obj2 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "t1",(char *) "t2", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19573 SWIG_POINTER_EXCEPTION | 0)) == -1)
19574 SWIG_fail;
19575 if (arg2 == NULL) {
19576 PyErr_SetString(PyExc_TypeError,"null reference");
19577 SWIG_fail;
19578 }
19579 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19580 SWIG_POINTER_EXCEPTION | 0)) == -1)
19581 SWIG_fail;
19582 if (arg3 == NULL) {
19583 PyErr_SetString(PyExc_TypeError,"null reference");
19584 SWIG_fail;
19585 }
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19595 }
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxDateTime *arg1 = (wxDateTime *) 0 ;
19605 wxDateTime *arg2 = 0 ;
19606 wxDateTime *arg3 = 0 ;
19607 bool result;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 PyObject * obj2 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "t1",(char *) "t2", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19619 SWIG_POINTER_EXCEPTION | 0)) == -1)
19620 SWIG_fail;
19621 if (arg2 == NULL) {
19622 PyErr_SetString(PyExc_TypeError,"null reference");
19623 SWIG_fail;
19624 }
19625 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxDateTime,
19626 SWIG_POINTER_EXCEPTION | 0)) == -1)
19627 SWIG_fail;
19628 if (arg3 == NULL) {
19629 PyErr_SetString(PyExc_TypeError,"null reference");
19630 SWIG_fail;
19631 }
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 {
19640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19641 }
19642 return resultobj;
19643 fail:
19644 return NULL;
19645 }
19646
19647
19648 static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
19649 PyObject *resultobj;
19650 wxDateTime *arg1 = (wxDateTime *) 0 ;
19651 wxDateTime *arg2 = 0 ;
19652 bool result;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "dt", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1)
19664 SWIG_fail;
19665 if (arg2 == NULL) {
19666 PyErr_SetString(PyExc_TypeError,"null reference");
19667 SWIG_fail;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 {
19677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19678 }
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxDateTime *arg1 = (wxDateTime *) 0 ;
19688 wxDateTime *arg2 = 0 ;
19689 bool result;
19690 PyObject * obj0 = 0 ;
19691 PyObject * obj1 = 0 ;
19692 char *kwnames[] = {
19693 (char *) "self",(char *) "dt", NULL
19694 };
19695
19696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1)
19701 SWIG_fail;
19702 if (arg2 == NULL) {
19703 PyErr_SetString(PyExc_TypeError,"null reference");
19704 SWIG_fail;
19705 }
19706 {
19707 PyThreadState* __tstate = wxPyBeginAllowThreads();
19708 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19709
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 {
19714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19715 }
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxDateTime *arg1 = (wxDateTime *) 0 ;
19725 wxDateTime *arg2 = 0 ;
19726 wxTimeSpan *arg3 = 0 ;
19727 bool result;
19728 PyObject * obj0 = 0 ;
19729 PyObject * obj1 = 0 ;
19730 PyObject * obj2 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self",(char *) "dt",(char *) "ts", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19739 SWIG_POINTER_EXCEPTION | 0)) == -1)
19740 SWIG_fail;
19741 if (arg2 == NULL) {
19742 PyErr_SetString(PyExc_TypeError,"null reference");
19743 SWIG_fail;
19744 }
19745 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTimeSpan,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1)
19747 SWIG_fail;
19748 if (arg3 == NULL) {
19749 PyErr_SetString(PyExc_TypeError,"null reference");
19750 SWIG_fail;
19751 }
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 {
19760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19761 }
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxDateTime *arg1 = (wxDateTime *) 0 ;
19771 wxTimeSpan *arg2 = 0 ;
19772 wxDateTime *result;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char *kwnames[] = {
19776 (char *) "self",(char *) "diff", NULL
19777 };
19778
19779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19783 SWIG_POINTER_EXCEPTION | 0)) == -1)
19784 SWIG_fail;
19785 if (arg2 == NULL) {
19786 PyErr_SetString(PyExc_TypeError,"null reference");
19787 SWIG_fail;
19788 }
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 {
19792 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19793 result = (wxDateTime *) &_result_ref;
19794 }
19795
19796 wxPyEndAllowThreads(__tstate);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19800 return resultobj;
19801 fail:
19802 return NULL;
19803 }
19804
19805
19806 static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxDateTime *arg1 = (wxDateTime *) 0 ;
19809 wxDateSpan *arg2 = 0 ;
19810 wxDateTime *result;
19811 PyObject * obj0 = 0 ;
19812 PyObject * obj1 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "diff", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19821 SWIG_POINTER_EXCEPTION | 0)) == -1)
19822 SWIG_fail;
19823 if (arg2 == NULL) {
19824 PyErr_SetString(PyExc_TypeError,"null reference");
19825 SWIG_fail;
19826 }
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 {
19830 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19831 result = (wxDateTime *) &_result_ref;
19832 }
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19838 return resultobj;
19839 fail:
19840 return NULL;
19841 }
19842
19843
19844 static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
19845 PyObject *resultobj;
19846 wxDateTime *arg1 = (wxDateTime *) 0 ;
19847 wxTimeSpan *arg2 = 0 ;
19848 wxDateTime *result;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self",(char *) "diff", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1)
19860 SWIG_fail;
19861 if (arg2 == NULL) {
19862 PyErr_SetString(PyExc_TypeError,"null reference");
19863 SWIG_fail;
19864 }
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 {
19868 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19869 result = (wxDateTime *) &_result_ref;
19870 }
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxDateTime *arg1 = (wxDateTime *) 0 ;
19885 wxDateSpan *arg2 = 0 ;
19886 wxDateTime *result;
19887 PyObject * obj0 = 0 ;
19888 PyObject * obj1 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self",(char *) "diff", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
19897 SWIG_POINTER_EXCEPTION | 0)) == -1)
19898 SWIG_fail;
19899 if (arg2 == NULL) {
19900 PyErr_SetString(PyExc_TypeError,"null reference");
19901 SWIG_fail;
19902 }
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 {
19906 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19907 result = (wxDateTime *) &_result_ref;
19908 }
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxDateTime *arg1 = (wxDateTime *) 0 ;
19923 wxDateTime *arg2 = 0 ;
19924 wxTimeSpan result;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self",(char *) "dt", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
19935 SWIG_POINTER_EXCEPTION | 0)) == -1)
19936 SWIG_fail;
19937 if (arg2 == NULL) {
19938 PyErr_SetString(PyExc_TypeError,"null reference");
19939 SWIG_fail;
19940 }
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 {
19949 wxTimeSpan * resultptr;
19950 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
19960 PyObject *resultobj;
19961 wxDateTime *arg1 = (wxDateTime *) 0 ;
19962 wxTimeSpan *arg2 = 0 ;
19963 wxDateTime *result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966
19967 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
19969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19970 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1)
19972 SWIG_fail;
19973 if (arg2 == NULL) {
19974 PyErr_SetString(PyExc_TypeError,"null reference");
19975 SWIG_fail;
19976 }
19977 {
19978 PyThreadState* __tstate = wxPyBeginAllowThreads();
19979 {
19980 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19981 result = (wxDateTime *) &_result_ref;
19982 }
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19988 return resultobj;
19989 fail:
19990 return NULL;
19991 }
19992
19993
19994 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
19995 PyObject *resultobj;
19996 wxDateTime *arg1 = (wxDateTime *) 0 ;
19997 wxDateSpan *arg2 = 0 ;
19998 wxDateTime *result;
19999 PyObject * obj0 = 0 ;
20000 PyObject * obj1 = 0 ;
20001
20002 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20005 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20006 SWIG_POINTER_EXCEPTION | 0)) == -1)
20007 SWIG_fail;
20008 if (arg2 == NULL) {
20009 PyErr_SetString(PyExc_TypeError,"null reference");
20010 SWIG_fail;
20011 }
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 {
20015 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
20016 result = (wxDateTime *) &_result_ref;
20017 }
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
20030 int argc;
20031 PyObject *argv[3];
20032 int ii;
20033
20034 argc = PyObject_Length(args);
20035 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20036 argv[ii] = PyTuple_GetItem(args,ii);
20037 }
20038 if (argc == 2) {
20039 int _v;
20040 {
20041 void *ptr;
20042 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20043 _v = 0;
20044 PyErr_Clear();
20045 } else {
20046 _v = 1;
20047 }
20048 }
20049 if (_v) {
20050 {
20051 void *ptr;
20052 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20053 _v = 0;
20054 PyErr_Clear();
20055 } else {
20056 _v = 1;
20057 }
20058 }
20059 if (_v) {
20060 return _wrap_DateTime___iadd____SWIG_0(self,args);
20061 }
20062 }
20063 }
20064 if (argc == 2) {
20065 int _v;
20066 {
20067 void *ptr;
20068 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20069 _v = 0;
20070 PyErr_Clear();
20071 } else {
20072 _v = 1;
20073 }
20074 }
20075 if (_v) {
20076 {
20077 void *ptr;
20078 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20079 _v = 0;
20080 PyErr_Clear();
20081 } else {
20082 _v = 1;
20083 }
20084 }
20085 if (_v) {
20086 return _wrap_DateTime___iadd____SWIG_1(self,args);
20087 }
20088 }
20089 }
20090
20091 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
20092 return NULL;
20093 }
20094
20095
20096 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
20097 PyObject *resultobj;
20098 wxDateTime *arg1 = (wxDateTime *) 0 ;
20099 wxTimeSpan *arg2 = 0 ;
20100 wxDateTime *result;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103
20104 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1)
20109 SWIG_fail;
20110 if (arg2 == NULL) {
20111 PyErr_SetString(PyExc_TypeError,"null reference");
20112 SWIG_fail;
20113 }
20114 {
20115 PyThreadState* __tstate = wxPyBeginAllowThreads();
20116 {
20117 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
20118 result = (wxDateTime *) &_result_ref;
20119 }
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
20132 PyObject *resultobj;
20133 wxDateTime *arg1 = (wxDateTime *) 0 ;
20134 wxDateSpan *arg2 = 0 ;
20135 wxDateTime *result;
20136 PyObject * obj0 = 0 ;
20137 PyObject * obj1 = 0 ;
20138
20139 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
20140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20143 SWIG_POINTER_EXCEPTION | 0)) == -1)
20144 SWIG_fail;
20145 if (arg2 == NULL) {
20146 PyErr_SetString(PyExc_TypeError,"null reference");
20147 SWIG_fail;
20148 }
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 {
20152 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
20153 result = (wxDateTime *) &_result_ref;
20154 }
20155
20156 wxPyEndAllowThreads(__tstate);
20157 if (PyErr_Occurred()) SWIG_fail;
20158 }
20159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
20167 int argc;
20168 PyObject *argv[3];
20169 int ii;
20170
20171 argc = PyObject_Length(args);
20172 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20173 argv[ii] = PyTuple_GetItem(args,ii);
20174 }
20175 if (argc == 2) {
20176 int _v;
20177 {
20178 void *ptr;
20179 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20180 _v = 0;
20181 PyErr_Clear();
20182 } else {
20183 _v = 1;
20184 }
20185 }
20186 if (_v) {
20187 {
20188 void *ptr;
20189 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20190 _v = 0;
20191 PyErr_Clear();
20192 } else {
20193 _v = 1;
20194 }
20195 }
20196 if (_v) {
20197 return _wrap_DateTime___isub____SWIG_0(self,args);
20198 }
20199 }
20200 }
20201 if (argc == 2) {
20202 int _v;
20203 {
20204 void *ptr;
20205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20206 _v = 0;
20207 PyErr_Clear();
20208 } else {
20209 _v = 1;
20210 }
20211 }
20212 if (_v) {
20213 {
20214 void *ptr;
20215 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20216 _v = 0;
20217 PyErr_Clear();
20218 } else {
20219 _v = 1;
20220 }
20221 }
20222 if (_v) {
20223 return _wrap_DateTime___isub____SWIG_1(self,args);
20224 }
20225 }
20226 }
20227
20228 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
20229 return NULL;
20230 }
20231
20232
20233 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
20234 PyObject *resultobj;
20235 wxDateTime *arg1 = (wxDateTime *) 0 ;
20236 wxTimeSpan *arg2 = 0 ;
20237 wxDateTime result;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240
20241 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20245 SWIG_POINTER_EXCEPTION | 0)) == -1)
20246 SWIG_fail;
20247 if (arg2 == NULL) {
20248 PyErr_SetString(PyExc_TypeError,"null reference");
20249 SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 {
20259 wxDateTime * resultptr;
20260 resultptr = new wxDateTime((wxDateTime &) result);
20261 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20262 }
20263 return resultobj;
20264 fail:
20265 return NULL;
20266 }
20267
20268
20269 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
20270 PyObject *resultobj;
20271 wxDateTime *arg1 = (wxDateTime *) 0 ;
20272 wxDateSpan *arg2 = 0 ;
20273 wxDateTime result;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276
20277 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
20278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20280 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20281 SWIG_POINTER_EXCEPTION | 0)) == -1)
20282 SWIG_fail;
20283 if (arg2 == NULL) {
20284 PyErr_SetString(PyExc_TypeError,"null reference");
20285 SWIG_fail;
20286 }
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 {
20295 wxDateTime * resultptr;
20296 resultptr = new wxDateTime((wxDateTime &) result);
20297 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20298 }
20299 return resultobj;
20300 fail:
20301 return NULL;
20302 }
20303
20304
20305 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
20306 int argc;
20307 PyObject *argv[3];
20308 int ii;
20309
20310 argc = PyObject_Length(args);
20311 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20312 argv[ii] = PyTuple_GetItem(args,ii);
20313 }
20314 if (argc == 2) {
20315 int _v;
20316 {
20317 void *ptr;
20318 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20319 _v = 0;
20320 PyErr_Clear();
20321 } else {
20322 _v = 1;
20323 }
20324 }
20325 if (_v) {
20326 {
20327 void *ptr;
20328 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20329 _v = 0;
20330 PyErr_Clear();
20331 } else {
20332 _v = 1;
20333 }
20334 }
20335 if (_v) {
20336 return _wrap_DateTime___add____SWIG_0(self,args);
20337 }
20338 }
20339 }
20340 if (argc == 2) {
20341 int _v;
20342 {
20343 void *ptr;
20344 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20345 _v = 0;
20346 PyErr_Clear();
20347 } else {
20348 _v = 1;
20349 }
20350 }
20351 if (_v) {
20352 {
20353 void *ptr;
20354 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20355 _v = 0;
20356 PyErr_Clear();
20357 } else {
20358 _v = 1;
20359 }
20360 }
20361 if (_v) {
20362 return _wrap_DateTime___add____SWIG_1(self,args);
20363 }
20364 }
20365 }
20366
20367 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20368 return NULL;
20369 }
20370
20371
20372 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
20373 PyObject *resultobj;
20374 wxDateTime *arg1 = (wxDateTime *) 0 ;
20375 wxDateTime *arg2 = 0 ;
20376 wxTimeSpan result;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379
20380 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20383 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20384 SWIG_POINTER_EXCEPTION | 0)) == -1)
20385 SWIG_fail;
20386 if (arg2 == NULL) {
20387 PyErr_SetString(PyExc_TypeError,"null reference");
20388 SWIG_fail;
20389 }
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 {
20398 wxTimeSpan * resultptr;
20399 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
20401 }
20402 return resultobj;
20403 fail:
20404 return NULL;
20405 }
20406
20407
20408 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
20409 PyObject *resultobj;
20410 wxDateTime *arg1 = (wxDateTime *) 0 ;
20411 wxTimeSpan *arg2 = 0 ;
20412 wxDateTime result;
20413 PyObject * obj0 = 0 ;
20414 PyObject * obj1 = 0 ;
20415
20416 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
20420 SWIG_POINTER_EXCEPTION | 0)) == -1)
20421 SWIG_fail;
20422 if (arg2 == NULL) {
20423 PyErr_SetString(PyExc_TypeError,"null reference");
20424 SWIG_fail;
20425 }
20426 {
20427 PyThreadState* __tstate = wxPyBeginAllowThreads();
20428 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20429
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 {
20434 wxDateTime * resultptr;
20435 resultptr = new wxDateTime((wxDateTime &) result);
20436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20437 }
20438 return resultobj;
20439 fail:
20440 return NULL;
20441 }
20442
20443
20444 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
20445 PyObject *resultobj;
20446 wxDateTime *arg1 = (wxDateTime *) 0 ;
20447 wxDateSpan *arg2 = 0 ;
20448 wxDateTime result;
20449 PyObject * obj0 = 0 ;
20450 PyObject * obj1 = 0 ;
20451
20452 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
20456 SWIG_POINTER_EXCEPTION | 0)) == -1)
20457 SWIG_fail;
20458 if (arg2 == NULL) {
20459 PyErr_SetString(PyExc_TypeError,"null reference");
20460 SWIG_fail;
20461 }
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 {
20470 wxDateTime * resultptr;
20471 resultptr = new wxDateTime((wxDateTime &) result);
20472 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20473 }
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20481 int argc;
20482 PyObject *argv[3];
20483 int ii;
20484
20485 argc = PyObject_Length(args);
20486 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20487 argv[ii] = PyTuple_GetItem(args,ii);
20488 }
20489 if (argc == 2) {
20490 int _v;
20491 {
20492 void *ptr;
20493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20494 _v = 0;
20495 PyErr_Clear();
20496 } else {
20497 _v = 1;
20498 }
20499 }
20500 if (_v) {
20501 {
20502 void *ptr;
20503 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20504 _v = 0;
20505 PyErr_Clear();
20506 } else {
20507 _v = 1;
20508 }
20509 }
20510 if (_v) {
20511 return _wrap_DateTime___sub____SWIG_0(self,args);
20512 }
20513 }
20514 }
20515 if (argc == 2) {
20516 int _v;
20517 {
20518 void *ptr;
20519 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20520 _v = 0;
20521 PyErr_Clear();
20522 } else {
20523 _v = 1;
20524 }
20525 }
20526 if (_v) {
20527 {
20528 void *ptr;
20529 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20530 _v = 0;
20531 PyErr_Clear();
20532 } else {
20533 _v = 1;
20534 }
20535 }
20536 if (_v) {
20537 return _wrap_DateTime___sub____SWIG_1(self,args);
20538 }
20539 }
20540 }
20541 if (argc == 2) {
20542 int _v;
20543 {
20544 void *ptr;
20545 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20546 _v = 0;
20547 PyErr_Clear();
20548 } else {
20549 _v = 1;
20550 }
20551 }
20552 if (_v) {
20553 {
20554 void *ptr;
20555 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20556 _v = 0;
20557 PyErr_Clear();
20558 } else {
20559 _v = 1;
20560 }
20561 }
20562 if (_v) {
20563 return _wrap_DateTime___sub____SWIG_2(self,args);
20564 }
20565 }
20566 }
20567
20568 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args) {
20574 PyObject *resultobj;
20575 wxDateTime *arg1 = (wxDateTime *) 0 ;
20576 wxDateTime *arg2 = (wxDateTime *) 0 ;
20577 bool result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580
20581 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 {
20594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20595 }
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args) {
20603 PyObject *resultobj;
20604 wxDateTime *arg1 = (wxDateTime *) 0 ;
20605 wxDateTime *arg2 = (wxDateTime *) 0 ;
20606 bool result;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609
20610 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 {
20623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20624 }
20625 return resultobj;
20626 fail:
20627 return NULL;
20628 }
20629
20630
20631 static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args) {
20632 PyObject *resultobj;
20633 wxDateTime *arg1 = (wxDateTime *) 0 ;
20634 wxDateTime *arg2 = (wxDateTime *) 0 ;
20635 bool result;
20636 PyObject * obj0 = 0 ;
20637 PyObject * obj1 = 0 ;
20638
20639 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 {
20652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20653 }
20654 return resultobj;
20655 fail:
20656 return NULL;
20657 }
20658
20659
20660 static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args) {
20661 PyObject *resultobj;
20662 wxDateTime *arg1 = (wxDateTime *) 0 ;
20663 wxDateTime *arg2 = (wxDateTime *) 0 ;
20664 bool result;
20665 PyObject * obj0 = 0 ;
20666 PyObject * obj1 = 0 ;
20667
20668 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20673 {
20674 PyThreadState* __tstate = wxPyBeginAllowThreads();
20675 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20676
20677 wxPyEndAllowThreads(__tstate);
20678 if (PyErr_Occurred()) SWIG_fail;
20679 }
20680 {
20681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20682 }
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args) {
20690 PyObject *resultobj;
20691 wxDateTime *arg1 = (wxDateTime *) 0 ;
20692 wxDateTime *arg2 = (wxDateTime *) 0 ;
20693 bool result;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696
20697 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20700 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 {
20710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args) {
20719 PyObject *resultobj;
20720 wxDateTime *arg1 = (wxDateTime *) 0 ;
20721 wxDateTime *arg2 = (wxDateTime *) 0 ;
20722 bool result;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725
20726 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20729 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateTime,
20730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
20738 {
20739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20740 }
20741 return resultobj;
20742 fail:
20743 return NULL;
20744 }
20745
20746
20747 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxDateTime *arg1 = (wxDateTime *) 0 ;
20750 wxString *arg2 = 0 ;
20751 int result;
20752 bool temp2 = False ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "date", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20762 {
20763 arg2 = wxString_in_helper(obj1);
20764 if (arg2 == NULL) SWIG_fail;
20765 temp2 = True;
20766 }
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20770
20771 wxPyEndAllowThreads(__tstate);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 }
20774 resultobj = SWIG_FromInt((int)result);
20775 {
20776 if (temp2)
20777 delete arg2;
20778 }
20779 return resultobj;
20780 fail:
20781 {
20782 if (temp2)
20783 delete arg2;
20784 }
20785 return NULL;
20786 }
20787
20788
20789 static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxDateTime *arg1 = (wxDateTime *) 0 ;
20792 wxString *arg2 = 0 ;
20793 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20794 wxString *arg3 = (wxString *) &arg3_defvalue ;
20795 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20796 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20797 int result;
20798 bool temp2 = False ;
20799 bool temp3 = False ;
20800 PyObject * obj0 = 0 ;
20801 PyObject * obj1 = 0 ;
20802 PyObject * obj2 = 0 ;
20803 PyObject * obj3 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20811 {
20812 arg2 = wxString_in_helper(obj1);
20813 if (arg2 == NULL) SWIG_fail;
20814 temp2 = True;
20815 }
20816 if (obj2) {
20817 {
20818 arg3 = wxString_in_helper(obj2);
20819 if (arg3 == NULL) SWIG_fail;
20820 temp3 = True;
20821 }
20822 }
20823 if (obj3) {
20824 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxDateTime,
20825 SWIG_POINTER_EXCEPTION | 0)) == -1)
20826 SWIG_fail;
20827 if (arg4 == NULL) {
20828 PyErr_SetString(PyExc_TypeError,"null reference");
20829 SWIG_fail;
20830 }
20831 }
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 resultobj = SWIG_FromInt((int)result);
20840 {
20841 if (temp2)
20842 delete arg2;
20843 }
20844 {
20845 if (temp3)
20846 delete arg3;
20847 }
20848 return resultobj;
20849 fail:
20850 {
20851 if (temp2)
20852 delete arg2;
20853 }
20854 {
20855 if (temp3)
20856 delete arg3;
20857 }
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxDateTime *arg1 = (wxDateTime *) 0 ;
20865 wxString *arg2 = 0 ;
20866 int result;
20867 bool temp2 = False ;
20868 PyObject * obj0 = 0 ;
20869 PyObject * obj1 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self",(char *) "datetime", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20877 {
20878 arg2 = wxString_in_helper(obj1);
20879 if (arg2 == NULL) SWIG_fail;
20880 temp2 = True;
20881 }
20882 {
20883 PyThreadState* __tstate = wxPyBeginAllowThreads();
20884 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20885
20886 wxPyEndAllowThreads(__tstate);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 resultobj = SWIG_FromInt((int)result);
20890 {
20891 if (temp2)
20892 delete arg2;
20893 }
20894 return resultobj;
20895 fail:
20896 {
20897 if (temp2)
20898 delete arg2;
20899 }
20900 return NULL;
20901 }
20902
20903
20904 static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
20905 PyObject *resultobj;
20906 wxDateTime *arg1 = (wxDateTime *) 0 ;
20907 wxString *arg2 = 0 ;
20908 int result;
20909 bool temp2 = False ;
20910 PyObject * obj0 = 0 ;
20911 PyObject * obj1 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self",(char *) "date", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20919 {
20920 arg2 = wxString_in_helper(obj1);
20921 if (arg2 == NULL) SWIG_fail;
20922 temp2 = True;
20923 }
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 resultobj = SWIG_FromInt((int)result);
20932 {
20933 if (temp2)
20934 delete arg2;
20935 }
20936 return resultobj;
20937 fail:
20938 {
20939 if (temp2)
20940 delete arg2;
20941 }
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxDateTime *arg1 = (wxDateTime *) 0 ;
20949 wxString *arg2 = 0 ;
20950 int result;
20951 bool temp2 = False ;
20952 PyObject * obj0 = 0 ;
20953 PyObject * obj1 = 0 ;
20954 char *kwnames[] = {
20955 (char *) "self",(char *) "time", NULL
20956 };
20957
20958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
20960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20961 {
20962 arg2 = wxString_in_helper(obj1);
20963 if (arg2 == NULL) SWIG_fail;
20964 temp2 = True;
20965 }
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 resultobj = SWIG_FromInt((int)result);
20974 {
20975 if (temp2)
20976 delete arg2;
20977 }
20978 return resultobj;
20979 fail:
20980 {
20981 if (temp2)
20982 delete arg2;
20983 }
20984 return NULL;
20985 }
20986
20987
20988 static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
20989 PyObject *resultobj;
20990 wxDateTime *arg1 = (wxDateTime *) 0 ;
20991 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20992 wxString *arg2 = (wxString *) &arg2_defvalue ;
20993 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20994 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20995 wxString result;
20996 bool temp2 = False ;
20997 bool temp3 = False ;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 PyObject * obj2 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "format",(char *) "tz", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
21006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21008 if (obj1) {
21009 {
21010 arg2 = wxString_in_helper(obj1);
21011 if (arg2 == NULL) SWIG_fail;
21012 temp2 = True;
21013 }
21014 }
21015 if (obj2) {
21016 {
21017 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21018 temp3 = True;
21019 }
21020 }
21021 {
21022 PyThreadState* __tstate = wxPyBeginAllowThreads();
21023 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
21024
21025 wxPyEndAllowThreads(__tstate);
21026 if (PyErr_Occurred()) SWIG_fail;
21027 }
21028 {
21029 #if wxUSE_UNICODE
21030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21031 #else
21032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21033 #endif
21034 }
21035 {
21036 if (temp2)
21037 delete arg2;
21038 }
21039 {
21040 if (temp3) delete arg3;
21041 }
21042 return resultobj;
21043 fail:
21044 {
21045 if (temp2)
21046 delete arg2;
21047 }
21048 {
21049 if (temp3) delete arg3;
21050 }
21051 return NULL;
21052 }
21053
21054
21055 static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxDateTime *arg1 = (wxDateTime *) 0 ;
21058 wxString result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = ((wxDateTime const *)arg1)->FormatDate();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 {
21075 #if wxUSE_UNICODE
21076 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21077 #else
21078 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21079 #endif
21080 }
21081 return resultobj;
21082 fail:
21083 return NULL;
21084 }
21085
21086
21087 static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
21088 PyObject *resultobj;
21089 wxDateTime *arg1 = (wxDateTime *) 0 ;
21090 wxString result;
21091 PyObject * obj0 = 0 ;
21092 char *kwnames[] = {
21093 (char *) "self", NULL
21094 };
21095
21096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
21097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = ((wxDateTime const *)arg1)->FormatTime();
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107 #if wxUSE_UNICODE
21108 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21109 #else
21110 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21111 #endif
21112 }
21113 return resultobj;
21114 fail:
21115 return NULL;
21116 }
21117
21118
21119 static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj;
21121 wxDateTime *arg1 = (wxDateTime *) 0 ;
21122 wxString result;
21123 PyObject * obj0 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = ((wxDateTime const *)arg1)->FormatISODate();
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 #if wxUSE_UNICODE
21140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21141 #else
21142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21143 #endif
21144 }
21145 return resultobj;
21146 fail:
21147 return NULL;
21148 }
21149
21150
21151 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxDateTime *arg1 = (wxDateTime *) 0 ;
21154 wxString result;
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateTime,
21162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = ((wxDateTime const *)arg1)->FormatISOTime();
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 {
21171 #if wxUSE_UNICODE
21172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21173 #else
21174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21175 #endif
21176 }
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
21184 PyObject *obj;
21185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21186 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
21187 Py_INCREF(obj);
21188 return Py_BuildValue((char *)"");
21189 }
21190 static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 long arg1 ;
21193 wxTimeSpan result;
21194 PyObject * obj0 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "sec", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
21200 arg1 = (long) SWIG_AsLong(obj0);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = wxTimeSpan::Seconds(arg1);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 {
21210 wxTimeSpan * resultptr;
21211 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21213 }
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxTimeSpan result;
21223 char *kwnames[] = {
21224 NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = wxTimeSpan::Second();
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 wxTimeSpan * resultptr;
21237 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21239 }
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 long arg1 ;
21249 wxTimeSpan result;
21250 PyObject * obj0 = 0 ;
21251 char *kwnames[] = {
21252 (char *) "min", NULL
21253 };
21254
21255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
21256 arg1 = (long) SWIG_AsLong(obj0);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = wxTimeSpan::Minutes(arg1);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 wxTimeSpan * resultptr;
21267 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxTimeSpan result;
21279 char *kwnames[] = {
21280 NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
21284 {
21285 PyThreadState* __tstate = wxPyBeginAllowThreads();
21286 result = wxTimeSpan::Minute();
21287
21288 wxPyEndAllowThreads(__tstate);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 wxTimeSpan * resultptr;
21293 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21294 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21295 }
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 long arg1 ;
21305 wxTimeSpan result;
21306 PyObject * obj0 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "hours", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
21312 arg1 = (long) SWIG_AsLong(obj0);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = wxTimeSpan::Hours(arg1);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 {
21322 wxTimeSpan * resultptr;
21323 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21325 }
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxTimeSpan result;
21335 char *kwnames[] = {
21336 NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 result = wxTimeSpan::Hour();
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 {
21348 wxTimeSpan * resultptr;
21349 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21351 }
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 long arg1 ;
21361 wxTimeSpan result;
21362 PyObject * obj0 = 0 ;
21363 char *kwnames[] = {
21364 (char *) "days", NULL
21365 };
21366
21367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21368 arg1 = (long) SWIG_AsLong(obj0);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 {
21371 PyThreadState* __tstate = wxPyBeginAllowThreads();
21372 result = wxTimeSpan::Days(arg1);
21373
21374 wxPyEndAllowThreads(__tstate);
21375 if (PyErr_Occurred()) SWIG_fail;
21376 }
21377 {
21378 wxTimeSpan * resultptr;
21379 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21380 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxTimeSpan result;
21391 char *kwnames[] = {
21392 NULL
21393 };
21394
21395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 result = wxTimeSpan::Day();
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 {
21404 wxTimeSpan * resultptr;
21405 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21406 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21407 }
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj;
21416 long arg1 ;
21417 wxTimeSpan result;
21418 PyObject * obj0 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "days", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21424 arg1 = (long) SWIG_AsLong(obj0);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = wxTimeSpan::Weeks(arg1);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 {
21434 wxTimeSpan * resultptr;
21435 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21437 }
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxTimeSpan result;
21447 char *kwnames[] = {
21448 NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = wxTimeSpan::Week();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 wxTimeSpan * resultptr;
21461 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 long arg1 = (long) 0 ;
21473 long arg2 = (long) 0 ;
21474 long arg3 = (long) 0 ;
21475 long arg4 = (long) 0 ;
21476 wxTimeSpan *result;
21477 PyObject * obj0 = 0 ;
21478 PyObject * obj1 = 0 ;
21479 PyObject * obj2 = 0 ;
21480 PyObject * obj3 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21486 if (obj0) {
21487 arg1 = (long) SWIG_AsLong(obj0);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 if (obj1) {
21491 arg2 = (long) SWIG_AsLong(obj1);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 if (obj2) {
21495 arg3 = (long) SWIG_AsLong(obj2);
21496 if (PyErr_Occurred()) SWIG_fail;
21497 }
21498 if (obj3) {
21499 arg4 = (long) SWIG_AsLong(obj3);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
21510 return resultobj;
21511 fail:
21512 return NULL;
21513 }
21514
21515
21516 static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj;
21518 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 delete arg1;
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 Py_INCREF(Py_None); resultobj = Py_None;
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj;
21543 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21544 wxTimeSpan *arg2 = 0 ;
21545 wxTimeSpan *result;
21546 PyObject * obj0 = 0 ;
21547 PyObject * obj1 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "diff", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21555 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21556 SWIG_POINTER_EXCEPTION | 0)) == -1)
21557 SWIG_fail;
21558 if (arg2 == NULL) {
21559 PyErr_SetString(PyExc_TypeError,"null reference");
21560 SWIG_fail;
21561 }
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 {
21565 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21566 result = (wxTimeSpan *) &_result_ref;
21567 }
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21573 return resultobj;
21574 fail:
21575 return NULL;
21576 }
21577
21578
21579 static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21582 wxTimeSpan *arg2 = 0 ;
21583 wxTimeSpan *result;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "diff", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21594 SWIG_POINTER_EXCEPTION | 0)) == -1)
21595 SWIG_fail;
21596 if (arg2 == NULL) {
21597 PyErr_SetString(PyExc_TypeError,"null reference");
21598 SWIG_fail;
21599 }
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 {
21603 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21604 result = (wxTimeSpan *) &_result_ref;
21605 }
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21620 int arg2 ;
21621 wxTimeSpan *result;
21622 PyObject * obj0 = 0 ;
21623 PyObject * obj1 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "n", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21631 arg2 = (int) SWIG_AsInt(obj1);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 {
21636 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21637 result = (wxTimeSpan *) &_result_ref;
21638 }
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21653 wxTimeSpan *result;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 {
21665 wxTimeSpan &_result_ref = (arg1)->Neg();
21666 result = (wxTimeSpan *) &_result_ref;
21667 }
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21673 return resultobj;
21674 fail:
21675 return NULL;
21676 }
21677
21678
21679 static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21682 wxTimeSpan result;
21683 PyObject * obj0 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = ((wxTimeSpan const *)arg1)->Abs();
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 {
21699 wxTimeSpan * resultptr;
21700 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21701 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21702 }
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21712 wxTimeSpan *arg2 = 0 ;
21713 wxTimeSpan *result;
21714 PyObject * obj0 = 0 ;
21715 PyObject * obj1 = 0 ;
21716 char *kwnames[] = {
21717 (char *) "self",(char *) "diff", NULL
21718 };
21719
21720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21724 SWIG_POINTER_EXCEPTION | 0)) == -1)
21725 SWIG_fail;
21726 if (arg2 == NULL) {
21727 PyErr_SetString(PyExc_TypeError,"null reference");
21728 SWIG_fail;
21729 }
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 {
21733 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21734 result = (wxTimeSpan *) &_result_ref;
21735 }
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21750 wxTimeSpan *arg2 = 0 ;
21751 wxTimeSpan *result;
21752 PyObject * obj0 = 0 ;
21753 PyObject * obj1 = 0 ;
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "diff", NULL
21756 };
21757
21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21762 SWIG_POINTER_EXCEPTION | 0)) == -1)
21763 SWIG_fail;
21764 if (arg2 == NULL) {
21765 PyErr_SetString(PyExc_TypeError,"null reference");
21766 SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 {
21771 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21772 result = (wxTimeSpan *) &_result_ref;
21773 }
21774
21775 wxPyEndAllowThreads(__tstate);
21776 if (PyErr_Occurred()) SWIG_fail;
21777 }
21778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21779 return resultobj;
21780 fail:
21781 return NULL;
21782 }
21783
21784
21785 static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
21786 PyObject *resultobj;
21787 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21788 int arg2 ;
21789 wxTimeSpan *result;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self",(char *) "n", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21799 arg2 = (int) SWIG_AsInt(obj1);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 {
21804 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21805 result = (wxTimeSpan *) &_result_ref;
21806 }
21807
21808 wxPyEndAllowThreads(__tstate);
21809 if (PyErr_Occurred()) SWIG_fail;
21810 }
21811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21821 wxTimeSpan *result;
21822 PyObject * obj0 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 {
21833 wxTimeSpan &_result_ref = (arg1)->operator -();
21834 result = (wxTimeSpan *) &_result_ref;
21835 }
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21850 wxTimeSpan *arg2 = 0 ;
21851 wxTimeSpan result;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "other", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21862 SWIG_POINTER_EXCEPTION | 0)) == -1)
21863 SWIG_fail;
21864 if (arg2 == NULL) {
21865 PyErr_SetString(PyExc_TypeError,"null reference");
21866 SWIG_fail;
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 {
21876 wxTimeSpan * resultptr;
21877 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21879 }
21880 return resultobj;
21881 fail:
21882 return NULL;
21883 }
21884
21885
21886 static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
21887 PyObject *resultobj;
21888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21889 wxTimeSpan *arg2 = 0 ;
21890 wxTimeSpan result;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 char *kwnames[] = {
21894 (char *) "self",(char *) "other", NULL
21895 };
21896
21897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
21901 SWIG_POINTER_EXCEPTION | 0)) == -1)
21902 SWIG_fail;
21903 if (arg2 == NULL) {
21904 PyErr_SetString(PyExc_TypeError,"null reference");
21905 SWIG_fail;
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 {
21915 wxTimeSpan * resultptr;
21916 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21918 }
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21928 int arg2 ;
21929 wxTimeSpan result;
21930 PyObject * obj0 = 0 ;
21931 PyObject * obj1 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "n", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21939 arg2 = (int) SWIG_AsInt(obj1);
21940 if (PyErr_Occurred()) SWIG_fail;
21941 {
21942 PyThreadState* __tstate = wxPyBeginAllowThreads();
21943 result = wxTimeSpan___mul__(arg1,arg2);
21944
21945 wxPyEndAllowThreads(__tstate);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 {
21949 wxTimeSpan * resultptr;
21950 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21952 }
21953 return resultobj;
21954 fail:
21955 return NULL;
21956 }
21957
21958
21959 static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
21960 PyObject *resultobj;
21961 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21962 int arg2 ;
21963 wxTimeSpan result;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "n", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 arg2 = (int) SWIG_AsInt(obj1);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 {
21976 PyThreadState* __tstate = wxPyBeginAllowThreads();
21977 result = wxTimeSpan___rmul__(arg1,arg2);
21978
21979 wxPyEndAllowThreads(__tstate);
21980 if (PyErr_Occurred()) SWIG_fail;
21981 }
21982 {
21983 wxTimeSpan * resultptr;
21984 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
21994 PyObject *resultobj;
21995 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21996 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21997 bool result;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "other", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 {
22017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22018 }
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22028 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22029 bool result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "other", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22060 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22061 bool result;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "other", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
22069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22071 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
22076
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 {
22081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22082 }
22083 return resultobj;
22084 fail:
22085 return NULL;
22086 }
22087
22088
22089 static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
22090 PyObject *resultobj;
22091 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22092 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22093 bool result;
22094 PyObject * obj0 = 0 ;
22095 PyObject * obj1 = 0 ;
22096 char *kwnames[] = {
22097 (char *) "self",(char *) "other", NULL
22098 };
22099
22100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
22101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
22112 {
22113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22114 }
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22124 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22125 bool result;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "other", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 {
22145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22146 }
22147 return resultobj;
22148 fail:
22149 return NULL;
22150 }
22151
22152
22153 static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
22154 PyObject *resultobj;
22155 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22156 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
22157 bool result;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 char *kwnames[] = {
22161 (char *) "self",(char *) "other", NULL
22162 };
22163
22164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22169 {
22170 PyThreadState* __tstate = wxPyBeginAllowThreads();
22171 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
22172
22173 wxPyEndAllowThreads(__tstate);
22174 if (PyErr_Occurred()) SWIG_fail;
22175 }
22176 {
22177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22188 bool result;
22189 PyObject * obj0 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 {
22205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22206 }
22207 return resultobj;
22208 fail:
22209 return NULL;
22210 }
22211
22212
22213 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
22214 PyObject *resultobj;
22215 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22216 bool result;
22217 PyObject * obj0 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 {
22233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22234 }
22235 return resultobj;
22236 fail:
22237 return NULL;
22238 }
22239
22240
22241 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22244 bool result;
22245 PyObject * obj0 = 0 ;
22246 char *kwnames[] = {
22247 (char *) "self", NULL
22248 };
22249
22250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
22251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22253 {
22254 PyThreadState* __tstate = wxPyBeginAllowThreads();
22255 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
22256
22257 wxPyEndAllowThreads(__tstate);
22258 if (PyErr_Occurred()) SWIG_fail;
22259 }
22260 {
22261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22262 }
22263 return resultobj;
22264 fail:
22265 return NULL;
22266 }
22267
22268
22269 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
22270 PyObject *resultobj;
22271 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22272 wxTimeSpan *arg2 = 0 ;
22273 bool result;
22274 PyObject * obj0 = 0 ;
22275 PyObject * obj1 = 0 ;
22276 char *kwnames[] = {
22277 (char *) "self",(char *) "ts", NULL
22278 };
22279
22280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
22281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22284 SWIG_POINTER_EXCEPTION | 0)) == -1)
22285 SWIG_fail;
22286 if (arg2 == NULL) {
22287 PyErr_SetString(PyExc_TypeError,"null reference");
22288 SWIG_fail;
22289 }
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 {
22298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22309 wxTimeSpan *arg2 = 0 ;
22310 bool result;
22311 PyObject * obj0 = 0 ;
22312 PyObject * obj1 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "ts", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22321 SWIG_POINTER_EXCEPTION | 0)) == -1)
22322 SWIG_fail;
22323 if (arg2 == NULL) {
22324 PyErr_SetString(PyExc_TypeError,"null reference");
22325 SWIG_fail;
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 {
22335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22336 }
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22346 wxTimeSpan *arg2 = 0 ;
22347 bool result;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "t", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTimeSpan,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1)
22359 SWIG_fail;
22360 if (arg2 == NULL) {
22361 PyErr_SetString(PyExc_TypeError,"null reference");
22362 SWIG_fail;
22363 }
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22373 }
22374 return resultobj;
22375 fail:
22376 return NULL;
22377 }
22378
22379
22380 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22381 PyObject *resultobj;
22382 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22383 int result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 resultobj = SWIG_FromInt((int)result);
22400 return resultobj;
22401 fail:
22402 return NULL;
22403 }
22404
22405
22406 static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj;
22408 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22409 int result;
22410 PyObject * obj0 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22418 {
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22421
22422 wxPyEndAllowThreads(__tstate);
22423 if (PyErr_Occurred()) SWIG_fail;
22424 }
22425 resultobj = SWIG_FromInt((int)result);
22426 return resultobj;
22427 fail:
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22435 int result;
22436 PyObject * obj0 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 resultobj = SWIG_FromInt((int)result);
22452 return resultobj;
22453 fail:
22454 return NULL;
22455 }
22456
22457
22458 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22461 int result;
22462 PyObject * obj0 = 0 ;
22463 char *kwnames[] = {
22464 (char *) "self", NULL
22465 };
22466
22467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 resultobj = SWIG_FromInt((int)result);
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22487 wxLongLong result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22496 {
22497 PyThreadState* __tstate = wxPyBeginAllowThreads();
22498 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 {
22504 PyObject *hi, *lo, *shifter, *shifted;
22505 hi = PyLong_FromLong( (&result)->GetHi() );
22506 lo = PyLong_FromLong( (&result)->GetLo() );
22507 shifter = PyLong_FromLong(32);
22508 shifted = PyNumber_Lshift(hi, shifter);
22509 resultobj = PyNumber_Or(shifted, lo);
22510 Py_DECREF(hi);
22511 Py_DECREF(lo);
22512 Py_DECREF(shifter);
22513 Py_DECREF(shifted);
22514 }
22515 return resultobj;
22516 fail:
22517 return NULL;
22518 }
22519
22520
22521 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22524 wxLongLong result;
22525 PyObject * obj0 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self", NULL
22528 };
22529
22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 PyObject *hi, *lo, *shifter, *shifted;
22542 hi = PyLong_FromLong( (&result)->GetHi() );
22543 lo = PyLong_FromLong( (&result)->GetLo() );
22544 shifter = PyLong_FromLong(32);
22545 shifted = PyNumber_Lshift(hi, shifter);
22546 resultobj = PyNumber_Or(shifted, lo);
22547 Py_DECREF(hi);
22548 Py_DECREF(lo);
22549 Py_DECREF(shifter);
22550 Py_DECREF(shifted);
22551 }
22552 return resultobj;
22553 fail:
22554 return NULL;
22555 }
22556
22557
22558 static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22561 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22562 wxString *arg2 = (wxString *) &arg2_defvalue ;
22563 wxString result;
22564 bool temp2 = False ;
22565 PyObject * obj0 = 0 ;
22566 PyObject * obj1 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "format", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTimeSpan,
22573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22574 if (obj1) {
22575 {
22576 arg2 = wxString_in_helper(obj1);
22577 if (arg2 == NULL) SWIG_fail;
22578 temp2 = True;
22579 }
22580 }
22581 {
22582 PyThreadState* __tstate = wxPyBeginAllowThreads();
22583 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22584
22585 wxPyEndAllowThreads(__tstate);
22586 if (PyErr_Occurred()) SWIG_fail;
22587 }
22588 {
22589 #if wxUSE_UNICODE
22590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22591 #else
22592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22593 #endif
22594 }
22595 {
22596 if (temp2)
22597 delete arg2;
22598 }
22599 return resultobj;
22600 fail:
22601 {
22602 if (temp2)
22603 delete arg2;
22604 }
22605 return NULL;
22606 }
22607
22608
22609 static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
22610 PyObject *obj;
22611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22612 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22613 Py_INCREF(obj);
22614 return Py_BuildValue((char *)"");
22615 }
22616 static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
22617 PyObject *resultobj;
22618 int arg1 = (int) 0 ;
22619 int arg2 = (int) 0 ;
22620 int arg3 = (int) 0 ;
22621 int arg4 = (int) 0 ;
22622 wxDateSpan *result;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 PyObject * obj2 = 0 ;
22626 PyObject * obj3 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22632 if (obj0) {
22633 arg1 = (int) SWIG_AsInt(obj0);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 if (obj1) {
22637 arg2 = (int) SWIG_AsInt(obj1);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 if (obj2) {
22641 arg3 = (int) SWIG_AsInt(obj2);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 if (obj3) {
22645 arg4 = (int) SWIG_AsInt(obj3);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22665 PyObject * obj0 = 0 ;
22666 char *kwnames[] = {
22667 (char *) "self", NULL
22668 };
22669
22670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 delete arg1;
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 Py_INCREF(Py_None); resultobj = Py_None;
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 int arg1 ;
22690 wxDateSpan result;
22691 PyObject * obj0 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "days", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22697 arg1 = (int) SWIG_AsInt(obj0);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 result = wxDateSpan::Days(arg1);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 {
22707 wxDateSpan * resultptr;
22708 resultptr = new wxDateSpan((wxDateSpan &) result);
22709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22710 }
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxDateSpan result;
22720 char *kwnames[] = {
22721 NULL
22722 };
22723
22724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 result = wxDateSpan::Day();
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 {
22733 wxDateSpan * resultptr;
22734 resultptr = new wxDateSpan((wxDateSpan &) result);
22735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22736 }
22737 return resultobj;
22738 fail:
22739 return NULL;
22740 }
22741
22742
22743 static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
22744 PyObject *resultobj;
22745 int arg1 ;
22746 wxDateSpan result;
22747 PyObject * obj0 = 0 ;
22748 char *kwnames[] = {
22749 (char *) "weeks", NULL
22750 };
22751
22752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22753 arg1 = (int) SWIG_AsInt(obj0);
22754 if (PyErr_Occurred()) SWIG_fail;
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 result = wxDateSpan::Weeks(arg1);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 {
22763 wxDateSpan * resultptr;
22764 resultptr = new wxDateSpan((wxDateSpan &) result);
22765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22766 }
22767 return resultobj;
22768 fail:
22769 return NULL;
22770 }
22771
22772
22773 static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxDateSpan result;
22776 char *kwnames[] = {
22777 NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22781 {
22782 PyThreadState* __tstate = wxPyBeginAllowThreads();
22783 result = wxDateSpan::Week();
22784
22785 wxPyEndAllowThreads(__tstate);
22786 if (PyErr_Occurred()) SWIG_fail;
22787 }
22788 {
22789 wxDateSpan * resultptr;
22790 resultptr = new wxDateSpan((wxDateSpan &) result);
22791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22792 }
22793 return resultobj;
22794 fail:
22795 return NULL;
22796 }
22797
22798
22799 static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 int arg1 ;
22802 wxDateSpan result;
22803 PyObject * obj0 = 0 ;
22804 char *kwnames[] = {
22805 (char *) "mon", NULL
22806 };
22807
22808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22809 arg1 = (int) SWIG_AsInt(obj0);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 result = wxDateSpan::Months(arg1);
22814
22815 wxPyEndAllowThreads(__tstate);
22816 if (PyErr_Occurred()) SWIG_fail;
22817 }
22818 {
22819 wxDateSpan * resultptr;
22820 resultptr = new wxDateSpan((wxDateSpan &) result);
22821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22822 }
22823 return resultobj;
22824 fail:
22825 return NULL;
22826 }
22827
22828
22829 static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
22830 PyObject *resultobj;
22831 wxDateSpan result;
22832 char *kwnames[] = {
22833 NULL
22834 };
22835
22836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22837 {
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = wxDateSpan::Month();
22840
22841 wxPyEndAllowThreads(__tstate);
22842 if (PyErr_Occurred()) SWIG_fail;
22843 }
22844 {
22845 wxDateSpan * resultptr;
22846 resultptr = new wxDateSpan((wxDateSpan &) result);
22847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22848 }
22849 return resultobj;
22850 fail:
22851 return NULL;
22852 }
22853
22854
22855 static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 int arg1 ;
22858 wxDateSpan result;
22859 PyObject * obj0 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "years", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22865 arg1 = (int) SWIG_AsInt(obj0);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = wxDateSpan::Years(arg1);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
22874 {
22875 wxDateSpan * resultptr;
22876 resultptr = new wxDateSpan((wxDateSpan &) result);
22877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22878 }
22879 return resultobj;
22880 fail:
22881 return NULL;
22882 }
22883
22884
22885 static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
22886 PyObject *resultobj;
22887 wxDateSpan result;
22888 char *kwnames[] = {
22889 NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = wxDateSpan::Year();
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 wxDateSpan * resultptr;
22902 resultptr = new wxDateSpan((wxDateSpan &) result);
22903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
22904 }
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj;
22913 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22914 int arg2 ;
22915 wxDateSpan *result;
22916 PyObject * obj0 = 0 ;
22917 PyObject * obj1 = 0 ;
22918 char *kwnames[] = {
22919 (char *) "self",(char *) "n", NULL
22920 };
22921
22922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22925 arg2 = (int) SWIG_AsInt(obj1);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 {
22930 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22931 result = (wxDateSpan *) &_result_ref;
22932 }
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22947 int arg2 ;
22948 wxDateSpan *result;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self",(char *) "n", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22958 arg2 = (int) SWIG_AsInt(obj1);
22959 if (PyErr_Occurred()) SWIG_fail;
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 {
22963 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22964 result = (wxDateSpan *) &_result_ref;
22965 }
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22980 int arg2 ;
22981 wxDateSpan *result;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self",(char *) "n", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
22990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22991 arg2 = (int) SWIG_AsInt(obj1);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 {
22994 PyThreadState* __tstate = wxPyBeginAllowThreads();
22995 {
22996 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22997 result = (wxDateSpan *) &_result_ref;
22998 }
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23004 return resultobj;
23005 fail:
23006 return NULL;
23007 }
23008
23009
23010 static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23011 PyObject *resultobj;
23012 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23013 int arg2 ;
23014 wxDateSpan *result;
23015 PyObject * obj0 = 0 ;
23016 PyObject * obj1 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self",(char *) "n", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
23022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23024 arg2 = (int) SWIG_AsInt(obj1);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 {
23029 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
23030 result = (wxDateSpan *) &_result_ref;
23031 }
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23046 int result;
23047 PyObject * obj0 = 0 ;
23048 char *kwnames[] = {
23049 (char *) "self", NULL
23050 };
23051
23052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
23053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 result = (int)((wxDateSpan const *)arg1)->GetYears();
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 resultobj = SWIG_FromInt((int)result);
23063 return resultobj;
23064 fail:
23065 return NULL;
23066 }
23067
23068
23069 static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23072 int result;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
23079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (int)((wxDateSpan const *)arg1)->GetMonths();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 resultobj = SWIG_FromInt((int)result);
23089 return resultobj;
23090 fail:
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23098 int result;
23099 PyObject * obj0 = 0 ;
23100 char *kwnames[] = {
23101 (char *) "self", NULL
23102 };
23103
23104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
23105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23107 {
23108 PyThreadState* __tstate = wxPyBeginAllowThreads();
23109 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
23110
23111 wxPyEndAllowThreads(__tstate);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 resultobj = SWIG_FromInt((int)result);
23115 return resultobj;
23116 fail:
23117 return NULL;
23118 }
23119
23120
23121 static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
23122 PyObject *resultobj;
23123 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23124 int result;
23125 PyObject * obj0 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
23131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 result = (int)((wxDateSpan const *)arg1)->GetDays();
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 resultobj = SWIG_FromInt((int)result);
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23150 int result;
23151 PyObject * obj0 = 0 ;
23152 char *kwnames[] = {
23153 (char *) "self", NULL
23154 };
23155
23156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
23157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23159 {
23160 PyThreadState* __tstate = wxPyBeginAllowThreads();
23161 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
23162
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 resultobj = SWIG_FromInt((int)result);
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23176 wxDateSpan *arg2 = 0 ;
23177 wxDateSpan *result;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "other", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
23185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23188 SWIG_POINTER_EXCEPTION | 0)) == -1)
23189 SWIG_fail;
23190 if (arg2 == NULL) {
23191 PyErr_SetString(PyExc_TypeError,"null reference");
23192 SWIG_fail;
23193 }
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 {
23197 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23198 result = (wxDateSpan *) &_result_ref;
23199 }
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23205 return resultobj;
23206 fail:
23207 return NULL;
23208 }
23209
23210
23211 static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
23212 PyObject *resultobj;
23213 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23214 wxDateSpan *arg2 = 0 ;
23215 wxDateSpan *result;
23216 PyObject * obj0 = 0 ;
23217 PyObject * obj1 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "other", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1)
23227 SWIG_fail;
23228 if (arg2 == NULL) {
23229 PyErr_SetString(PyExc_TypeError,"null reference");
23230 SWIG_fail;
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 {
23235 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23236 result = (wxDateSpan *) &_result_ref;
23237 }
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
23250 PyObject *resultobj;
23251 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23252 wxDateSpan *result;
23253 PyObject * obj0 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 {
23264 wxDateSpan &_result_ref = (arg1)->Neg();
23265 result = (wxDateSpan *) &_result_ref;
23266 }
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23281 int arg2 ;
23282 wxDateSpan *result;
23283 PyObject * obj0 = 0 ;
23284 PyObject * obj1 = 0 ;
23285 char *kwnames[] = {
23286 (char *) "self",(char *) "factor", NULL
23287 };
23288
23289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
23290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23292 arg2 = (int) SWIG_AsInt(obj1);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 {
23297 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
23298 result = (wxDateSpan *) &_result_ref;
23299 }
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23305 return resultobj;
23306 fail:
23307 return NULL;
23308 }
23309
23310
23311 static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
23312 PyObject *resultobj;
23313 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23314 wxDateSpan *arg2 = 0 ;
23315 wxDateSpan *result;
23316 PyObject * obj0 = 0 ;
23317 PyObject * obj1 = 0 ;
23318 char *kwnames[] = {
23319 (char *) "self",(char *) "other", NULL
23320 };
23321
23322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
23323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23326 SWIG_POINTER_EXCEPTION | 0)) == -1)
23327 SWIG_fail;
23328 if (arg2 == NULL) {
23329 PyErr_SetString(PyExc_TypeError,"null reference");
23330 SWIG_fail;
23331 }
23332 {
23333 PyThreadState* __tstate = wxPyBeginAllowThreads();
23334 {
23335 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23336 result = (wxDateSpan *) &_result_ref;
23337 }
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23343 return resultobj;
23344 fail:
23345 return NULL;
23346 }
23347
23348
23349 static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23352 wxDateSpan *arg2 = 0 ;
23353 wxDateSpan *result;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "other", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23364 SWIG_POINTER_EXCEPTION | 0)) == -1)
23365 SWIG_fail;
23366 if (arg2 == NULL) {
23367 PyErr_SetString(PyExc_TypeError,"null reference");
23368 SWIG_fail;
23369 }
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 {
23373 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
23374 result = (wxDateSpan *) &_result_ref;
23375 }
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23381 return resultobj;
23382 fail:
23383 return NULL;
23384 }
23385
23386
23387 static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
23388 PyObject *resultobj;
23389 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23390 wxDateSpan *result;
23391 PyObject * obj0 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
23397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 {
23402 wxDateSpan &_result_ref = (arg1)->operator -();
23403 result = (wxDateSpan *) &_result_ref;
23404 }
23405
23406 wxPyEndAllowThreads(__tstate);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 }
23409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23410 return resultobj;
23411 fail:
23412 return NULL;
23413 }
23414
23415
23416 static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
23417 PyObject *resultobj;
23418 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23419 int arg2 ;
23420 wxDateSpan *result;
23421 PyObject * obj0 = 0 ;
23422 PyObject * obj1 = 0 ;
23423 char *kwnames[] = {
23424 (char *) "self",(char *) "factor", NULL
23425 };
23426
23427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23430 arg2 = (int) SWIG_AsInt(obj1);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 {
23435 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23436 result = (wxDateSpan *) &_result_ref;
23437 }
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj;
23451 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23452 wxDateSpan *arg2 = 0 ;
23453 wxDateSpan result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 char *kwnames[] = {
23457 (char *) "self",(char *) "other", NULL
23458 };
23459
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23464 SWIG_POINTER_EXCEPTION | 0)) == -1)
23465 SWIG_fail;
23466 if (arg2 == NULL) {
23467 PyErr_SetString(PyExc_TypeError,"null reference");
23468 SWIG_fail;
23469 }
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 wxDateSpan * resultptr;
23479 resultptr = new wxDateSpan((wxDateSpan &) result);
23480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23491 wxDateSpan *arg2 = 0 ;
23492 wxDateSpan result;
23493 PyObject * obj0 = 0 ;
23494 PyObject * obj1 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "other", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23503 SWIG_POINTER_EXCEPTION | 0)) == -1)
23504 SWIG_fail;
23505 if (arg2 == NULL) {
23506 PyErr_SetString(PyExc_TypeError,"null reference");
23507 SWIG_fail;
23508 }
23509 {
23510 PyThreadState* __tstate = wxPyBeginAllowThreads();
23511 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23512
23513 wxPyEndAllowThreads(__tstate);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 {
23517 wxDateSpan * resultptr;
23518 resultptr = new wxDateSpan((wxDateSpan &) result);
23519 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23530 int arg2 ;
23531 wxDateSpan result;
23532 PyObject * obj0 = 0 ;
23533 PyObject * obj1 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self",(char *) "n", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 arg2 = (int) SWIG_AsInt(obj1);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 result = wxDateSpan___mul__(arg1,arg2);
23546
23547 wxPyEndAllowThreads(__tstate);
23548 if (PyErr_Occurred()) SWIG_fail;
23549 }
23550 {
23551 wxDateSpan * resultptr;
23552 resultptr = new wxDateSpan((wxDateSpan &) result);
23553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23554 }
23555 return resultobj;
23556 fail:
23557 return NULL;
23558 }
23559
23560
23561 static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
23562 PyObject *resultobj;
23563 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23564 int arg2 ;
23565 wxDateSpan result;
23566 PyObject * obj0 = 0 ;
23567 PyObject * obj1 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self",(char *) "n", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23575 arg2 = (int) SWIG_AsInt(obj1);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = wxDateSpan___rmul__(arg1,arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 {
23585 wxDateSpan * resultptr;
23586 resultptr = new wxDateSpan((wxDateSpan &) result);
23587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
23588 }
23589 return resultobj;
23590 fail:
23591 return NULL;
23592 }
23593
23594
23595 static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
23596 PyObject *resultobj;
23597 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23598 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23599 bool result;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "other", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23614
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 {
23619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23620 }
23621 return resultobj;
23622 fail:
23623 return NULL;
23624 }
23625
23626
23627 static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
23628 PyObject *resultobj;
23629 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23630 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23631 bool result;
23632 PyObject * obj0 = 0 ;
23633 PyObject * obj1 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self",(char *) "other", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDateSpan,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDateSpan,
23642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 {
23651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23652 }
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
23660 PyObject *obj;
23661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23662 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23663 Py_INCREF(obj);
23664 return Py_BuildValue((char *)"");
23665 }
23666 static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
23667 PyObject *resultobj;
23668 long result;
23669 char *kwnames[] = {
23670 NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = (long)wxGetLocalTime();
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 resultobj = SWIG_FromLong((long)result);
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 long result;
23691 char *kwnames[] = {
23692 NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (long)wxGetUTCTime();
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 resultobj = SWIG_FromLong((long)result);
23704 return resultobj;
23705 fail:
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 long result;
23713 char *kwnames[] = {
23714 NULL
23715 };
23716
23717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 result = (long)wxGetCurrentTime();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 resultobj = SWIG_FromLong((long)result);
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxLongLong result;
23735 char *kwnames[] = {
23736 NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23740 {
23741 PyThreadState* __tstate = wxPyBeginAllowThreads();
23742 result = wxGetLocalTimeMillis();
23743
23744 wxPyEndAllowThreads(__tstate);
23745 if (PyErr_Occurred()) SWIG_fail;
23746 }
23747 {
23748 PyObject *hi, *lo, *shifter, *shifted;
23749 hi = PyLong_FromLong( (&result)->GetHi() );
23750 lo = PyLong_FromLong( (&result)->GetLo() );
23751 shifter = PyLong_FromLong(32);
23752 shifted = PyNumber_Lshift(hi, shifter);
23753 resultobj = PyNumber_Or(shifted, lo);
23754 Py_DECREF(hi);
23755 Py_DECREF(lo);
23756 Py_DECREF(shifter);
23757 Py_DECREF(shifted);
23758 }
23759 return resultobj;
23760 fail:
23761 return NULL;
23762 }
23763
23764
23765 static int _wrap_DefaultDateTime_set(PyObject *) {
23766 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23767 return 1;
23768 }
23769
23770
23771 static PyObject *_wrap_DefaultDateTime_get() {
23772 PyObject *pyobj;
23773
23774 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
23775 return pyobj;
23776 }
23777
23778
23779 static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23780 PyObject *resultobj;
23781 int arg1 ;
23782 wxDataFormat *result;
23783 PyObject * obj0 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "type", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23789 arg1 = (wxDataFormatId) SWIG_AsInt(obj0);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxString *arg1 = 0 ;
23808 wxDataFormat *result;
23809 bool temp1 = False ;
23810 PyObject * obj0 = 0 ;
23811 char *kwnames[] = {
23812 (char *) "format", NULL
23813 };
23814
23815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23816 {
23817 arg1 = wxString_in_helper(obj0);
23818 if (arg1 == NULL) SWIG_fail;
23819 temp1 = True;
23820 }
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23824
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
23828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
23829 {
23830 if (temp1)
23831 delete arg1;
23832 }
23833 return resultobj;
23834 fail:
23835 {
23836 if (temp1)
23837 delete arg1;
23838 }
23839 return NULL;
23840 }
23841
23842
23843 static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23846 PyObject * obj0 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self", NULL
23849 };
23850
23851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 delete arg1;
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865 }
23866
23867
23868 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
23869 PyObject *resultobj;
23870 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23871 int arg2 ;
23872 bool result;
23873 PyObject * obj0 = 0 ;
23874 PyObject * obj1 = 0 ;
23875
23876 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23879 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 {
23889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23890 }
23891 return resultobj;
23892 fail:
23893 return NULL;
23894 }
23895
23896
23897 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
23898 PyObject *resultobj;
23899 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23900 int arg2 ;
23901 bool result;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904
23905 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23908 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 {
23911 PyThreadState* __tstate = wxPyBeginAllowThreads();
23912 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23913
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23919 }
23920 return resultobj;
23921 fail:
23922 return NULL;
23923 }
23924
23925
23926 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
23927 PyObject *resultobj;
23928 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23929 wxDataFormat *arg2 = 0 ;
23930 bool result;
23931 PyObject * obj0 = 0 ;
23932 PyObject * obj1 = 0 ;
23933
23934 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1)
23939 SWIG_fail;
23940 if (arg2 == NULL) {
23941 PyErr_SetString(PyExc_TypeError,"null reference");
23942 SWIG_fail;
23943 }
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 {
23952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23953 }
23954 return resultobj;
23955 fail:
23956 return NULL;
23957 }
23958
23959
23960 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23961 int argc;
23962 PyObject *argv[3];
23963 int ii;
23964
23965 argc = PyObject_Length(args);
23966 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23967 argv[ii] = PyTuple_GetItem(args,ii);
23968 }
23969 if (argc == 2) {
23970 int _v;
23971 {
23972 void *ptr;
23973 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23974 _v = 0;
23975 PyErr_Clear();
23976 } else {
23977 _v = 1;
23978 }
23979 }
23980 if (_v) {
23981 {
23982 void *ptr;
23983 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23984 _v = 0;
23985 PyErr_Clear();
23986 } else {
23987 _v = 1;
23988 }
23989 }
23990 if (_v) {
23991 return _wrap_DataFormat___eq____SWIG_1(self,args);
23992 }
23993 }
23994 }
23995 if (argc == 2) {
23996 int _v;
23997 {
23998 void *ptr;
23999 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24000 _v = 0;
24001 PyErr_Clear();
24002 } else {
24003 _v = 1;
24004 }
24005 }
24006 if (_v) {
24007 _v = SWIG_CheckInt(argv[1]);
24008 if (_v) {
24009 return _wrap_DataFormat___eq____SWIG_0(self,args);
24010 }
24011 }
24012 }
24013
24014 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
24015 return NULL;
24016 }
24017
24018
24019 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
24020 PyObject *resultobj;
24021 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24022 wxDataFormat *arg2 = 0 ;
24023 bool result;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026
24027 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
24028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24030 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24031 SWIG_POINTER_EXCEPTION | 0)) == -1)
24032 SWIG_fail;
24033 if (arg2 == NULL) {
24034 PyErr_SetString(PyExc_TypeError,"null reference");
24035 SWIG_fail;
24036 }
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 {
24045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24046 }
24047 return resultobj;
24048 fail:
24049 return NULL;
24050 }
24051
24052
24053 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
24054 int argc;
24055 PyObject *argv[3];
24056 int ii;
24057
24058 argc = PyObject_Length(args);
24059 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24060 argv[ii] = PyTuple_GetItem(args,ii);
24061 }
24062 if (argc == 2) {
24063 int _v;
24064 {
24065 void *ptr;
24066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24067 _v = 0;
24068 PyErr_Clear();
24069 } else {
24070 _v = 1;
24071 }
24072 }
24073 if (_v) {
24074 {
24075 void *ptr;
24076 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24077 _v = 0;
24078 PyErr_Clear();
24079 } else {
24080 _v = 1;
24081 }
24082 }
24083 if (_v) {
24084 return _wrap_DataFormat___ne____SWIG_1(self,args);
24085 }
24086 }
24087 }
24088 if (argc == 2) {
24089 int _v;
24090 {
24091 void *ptr;
24092 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
24093 _v = 0;
24094 PyErr_Clear();
24095 } else {
24096 _v = 1;
24097 }
24098 }
24099 if (_v) {
24100 _v = SWIG_CheckInt(argv[1]);
24101 if (_v) {
24102 return _wrap_DataFormat___ne____SWIG_0(self,args);
24103 }
24104 }
24105 }
24106
24107 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
24108 return NULL;
24109 }
24110
24111
24112 static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
24113 PyObject *resultobj;
24114 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24115 int arg2 ;
24116 PyObject * obj0 = 0 ;
24117 PyObject * obj1 = 0 ;
24118 char *kwnames[] = {
24119 (char *) "self",(char *) "format", NULL
24120 };
24121
24122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
24123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24125 arg2 = (wxDataFormatId) SWIG_AsInt(obj1);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 {
24128 PyThreadState* __tstate = wxPyBeginAllowThreads();
24129 (arg1)->SetType((wxDataFormatId )arg2);
24130
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 Py_INCREF(Py_None); resultobj = Py_None;
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24144 int result;
24145 PyObject * obj0 = 0 ;
24146 char *kwnames[] = {
24147 (char *) "self", NULL
24148 };
24149
24150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
24151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24153 {
24154 PyThreadState* __tstate = wxPyBeginAllowThreads();
24155 result = (int)((wxDataFormat const *)arg1)->GetType();
24156
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_FromInt((int)result);
24161 return resultobj;
24162 fail:
24163 return NULL;
24164 }
24165
24166
24167 static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj;
24169 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24170 wxString result;
24171 PyObject * obj0 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = ((wxDataFormat const *)arg1)->GetId();
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 {
24187 #if wxUSE_UNICODE
24188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24189 #else
24190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24191 #endif
24192 }
24193 return resultobj;
24194 fail:
24195 return NULL;
24196 }
24197
24198
24199 static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
24200 PyObject *resultobj;
24201 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
24202 wxString *arg2 = 0 ;
24203 bool temp2 = False ;
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
24206 char *kwnames[] = {
24207 (char *) "self",(char *) "format", NULL
24208 };
24209
24210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
24211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24213 {
24214 arg2 = wxString_in_helper(obj1);
24215 if (arg2 == NULL) SWIG_fail;
24216 temp2 = True;
24217 }
24218 {
24219 PyThreadState* __tstate = wxPyBeginAllowThreads();
24220 (arg1)->SetId((wxString const &)*arg2);
24221
24222 wxPyEndAllowThreads(__tstate);
24223 if (PyErr_Occurred()) SWIG_fail;
24224 }
24225 Py_INCREF(Py_None); resultobj = Py_None;
24226 {
24227 if (temp2)
24228 delete arg2;
24229 }
24230 return resultobj;
24231 fail:
24232 {
24233 if (temp2)
24234 delete arg2;
24235 }
24236 return NULL;
24237 }
24238
24239
24240 static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
24241 PyObject *obj;
24242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24243 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
24244 Py_INCREF(obj);
24245 return Py_BuildValue((char *)"");
24246 }
24247 static int _wrap_FormatInvalid_set(PyObject *) {
24248 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
24249 return 1;
24250 }
24251
24252
24253 static PyObject *_wrap_FormatInvalid_get() {
24254 PyObject *pyobj;
24255
24256 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
24257 return pyobj;
24258 }
24259
24260
24261 static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24262 PyObject *resultobj;
24263 wxDataObject *arg1 = (wxDataObject *) 0 ;
24264 PyObject * obj0 = 0 ;
24265 char *kwnames[] = {
24266 (char *) "self", NULL
24267 };
24268
24269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
24270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24272 {
24273 PyThreadState* __tstate = wxPyBeginAllowThreads();
24274 delete arg1;
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 Py_INCREF(Py_None); resultobj = Py_None;
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxDataObject *arg1 = (wxDataObject *) 0 ;
24289 int arg2 = (int) wxDataObject::Get ;
24290 SwigValueWrapper< wxDataFormat > result;
24291 PyObject * obj0 = 0 ;
24292 PyObject * obj1 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self",(char *) "dir", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
24298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24300 if (obj1) {
24301 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 wxDataFormat * resultptr;
24313 resultptr = new wxDataFormat((wxDataFormat &) result);
24314 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
24315 }
24316 return resultobj;
24317 fail:
24318 return NULL;
24319 }
24320
24321
24322 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
24323 PyObject *resultobj;
24324 wxDataObject *arg1 = (wxDataObject *) 0 ;
24325 int arg2 = (int) wxDataObject::Get ;
24326 size_t result;
24327 PyObject * obj0 = 0 ;
24328 PyObject * obj1 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "dir", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24336 if (obj1) {
24337 arg2 = (wxDataObject::Direction) SWIG_AsInt(obj1);
24338 if (PyErr_Occurred()) SWIG_fail;
24339 }
24340 {
24341 PyThreadState* __tstate = wxPyBeginAllowThreads();
24342 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
24343
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24348 return resultobj;
24349 fail:
24350 return NULL;
24351 }
24352
24353
24354 static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
24355 PyObject *resultobj;
24356 wxDataObject *arg1 = (wxDataObject *) 0 ;
24357 wxDataFormat *arg2 = 0 ;
24358 int arg3 = (int) wxDataObject::Get ;
24359 bool result;
24360 PyObject * obj0 = 0 ;
24361 PyObject * obj1 = 0 ;
24362 PyObject * obj2 = 0 ;
24363 char *kwnames[] = {
24364 (char *) "self",(char *) "format",(char *) "dir", NULL
24365 };
24366
24367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
24368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24371 SWIG_POINTER_EXCEPTION | 0)) == -1)
24372 SWIG_fail;
24373 if (arg2 == NULL) {
24374 PyErr_SetString(PyExc_TypeError,"null reference");
24375 SWIG_fail;
24376 }
24377 if (obj2) {
24378 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 {
24389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24390 }
24391 return resultobj;
24392 fail:
24393 return NULL;
24394 }
24395
24396
24397 static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
24398 PyObject *resultobj;
24399 wxDataObject *arg1 = (wxDataObject *) 0 ;
24400 wxDataFormat *arg2 = 0 ;
24401 size_t result;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "format", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24412 SWIG_POINTER_EXCEPTION | 0)) == -1)
24413 SWIG_fail;
24414 if (arg2 == NULL) {
24415 PyErr_SetString(PyExc_TypeError,"null reference");
24416 SWIG_fail;
24417 }
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24426 return resultobj;
24427 fail:
24428 return NULL;
24429 }
24430
24431
24432 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
24433 PyObject *resultobj;
24434 wxDataObject *arg1 = (wxDataObject *) 0 ;
24435 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24436 int arg3 = (int) wxDataObject::Get ;
24437 PyObject * obj0 = 0 ;
24438 PyObject * obj1 = 0 ;
24439 PyObject * obj2 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "formats",(char *) "dir", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24449 if (obj2) {
24450 arg3 = (wxDataObject::Direction) SWIG_AsInt(obj2);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464 }
24465
24466
24467 static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
24468 PyObject *resultobj;
24469 wxDataObject *arg1 = (wxDataObject *) 0 ;
24470 wxDataFormat *arg2 = 0 ;
24471 void *arg3 = (void *) 0 ;
24472 bool result;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 PyObject * obj2 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "format",(char *) "buf", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24484 SWIG_POINTER_EXCEPTION | 0)) == -1)
24485 SWIG_fail;
24486 if (arg2 == NULL) {
24487 PyErr_SetString(PyExc_TypeError,"null reference");
24488 SWIG_fail;
24489 }
24490 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 {
24499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24500 }
24501 return resultobj;
24502 fail:
24503 return NULL;
24504 }
24505
24506
24507 static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj;
24509 wxDataObject *arg1 = (wxDataObject *) 0 ;
24510 wxDataFormat *arg2 = 0 ;
24511 size_t arg3 ;
24512 void *arg4 = (void *) 0 ;
24513 bool result;
24514 PyObject * obj0 = 0 ;
24515 PyObject * obj1 = 0 ;
24516 PyObject * obj2 = 0 ;
24517 PyObject * obj3 = 0 ;
24518 char *kwnames[] = {
24519 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24520 };
24521
24522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
24524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24526 SWIG_POINTER_EXCEPTION | 0)) == -1)
24527 SWIG_fail;
24528 if (arg2 == NULL) {
24529 PyErr_SetString(PyExc_TypeError,"null reference");
24530 SWIG_fail;
24531 }
24532 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 if ((SWIG_ConvertPtr(obj3,&arg4,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 {
24543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24544 }
24545 return resultobj;
24546 fail:
24547 return NULL;
24548 }
24549
24550
24551 static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
24552 PyObject *obj;
24553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24554 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24555 Py_INCREF(obj);
24556 return Py_BuildValue((char *)"");
24557 }
24558 static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj;
24560 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24561 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24562 wxDataObjectSimple *result;
24563 PyObject * obj0 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "format", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24569 if (obj0) {
24570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24571 SWIG_POINTER_EXCEPTION | 0)) == -1)
24572 SWIG_fail;
24573 if (arg1 == NULL) {
24574 PyErr_SetString(PyExc_TypeError,"null reference");
24575 SWIG_fail;
24576 }
24577 }
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24581
24582 wxPyEndAllowThreads(__tstate);
24583 if (PyErr_Occurred()) SWIG_fail;
24584 }
24585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
24586 return resultobj;
24587 fail:
24588 return NULL;
24589 }
24590
24591
24592 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24593 PyObject *resultobj;
24594 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24595 wxDataFormat *result;
24596 PyObject * obj0 = 0 ;
24597 char *kwnames[] = {
24598 (char *) "self", NULL
24599 };
24600
24601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 {
24607 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24608 result = (wxDataFormat *) &_result_ref;
24609 }
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24624 wxDataFormat *arg2 = 0 ;
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self",(char *) "format", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectSimple,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
24635 SWIG_POINTER_EXCEPTION | 0)) == -1)
24636 SWIG_fail;
24637 if (arg2 == NULL) {
24638 PyErr_SetString(PyExc_TypeError,"null reference");
24639 SWIG_fail;
24640 }
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 Py_INCREF(Py_None); resultobj = Py_None;
24649 return resultobj;
24650 fail:
24651 return NULL;
24652 }
24653
24654
24655 static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
24656 PyObject *obj;
24657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24658 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24659 Py_INCREF(obj);
24660 return Py_BuildValue((char *)"");
24661 }
24662 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj;
24664 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24665 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24666 wxPyDataObjectSimple *result;
24667 PyObject * obj0 = 0 ;
24668 char *kwnames[] = {
24669 (char *) "format", NULL
24670 };
24671
24672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24673 if (obj0) {
24674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
24675 SWIG_POINTER_EXCEPTION | 0)) == -1)
24676 SWIG_fail;
24677 if (arg1 == NULL) {
24678 PyErr_SetString(PyExc_TypeError,"null reference");
24679 SWIG_fail;
24680 }
24681 }
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24699 PyObject *arg2 = (PyObject *) 0 ;
24700 PyObject *arg3 = (PyObject *) 0 ;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 PyObject * obj2 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self",(char *) "self",(char *) "_class", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDataObjectSimple,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24711 arg2 = obj1;
24712 arg3 = obj2;
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 (arg1)->_setCallbackInfo(arg2,arg3);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 Py_INCREF(Py_None); resultobj = Py_None;
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
24728 PyObject *obj;
24729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24730 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24731 Py_INCREF(obj);
24732 return Py_BuildValue((char *)"");
24733 }
24734 static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
24735 PyObject *resultobj;
24736 wxDataObjectComposite *result;
24737 char *kwnames[] = {
24738 NULL
24739 };
24740
24741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24745
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
24750 return resultobj;
24751 fail:
24752 return NULL;
24753 }
24754
24755
24756 static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24759 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24760 int arg3 = (int) False ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 PyObject * obj2 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObjectComposite,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24771 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObjectSimple,
24772 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24773 if (obj2) {
24774 arg3 = (int) SWIG_AsInt(obj2);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->Add(arg2,arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 Py_INCREF(Py_None); resultobj = Py_None;
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
24792 PyObject *obj;
24793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24794 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24795 Py_INCREF(obj);
24796 return Py_BuildValue((char *)"");
24797 }
24798 static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24799 PyObject *resultobj;
24800 wxString const &arg1_defvalue = wxPyEmptyString ;
24801 wxString *arg1 = (wxString *) &arg1_defvalue ;
24802 wxTextDataObject *result;
24803 bool temp1 = False ;
24804 PyObject * obj0 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "text", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24810 if (obj0) {
24811 {
24812 arg1 = wxString_in_helper(obj0);
24813 if (arg1 == NULL) SWIG_fail;
24814 temp1 = True;
24815 }
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
24825 {
24826 if (temp1)
24827 delete arg1;
24828 }
24829 return resultobj;
24830 fail:
24831 {
24832 if (temp1)
24833 delete arg1;
24834 }
24835 return NULL;
24836 }
24837
24838
24839 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj;
24841 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24842 size_t result;
24843 PyObject * obj0 = 0 ;
24844 char *kwnames[] = {
24845 (char *) "self", NULL
24846 };
24847
24848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 result = (size_t)(arg1)->GetTextLength();
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24859 return resultobj;
24860 fail:
24861 return NULL;
24862 }
24863
24864
24865 static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
24866 PyObject *resultobj;
24867 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24868 wxString result;
24869 PyObject * obj0 = 0 ;
24870 char *kwnames[] = {
24871 (char *) "self", NULL
24872 };
24873
24874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (arg1)->GetText();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 {
24885 #if wxUSE_UNICODE
24886 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24887 #else
24888 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24889 #endif
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24900 wxString *arg2 = 0 ;
24901 bool temp2 = False ;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "text", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextDataObject,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 {
24912 arg2 = wxString_in_helper(obj1);
24913 if (arg2 == NULL) SWIG_fail;
24914 temp2 = True;
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetText((wxString const &)*arg2);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 {
24925 if (temp2)
24926 delete arg2;
24927 }
24928 return resultobj;
24929 fail:
24930 {
24931 if (temp2)
24932 delete arg2;
24933 }
24934 return NULL;
24935 }
24936
24937
24938 static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
24939 PyObject *obj;
24940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24942 Py_INCREF(obj);
24943 return Py_BuildValue((char *)"");
24944 }
24945 static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxString const &arg1_defvalue = wxPyEmptyString ;
24948 wxString *arg1 = (wxString *) &arg1_defvalue ;
24949 wxPyTextDataObject *result;
24950 bool temp1 = False ;
24951 PyObject * obj0 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "text", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24957 if (obj0) {
24958 {
24959 arg1 = wxString_in_helper(obj0);
24960 if (arg1 == NULL) SWIG_fail;
24961 temp1 = True;
24962 }
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
24972 {
24973 if (temp1)
24974 delete arg1;
24975 }
24976 return resultobj;
24977 fail:
24978 {
24979 if (temp1)
24980 delete arg1;
24981 }
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24989 PyObject *arg2 = (PyObject *) 0 ;
24990 PyObject *arg3 = (PyObject *) 0 ;
24991 PyObject * obj0 = 0 ;
24992 PyObject * obj1 = 0 ;
24993 PyObject * obj2 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self",(char *) "self",(char *) "_class", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDataObject,
25000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25001 arg2 = obj1;
25002 arg3 = obj2;
25003 {
25004 PyThreadState* __tstate = wxPyBeginAllowThreads();
25005 (arg1)->_setCallbackInfo(arg2,arg3);
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 Py_INCREF(Py_None); resultobj = Py_None;
25011 return resultobj;
25012 fail:
25013 return NULL;
25014 }
25015
25016
25017 static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
25018 PyObject *obj;
25019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25020 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
25021 Py_INCREF(obj);
25022 return Py_BuildValue((char *)"");
25023 }
25024 static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj;
25026 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25027 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25028 wxBitmapDataObject *result;
25029 PyObject * obj0 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "bitmap", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
25035 if (obj0) {
25036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25037 SWIG_POINTER_EXCEPTION | 0)) == -1)
25038 SWIG_fail;
25039 if (arg1 == NULL) {
25040 PyErr_SetString(PyExc_TypeError,"null reference");
25041 SWIG_fail;
25042 }
25043 }
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
25047
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
25052 return resultobj;
25053 fail:
25054 return NULL;
25055 }
25056
25057
25058 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25059 PyObject *resultobj;
25060 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25061 wxBitmap result;
25062 PyObject * obj0 = 0 ;
25063 char *kwnames[] = {
25064 (char *) "self", NULL
25065 };
25066
25067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
25068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 {
25078 wxBitmap * resultptr;
25079 resultptr = new wxBitmap((wxBitmap &) result);
25080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
25081 }
25082 return resultobj;
25083 fail:
25084 return NULL;
25085 }
25086
25087
25088 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj;
25090 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
25091 wxBitmap *arg2 = 0 ;
25092 PyObject * obj0 = 0 ;
25093 PyObject * obj1 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self",(char *) "bitmap", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
25099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapDataObject,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1)
25103 SWIG_fail;
25104 if (arg2 == NULL) {
25105 PyErr_SetString(PyExc_TypeError,"null reference");
25106 SWIG_fail;
25107 }
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetBitmap((wxBitmap const &)*arg2);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
25116 return resultobj;
25117 fail:
25118 return NULL;
25119 }
25120
25121
25122 static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
25123 PyObject *obj;
25124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25125 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
25126 Py_INCREF(obj);
25127 return Py_BuildValue((char *)"");
25128 }
25129 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25130 PyObject *resultobj;
25131 wxBitmap const &arg1_defvalue = wxNullBitmap ;
25132 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
25133 wxPyBitmapDataObject *result;
25134 PyObject * obj0 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "bitmap", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
25140 if (obj0) {
25141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
25142 SWIG_POINTER_EXCEPTION | 0)) == -1)
25143 SWIG_fail;
25144 if (arg1 == NULL) {
25145 PyErr_SetString(PyExc_TypeError,"null reference");
25146 SWIG_fail;
25147 }
25148 }
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
25157 return resultobj;
25158 fail:
25159 return NULL;
25160 }
25161
25162
25163 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
25166 PyObject *arg2 = (PyObject *) 0 ;
25167 PyObject *arg3 = (PyObject *) 0 ;
25168 PyObject * obj0 = 0 ;
25169 PyObject * obj1 = 0 ;
25170 PyObject * obj2 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self",(char *) "self",(char *) "_class", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyBitmapDataObject,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25178 arg2 = obj1;
25179 arg3 = obj2;
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 (arg1)->_setCallbackInfo(arg2,arg3);
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 Py_INCREF(Py_None); resultobj = Py_None;
25188 return resultobj;
25189 fail:
25190 return NULL;
25191 }
25192
25193
25194 static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
25195 PyObject *obj;
25196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25197 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
25198 Py_INCREF(obj);
25199 return Py_BuildValue((char *)"");
25200 }
25201 static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxFileDataObject *result;
25204 char *kwnames[] = {
25205 NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = (wxFileDataObject *)new wxFileDataObject();
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
25217 return resultobj;
25218 fail:
25219 return NULL;
25220 }
25221
25222
25223 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25226 wxArrayString *result;
25227 PyObject * obj0 = 0 ;
25228 char *kwnames[] = {
25229 (char *) "self", NULL
25230 };
25231
25232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
25233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 {
25238 wxArrayString const &_result_ref = (arg1)->GetFilenames();
25239 result = (wxArrayString *) &_result_ref;
25240 }
25241
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 {
25246 resultobj = wxArrayString2PyList_helper(*result);
25247 }
25248 return resultobj;
25249 fail:
25250 return NULL;
25251 }
25252
25253
25254 static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
25255 PyObject *resultobj;
25256 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
25257 wxString *arg2 = 0 ;
25258 bool temp2 = False ;
25259 PyObject * obj0 = 0 ;
25260 PyObject * obj1 = 0 ;
25261 char *kwnames[] = {
25262 (char *) "self",(char *) "filename", NULL
25263 };
25264
25265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
25266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileDataObject,
25267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25268 {
25269 arg2 = wxString_in_helper(obj1);
25270 if (arg2 == NULL) SWIG_fail;
25271 temp2 = True;
25272 }
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 (arg1)->AddFile((wxString const &)*arg2);
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 Py_INCREF(Py_None); resultobj = Py_None;
25281 {
25282 if (temp2)
25283 delete arg2;
25284 }
25285 return resultobj;
25286 fail:
25287 {
25288 if (temp2)
25289 delete arg2;
25290 }
25291 return NULL;
25292 }
25293
25294
25295 static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
25296 PyObject *obj;
25297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25298 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
25299 Py_INCREF(obj);
25300 return Py_BuildValue((char *)"");
25301 }
25302 static PyObject *_wrap_new_CustomDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25303 PyObject *resultobj;
25304 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
25305 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
25306 wxCustomDataObject *result;
25307 PyObject * obj0 = 0 ;
25308 char *kwnames[] = {
25309 (char *) "format", NULL
25310 };
25311
25312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
25313 if (obj0) {
25314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataFormat,
25315 SWIG_POINTER_EXCEPTION | 0)) == -1)
25316 SWIG_fail;
25317 if (arg1 == NULL) {
25318 PyErr_SetString(PyExc_TypeError,"null reference");
25319 SWIG_fail;
25320 }
25321 }
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
25330 return resultobj;
25331 fail:
25332 return NULL;
25333 }
25334
25335
25336 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *, PyObject *args, PyObject *kwargs) {
25337 PyObject *resultobj;
25338 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25339 PyObject *arg2 = (PyObject *) 0 ;
25340 PyObject * obj0 = 0 ;
25341 PyObject * obj1 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "data", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
25347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25349 arg2 = obj1;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 wxCustomDataObject_TakeData(arg1,arg2);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25365 PyObject *resultobj;
25366 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25367 PyObject *arg2 = (PyObject *) 0 ;
25368 bool result;
25369 PyObject * obj0 = 0 ;
25370 PyObject * obj1 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self",(char *) "data", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25378 arg2 = obj1;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 {
25387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25388 }
25389 return resultobj;
25390 fail:
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25398 size_t result;
25399 PyObject * obj0 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "self", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
25405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (size_t)(arg1)->GetSize();
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25415 return resultobj;
25416 fail:
25417 return NULL;
25418 }
25419
25420
25421 static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
25424 PyObject *result;
25425 PyObject * obj0 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
25431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCustomDataObject,
25432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (PyObject *)wxCustomDataObject_GetData(arg1);
25436
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = result;
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
25448 PyObject *obj;
25449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25450 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
25451 Py_INCREF(obj);
25452 return Py_BuildValue((char *)"");
25453 }
25454 static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25455 PyObject *resultobj;
25456 wxURLDataObject *result;
25457 char *kwnames[] = {
25458 NULL
25459 };
25460
25461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (wxURLDataObject *)new wxURLDataObject();
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
25470 return resultobj;
25471 fail:
25472 return NULL;
25473 }
25474
25475
25476 static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25479 wxString result;
25480 PyObject * obj0 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = (arg1)->GetURL();
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 #if wxUSE_UNICODE
25497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25498 #else
25499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25500 #endif
25501 }
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25511 wxString *arg2 = 0 ;
25512 bool temp2 = False ;
25513 PyObject * obj0 = 0 ;
25514 PyObject * obj1 = 0 ;
25515 char *kwnames[] = {
25516 (char *) "self",(char *) "url", NULL
25517 };
25518
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxURLDataObject,
25521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25522 {
25523 arg2 = wxString_in_helper(obj1);
25524 if (arg2 == NULL) SWIG_fail;
25525 temp2 = True;
25526 }
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 (arg1)->SetURL((wxString const &)*arg2);
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 Py_INCREF(Py_None); resultobj = Py_None;
25535 {
25536 if (temp2)
25537 delete arg2;
25538 }
25539 return resultobj;
25540 fail:
25541 {
25542 if (temp2)
25543 delete arg2;
25544 }
25545 return NULL;
25546 }
25547
25548
25549 static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
25550 PyObject *obj;
25551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25552 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25553 Py_INCREF(obj);
25554 return Py_BuildValue((char *)"");
25555 }
25556 static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25557 PyObject *resultobj;
25558 wxMetafileDataObject *result;
25559 char *kwnames[] = {
25560 NULL
25561 };
25562
25563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25567
25568 wxPyEndAllowThreads(__tstate);
25569 if (PyErr_Occurred()) SWIG_fail;
25570 }
25571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
25572 return resultobj;
25573 fail:
25574 return NULL;
25575 }
25576
25577
25578 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj;
25580 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25581 wxMetafile *arg2 = 0 ;
25582 PyObject * obj0 = 0 ;
25583 PyObject * obj1 = 0 ;
25584 char *kwnames[] = {
25585 (char *) "self",(char *) "metafile", NULL
25586 };
25587
25588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMetafile,
25592 SWIG_POINTER_EXCEPTION | 0)) == -1)
25593 SWIG_fail;
25594 if (arg2 == NULL) {
25595 PyErr_SetString(PyExc_TypeError,"null reference");
25596 SWIG_fail;
25597 }
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 Py_INCREF(Py_None); resultobj = Py_None;
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25615 wxMetafile result;
25616 PyObject * obj0 = 0 ;
25617 char *kwnames[] = {
25618 (char *) "self", NULL
25619 };
25620
25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMetafileDataObject,
25623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25624 {
25625 PyThreadState* __tstate = wxPyBeginAllowThreads();
25626 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25627
25628 wxPyEndAllowThreads(__tstate);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 {
25632 wxMetafile * resultptr;
25633 resultptr = new wxMetafile((wxMetafile &) result);
25634 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
25635 }
25636 return resultobj;
25637 fail:
25638 return NULL;
25639 }
25640
25641
25642 static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
25643 PyObject *obj;
25644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25645 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25646 Py_INCREF(obj);
25647 return Py_BuildValue((char *)"");
25648 }
25649 static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
25650 PyObject *resultobj;
25651 int arg1 ;
25652 bool result;
25653 PyObject * obj0 = 0 ;
25654 char *kwnames[] = {
25655 (char *) "res", NULL
25656 };
25657
25658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25659 arg1 = (wxDragResult) SWIG_AsInt(obj0);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 {
25662 PyThreadState* __tstate = wxPyBeginAllowThreads();
25663 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25664
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 {
25669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25670 }
25671 return resultobj;
25672 fail:
25673 return NULL;
25674 }
25675
25676
25677 static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxWindow *arg1 = (wxWindow *) 0 ;
25680 wxCursor const &arg2_defvalue = wxNullCursor ;
25681 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25682 wxCursor const &arg3_defvalue = wxNullCursor ;
25683 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25684 wxCursor const &arg4_defvalue = wxNullCursor ;
25685 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25686 wxPyDropSource *result;
25687 PyObject * obj0 = 0 ;
25688 PyObject * obj1 = 0 ;
25689 PyObject * obj2 = 0 ;
25690 PyObject * obj3 = 0 ;
25691 char *kwnames[] = {
25692 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25693 };
25694
25695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25698 if (obj1) {
25699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25700 SWIG_POINTER_EXCEPTION | 0)) == -1)
25701 SWIG_fail;
25702 if (arg2 == NULL) {
25703 PyErr_SetString(PyExc_TypeError,"null reference");
25704 SWIG_fail;
25705 }
25706 }
25707 if (obj2) {
25708 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1)
25710 SWIG_fail;
25711 if (arg3 == NULL) {
25712 PyErr_SetString(PyExc_TypeError,"null reference");
25713 SWIG_fail;
25714 }
25715 }
25716 if (obj3) {
25717 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxCursor,
25718 SWIG_POINTER_EXCEPTION | 0)) == -1)
25719 SWIG_fail;
25720 if (arg4 == NULL) {
25721 PyErr_SetString(PyExc_TypeError,"null reference");
25722 SWIG_fail;
25723 }
25724 }
25725 {
25726 PyThreadState* __tstate = wxPyBeginAllowThreads();
25727 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25728
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
25732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
25733 return resultobj;
25734 fail:
25735 return NULL;
25736 }
25737
25738
25739 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25740 PyObject *resultobj;
25741 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25742 PyObject *arg2 = (PyObject *) 0 ;
25743 PyObject *arg3 = (PyObject *) 0 ;
25744 int arg4 ;
25745 PyObject * obj0 = 0 ;
25746 PyObject * obj1 = 0 ;
25747 PyObject * obj2 = 0 ;
25748 PyObject * obj3 = 0 ;
25749 char *kwnames[] = {
25750 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25751 };
25752
25753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25756 arg2 = obj1;
25757 arg3 = obj2;
25758 arg4 = (int) SWIG_AsInt(obj3);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 {
25761 PyThreadState* __tstate = wxPyBeginAllowThreads();
25762 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25763
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 Py_INCREF(Py_None); resultobj = Py_None;
25768 return resultobj;
25769 fail:
25770 return NULL;
25771 }
25772
25773
25774 static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
25775 PyObject *resultobj;
25776 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25777 PyObject * obj0 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 delete arg1;
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 Py_INCREF(Py_None); resultobj = Py_None;
25793 return resultobj;
25794 fail:
25795 return NULL;
25796 }
25797
25798
25799 static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
25800 PyObject *resultobj;
25801 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25802 wxDataObject *arg2 = 0 ;
25803 PyObject * obj0 = 0 ;
25804 PyObject * obj1 = 0 ;
25805 char *kwnames[] = {
25806 (char *) "self",(char *) "data", NULL
25807 };
25808
25809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
25813 SWIG_POINTER_EXCEPTION | 0)) == -1)
25814 SWIG_fail;
25815 if (arg2 == NULL) {
25816 PyErr_SetString(PyExc_TypeError,"null reference");
25817 SWIG_fail;
25818 }
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->SetData(*arg2);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25836 wxDataObject *result;
25837 PyObject * obj0 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25845 {
25846 PyThreadState* __tstate = wxPyBeginAllowThreads();
25847 result = (wxDataObject *)(arg1)->GetDataObject();
25848
25849 wxPyEndAllowThreads(__tstate);
25850 if (PyErr_Occurred()) SWIG_fail;
25851 }
25852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
25853 return resultobj;
25854 fail:
25855 return NULL;
25856 }
25857
25858
25859 static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
25860 PyObject *resultobj;
25861 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25862 int arg2 ;
25863 wxCursor *arg3 = 0 ;
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj1 = 0 ;
25866 PyObject * obj2 = 0 ;
25867 char *kwnames[] = {
25868 (char *) "self",(char *) "res",(char *) "cursor", NULL
25869 };
25870
25871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25874 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxCursor,
25877 SWIG_POINTER_EXCEPTION | 0)) == -1)
25878 SWIG_fail;
25879 if (arg3 == NULL) {
25880 PyErr_SetString(PyExc_TypeError,"null reference");
25881 SWIG_fail;
25882 }
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 Py_INCREF(Py_None); resultobj = Py_None;
25891 return resultobj;
25892 fail:
25893 return NULL;
25894 }
25895
25896
25897 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
25898 PyObject *resultobj;
25899 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25900 int arg2 = (int) wxDrag_CopyOnly ;
25901 int result;
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj1 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self",(char *) "flags", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25911 if (obj1) {
25912 arg2 = (int) SWIG_AsInt(obj1);
25913 if (PyErr_Occurred()) SWIG_fail;
25914 }
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (int)(arg1)->DoDragDrop(arg2);
25918
25919 wxPyEndAllowThreads(__tstate);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 }
25922 resultobj = SWIG_FromInt((int)result);
25923 return resultobj;
25924 fail:
25925 return NULL;
25926 }
25927
25928
25929 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25932 int arg2 ;
25933 bool result;
25934 PyObject * obj0 = 0 ;
25935 PyObject * obj1 = 0 ;
25936 char *kwnames[] = {
25937 (char *) "self",(char *) "effect", NULL
25938 };
25939
25940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropSource,
25942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25943 arg2 = (wxDragResult) SWIG_AsInt(obj1);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 {
25953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25954 }
25955 return resultobj;
25956 fail:
25957 return NULL;
25958 }
25959
25960
25961 static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
25962 PyObject *obj;
25963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25964 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25965 Py_INCREF(obj);
25966 return Py_BuildValue((char *)"");
25967 }
25968 static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
25969 PyObject *resultobj;
25970 wxDataObject *arg1 = (wxDataObject *) NULL ;
25971 wxPyDropTarget *result;
25972 PyObject * obj0 = 0 ;
25973 char *kwnames[] = {
25974 (char *) "dataObject", NULL
25975 };
25976
25977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
25978 if (obj0) {
25979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDataObject,
25980 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25981 }
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
25990 return resultobj;
25991 fail:
25992 return NULL;
25993 }
25994
25995
25996 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25999 PyObject *arg2 = (PyObject *) 0 ;
26000 PyObject *arg3 = (PyObject *) 0 ;
26001 PyObject * obj0 = 0 ;
26002 PyObject * obj1 = 0 ;
26003 PyObject * obj2 = 0 ;
26004 char *kwnames[] = {
26005 (char *) "self",(char *) "self",(char *) "_class", NULL
26006 };
26007
26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26011 arg2 = obj1;
26012 arg3 = obj2;
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 (arg1)->_setCallbackInfo(arg2,arg3);
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 Py_INCREF(Py_None); resultobj = Py_None;
26021 return resultobj;
26022 fail:
26023 return NULL;
26024 }
26025
26026
26027 static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26028 PyObject *resultobj;
26029 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26030 PyObject * obj0 = 0 ;
26031 char *kwnames[] = {
26032 (char *) "self", NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
26036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 delete arg1;
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 Py_INCREF(Py_None); resultobj = Py_None;
26046 return resultobj;
26047 fail:
26048 return NULL;
26049 }
26050
26051
26052 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26053 PyObject *resultobj;
26054 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26055 wxDataObject *result;
26056 PyObject * obj0 = 0 ;
26057 char *kwnames[] = {
26058 (char *) "self", NULL
26059 };
26060
26061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
26062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (wxDataObject *)(arg1)->GetDataObject();
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26081 wxDataObject *arg2 = (wxDataObject *) 0 ;
26082 PyObject * obj0 = 0 ;
26083 PyObject * obj1 = 0 ;
26084 char *kwnames[] = {
26085 (char *) "self",(char *) "dataObject", NULL
26086 };
26087
26088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
26089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26092 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 (arg1)->SetDataObject(arg2);
26096
26097 wxPyEndAllowThreads(__tstate);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 Py_INCREF(Py_None); resultobj = Py_None;
26101 return resultobj;
26102 fail:
26103 return NULL;
26104 }
26105
26106
26107 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26108 PyObject *resultobj;
26109 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26110 int arg2 ;
26111 int arg3 ;
26112 int arg4 ;
26113 int result;
26114 PyObject * obj0 = 0 ;
26115 PyObject * obj1 = 0 ;
26116 PyObject * obj2 = 0 ;
26117 PyObject * obj3 = 0 ;
26118 char *kwnames[] = {
26119 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26120 };
26121
26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26125 arg2 = (int) SWIG_AsInt(obj1);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 arg3 = (int) SWIG_AsInt(obj2);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26134
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 resultobj = SWIG_FromInt((int)result);
26139 return resultobj;
26140 fail:
26141 return NULL;
26142 }
26143
26144
26145 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26146 PyObject *resultobj;
26147 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26148 int arg2 ;
26149 int arg3 ;
26150 int arg4 ;
26151 int result;
26152 PyObject * obj0 = 0 ;
26153 PyObject * obj1 = 0 ;
26154 PyObject * obj2 = 0 ;
26155 PyObject * obj3 = 0 ;
26156 char *kwnames[] = {
26157 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26158 };
26159
26160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26163 arg2 = (int) SWIG_AsInt(obj1);
26164 if (PyErr_Occurred()) SWIG_fail;
26165 arg3 = (int) SWIG_AsInt(obj2);
26166 if (PyErr_Occurred()) SWIG_fail;
26167 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 resultobj = SWIG_FromInt((int)result);
26177 return resultobj;
26178 fail:
26179 return NULL;
26180 }
26181
26182
26183 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26186 PyObject * obj0 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "self", NULL
26189 };
26190
26191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 (arg1)->base_OnLeave();
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 Py_INCREF(Py_None); resultobj = Py_None;
26202 return resultobj;
26203 fail:
26204 return NULL;
26205 }
26206
26207
26208 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26209 PyObject *resultobj;
26210 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26211 int arg2 ;
26212 int arg3 ;
26213 bool result;
26214 PyObject * obj0 = 0 ;
26215 PyObject * obj1 = 0 ;
26216 PyObject * obj2 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self",(char *) "x",(char *) "y", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26224 arg2 = (int) SWIG_AsInt(obj1);
26225 if (PyErr_Occurred()) SWIG_fail;
26226 arg3 = (int) SWIG_AsInt(obj2);
26227 if (PyErr_Occurred()) SWIG_fail;
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 {
26236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26237 }
26238 return resultobj;
26239 fail:
26240 return NULL;
26241 }
26242
26243
26244 static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26245 PyObject *resultobj;
26246 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
26247 bool result;
26248 PyObject * obj0 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
26254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyDropTarget,
26255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (bool)(arg1)->GetData();
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 {
26264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26265 }
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
26273 PyObject *obj;
26274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26275 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
26276 Py_INCREF(obj);
26277 return Py_BuildValue((char *)"");
26278 }
26279 static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26280 PyObject *resultobj;
26281 wxPyTextDropTarget *result;
26282 char *kwnames[] = {
26283 NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
26295 return resultobj;
26296 fail:
26297 return NULL;
26298 }
26299
26300
26301 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj;
26303 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26304 PyObject *arg2 = (PyObject *) 0 ;
26305 PyObject *arg3 = (PyObject *) 0 ;
26306 PyObject * obj0 = 0 ;
26307 PyObject * obj1 = 0 ;
26308 PyObject * obj2 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self",(char *) "self",(char *) "_class", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26316 arg2 = obj1;
26317 arg3 = obj2;
26318 {
26319 PyThreadState* __tstate = wxPyBeginAllowThreads();
26320 (arg1)->_setCallbackInfo(arg2,arg3);
26321
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 Py_INCREF(Py_None); resultobj = Py_None;
26326 return resultobj;
26327 fail:
26328 return NULL;
26329 }
26330
26331
26332 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj;
26334 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26335 int arg2 ;
26336 int arg3 ;
26337 int arg4 ;
26338 int result;
26339 PyObject * obj0 = 0 ;
26340 PyObject * obj1 = 0 ;
26341 PyObject * obj2 = 0 ;
26342 PyObject * obj3 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26350 arg2 = (int) SWIG_AsInt(obj1);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 arg3 = (int) SWIG_AsInt(obj2);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 resultobj = SWIG_FromInt((int)result);
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj;
26372 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26373 int arg2 ;
26374 int arg3 ;
26375 int arg4 ;
26376 int result;
26377 PyObject * obj0 = 0 ;
26378 PyObject * obj1 = 0 ;
26379 PyObject * obj2 = 0 ;
26380 PyObject * obj3 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26388 arg2 = (int) SWIG_AsInt(obj1);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 arg3 = (int) SWIG_AsInt(obj2);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 {
26395 PyThreadState* __tstate = wxPyBeginAllowThreads();
26396 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26397
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_FromInt((int)result);
26402 return resultobj;
26403 fail:
26404 return NULL;
26405 }
26406
26407
26408 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj;
26410 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26411 PyObject * obj0 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 (arg1)->base_OnLeave();
26422
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 Py_INCREF(Py_None); resultobj = Py_None;
26427 return resultobj;
26428 fail:
26429 return NULL;
26430 }
26431
26432
26433 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj;
26435 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26436 int arg2 ;
26437 int arg3 ;
26438 bool result;
26439 PyObject * obj0 = 0 ;
26440 PyObject * obj1 = 0 ;
26441 PyObject * obj2 = 0 ;
26442 char *kwnames[] = {
26443 (char *) "self",(char *) "x",(char *) "y", NULL
26444 };
26445
26446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26449 arg2 = (int) SWIG_AsInt(obj1);
26450 if (PyErr_Occurred()) SWIG_fail;
26451 arg3 = (int) SWIG_AsInt(obj2);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 {
26461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26462 }
26463 return resultobj;
26464 fail:
26465 return NULL;
26466 }
26467
26468
26469 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26470 PyObject *resultobj;
26471 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
26472 int arg2 ;
26473 int arg3 ;
26474 int arg4 ;
26475 int result;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 PyObject * obj2 = 0 ;
26479 PyObject * obj3 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTextDropTarget,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26487 arg2 = (int) SWIG_AsInt(obj1);
26488 if (PyErr_Occurred()) SWIG_fail;
26489 arg3 = (int) SWIG_AsInt(obj2);
26490 if (PyErr_Occurred()) SWIG_fail;
26491 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26496
26497 wxPyEndAllowThreads(__tstate);
26498 if (PyErr_Occurred()) SWIG_fail;
26499 }
26500 resultobj = SWIG_FromInt((int)result);
26501 return resultobj;
26502 fail:
26503 return NULL;
26504 }
26505
26506
26507 static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
26508 PyObject *obj;
26509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26510 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26511 Py_INCREF(obj);
26512 return Py_BuildValue((char *)"");
26513 }
26514 static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj;
26516 wxPyFileDropTarget *result;
26517 char *kwnames[] = {
26518 NULL
26519 };
26520
26521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26522 {
26523 PyThreadState* __tstate = wxPyBeginAllowThreads();
26524 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26525
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
26529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
26530 return resultobj;
26531 fail:
26532 return NULL;
26533 }
26534
26535
26536 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
26537 PyObject *resultobj;
26538 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26539 PyObject *arg2 = (PyObject *) 0 ;
26540 PyObject *arg3 = (PyObject *) 0 ;
26541 PyObject * obj0 = 0 ;
26542 PyObject * obj1 = 0 ;
26543 PyObject * obj2 = 0 ;
26544 char *kwnames[] = {
26545 (char *) "self",(char *) "self",(char *) "_class", NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26551 arg2 = obj1;
26552 arg3 = obj2;
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->_setCallbackInfo(arg2,arg3);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 return resultobj;
26562 fail:
26563 return NULL;
26564 }
26565
26566
26567 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
26568 PyObject *resultobj;
26569 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26570 int arg2 ;
26571 int arg3 ;
26572 int arg4 ;
26573 int result;
26574 PyObject * obj0 = 0 ;
26575 PyObject * obj1 = 0 ;
26576 PyObject * obj2 = 0 ;
26577 PyObject * obj3 = 0 ;
26578 char *kwnames[] = {
26579 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26580 };
26581
26582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26585 arg2 = (int) SWIG_AsInt(obj1);
26586 if (PyErr_Occurred()) SWIG_fail;
26587 arg3 = (int) SWIG_AsInt(obj2);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26590 if (PyErr_Occurred()) SWIG_fail;
26591 {
26592 PyThreadState* __tstate = wxPyBeginAllowThreads();
26593 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26594
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
26598 resultobj = SWIG_FromInt((int)result);
26599 return resultobj;
26600 fail:
26601 return NULL;
26602 }
26603
26604
26605 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
26606 PyObject *resultobj;
26607 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26608 int arg2 ;
26609 int arg3 ;
26610 int arg4 ;
26611 int result;
26612 PyObject * obj0 = 0 ;
26613 PyObject * obj1 = 0 ;
26614 PyObject * obj2 = 0 ;
26615 PyObject * obj3 = 0 ;
26616 char *kwnames[] = {
26617 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26618 };
26619
26620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26623 arg2 = (int) SWIG_AsInt(obj1);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 arg3 = (int) SWIG_AsInt(obj2);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 {
26630 PyThreadState* __tstate = wxPyBeginAllowThreads();
26631 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26632
26633 wxPyEndAllowThreads(__tstate);
26634 if (PyErr_Occurred()) SWIG_fail;
26635 }
26636 resultobj = SWIG_FromInt((int)result);
26637 return resultobj;
26638 fail:
26639 return NULL;
26640 }
26641
26642
26643 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
26644 PyObject *resultobj;
26645 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26646 PyObject * obj0 = 0 ;
26647 char *kwnames[] = {
26648 (char *) "self", NULL
26649 };
26650
26651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26654 {
26655 PyThreadState* __tstate = wxPyBeginAllowThreads();
26656 (arg1)->base_OnLeave();
26657
26658 wxPyEndAllowThreads(__tstate);
26659 if (PyErr_Occurred()) SWIG_fail;
26660 }
26661 Py_INCREF(Py_None); resultobj = Py_None;
26662 return resultobj;
26663 fail:
26664 return NULL;
26665 }
26666
26667
26668 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
26669 PyObject *resultobj;
26670 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26671 int arg2 ;
26672 int arg3 ;
26673 bool result;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676 PyObject * obj2 = 0 ;
26677 char *kwnames[] = {
26678 (char *) "self",(char *) "x",(char *) "y", NULL
26679 };
26680
26681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26684 arg2 = (int) SWIG_AsInt(obj1);
26685 if (PyErr_Occurred()) SWIG_fail;
26686 arg3 = (int) SWIG_AsInt(obj2);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26691
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 {
26696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26697 }
26698 return resultobj;
26699 fail:
26700 return NULL;
26701 }
26702
26703
26704 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
26705 PyObject *resultobj;
26706 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26707 int arg2 ;
26708 int arg3 ;
26709 int arg4 ;
26710 int result;
26711 PyObject * obj0 = 0 ;
26712 PyObject * obj1 = 0 ;
26713 PyObject * obj2 = 0 ;
26714 PyObject * obj3 = 0 ;
26715 char *kwnames[] = {
26716 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26717 };
26718
26719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileDropTarget,
26721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26722 arg2 = (int) SWIG_AsInt(obj1);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 arg3 = (int) SWIG_AsInt(obj2);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 arg4 = (wxDragResult) SWIG_AsInt(obj3);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 {
26729 PyThreadState* __tstate = wxPyBeginAllowThreads();
26730 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26731
26732 wxPyEndAllowThreads(__tstate);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 }
26735 resultobj = SWIG_FromInt((int)result);
26736 return resultobj;
26737 fail:
26738 return NULL;
26739 }
26740
26741
26742 static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
26743 PyObject *obj;
26744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26745 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26746 Py_INCREF(obj);
26747 return Py_BuildValue((char *)"");
26748 }
26749 static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
26750 PyObject *resultobj;
26751 wxClipboard *result;
26752 char *kwnames[] = {
26753 NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 result = (wxClipboard *)new wxClipboard();
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
26764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
26765 return resultobj;
26766 fail:
26767 return NULL;
26768 }
26769
26770
26771 static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
26772 PyObject *resultobj;
26773 wxClipboard *arg1 = (wxClipboard *) 0 ;
26774 PyObject * obj0 = 0 ;
26775 char *kwnames[] = {
26776 (char *) "self", NULL
26777 };
26778
26779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26782 {
26783 PyThreadState* __tstate = wxPyBeginAllowThreads();
26784 delete arg1;
26785
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 Py_INCREF(Py_None); resultobj = Py_None;
26790 return resultobj;
26791 fail:
26792 return NULL;
26793 }
26794
26795
26796 static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj;
26798 wxClipboard *arg1 = (wxClipboard *) 0 ;
26799 bool result;
26800 PyObject * obj0 = 0 ;
26801 char *kwnames[] = {
26802 (char *) "self", NULL
26803 };
26804
26805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26808 {
26809 PyThreadState* __tstate = wxPyBeginAllowThreads();
26810 result = (bool)(arg1)->Open();
26811
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 {
26816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26817 }
26818 return resultobj;
26819 fail:
26820 return NULL;
26821 }
26822
26823
26824 static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
26825 PyObject *resultobj;
26826 wxClipboard *arg1 = (wxClipboard *) 0 ;
26827 PyObject * obj0 = 0 ;
26828 char *kwnames[] = {
26829 (char *) "self", NULL
26830 };
26831
26832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26835 {
26836 PyThreadState* __tstate = wxPyBeginAllowThreads();
26837 (arg1)->Close();
26838
26839 wxPyEndAllowThreads(__tstate);
26840 if (PyErr_Occurred()) SWIG_fail;
26841 }
26842 Py_INCREF(Py_None); resultobj = Py_None;
26843 return resultobj;
26844 fail:
26845 return NULL;
26846 }
26847
26848
26849 static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
26850 PyObject *resultobj;
26851 wxClipboard *arg1 = (wxClipboard *) 0 ;
26852 bool result;
26853 PyObject * obj0 = 0 ;
26854 char *kwnames[] = {
26855 (char *) "self", NULL
26856 };
26857
26858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 {
26869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26870 }
26871 return resultobj;
26872 fail:
26873 return NULL;
26874 }
26875
26876
26877 static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
26878 PyObject *resultobj;
26879 wxClipboard *arg1 = (wxClipboard *) 0 ;
26880 wxDataObject *arg2 = (wxDataObject *) 0 ;
26881 bool result;
26882 PyObject * obj0 = 0 ;
26883 PyObject * obj1 = 0 ;
26884 char *kwnames[] = {
26885 (char *) "self",(char *) "data", NULL
26886 };
26887
26888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26892 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 result = (bool)(arg1)->AddData(arg2);
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 {
26901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26902 }
26903 return resultobj;
26904 fail:
26905 return NULL;
26906 }
26907
26908
26909 static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
26910 PyObject *resultobj;
26911 wxClipboard *arg1 = (wxClipboard *) 0 ;
26912 wxDataObject *arg2 = (wxDataObject *) 0 ;
26913 bool result;
26914 PyObject * obj0 = 0 ;
26915 PyObject * obj1 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self",(char *) "data", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26924 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->SetData(arg2);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxClipboard *arg1 = (wxClipboard *) 0 ;
26944 wxDataFormat *arg2 = 0 ;
26945 bool result;
26946 PyObject * obj0 = 0 ;
26947 PyObject * obj1 = 0 ;
26948 char *kwnames[] = {
26949 (char *) "self",(char *) "format", NULL
26950 };
26951
26952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataFormat,
26956 SWIG_POINTER_EXCEPTION | 0)) == -1)
26957 SWIG_fail;
26958 if (arg2 == NULL) {
26959 PyErr_SetString(PyExc_TypeError,"null reference");
26960 SWIG_fail;
26961 }
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26965
26966 wxPyEndAllowThreads(__tstate);
26967 if (PyErr_Occurred()) SWIG_fail;
26968 }
26969 {
26970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26971 }
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj;
26980 wxClipboard *arg1 = (wxClipboard *) 0 ;
26981 wxDataObject *arg2 = 0 ;
26982 bool result;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 char *kwnames[] = {
26986 (char *) "self",(char *) "data", NULL
26987 };
26988
26989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
26991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDataObject,
26993 SWIG_POINTER_EXCEPTION | 0)) == -1)
26994 SWIG_fail;
26995 if (arg2 == NULL) {
26996 PyErr_SetString(PyExc_TypeError,"null reference");
26997 SWIG_fail;
26998 }
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 result = (bool)(arg1)->GetData(*arg2);
27002
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 {
27007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27008 }
27009 return resultobj;
27010 fail:
27011 return NULL;
27012 }
27013
27014
27015 static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
27016 PyObject *resultobj;
27017 wxClipboard *arg1 = (wxClipboard *) 0 ;
27018 PyObject * obj0 = 0 ;
27019 char *kwnames[] = {
27020 (char *) "self", NULL
27021 };
27022
27023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
27024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27026 {
27027 PyThreadState* __tstate = wxPyBeginAllowThreads();
27028 (arg1)->Clear();
27029
27030 wxPyEndAllowThreads(__tstate);
27031 if (PyErr_Occurred()) SWIG_fail;
27032 }
27033 Py_INCREF(Py_None); resultobj = Py_None;
27034 return resultobj;
27035 fail:
27036 return NULL;
27037 }
27038
27039
27040 static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
27041 PyObject *resultobj;
27042 wxClipboard *arg1 = (wxClipboard *) 0 ;
27043 bool result;
27044 PyObject * obj0 = 0 ;
27045 char *kwnames[] = {
27046 (char *) "self", NULL
27047 };
27048
27049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
27050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = (bool)(arg1)->Flush();
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 {
27060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27061 }
27062 return resultobj;
27063 fail:
27064 return NULL;
27065 }
27066
27067
27068 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj;
27070 wxClipboard *arg1 = (wxClipboard *) 0 ;
27071 bool arg2 = (bool) True ;
27072 PyObject * obj0 = 0 ;
27073 PyObject * obj1 = 0 ;
27074 char *kwnames[] = {
27075 (char *) "self",(char *) "primary", NULL
27076 };
27077
27078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
27079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27081 if (obj1) {
27082 arg2 = (bool) SWIG_AsBool(obj1);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 (arg1)->UsePrimarySelection(arg2);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 Py_INCREF(Py_None); resultobj = Py_None;
27093 return resultobj;
27094 fail:
27095 return NULL;
27096 }
27097
27098
27099 static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
27100 PyObject *obj;
27101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27102 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
27103 Py_INCREF(obj);
27104 return Py_BuildValue((char *)"");
27105 }
27106 static int _wrap_TheClipboard_set(PyObject *) {
27107 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
27108 return 1;
27109 }
27110
27111
27112 static PyObject *_wrap_TheClipboard_get() {
27113 PyObject *pyobj;
27114
27115 pyobj = SWIG_NewPointerObj((void *)(wxTheClipboard), SWIGTYPE_p_wxClipboard, 0);
27116 return pyobj;
27117 }
27118
27119
27120 static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27121 PyObject *resultobj;
27122 wxClipboard *arg1 = (wxClipboard *) NULL ;
27123 wxClipboardLocker *result;
27124 PyObject * obj0 = 0 ;
27125 char *kwnames[] = {
27126 (char *) "clipboard", NULL
27127 };
27128
27129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
27130 if (obj0) {
27131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboard,
27132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27133 }
27134 {
27135 PyThreadState* __tstate = wxPyBeginAllowThreads();
27136 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
27137
27138 wxPyEndAllowThreads(__tstate);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
27142 return resultobj;
27143 fail:
27144 return NULL;
27145 }
27146
27147
27148 static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj;
27150 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27151 PyObject * obj0 = 0 ;
27152 char *kwnames[] = {
27153 (char *) "self", NULL
27154 };
27155
27156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
27157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 delete arg1;
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 Py_INCREF(Py_None); resultobj = Py_None;
27167 return resultobj;
27168 fail:
27169 return NULL;
27170 }
27171
27172
27173 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
27174 PyObject *resultobj;
27175 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
27176 bool result;
27177 PyObject * obj0 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "self", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
27183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxClipboardLocker,
27184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 result = (bool)wxClipboardLocker___nonzero__(arg1);
27188
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 {
27193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27194 }
27195 return resultobj;
27196 fail:
27197 return NULL;
27198 }
27199
27200
27201 static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
27202 PyObject *obj;
27203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27204 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
27205 Py_INCREF(obj);
27206 return Py_BuildValue((char *)"");
27207 }
27208 static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27209 PyObject *resultobj;
27210 int arg1 = (int) 0 ;
27211 int arg2 = (int) 0 ;
27212 int arg3 = (int) 0 ;
27213 int arg4 = (int) 0 ;
27214 wxVideoMode *result;
27215 PyObject * obj0 = 0 ;
27216 PyObject * obj1 = 0 ;
27217 PyObject * obj2 = 0 ;
27218 PyObject * obj3 = 0 ;
27219 char *kwnames[] = {
27220 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27221 };
27222
27223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
27224 if (obj0) {
27225 arg1 = (int) SWIG_AsInt(obj0);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 if (obj1) {
27229 arg2 = (int) SWIG_AsInt(obj1);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 if (obj2) {
27233 arg3 = (int) SWIG_AsInt(obj2);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 if (obj3) {
27237 arg4 = (int) SWIG_AsInt(obj3);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 }
27240 {
27241 PyThreadState* __tstate = wxPyBeginAllowThreads();
27242 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
27243
27244 wxPyEndAllowThreads(__tstate);
27245 if (PyErr_Occurred()) SWIG_fail;
27246 }
27247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
27248 return resultobj;
27249 fail:
27250 return NULL;
27251 }
27252
27253
27254 static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
27255 PyObject *resultobj;
27256 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27257 PyObject * obj0 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
27263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 delete arg1;
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 Py_INCREF(Py_None); resultobj = Py_None;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276 }
27277
27278
27279 static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
27280 PyObject *resultobj;
27281 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27282 wxVideoMode *arg2 = 0 ;
27283 bool result;
27284 PyObject * obj0 = 0 ;
27285 PyObject * obj1 = 0 ;
27286 char *kwnames[] = {
27287 (char *) "self",(char *) "other", NULL
27288 };
27289
27290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
27291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27293 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27294 SWIG_POINTER_EXCEPTION | 0)) == -1)
27295 SWIG_fail;
27296 if (arg2 == NULL) {
27297 PyErr_SetString(PyExc_TypeError,"null reference");
27298 SWIG_fail;
27299 }
27300 {
27301 PyThreadState* __tstate = wxPyBeginAllowThreads();
27302 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
27303
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 {
27308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27309 }
27310 return resultobj;
27311 fail:
27312 return NULL;
27313 }
27314
27315
27316 static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
27317 PyObject *resultobj;
27318 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27319 int result;
27320 PyObject * obj0 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
27326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 result = (int)((wxVideoMode const *)arg1)->GetWidth();
27331
27332 wxPyEndAllowThreads(__tstate);
27333 if (PyErr_Occurred()) SWIG_fail;
27334 }
27335 resultobj = SWIG_FromInt((int)result);
27336 return resultobj;
27337 fail:
27338 return NULL;
27339 }
27340
27341
27342 static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
27343 PyObject *resultobj;
27344 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27345 int result;
27346 PyObject * obj0 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "self", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
27352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 result = (int)((wxVideoMode const *)arg1)->GetHeight();
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 resultobj = SWIG_FromInt((int)result);
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27371 int result;
27372 PyObject * obj0 = 0 ;
27373 char *kwnames[] = {
27374 (char *) "self", NULL
27375 };
27376
27377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
27378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27380 {
27381 PyThreadState* __tstate = wxPyBeginAllowThreads();
27382 result = (int)((wxVideoMode const *)arg1)->GetDepth();
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 resultobj = SWIG_FromInt((int)result);
27388 return resultobj;
27389 fail:
27390 return NULL;
27391 }
27392
27393
27394 static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27395 PyObject *resultobj;
27396 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27397 bool result;
27398 PyObject * obj0 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "self", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
27404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (bool)((wxVideoMode const *)arg1)->IsOk();
27409
27410 wxPyEndAllowThreads(__tstate);
27411 if (PyErr_Occurred()) SWIG_fail;
27412 }
27413 {
27414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27415 }
27416 return resultobj;
27417 fail:
27418 return NULL;
27419 }
27420
27421
27422 static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj;
27424 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27425 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27426 bool result;
27427 PyObject * obj0 = 0 ;
27428 PyObject * obj1 = 0 ;
27429 char *kwnames[] = {
27430 (char *) "self",(char *) "other", NULL
27431 };
27432
27433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
27434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27438 {
27439 PyThreadState* __tstate = wxPyBeginAllowThreads();
27440 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
27441
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 {
27446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27447 }
27448 return resultobj;
27449 fail:
27450 return NULL;
27451 }
27452
27453
27454 static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
27455 PyObject *resultobj;
27456 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27457 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
27458 bool result;
27459 PyObject * obj0 = 0 ;
27460 PyObject * obj1 = 0 ;
27461 char *kwnames[] = {
27462 (char *) "self",(char *) "other", NULL
27463 };
27464
27465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
27466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
27473
27474 wxPyEndAllowThreads(__tstate);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 {
27478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27479 }
27480 return resultobj;
27481 fail:
27482 return NULL;
27483 }
27484
27485
27486 static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
27487 PyObject *resultobj;
27488 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27489 int arg2 ;
27490 PyObject * obj0 = 0 ;
27491 PyObject * obj1 = 0 ;
27492 char *kwnames[] = {
27493 (char *) "self",(char *) "w", NULL
27494 };
27495
27496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
27497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27499 arg2 = (int) SWIG_AsInt(obj1);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 if (arg1) (arg1)->w = arg2;
27502
27503 Py_INCREF(Py_None); resultobj = Py_None;
27504 return resultobj;
27505 fail:
27506 return NULL;
27507 }
27508
27509
27510 static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
27511 PyObject *resultobj;
27512 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27513 int result;
27514 PyObject * obj0 = 0 ;
27515 char *kwnames[] = {
27516 (char *) "self", NULL
27517 };
27518
27519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
27520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27522 result = (int) ((arg1)->w);
27523
27524 resultobj = SWIG_FromInt((int)result);
27525 return resultobj;
27526 fail:
27527 return NULL;
27528 }
27529
27530
27531 static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
27532 PyObject *resultobj;
27533 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27534 int arg2 ;
27535 PyObject * obj0 = 0 ;
27536 PyObject * obj1 = 0 ;
27537 char *kwnames[] = {
27538 (char *) "self",(char *) "h", NULL
27539 };
27540
27541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
27542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27544 arg2 = (int) SWIG_AsInt(obj1);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 if (arg1) (arg1)->h = arg2;
27547
27548 Py_INCREF(Py_None); resultobj = Py_None;
27549 return resultobj;
27550 fail:
27551 return NULL;
27552 }
27553
27554
27555 static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
27556 PyObject *resultobj;
27557 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27558 int result;
27559 PyObject * obj0 = 0 ;
27560 char *kwnames[] = {
27561 (char *) "self", NULL
27562 };
27563
27564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
27565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27567 result = (int) ((arg1)->h);
27568
27569 resultobj = SWIG_FromInt((int)result);
27570 return resultobj;
27571 fail:
27572 return NULL;
27573 }
27574
27575
27576 static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
27577 PyObject *resultobj;
27578 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27579 int arg2 ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "bpp", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27589 arg2 = (int) SWIG_AsInt(obj1);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 if (arg1) (arg1)->bpp = arg2;
27592
27593 Py_INCREF(Py_None); resultobj = Py_None;
27594 return resultobj;
27595 fail:
27596 return NULL;
27597 }
27598
27599
27600 static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
27601 PyObject *resultobj;
27602 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27603 int result;
27604 PyObject * obj0 = 0 ;
27605 char *kwnames[] = {
27606 (char *) "self", NULL
27607 };
27608
27609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
27610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27612 result = (int) ((arg1)->bpp);
27613
27614 resultobj = SWIG_FromInt((int)result);
27615 return resultobj;
27616 fail:
27617 return NULL;
27618 }
27619
27620
27621 static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
27622 PyObject *resultobj;
27623 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27624 int arg2 ;
27625 PyObject * obj0 = 0 ;
27626 PyObject * obj1 = 0 ;
27627 char *kwnames[] = {
27628 (char *) "self",(char *) "refresh", NULL
27629 };
27630
27631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
27632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27634 arg2 = (int) SWIG_AsInt(obj1);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 if (arg1) (arg1)->refresh = arg2;
27637
27638 Py_INCREF(Py_None); resultobj = Py_None;
27639 return resultobj;
27640 fail:
27641 return NULL;
27642 }
27643
27644
27645 static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj;
27647 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
27648 int result;
27649 PyObject * obj0 = 0 ;
27650 char *kwnames[] = {
27651 (char *) "self", NULL
27652 };
27653
27654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
27655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVideoMode,
27656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27657 result = (int) ((arg1)->refresh);
27658
27659 resultobj = SWIG_FromInt((int)result);
27660 return resultobj;
27661 fail:
27662 return NULL;
27663 }
27664
27665
27666 static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
27667 PyObject *obj;
27668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27669 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
27670 Py_INCREF(obj);
27671 return Py_BuildValue((char *)"");
27672 }
27673 static int _wrap_DefaultVideoMode_set(PyObject *) {
27674 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
27675 return 1;
27676 }
27677
27678
27679 static PyObject *_wrap_DefaultVideoMode_get() {
27680 PyObject *pyobj;
27681
27682 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
27683 return pyobj;
27684 }
27685
27686
27687 static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27688 PyObject *resultobj;
27689 size_t arg1 = (size_t) 0 ;
27690 wxDisplay *result;
27691 PyObject * obj0 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "index", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
27697 if (obj0) {
27698 arg1 = (size_t) SWIG_AsUnsignedLong(obj0);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 {
27702 PyThreadState* __tstate = wxPyBeginAllowThreads();
27703 result = (wxDisplay *)new wxDisplay(arg1);
27704
27705 wxPyEndAllowThreads(__tstate);
27706 if (PyErr_Occurred()) SWIG_fail;
27707 }
27708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
27709 return resultobj;
27710 fail:
27711 return NULL;
27712 }
27713
27714
27715 static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj;
27717 wxDisplay *arg1 = (wxDisplay *) 0 ;
27718 PyObject * obj0 = 0 ;
27719 char *kwnames[] = {
27720 (char *) "self", NULL
27721 };
27722
27723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
27724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27726 {
27727 PyThreadState* __tstate = wxPyBeginAllowThreads();
27728 delete arg1;
27729
27730 wxPyEndAllowThreads(__tstate);
27731 if (PyErr_Occurred()) SWIG_fail;
27732 }
27733 Py_INCREF(Py_None); resultobj = Py_None;
27734 return resultobj;
27735 fail:
27736 return NULL;
27737 }
27738
27739
27740 static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
27741 PyObject *resultobj;
27742 size_t result;
27743 char *kwnames[] = {
27744 NULL
27745 };
27746
27747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
27748 {
27749 PyThreadState* __tstate = wxPyBeginAllowThreads();
27750 result = (size_t)wxDisplay::GetCount();
27751
27752 wxPyEndAllowThreads(__tstate);
27753 if (PyErr_Occurred()) SWIG_fail;
27754 }
27755 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
27756 return resultobj;
27757 fail:
27758 return NULL;
27759 }
27760
27761
27762 static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
27763 PyObject *resultobj;
27764 wxPoint *arg1 = 0 ;
27765 int result;
27766 wxPoint temp1 ;
27767 PyObject * obj0 = 0 ;
27768 char *kwnames[] = {
27769 (char *) "pt", NULL
27770 };
27771
27772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
27773 {
27774 arg1 = &temp1;
27775 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
27776 }
27777 {
27778 PyThreadState* __tstate = wxPyBeginAllowThreads();
27779 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
27780
27781 wxPyEndAllowThreads(__tstate);
27782 if (PyErr_Occurred()) SWIG_fail;
27783 }
27784 resultobj = SWIG_FromInt((int)result);
27785 return resultobj;
27786 fail:
27787 return NULL;
27788 }
27789
27790
27791 static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
27792 PyObject *resultobj;
27793 wxWindow *arg1 = (wxWindow *) 0 ;
27794 int result;
27795 PyObject * obj0 = 0 ;
27796 char *kwnames[] = {
27797 (char *) "window", NULL
27798 };
27799
27800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
27801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 result = (int)Display_GetFromWindow(arg1);
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_FromInt((int)result);
27811 return resultobj;
27812 fail:
27813 return NULL;
27814 }
27815
27816
27817 static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
27818 PyObject *resultobj;
27819 wxDisplay *arg1 = (wxDisplay *) 0 ;
27820 bool result;
27821 PyObject * obj0 = 0 ;
27822 char *kwnames[] = {
27823 (char *) "self", NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
27827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 result = (bool)((wxDisplay const *)arg1)->IsOk();
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 {
27837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27838 }
27839 return resultobj;
27840 fail:
27841 return NULL;
27842 }
27843
27844
27845 static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
27846 PyObject *resultobj;
27847 wxDisplay *arg1 = (wxDisplay *) 0 ;
27848 wxRect result;
27849 PyObject * obj0 = 0 ;
27850 char *kwnames[] = {
27851 (char *) "self", NULL
27852 };
27853
27854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
27855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 result = ((wxDisplay const *)arg1)->GetGeometry();
27860
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 {
27865 wxRect * resultptr;
27866 resultptr = new wxRect((wxRect &) result);
27867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
27868 }
27869 return resultobj;
27870 fail:
27871 return NULL;
27872 }
27873
27874
27875 static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
27876 PyObject *resultobj;
27877 wxDisplay *arg1 = (wxDisplay *) 0 ;
27878 wxString result;
27879 PyObject * obj0 = 0 ;
27880 char *kwnames[] = {
27881 (char *) "self", NULL
27882 };
27883
27884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
27885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27887 {
27888 PyThreadState* __tstate = wxPyBeginAllowThreads();
27889 result = ((wxDisplay const *)arg1)->GetName();
27890
27891 wxPyEndAllowThreads(__tstate);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 {
27895 #if wxUSE_UNICODE
27896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27897 #else
27898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27899 #endif
27900 }
27901 return resultobj;
27902 fail:
27903 return NULL;
27904 }
27905
27906
27907 static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
27908 PyObject *resultobj;
27909 wxDisplay *arg1 = (wxDisplay *) 0 ;
27910 bool result;
27911 PyObject * obj0 = 0 ;
27912 char *kwnames[] = {
27913 (char *) "self", NULL
27914 };
27915
27916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
27917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
27926 {
27927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27928 }
27929 return resultobj;
27930 fail:
27931 return NULL;
27932 }
27933
27934
27935 static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
27936 PyObject *resultobj;
27937 wxDisplay *arg1 = (wxDisplay *) 0 ;
27938 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
27939 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
27940 PyObject *result;
27941 PyObject * obj0 = 0 ;
27942 PyObject * obj1 = 0 ;
27943 char *kwnames[] = {
27944 (char *) "self",(char *) "mode", NULL
27945 };
27946
27947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
27948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27950 if (obj1) {
27951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
27952 SWIG_POINTER_EXCEPTION | 0)) == -1)
27953 SWIG_fail;
27954 if (arg2 == NULL) {
27955 PyErr_SetString(PyExc_TypeError,"null reference");
27956 SWIG_fail;
27957 }
27958 }
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
27962
27963 wxPyEndAllowThreads(__tstate);
27964 if (PyErr_Occurred()) SWIG_fail;
27965 }
27966 resultobj = result;
27967 return resultobj;
27968 fail:
27969 return NULL;
27970 }
27971
27972
27973 static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
27974 PyObject *resultobj;
27975 wxDisplay *arg1 = (wxDisplay *) 0 ;
27976 wxVideoMode result;
27977 PyObject * obj0 = 0 ;
27978 char *kwnames[] = {
27979 (char *) "self", NULL
27980 };
27981
27982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
27983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
27984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 result = ((wxDisplay const *)arg1)->GetCurrentMode();
27988
27989 wxPyEndAllowThreads(__tstate);
27990 if (PyErr_Occurred()) SWIG_fail;
27991 }
27992 {
27993 wxVideoMode * resultptr;
27994 resultptr = new wxVideoMode((wxVideoMode &) result);
27995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
27996 }
27997 return resultobj;
27998 fail:
27999 return NULL;
28000 }
28001
28002
28003 static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj;
28005 wxDisplay *arg1 = (wxDisplay *) 0 ;
28006 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
28007 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
28008 bool result;
28009 PyObject * obj0 = 0 ;
28010 PyObject * obj1 = 0 ;
28011 char *kwnames[] = {
28012 (char *) "self",(char *) "mode", NULL
28013 };
28014
28015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
28016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28018 if (obj1) {
28019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxVideoMode,
28020 SWIG_POINTER_EXCEPTION | 0)) == -1)
28021 SWIG_fail;
28022 if (arg2 == NULL) {
28023 PyErr_SetString(PyExc_TypeError,"null reference");
28024 SWIG_fail;
28025 }
28026 }
28027 {
28028 PyThreadState* __tstate = wxPyBeginAllowThreads();
28029 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
28030
28031 wxPyEndAllowThreads(__tstate);
28032 if (PyErr_Occurred()) SWIG_fail;
28033 }
28034 {
28035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28036 }
28037 return resultobj;
28038 fail:
28039 return NULL;
28040 }
28041
28042
28043 static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
28044 PyObject *resultobj;
28045 wxDisplay *arg1 = (wxDisplay *) 0 ;
28046 PyObject * obj0 = 0 ;
28047 char *kwnames[] = {
28048 (char *) "self", NULL
28049 };
28050
28051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
28052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDisplay,
28053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28054 {
28055 PyThreadState* __tstate = wxPyBeginAllowThreads();
28056 (arg1)->ResetMode();
28057
28058 wxPyEndAllowThreads(__tstate);
28059 if (PyErr_Occurred()) SWIG_fail;
28060 }
28061 Py_INCREF(Py_None); resultobj = Py_None;
28062 return resultobj;
28063 fail:
28064 return NULL;
28065 }
28066
28067
28068 static PyObject * Display_swigregister(PyObject *, PyObject *args) {
28069 PyObject *obj;
28070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28071 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
28072 Py_INCREF(obj);
28073 return Py_BuildValue((char *)"");
28074 }
28075 static PyMethodDef SwigMethods[] = {
28076 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL },
28077 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
28078 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL },
28079 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL },
28080 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28081 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL },
28082 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL },
28083 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL },
28084 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28085 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28086 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
28087 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
28088 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
28089 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL },
28090 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL },
28091 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL },
28092 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL },
28093 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL },
28094 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28095 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL },
28096 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL },
28097 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL },
28098 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28099 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL },
28100 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL },
28101 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL },
28102 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28103 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL },
28104 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL },
28105 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL },
28106 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS, NULL },
28107 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL },
28108 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL },
28109 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL },
28110 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28111 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL },
28112 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL },
28113 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL },
28114 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL },
28115 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL },
28116 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL },
28117 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL },
28118 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28119 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28120 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28121 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL },
28122 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28123 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28124 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL },
28125 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28126 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL },
28127 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL },
28128 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL },
28129 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28130 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28131 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28132 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL },
28133 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28134 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL },
28135 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28136 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL },
28137 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28138 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28139 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28140 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28141 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28142 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL },
28143 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL },
28144 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL },
28145 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28146 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28147 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28148 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28149 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL },
28150 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL },
28151 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
28152 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28153 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28154 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28155 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
28156 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL },
28157 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL },
28158 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28159 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL },
28160 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28161 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL },
28162 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28163 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28164 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28165 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
28166 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28167 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
28168 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL },
28169 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
28170 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28171 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28172 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
28173 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL },
28174 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28175 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL },
28176 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28177 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28178 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL },
28179 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28180 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
28181 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL },
28182 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28183 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28184 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL },
28185 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL },
28186 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28187 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL },
28188 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28189 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL },
28190 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL },
28191 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28192 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28193 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28194 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL },
28195 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL },
28196 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28197 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28198 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL },
28199 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL },
28200 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28201 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL },
28202 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL },
28203 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28204 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL },
28205 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28206 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28207 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL },
28208 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28209 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28210 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL },
28211 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL },
28212 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28213 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL },
28214 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL },
28215 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL },
28216 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL },
28217 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28218 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28219 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL },
28220 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL },
28221 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28222 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28223 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL },
28224 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28225 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL },
28226 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28227 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28228 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
28229 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28230 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL },
28231 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28232 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL },
28233 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28234 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL },
28235 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL },
28236 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL },
28237 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL },
28238 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL },
28239 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL },
28240 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL },
28241 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
28242 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL },
28243 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL },
28244 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28245 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL },
28246 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28247 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28248 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL },
28249 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL },
28250 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28251 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28252 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28253 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28254 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28255 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28256 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28257 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL },
28258 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28259 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28260 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28261 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL },
28262 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL },
28263 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
28264 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL },
28265 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28266 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL },
28267 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL },
28268 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL },
28269 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL },
28270 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL },
28271 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL },
28272 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL },
28273 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28274 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL },
28275 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28276 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28277 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28278 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28279 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL },
28280 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL },
28281 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL },
28282 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28283 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL },
28284 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL },
28285 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL },
28286 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL },
28287 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL },
28288 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL },
28289 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL },
28290 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL },
28291 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28292 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28293 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL },
28294 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL },
28295 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL },
28296 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL },
28297 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL },
28298 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL },
28299 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL },
28300 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL },
28301 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28302 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL },
28303 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL },
28304 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL },
28305 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28306 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL },
28307 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL },
28308 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28309 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28310 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL },
28311 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28312 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL },
28313 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL },
28314 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL },
28315 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
28316 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28317 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL },
28318 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL },
28319 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL },
28320 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28321 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28322 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL },
28323 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL },
28324 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28325 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL },
28326 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL },
28327 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL },
28328 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL },
28329 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL },
28330 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL },
28331 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL },
28332 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL },
28333 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28334 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL },
28335 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28336 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28337 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28338 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28339 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28340 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28341 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28342 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28343 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28344 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL },
28345 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28346 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL },
28347 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL },
28348 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL },
28349 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL },
28350 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL },
28351 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL },
28352 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL },
28353 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL },
28354 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL },
28355 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL },
28356 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28357 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28358 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL },
28359 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL },
28360 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL },
28361 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL },
28362 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL },
28363 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL },
28364 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL },
28365 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL },
28366 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL },
28367 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL },
28368 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL },
28369 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL },
28370 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL },
28371 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL },
28372 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL },
28373 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL },
28374 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL },
28375 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28376 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL },
28377 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL },
28378 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
28379 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
28380 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS, NULL },
28381 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS, NULL },
28382 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS, NULL },
28383 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS, NULL },
28384 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS, NULL },
28385 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS, NULL },
28386 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS, NULL },
28387 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS, NULL },
28388 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL },
28389 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28390 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28391 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28392 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28393 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28394 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL },
28395 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL },
28396 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL },
28397 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28398 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL },
28399 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
28400 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL },
28401 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL },
28402 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
28403 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
28404 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
28405 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL },
28406 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS, NULL },
28407 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL },
28408 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS, NULL },
28409 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28410 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS, NULL },
28411 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS, NULL },
28412 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL },
28413 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL },
28414 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28415 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL },
28416 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28417 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28418 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28419 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28420 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28421 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28422 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28423 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL },
28424 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28425 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28426 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL },
28427 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL },
28428 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL },
28429 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL },
28430 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28431 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL },
28432 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28433 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28434 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL },
28435 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28436 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28437 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL },
28438 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28439 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28440 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL },
28441 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28442 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28443 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28444 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL },
28445 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL },
28446 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL },
28447 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28448 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL },
28449 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL },
28450 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL },
28451 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
28452 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL },
28453 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28454 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL },
28455 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL },
28456 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL },
28457 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL },
28458 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL },
28459 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL },
28460 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28461 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28462 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28463 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28464 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL },
28465 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28466 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL },
28467 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
28468 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL },
28469 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL },
28470 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28471 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL },
28472 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL },
28473 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL },
28474 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28475 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
28476 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28477 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28478 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28479 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28480 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL },
28481 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL },
28482 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28483 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28484 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL },
28485 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL },
28486 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL },
28487 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL },
28488 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28489 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL },
28490 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL },
28491 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL },
28492 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL },
28493 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL },
28494 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28495 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28496 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28497 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL },
28498 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL },
28499 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL },
28500 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28501 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28502 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28503 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
28504 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28505 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28506 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28507 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
28508 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
28509 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28510 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
28511 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL },
28512 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28513 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL },
28514 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL },
28515 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28516 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL },
28517 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL },
28518 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28519 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL },
28520 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL },
28521 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL },
28522 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL },
28523 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28524 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28525 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL },
28526 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL },
28527 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL },
28528 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28529 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL },
28530 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL },
28531 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL },
28532 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28533 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL },
28534 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL },
28535 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL },
28536 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL },
28537 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL },
28538 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL },
28539 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL },
28540 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL },
28541 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL },
28542 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28543 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28544 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28545 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28546 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL },
28547 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28548 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL },
28549 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL },
28550 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28551 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL },
28552 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL },
28553 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL },
28554 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28555 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28556 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28557 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28558 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28559 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28560 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28561 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28562 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28563 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28564 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28565 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28566 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28567 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28568 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28569 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28570 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28571 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL },
28572 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28573 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL },
28574 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28575 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL },
28576 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28577 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL },
28578 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL },
28579 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL },
28580 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL },
28581 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28582 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL },
28583 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28584 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL },
28585 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL },
28586 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL },
28587 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL },
28588 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL },
28589 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28590 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL },
28591 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL },
28592 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL },
28593 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL },
28594 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL },
28595 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL },
28596 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28597 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL },
28598 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL },
28599 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL },
28600 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28601 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL },
28602 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28603 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28604 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL },
28605 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL },
28606 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL },
28607 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL },
28608 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL },
28609 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL },
28610 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL },
28611 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL },
28612 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28613 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL },
28614 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL },
28615 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL },
28616 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL },
28617 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS, NULL },
28618 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS, NULL },
28619 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS, NULL },
28620 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS, NULL },
28621 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS, NULL },
28622 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS, NULL },
28623 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL },
28624 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28625 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL },
28626 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL },
28627 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL },
28628 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28629 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL },
28630 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL },
28631 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL },
28632 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL },
28633 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL },
28634 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL },
28635 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL },
28636 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL },
28637 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL },
28638 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL },
28639 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL },
28640 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28641 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28642 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28643 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28644 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28645 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28646 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28647 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28648 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28649 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28650 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL },
28651 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28652 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28653 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28654 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28655 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28656 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28657 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28658 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28659 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL },
28660 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL },
28661 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL },
28662 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL },
28663 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28664 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28665 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL },
28666 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL },
28667 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL },
28668 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL },
28669 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL },
28670 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL },
28671 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28672 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28673 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL },
28674 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL },
28675 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL },
28676 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL },
28677 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL },
28678 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL },
28679 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28680 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL },
28681 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL },
28682 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL },
28683 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL },
28684 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL },
28685 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL },
28686 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL },
28687 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL },
28688 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL },
28689 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28690 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28691 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28692 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28693 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL },
28694 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL },
28695 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL },
28696 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL },
28697 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL },
28698 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28699 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL },
28700 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL },
28701 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL },
28702 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
28703 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
28704 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
28705 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
28706 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL },
28707 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
28708 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL },
28709 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL },
28710 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28711 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28712 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL },
28713 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL },
28714 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL },
28715 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL },
28716 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL },
28717 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28718 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28719 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28720 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL },
28721 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL },
28722 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
28723 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
28724 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
28725 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
28726 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL },
28727 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28728 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28729 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL },
28730 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28731 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL },
28732 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL },
28733 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL },
28734 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28735 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL },
28736 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28737 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28738 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL },
28739 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL },
28740 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL },
28741 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28742 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL },
28743 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL },
28744 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL },
28745 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL },
28746 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28747 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL },
28748 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
28749 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
28750 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL },
28751 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28752 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28753 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL },
28754 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28755 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28756 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
28757 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL },
28758 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28759 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28760 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL },
28761 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28762 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL },
28763 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL },
28764 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL },
28765 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28766 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS, NULL },
28767 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28768 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
28769 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28770 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL },
28771 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28772 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28773 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL },
28774 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL },
28775 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28776 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28777 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL },
28778 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL },
28779 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL },
28780 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28781 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28782 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL },
28783 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28784 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28785 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
28786 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28787 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL },
28788 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL },
28789 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28790 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28791 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28792 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28793 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL },
28794 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28795 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28796 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28797 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28798 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28799 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL },
28800 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28801 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28802 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28803 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28804 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28805 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28806 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28807 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL },
28808 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
28809 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
28810 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL },
28811 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL },
28812 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL },
28813 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL },
28814 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL },
28815 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL },
28816 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28817 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL },
28818 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL },
28819 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL },
28820 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL },
28821 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL },
28822 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
28823 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL },
28824 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
28825 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
28826 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL },
28827 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL },
28828 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL },
28829 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28830 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL },
28831 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL },
28832 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL },
28833 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28834 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL },
28835 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL },
28836 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
28837 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
28838 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL },
28839 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28840 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
28841 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
28842 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL },
28843 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL },
28844 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL },
28845 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL },
28846 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL },
28847 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL },
28848 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL },
28849 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL },
28850 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL },
28851 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28852 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL },
28853 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
28854 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
28855 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
28856 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL },
28857 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL },
28858 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
28859 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL },
28860 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL },
28861 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL },
28862 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL },
28863 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL },
28864 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL },
28865 { NULL, NULL, 0, NULL }
28866 };
28867
28868
28869 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28870
28871 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28873 }
28874 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28875 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28876 }
28877 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28878 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28879 }
28880 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28881 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28882 }
28883 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28884 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28885 }
28886 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28887 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28888 }
28889 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
28890 return (void *)((wxEvent *) ((wxTimerEvent *) x));
28891 }
28892 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28893 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28894 }
28895 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28896 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28897 }
28898 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28899 return (void *)((wxEvent *) ((wxPyEvent *) x));
28900 }
28901 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28902 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28903 }
28904 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
28905 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
28906 }
28907 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28908 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28909 }
28910 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28911 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28912 }
28913 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28914 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28915 }
28916 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28917 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28918 }
28919 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28920 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28921 }
28922 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28923 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28924 }
28925 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28926 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28927 }
28928 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28929 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28930 }
28931 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28932 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28933 }
28934 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28935 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28936 }
28937 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28939 }
28940 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28941 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28942 }
28943 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28944 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28945 }
28946 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28947 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28948 }
28949 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28950 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28951 }
28952 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28953 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28954 }
28955 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28956 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28957 }
28958 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28959 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28960 }
28961 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
28962 return (void *)((wxEvent *) ((wxProcessEvent *) x));
28963 }
28964 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28965 return (void *)((wxEvent *) ((wxShowEvent *) x));
28966 }
28967 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28968 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28969 }
28970 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28971 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28972 }
28973 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28974 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28975 }
28976 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28977 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28978 }
28979 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28980 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28981 }
28982 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28983 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28984 }
28985 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
28986 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
28987 }
28988 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
28989 return (void *)((wxConfigBase *) ((wxConfig *) x));
28990 }
28991 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
28992 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
28993 }
28994 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
28995 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
28996 }
28997 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
28998 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
28999 }
29000 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
29001 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29002 }
29003 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
29004 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
29005 }
29006 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
29007 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
29008 }
29009 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
29010 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
29011 }
29012 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
29013 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29014 }
29015 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
29016 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29017 }
29018 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
29019 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
29020 }
29021 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
29022 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
29023 }
29024 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
29025 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
29026 }
29027 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
29028 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29029 }
29030 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
29031 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
29032 }
29033 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
29034 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
29035 }
29036 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29037 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
29038 }
29039 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
29040 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
29041 }
29042 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29043 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
29044 }
29045 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
29046 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
29047 }
29048 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
29049 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
29050 }
29051 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
29052 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
29053 }
29054 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
29055 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
29056 }
29057 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
29058 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
29059 }
29060 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
29061 return (void *)((wxEvtHandler *) ((wxWindow *) x));
29062 }
29063 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
29064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29065 }
29066 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
29067 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
29068 }
29069 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
29070 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
29071 }
29072 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
29073 return (void *)((wxEvtHandler *) ((wxValidator *) x));
29074 }
29075 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
29076 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
29077 }
29078 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
29079 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
29080 }
29081 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
29082 return (void *)((wxEvtHandler *) ((wxMenu *) x));
29083 }
29084 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
29085 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
29086 }
29087 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
29088 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
29089 }
29090 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
29091 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
29092 }
29093 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
29094 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
29095 }
29096 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
29097 return (void *)((wxObject *) ((wxSizerItem *) x));
29098 }
29099 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
29100 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
29101 }
29102 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
29103 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
29104 }
29105 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
29106 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
29107 }
29108 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
29109 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
29110 }
29111 static void *_p_wxSizerTo_p_wxObject(void *x) {
29112 return (void *)((wxObject *) ((wxSizer *) x));
29113 }
29114 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
29115 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29116 }
29117 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
29118 return (void *)((wxObject *) ((wxFileHistory *) x));
29119 }
29120 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
29121 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
29122 }
29123 static void *_p_wxEventTo_p_wxObject(void *x) {
29124 return (void *)((wxObject *) ((wxEvent *) x));
29125 }
29126 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
29127 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
29128 }
29129 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
29130 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
29131 }
29132 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
29133 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
29134 }
29135 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29136 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29137 }
29138 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29139 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29140 }
29141 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29142 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29143 }
29144 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29145 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29146 }
29147 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29148 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29149 }
29150 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29151 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29152 }
29153 static void *_p_wxControlTo_p_wxObject(void *x) {
29154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29155 }
29156 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29157 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29158 }
29159 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
29160 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
29161 }
29162 static void *_p_wxFSFileTo_p_wxObject(void *x) {
29163 return (void *)((wxObject *) ((wxFSFile *) x));
29164 }
29165 static void *_p_wxClipboardTo_p_wxObject(void *x) {
29166 return (void *)((wxObject *) ((wxClipboard *) x));
29167 }
29168 static void *_p_wxPySizerTo_p_wxObject(void *x) {
29169 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29170 }
29171 static void *_p_wxPyEventTo_p_wxObject(void *x) {
29172 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29173 }
29174 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29175 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29176 }
29177 static void *_p_wxShowEventTo_p_wxObject(void *x) {
29178 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29179 }
29180 static void *_p_wxToolTipTo_p_wxObject(void *x) {
29181 return (void *)((wxObject *) ((wxToolTip *) x));
29182 }
29183 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29184 return (void *)((wxObject *) ((wxMenuItem *) x));
29185 }
29186 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29187 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29188 }
29189 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29191 }
29192 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29193 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29194 }
29195 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29196 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29197 }
29198 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29199 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29200 }
29201 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29202 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29203 }
29204 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29205 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29206 }
29207 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29208 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29209 }
29210 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29211 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29212 }
29213 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29214 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29215 }
29216 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29217 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29218 }
29219 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29220 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29221 }
29222 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29223 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29224 }
29225 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29226 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29227 }
29228 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29229 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29230 }
29231 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29232 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29233 }
29234 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29235 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29236 }
29237 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29238 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29239 }
29240 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29241 return (void *)((wxObject *) ((wxImageHandler *) x));
29242 }
29243 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29244 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29245 }
29246 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29247 return (void *)((wxObject *) ((wxEvtHandler *) x));
29248 }
29249 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29250 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29251 }
29252 static void *_p_wxImageTo_p_wxObject(void *x) {
29253 return (void *)((wxObject *) ((wxImage *) x));
29254 }
29255 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29256 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29257 }
29258 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
29259 return (void *)((wxObject *) ((wxSystemOptions *) x));
29260 }
29261 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
29262 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
29263 }
29264 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29266 }
29267 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29268 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29269 }
29270 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29271 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29272 }
29273 static void *_p_wxWindowTo_p_wxObject(void *x) {
29274 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29275 }
29276 static void *_p_wxMenuTo_p_wxObject(void *x) {
29277 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29278 }
29279 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29281 }
29282 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
29283 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
29284 }
29285 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29286 return (void *)((wxObject *) ((wxFileSystem *) x));
29287 }
29288 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29290 }
29291 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29292 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29293 }
29294 static void *_p_wxPyAppTo_p_wxObject(void *x) {
29295 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29296 }
29297 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29298 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29299 }
29300 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29301 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29302 }
29303 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29304 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29305 }
29306 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
29307 return (void *)((wxObject *) ((wxBusyInfo *) x));
29308 }
29309 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29310 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29311 }
29312 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29313 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29314 }
29315 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29316 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29317 }
29318 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29319 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29320 }
29321 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29323 }
29324 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
29325 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
29326 }
29327 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29329 }
29330 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29331 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29332 }
29333 static void *_p_wxValidatorTo_p_wxObject(void *x) {
29334 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29335 }
29336 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
29337 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
29338 }
29339 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
29340 return (void *)((wxLog *) ((wxLogStderr *) x));
29341 }
29342 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
29343 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
29344 }
29345 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
29346 return (void *)((wxLog *) ((wxLogWindow *) x));
29347 }
29348 static void *_p_wxLogChainTo_p_wxLog(void *x) {
29349 return (void *)((wxLog *) ((wxLogChain *) x));
29350 }
29351 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
29352 return (void *)((wxLog *) ((wxLogGui *) x));
29353 }
29354 static void *_p_wxPyLogTo_p_wxLog(void *x) {
29355 return (void *)((wxLog *) ((wxPyLog *) x));
29356 }
29357 static void *_p_wxControlTo_p_wxWindow(void *x) {
29358 return (void *)((wxWindow *) ((wxControl *) x));
29359 }
29360 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29361 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29362 }
29363 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29364 return (void *)((wxWindow *) ((wxMenuBar *) x));
29365 }
29366 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
29367 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
29368 }
29369 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
29370 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
29371 }
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459
29460 static swig_type_info *swig_types_initial[] = {
29461 _swigt__p_wxLogChain,
29462 _swigt__p_wxMutexGuiLocker,
29463 _swigt__p_wxMetafile,
29464 _swigt__p_wxFileHistory,
29465 _swigt__p_wxLog,
29466 _swigt__p_wxDateTime__TimeZone,
29467 _swigt__p_wxMenu,
29468 _swigt__p_wxEvent,
29469 _swigt__p_wxConfigBase,
29470 _swigt__p_wxDisplay,
29471 _swigt__p_wxFileType,
29472 _swigt__p_wxLogGui,
29473 _swigt__p_wxFont,
29474 _swigt__p_wxDataFormat,
29475 _swigt__p_wxTimerEvent,
29476 _swigt__p_wxCaret,
29477 _swigt__p_int,
29478 _swigt__p_wxSize,
29479 _swigt__p_wxClipboard,
29480 _swigt__p_wxStopWatch,
29481 _swigt__p_wxDC,
29482 _swigt__p_wxClipboardLocker,
29483 _swigt__p_wxIcon,
29484 _swigt__p_wxLogStderr,
29485 _swigt__p_wxLogTextCtrl,
29486 _swigt__p_wxTextCtrl,
29487 _swigt__p_wxBusyCursor,
29488 _swigt__p_wxPyTextDataObject,
29489 _swigt__p_wxBitmapDataObject,
29490 _swigt__p_wxTextDataObject,
29491 _swigt__p_wxDataObject,
29492 _swigt__p_wxPyBitmapDataObject,
29493 _swigt__p_wxFileDataObject,
29494 _swigt__p_wxCustomDataObject,
29495 _swigt__p_wxURLDataObject,
29496 _swigt__p_wxMetafileDataObject,
29497 _swigt__p_wxSound,
29498 _swigt__p_wxTimerRunner,
29499 _swigt__p_wxLogWindow,
29500 _swigt__p_wxTimeSpan,
29501 _swigt__p_wxArrayString,
29502 _swigt__p_wxWindowDisabler,
29503 _swigt__p_wxToolTip,
29504 _swigt__p_wxDataObjectComposite,
29505 _swigt__p_wxFileConfig,
29506 _swigt__p_wxSystemSettings,
29507 _swigt__p_wxVideoMode,
29508 _swigt__p_wxPyDataObjectSimple,
29509 _swigt__p_wxDataObjectSimple,
29510 _swigt__p_wxEvtHandler,
29511 _swigt__p_wxRect,
29512 _swigt__p_char,
29513 _swigt__p_wxSingleInstanceChecker,
29514 _swigt__p_wxFileTypeInfo,
29515 _swigt__p_wxFrame,
29516 _swigt__p_wxTimer,
29517 _swigt__p_wxMimeTypesManager,
29518 _swigt__p_wxPyArtProvider,
29519 _swigt__p_wxPyTipProvider,
29520 _swigt__p_wxTipProvider,
29521 _swigt__p_wxJoystick,
29522 _swigt__p_wxSystemOptions,
29523 _swigt__p_wxPoint,
29524 _swigt__p_wxJoystickEvent,
29525 _swigt__p_wxCursor,
29526 _swigt__p_wxObject,
29527 _swigt__p_wxOutputStream,
29528 _swigt__p_wxDateTime,
29529 _swigt__p_wxPyDropSource,
29530 _swigt__p_wxWindow,
29531 _swigt__p_wxString,
29532 _swigt__p_wxPyProcess,
29533 _swigt__p_wxBitmap,
29534 _swigt__p_wxConfig,
29535 _swigt__p_wxChar,
29536 _swigt__p_wxBusyInfo,
29537 _swigt__p_wxPyDropTarget,
29538 _swigt__p_wxPyTextDropTarget,
29539 _swigt__p_wxPyFileDropTarget,
29540 _swigt__p_wxProcessEvent,
29541 _swigt__p_wxPyLog,
29542 _swigt__p_wxLogNull,
29543 _swigt__p_wxColour,
29544 _swigt__p_wxByte,
29545 _swigt__p_wxConfigPathChanger,
29546 _swigt__p_wxPyTimer,
29547 _swigt__p_wxDateSpan,
29548 0
29549 };
29550
29551
29552 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29553
29554 static swig_const_info swig_const_table[] = {
29555 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
29556 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
29557 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
29558 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
29559 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
29560 {0, 0, 0, 0.0, 0, 0}};
29561
29562 #ifdef __cplusplus
29563 }
29564 #endif
29565
29566 #ifdef __cplusplus
29567 extern "C"
29568 #endif
29569 SWIGEXPORT(void) SWIG_init(void) {
29570 static PyObject *SWIG_globals = 0;
29571 static int typeinit = 0;
29572 PyObject *m, *d;
29573 int i;
29574 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29575 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29576 d = PyModule_GetDict(m);
29577
29578 if (!typeinit) {
29579 for (i = 0; swig_types_initial[i]; i++) {
29580 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29581 }
29582 typeinit = 1;
29583 }
29584 SWIG_InstallConstants(d,swig_const_table);
29585
29586 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT));
29587 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT));
29588 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT));
29589 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT));
29590 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
29591 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE));
29592 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
29593 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
29594 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT));
29595 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
29596 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND));
29597 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP));
29598 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
29599 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
29600 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU));
29601 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW));
29602 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
29603 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT));
29604 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
29605 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
29606 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
29607 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
29608 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
29609 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
29610 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
29611 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE));
29612 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE));
29613 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
29614 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW));
29615 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
29616 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT));
29617 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
29618 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
29619 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
29620 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
29621 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
29622 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
29623 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT));
29624 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT));
29625 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK));
29626 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX));
29627 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
29628 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
29629 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
29630 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
29631 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR));
29632 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX));
29633 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS));
29634 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X));
29635 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y));
29636 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X));
29637 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y));
29638 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X));
29639 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y));
29640 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X));
29641 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y));
29642 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X));
29643 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y));
29644 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X));
29645 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
29646 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X));
29647 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X));
29648 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y));
29649 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X));
29650 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y));
29651 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X));
29652 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y));
29653 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X));
29654 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y));
29655 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X));
29656 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y));
29657 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X));
29658 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y));
29659 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y));
29660 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X));
29661 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X));
29662 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
29663 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y));
29664 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y));
29665 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y));
29666 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT));
29667 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
29668 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS));
29669 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS));
29670 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
29671 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
29672 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE));
29673 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY));
29674 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA));
29675 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL));
29676 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP));
29677 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29678 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29679 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29680 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29681 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF));
29682 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT));
29683 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS));
29684 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT));
29685 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
29686 PyDict_SetItemString(d,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError));
29687 PyDict_SetItemString(d,"LOG_Error", SWIG_FromInt((int)wxLOG_Error));
29688 PyDict_SetItemString(d,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning));
29689 PyDict_SetItemString(d,"LOG_Message", SWIG_FromInt((int)wxLOG_Message));
29690 PyDict_SetItemString(d,"LOG_Status", SWIG_FromInt((int)wxLOG_Status));
29691 PyDict_SetItemString(d,"LOG_Info", SWIG_FromInt((int)wxLOG_Info));
29692 PyDict_SetItemString(d,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug));
29693 PyDict_SetItemString(d,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace));
29694 PyDict_SetItemString(d,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress));
29695 PyDict_SetItemString(d,"LOG_User", SWIG_FromInt((int)wxLOG_User));
29696 PyDict_SetItemString(d,"LOG_Max", SWIG_FromInt((int)wxLOG_Max));
29697 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29698 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29699 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29700 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29701 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29702 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29703 PyDict_SetItemString(d,"TraceMessages", SWIG_FromInt((int)0x0002));
29704 PyDict_SetItemString(d,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29705 PyDict_SetItemString(d,"TraceRefCount", SWIG_FromInt((int)0x0008));
29706 PyDict_SetItemString(d,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29707 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT));
29708 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT));
29709 PyDict_SetItemString(d,"KILL_OK", SWIG_FromInt((int)wxKILL_OK));
29710 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL));
29711 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED));
29712 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS));
29713 PyDict_SetItemString(d,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR));
29714 PyDict_SetItemString(d,"SIGNONE", SWIG_FromInt((int)wxSIGNONE));
29715 PyDict_SetItemString(d,"SIGHUP", SWIG_FromInt((int)wxSIGHUP));
29716 PyDict_SetItemString(d,"SIGINT", SWIG_FromInt((int)wxSIGINT));
29717 PyDict_SetItemString(d,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT));
29718 PyDict_SetItemString(d,"SIGILL", SWIG_FromInt((int)wxSIGILL));
29719 PyDict_SetItemString(d,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP));
29720 PyDict_SetItemString(d,"SIGABRT", SWIG_FromInt((int)wxSIGABRT));
29721 PyDict_SetItemString(d,"SIGIOT", SWIG_FromInt((int)wxSIGIOT));
29722 PyDict_SetItemString(d,"SIGEMT", SWIG_FromInt((int)wxSIGEMT));
29723 PyDict_SetItemString(d,"SIGFPE", SWIG_FromInt((int)wxSIGFPE));
29724 PyDict_SetItemString(d,"SIGKILL", SWIG_FromInt((int)wxSIGKILL));
29725 PyDict_SetItemString(d,"SIGBUS", SWIG_FromInt((int)wxSIGBUS));
29726 PyDict_SetItemString(d,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV));
29727 PyDict_SetItemString(d,"SIGSYS", SWIG_FromInt((int)wxSIGSYS));
29728 PyDict_SetItemString(d,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE));
29729 PyDict_SetItemString(d,"SIGALRM", SWIG_FromInt((int)wxSIGALRM));
29730 PyDict_SetItemString(d,"SIGTERM", SWIG_FromInt((int)wxSIGTERM));
29731 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
29732 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC));
29733 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC));
29734 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE));
29735 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
29736
29737 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29738
29739 PyDict_SetItemString(d,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1));
29740 PyDict_SetItemString(d,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2));
29741 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY));
29742 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1));
29743 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2));
29744 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3));
29745 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4));
29746 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
29747 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
29748 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
29749 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
29750 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC));
29751 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC));
29752 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP));
29753 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD));
29754 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE));
29755 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE));
29756 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME));
29757 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL));
29758 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
29759 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
29760 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
29761 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
29762 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
29763 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
29764 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
29765 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
29766 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
29767 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
29768 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
29769 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
29770 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
29771 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
29772 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
29773 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
29774 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
29775 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
29776 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
29777 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
29778 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
29779 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
29780 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
29781 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
29782 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
29783 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
29784 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
29785 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
29786 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
29787 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
29788 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
29789 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
29790 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
29791 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
29792 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
29793 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
29794 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
29795 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
29796 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
29797
29798 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29799
29800 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
29801 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
29802 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
29803 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
29804 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown));
29805 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String));
29806 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean));
29807 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer));
29808 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float));
29809 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
29810 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
29811 PyDict_SetItemString(d,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local));
29812 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12));
29813 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11));
29814 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10));
29815 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9));
29816 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8));
29817 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7));
29818 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6));
29819 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5));
29820 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4));
29821 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3));
29822 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2));
29823 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1));
29824 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0));
29825 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1));
29826 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2));
29827 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3));
29828 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4));
29829 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5));
29830 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6));
29831 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7));
29832 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8));
29833 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9));
29834 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10));
29835 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11));
29836 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12));
29837 PyDict_SetItemString(d,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET));
29838 PyDict_SetItemString(d,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST));
29839 PyDict_SetItemString(d,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET));
29840 PyDict_SetItemString(d,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST));
29841 PyDict_SetItemString(d,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET));
29842 PyDict_SetItemString(d,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST));
29843 PyDict_SetItemString(d,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK));
29844 PyDict_SetItemString(d,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD));
29845 PyDict_SetItemString(d,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST));
29846 PyDict_SetItemString(d,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT));
29847 PyDict_SetItemString(d,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST));
29848 PyDict_SetItemString(d,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT));
29849 PyDict_SetItemString(d,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST));
29850 PyDict_SetItemString(d,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT));
29851 PyDict_SetItemString(d,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST));
29852 PyDict_SetItemString(d,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT));
29853 PyDict_SetItemString(d,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST));
29854 PyDict_SetItemString(d,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT));
29855 PyDict_SetItemString(d,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST));
29856 PyDict_SetItemString(d,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST));
29857 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT));
29858 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST));
29859 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST));
29860 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST));
29861 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST));
29862 PyDict_SetItemString(d,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC));
29863 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian));
29864 PyDict_SetItemString(d,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian));
29865 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown));
29866 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard));
29867 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska));
29868 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania));
29869 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria));
29870 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen));
29871 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
29872 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
29873 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
29874 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria));
29875 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium));
29876 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria));
29877 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1));
29878 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2));
29879 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3));
29880 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada));
29881 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China));
29882 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1));
29883 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2));
29884 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia));
29885 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark));
29886 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt));
29887 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia));
29888 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland));
29889 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France));
29890 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace));
29891 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine));
29892 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg));
29893 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany));
29894 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic));
29895 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia));
29896 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant));
29897 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain));
29898 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece));
29899 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary));
29900 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland));
29901 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy));
29902 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan));
29903 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1));
29904 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2));
29905 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3));
29906 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia));
29907 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania));
29908 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg));
29909 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands));
29910 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
29911 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
29912 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
29913 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
29914 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway));
29915 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland));
29916 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal));
29917 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania));
29918 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia));
29919 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland));
29920 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain));
29921 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden));
29922 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland));
29923 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
29924 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
29925 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey));
29926 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA));
29927 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales));
29928 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia));
29929 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown));
29930 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default));
29931 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start));
29932 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC));
29933 PyDict_SetItemString(d,"DateTime_France", SWIG_FromInt((int)wxDateTime::France));
29934 PyDict_SetItemString(d,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany));
29935 PyDict_SetItemString(d,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK));
29936 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End));
29937 PyDict_SetItemString(d,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia));
29938 PyDict_SetItemString(d,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA));
29939 PyDict_SetItemString(d,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan));
29940 PyDict_SetItemString(d,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb));
29941 PyDict_SetItemString(d,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar));
29942 PyDict_SetItemString(d,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr));
29943 PyDict_SetItemString(d,"DateTime_May", SWIG_FromInt((int)wxDateTime::May));
29944 PyDict_SetItemString(d,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun));
29945 PyDict_SetItemString(d,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul));
29946 PyDict_SetItemString(d,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug));
29947 PyDict_SetItemString(d,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep));
29948 PyDict_SetItemString(d,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct));
29949 PyDict_SetItemString(d,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov));
29950 PyDict_SetItemString(d,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec));
29951 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month));
29952 PyDict_SetItemString(d,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun));
29953 PyDict_SetItemString(d,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon));
29954 PyDict_SetItemString(d,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue));
29955 PyDict_SetItemString(d,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed));
29956 PyDict_SetItemString(d,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu));
29957 PyDict_SetItemString(d,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri));
29958 PyDict_SetItemString(d,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat));
29959 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay));
29960 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year));
29961 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full));
29962 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr));
29963 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First));
29964 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First));
29965 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First));
29966 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
29967 PyDict_SetItemString(d,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID));
29968 PyDict_SetItemString(d,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT));
29969 PyDict_SetItemString(d,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP));
29970 PyDict_SetItemString(d,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE));
29971 PyDict_SetItemString(d,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK));
29972 PyDict_SetItemString(d,"DF_DIF", SWIG_FromInt((int)wxDF_DIF));
29973 PyDict_SetItemString(d,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF));
29974 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT));
29975 PyDict_SetItemString(d,"DF_DIB", SWIG_FromInt((int)wxDF_DIB));
29976 PyDict_SetItemString(d,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE));
29977 PyDict_SetItemString(d,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA));
29978 PyDict_SetItemString(d,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF));
29979 PyDict_SetItemString(d,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE));
29980 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT));
29981 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE));
29982 PyDict_SetItemString(d,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME));
29983 PyDict_SetItemString(d,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE));
29984 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE));
29985 PyDict_SetItemString(d,"DF_HTML", SWIG_FromInt((int)wxDF_HTML));
29986 PyDict_SetItemString(d,"DF_MAX", SWIG_FromInt((int)wxDF_MAX));
29987 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
29988 PyDict_SetItemString(d,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get));
29989 PyDict_SetItemString(d,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set));
29990 PyDict_SetItemString(d,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both));
29991 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly));
29992 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove));
29993 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove));
29994 PyDict_SetItemString(d,"DragError", SWIG_FromInt((int)wxDragError));
29995 PyDict_SetItemString(d,"DragNone", SWIG_FromInt((int)wxDragNone));
29996 PyDict_SetItemString(d,"DragCopy", SWIG_FromInt((int)wxDragCopy));
29997 PyDict_SetItemString(d,"DragMove", SWIG_FromInt((int)wxDragMove));
29998 PyDict_SetItemString(d,"DragLink", SWIG_FromInt((int)wxDragLink));
29999 PyDict_SetItemString(d,"DragCancel", SWIG_FromInt((int)wxDragCancel));
30000
30001 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30002 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30003 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30004 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30005
30006 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
30007 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
30008 }
30009