]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
Script updates
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxLogChain swig_types[0]
234 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235 #define SWIGTYPE_p_wxFileHistory swig_types[2]
236 #define SWIGTYPE_p_wxLog swig_types[3]
237 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
238 #define SWIGTYPE_p_wxMenu swig_types[5]
239 #define SWIGTYPE_p_wxEvent swig_types[6]
240 #define SWIGTYPE_p_wxConfigBase swig_types[7]
241 #define SWIGTYPE_p_wxFileType swig_types[8]
242 #define SWIGTYPE_p_wxLogGui swig_types[9]
243 #define SWIGTYPE_p_wxFont swig_types[10]
244 #define SWIGTYPE_p_wxDataFormat swig_types[11]
245 #define SWIGTYPE_p_wxTimerEvent swig_types[12]
246 #define SWIGTYPE_p_wxCaret swig_types[13]
247 #define SWIGTYPE_p_int swig_types[14]
248 #define SWIGTYPE_p_wxSize swig_types[15]
249 #define SWIGTYPE_p_wxClipboard swig_types[16]
250 #define SWIGTYPE_p_wxStopWatch swig_types[17]
251 #define SWIGTYPE_p_wxDC swig_types[18]
252 #define SWIGTYPE_p_wxClipboardLocker swig_types[19]
253 #define SWIGTYPE_p_wxIcon swig_types[20]
254 #define SWIGTYPE_p_wxLogStderr swig_types[21]
255 #define SWIGTYPE_p_wxLogTextCtrl swig_types[22]
256 #define SWIGTYPE_p_wxTextCtrl swig_types[23]
257 #define SWIGTYPE_p_wxBusyCursor swig_types[24]
258 #define SWIGTYPE_p_wxPyTextDataObject swig_types[25]
259 #define SWIGTYPE_p_wxBitmapDataObject swig_types[26]
260 #define SWIGTYPE_p_wxTextDataObject swig_types[27]
261 #define SWIGTYPE_p_wxDataObject swig_types[28]
262 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[29]
263 #define SWIGTYPE_p_wxFileDataObject swig_types[30]
264 #define SWIGTYPE_p_wxCustomDataObject swig_types[31]
265 #define SWIGTYPE_p_wxURLDataObject swig_types[32]
266 #define SWIGTYPE_p_wxMetafileDataObject swig_types[33]
267 #define SWIGTYPE_p_wxSound swig_types[34]
268 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
269 #define SWIGTYPE_p_wxLogWindow swig_types[36]
270 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
271 #define SWIGTYPE_p_wxArrayString swig_types[38]
272 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
273 #define SWIGTYPE_p_wxToolTip swig_types[40]
274 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
275 #define SWIGTYPE_p_wxFileConfig swig_types[42]
276 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
277 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
278 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
280 #define SWIGTYPE_p_wxRect swig_types[47]
281 #define SWIGTYPE_p_char swig_types[48]
282 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
283 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
284 #define SWIGTYPE_p_wxFrame swig_types[51]
285 #define SWIGTYPE_p_wxTimer swig_types[52]
286 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
287 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
288 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
289 #define SWIGTYPE_p_wxTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxJoystick swig_types[57]
291 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
292 #define SWIGTYPE_p_wxPoint swig_types[59]
293 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
294 #define SWIGTYPE_p_wxCursor swig_types[61]
295 #define SWIGTYPE_p_wxObject swig_types[62]
296 #define SWIGTYPE_p_wxOutputStream swig_types[63]
297 #define SWIGTYPE_p_wxDateTime swig_types[64]
298 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
299 #define SWIGTYPE_p_wxWindow swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyProcess swig_types[68]
302 #define SWIGTYPE_p_wxBitmap swig_types[69]
303 #define SWIGTYPE_p_wxConfig swig_types[70]
304 #define SWIGTYPE_p_wxChar swig_types[71]
305 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
306 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
307 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
310 #define SWIGTYPE_p_wxPyLog swig_types[77]
311 #define SWIGTYPE_p_wxLogNull swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxByte swig_types[80]
314 #define SWIGTYPE_p_wxConfigPathChanger swig_types[81]
315 #define SWIGTYPE_p_wxPyTimer swig_types[82]
316 #define SWIGTYPE_p_wxDateSpan swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _misc.so
324 ------------------------------------------------*/
325 #define SWIG_init init_misc
326
327 #define SWIG_name "_misc"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369 #include "wx/wxPython/pyistream.h"
370
371
372 static const wxString wxPyEmptyString(wxEmptyString);
373
374
375
376 SWIGSTATIC(int)
377 SWIG_PyObj_AsInt(PyObject *obj)
378 {
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
381 }
382
383 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
384 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
385 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
386
387 SWIGSTATIC(long)
388 SWIG_PyObj_AsLong(PyObject * obj)
389 {
390 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
391 }
392
393
394 SWIGSTATIC(bool)
395 SWIG_PyObj_AsBool(PyObject *obj)
396 {
397 return PyObject_IsTrue(obj) ? true : false;
398 }
399
400
401 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
402 PyObject* o2;
403 PyObject* o3;
404
405 if (!target) {
406 target = o;
407 } else if (target == Py_None) {
408 Py_DECREF(Py_None);
409 target = o;
410 } else {
411 if (!PyTuple_Check(target)) {
412 o2 = target;
413 target = PyTuple_New(1);
414 PyTuple_SetItem(target, 0, o2);
415 }
416 o3 = PyTuple_New(1);
417 PyTuple_SetItem(o3, 0, o);
418
419 o2 = target;
420 target = PySequence_Concat(o2, o3);
421 Py_DECREF(o2);
422 Py_DECREF(o3);
423 }
424 return target;
425 }
426
427
428 long wxGetFreeMemory()
429 { wxPyRaiseNotImplemented(); return 0; }
430
431
432 SWIGSTATIC(PyObject* )
433 SWIG_PyObj_FromUnsignedLong(unsigned long value)
434 {
435 return (value > (unsigned long)(LONG_MAX)) ?
436 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
437 }
438
439
440 bool wxGetKeyState(wxKeyCode key)
441 { wxPyRaiseNotImplemented(); return False; }
442
443
444 void wxWakeUpMainThread() {}
445
446
447 bool wxThread_IsMain() {
448 #ifdef WXP_WITH_THREAD
449 return wxThread::IsMain();
450 #else
451 return True;
452 #endif
453 }
454
455
456 int wxCaret_GetBlinkTime() {
457 return wxCaret::GetBlinkTime();
458 }
459
460 void wxCaret_SetBlinkTime(int milliseconds) {
461 wxCaret::SetBlinkTime(milliseconds);
462 }
463
464
465 #include <wx/snglinst.h>
466
467
468 #ifdef __WXMSW__
469 #include <wx/msw/private.h>
470 #include <wx/dynload.h>
471 #endif
472
473
474
475 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
476 {
477 #ifdef __WXMSW__
478
479 switch (method)
480 {
481 case 1:
482 // This one only partially works. Appears to be an undocumented
483 // "standard" convention that not all widgets adhear to. For
484 // example, for some widgets backgrounds or non-client areas may
485 // not be painted.
486 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
487 break;
488
489 case 2:
490 // This one works much better, except for on XP. On Win2k nearly
491 // all widgets and their children are captured correctly[**]. On
492 // XP with Themes activated most native widgets draw only
493 // partially, if at all. Without themes it works just like on
494 // Win2k.
495 //
496 // ** For example the radio buttons in a wxRadioBox are not its
497 // children by default, but you can capture it via the panel
498 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
499 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
500 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
501 PRF_ERASEBKGND | PRF_OWNED );
502 break;
503
504 case 3:
505 // This one is only defined in the latest SDK and is only
506 // available on XP. MSDN says it is similar to sending WM_PRINT
507 // so I expect that it will work similar to the above. Since it
508 // is avaialble only on XP, it can't be compiled like this and
509 // will have to be loaded dynamically.
510 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
511
512 // fall through
513
514 case 4:
515 // Use PrintWindow if available, or fallback to WM_PRINT
516 // otherwise. Unfortunately using PrintWindow is even worse than
517 // WM_PRINT. For most native widgets nothing is drawn to the dc
518 // at all, with or without Themes.
519 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
520 static bool s_triedToLoad = False;
521 static PrintWindow_t pfnPrintWindow = NULL;
522 if ( !s_triedToLoad )
523 {
524
525 s_triedToLoad = True;
526 wxDynamicLibrary dllUser32(_T("user32.dll"));
527 if ( dllUser32.IsLoaded() )
528 {
529 wxLogNull nolog; // Don't report errors here
530 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
531 }
532 }
533 if (pfnPrintWindow)
534 {
535 printf("Using PrintWindow\n");
536 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
537 }
538 else
539 {
540 printf("Using WM_PRINT\n");
541 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
542 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
543 }
544 }
545 #endif
546 }
547
548
549
550 #include <wx/tipdlg.h>
551
552
553 class wxPyTipProvider : public wxTipProvider {
554 public:
555 wxPyTipProvider(size_t currentTip)
556 : wxTipProvider(currentTip) {}
557
558 DEC_PYCALLBACK_STRING__pure(GetTip);
559 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
560 PYPRIVATE;
561 };
562
563 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
564 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
565
566
567 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
568
569
570 SWIGSTATIC(unsigned int)
571 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
572 {
573 return numeric_cast(unsigned int,
574 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
575 }
576
577 wxString Log_TimeStamp(){
578 wxString msg;
579 wxLog::TimeStamp(&msg);
580 return msg;
581 }
582 void wxLog_Destroy(wxLog *self){ delete self; }
583
584 // A wxLog class that can be derived from in wxPython
585 class wxPyLog : public wxLog {
586 public:
587 wxPyLog() : wxLog() {}
588
589 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
590 bool found;
591 wxPyBeginBlockThreads();
592 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
593 PyObject* s = wx2PyString(szString);
594 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
595 Py_DECREF(s);
596 }
597 wxPyEndBlockThreads();
598 if (! found)
599 wxLog::DoLog(level, szString, t);
600 }
601
602 virtual void DoLogString(const wxChar *szString, time_t t) {
603 bool found;
604 wxPyBeginBlockThreads();
605 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
606 PyObject* s = wx2PyString(szString);
607 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
608 Py_DECREF(s);
609 }
610 wxPyEndBlockThreads();
611 if (! found)
612 wxLog::DoLogString(szString, t);
613 }
614
615 PYPRIVATE;
616 };
617
618
619
620
621 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
622
623
624 #include <wx/joystick.h>
625
626
627 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
628 // A C++ stub class for wxJoystick for platforms that don't have it.
629 class wxJoystick : public wxObject {
630 public:
631 wxJoystick(int joystick = wxJOYSTICK1) {
632 wxPyBeginBlockThreads();
633 PyErr_SetString(PyExc_NotImplementedError,
634 "wxJoystick is not available on this platform.");
635 wxPyEndBlockThreads();
636 }
637 wxPoint GetPosition() { return wxPoint(-1,-1); }
638 int GetZPosition() { return -1; }
639 int GetButtonState() { return -1; }
640 int GetPOVPosition() { return -1; }
641 int GetPOVCTSPosition() { return -1; }
642 int GetRudderPosition() { return -1; }
643 int GetUPosition() { return -1; }
644 int GetVPosition() { return -1; }
645 int GetMovementThreshold() { return -1; }
646 void SetMovementThreshold(int threshold) {}
647
648 bool IsOk(void) { return False; }
649 int GetNumberJoysticks() { return -1; }
650 int GetManufacturerId() { return -1; }
651 int GetProductId() { return -1; }
652 wxString GetProductName() { return ""; }
653 int GetXMin() { return -1; }
654 int GetYMin() { return -1; }
655 int GetZMin() { return -1; }
656 int GetXMax() { return -1; }
657 int GetYMax() { return -1; }
658 int GetZMax() { return -1; }
659 int GetNumberButtons() { return -1; }
660 int GetNumberAxes() { return -1; }
661 int GetMaxButtons() { return -1; }
662 int GetMaxAxes() { return -1; }
663 int GetPollingMin() { return -1; }
664 int GetPollingMax() { return -1; }
665 int GetRudderMin() { return -1; }
666 int GetRudderMax() { return -1; }
667 int GetUMin() { return -1; }
668 int GetUMax() { return -1; }
669 int GetVMin() { return -1; }
670 int GetVMax() { return -1; }
671
672 bool HasRudder() { return False; }
673 bool HasZ() { return False; }
674 bool HasU() { return False; }
675 bool HasV() { return False; }
676 bool HasPOV() { return False; }
677 bool HasPOV4Dir() { return False; }
678 bool HasPOVCTS() { return False; }
679
680 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
681 bool ReleaseCapture() { return False; }
682 };
683 #endif
684
685
686 #include <wx/sound.h>
687
688
689 #if !wxUSE_SOUND
690 // A C++ stub class for wxWave for platforms that don't have it.
691 class wxSound : public wxObject
692 {
693 public:
694 wxSound() {
695 wxPyBeginBlockThreads();
696 PyErr_SetString(PyExc_NotImplementedError,
697 "wxSound is not available on this platform.");
698 wxPyEndBlockThreads();
699 }
700 wxSound(const wxString&, bool) {
701 wxPyBeginBlockThreads();
702 PyErr_SetString(PyExc_NotImplementedError,
703 "wxSound is not available on this platform.");
704 wxPyEndBlockThreads();
705 }
706 wxSound(int, const wxByte*) {
707 wxPyBeginBlockThreads();
708 PyErr_SetString(PyExc_NotImplementedError,
709 "wxSound is not available on this platform.");
710 wxPyEndBlockThreads();
711 }
712
713 ~wxSound() {};
714
715 bool Create(const wxString&, bool) { return false; }
716 bool Create(int, const wxByte*) { return false; };
717 bool IsOk() { return false; };
718 bool Play(unsigned) const { return false; }
719 static bool Play(const wxString&, unsigned) { return false; }
720 static void Stop() {}
721 };
722
723 #endif
724
725
726 #include <wx/mimetype.h>
727
728 PyObject *wxFileType_GetMimeType(wxFileType *self){
729 wxString str;
730 if (self->GetMimeType(&str))
731 return wx2PyString(str);
732 else
733 RETURN_NONE();
734 }
735 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
736 wxArrayString arr;
737 if (self->GetMimeTypes(arr))
738 return wxArrayString2PyList_helper(arr);
739 else
740 RETURN_NONE();
741 }
742 PyObject *wxFileType_GetExtensions(wxFileType *self){
743 wxArrayString arr;
744 if (self->GetExtensions(arr))
745 return wxArrayString2PyList_helper(arr);
746 else
747 RETURN_NONE();
748 }
749 wxIcon *wxFileType_GetIcon(wxFileType *self){
750 wxIconLocation loc;
751 if (self->GetIcon(&loc))
752 return new wxIcon(loc);
753 else
754 return NULL;
755 }
756 PyObject *wxFileType_GetIconInfo(wxFileType *self){
757 wxIconLocation loc;
758 if (self->GetIcon(&loc)) {
759 wxString iconFile = loc.GetFileName();
760 int iconIndex = -1;
761
762
763
764 // Make a tuple and put the values in it
765 wxPyBeginBlockThreads();
766 PyObject* tuple = PyTuple_New(3);
767 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
768 wxT("wxIcon"), True));
769 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
770 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
771 wxPyEndBlockThreads();
772 return tuple;
773 }
774 else
775 RETURN_NONE();
776 }
777 PyObject *wxFileType_GetDescription(wxFileType *self){
778 wxString str;
779 if (self->GetDescription(&str))
780 return wx2PyString(str);
781 else
782 RETURN_NONE();
783 }
784 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
785 wxString str;
786 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
787 return wx2PyString(str);
788 else
789 RETURN_NONE();
790 }
791 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
792 wxString str;
793 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
794 return wx2PyString(str);
795 else
796 RETURN_NONE();
797 }
798 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
799 wxArrayString verbs;
800 wxArrayString commands;
801 if (self->GetAllCommands(&verbs, &commands,
802 wxFileType::MessageParameters(filename, mimetype))) {
803 wxPyBeginBlockThreads();
804 PyObject* tuple = PyTuple_New(2);
805 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
806 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
807 wxPyEndBlockThreads();
808 return tuple;
809 }
810 else
811 RETURN_NONE();
812 }
813 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
814 return wxFileType::ExpandCommand(command,
815 wxFileType::MessageParameters(filename, mimetype));
816 }
817 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
818 wxArrayString arr;
819 self->EnumAllFileTypes(arr);
820 return wxArrayString2PyList_helper(arr);
821 }
822
823 #include <wx/artprov.h>
824
825 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
826 static const wxString wxPyART_MENU(wxART_MENU);
827 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
828 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
829 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
830 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
831 static const wxString wxPyART_OTHER(wxART_OTHER);
832 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
833 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
834 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
835 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
836 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
837 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
838 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
839 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
840 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
841 static const wxString wxPyART_GO_UP(wxART_GO_UP);
842 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
843 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
844 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
845 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
846 static const wxString wxPyART_PRINT(wxART_PRINT);
847 static const wxString wxPyART_HELP(wxART_HELP);
848 static const wxString wxPyART_TIP(wxART_TIP);
849 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
850 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
851 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
852 static const wxString wxPyART_FOLDER(wxART_FOLDER);
853 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
854 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
855 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
856 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
857 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
858 static const wxString wxPyART_ERROR(wxART_ERROR);
859 static const wxString wxPyART_QUESTION(wxART_QUESTION);
860 static const wxString wxPyART_WARNING(wxART_WARNING);
861 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
862 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
863 // Python aware wxArtProvider
864 class wxPyArtProvider : public wxArtProvider {
865 public:
866
867 virtual wxBitmap CreateBitmap(const wxArtID& id,
868 const wxArtClient& client,
869 const wxSize& size) {
870 wxBitmap rval = wxNullBitmap;
871 wxPyBeginBlockThreads();
872 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
873 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
874 PyObject* ro;
875 wxBitmap* ptr;
876 PyObject* s1, *s2;
877 s1 = wx2PyString(id);
878 s2 = wx2PyString(client);
879 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
880 Py_DECREF(so);
881 Py_DECREF(s1);
882 Py_DECREF(s2);
883 if (ro) {
884 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
885 rval = *ptr;
886 Py_DECREF(ro);
887 }
888 }
889 wxPyEndBlockThreads();
890 return rval;
891 }
892
893 PYPRIVATE;
894 };
895
896 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
897
898
899
900 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
901 PyObject* ret = PyTuple_New(3);
902 if (ret) {
903 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
904 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
905 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
906 }
907 return ret;
908 }
909
910 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
911 bool cont;
912 long index = 0;
913 wxString value;
914
915 cont = self->GetFirstGroup(value, index);
916 return __EnumerationHelper(cont, value, index);
917 }
918 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
919 bool cont;
920 wxString value;
921
922 cont = self->GetNextGroup(value, index);
923 return __EnumerationHelper(cont, value, index);
924 }
925 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
926 bool cont;
927 long index = 0;
928 wxString value;
929
930 cont = self->GetFirstEntry(value, index);
931 return __EnumerationHelper(cont, value, index);
932 }
933 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
934 bool cont;
935 wxString value;
936
937 cont = self->GetNextEntry(value, index);
938 return __EnumerationHelper(cont, value, index);
939 }
940 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
941 long rv;
942 self->Read(key, &rv, defaultVal);
943 return rv;
944 }
945
946 SWIGSTATIC(double)
947 SWIG_PyObj_AsDouble(PyObject *obj)
948 {
949 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
950 #if HAVE_LONG_LONG
951 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
952 #else
953 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
954 #endif
955 if (PyErr_Occurred()) {
956 PyErr_Clear();
957 PyErr_SetString(PyExc_TypeError, "a double is expected");
958 }
959 }
960
961 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
962 double rv;
963 self->Read(key, &rv, defaultVal);
964 return rv;
965 }
966 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
967 bool rv;
968 self->Read(key, &rv, defaultVal);
969 return rv;
970 }
971
972 #include <wx/datetime.h>
973
974
975 static const wxString wxPyDateFormatStr(wxT("%c"));
976 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
977
978 #define LOCAL_TZ wxDateTime::Local
979
980
981 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
982
983 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
984 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
985 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
986 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
987 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
988 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self < *other) : False; }
989 bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){ return other ? (*self <= *other) : False; }
990 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){ return other ? (*self > *other) : True; }
991 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){ return other ? (*self >= *other) : True; }
992 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){ return other ? (*self == *other) : False; }
993 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){ return other ? (*self != *other) : True; }
994 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
995 const wxChar* rv;
996 const wxChar* _date = date;
997 rv = self->ParseRfc822Date(_date);
998 if (rv == NULL) return -1;
999 return rv - _date;
1000 }
1001 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1002 const wxChar* rv;
1003 const wxChar* _date = date;
1004 rv = self->ParseFormat(_date, format, dateDef);
1005 if (rv == NULL) return -1;
1006 return rv - _date;
1007 }
1008 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1009 const wxChar* rv;
1010 const wxChar* _datetime = datetime;
1011 rv = self->ParseDateTime(_datetime);
1012 if (rv == NULL) return -1;
1013 return rv - _datetime;
1014 }
1015 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1016 const wxChar* rv;
1017 const wxChar* _date = date;
1018 rv = self->ParseDate(_date);
1019 if (rv == NULL) return -1;
1020 return rv - _date;
1021 }
1022 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1023 const wxChar* rv;
1024 const wxChar* _time = time;
1025 rv = self->ParseTime(_time);
1026 if (rv == NULL) return -1;
1027 return rv - _time;
1028 }
1029 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1030 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1031 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1032 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1033 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : False; }
1034 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : False; }
1035 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : True; }
1036 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : True; }
1037 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : False; }
1038 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : True; }
1039 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1040 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1041 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1042 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1043 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : False; }
1044 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : True; }
1045
1046 #include <wx/dataobj.h>
1047
1048 // Create a new class for wxPython to use
1049 class wxPyDataObjectSimple : public wxDataObjectSimple {
1050 public:
1051 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1052 : wxDataObjectSimple(format) {}
1053
1054 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1055 bool GetDataHere(void *buf) const;
1056 bool SetData(size_t len, const void *buf) const;
1057 PYPRIVATE;
1058 };
1059
1060 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1061
1062 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1063 // We need to get the data for this object and write it to buf. I think
1064 // the best way to do this for wxPython is to have the Python method
1065 // return either a string or None and then act appropriately with the
1066 // C++ version.
1067
1068 bool rval = False;
1069 wxPyBeginBlockThreads();
1070 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1071 PyObject* ro;
1072 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1073 if (ro) {
1074 rval = (ro != Py_None && PyString_Check(ro));
1075 if (rval)
1076 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1077 Py_DECREF(ro);
1078 }
1079 }
1080 wxPyEndBlockThreads();
1081 return rval;
1082 }
1083
1084 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1085 // For this one we simply need to make a string from buf and len
1086 // and send it to the Python method.
1087 bool rval = False;
1088 wxPyBeginBlockThreads();
1089 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1090 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1091 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1092 Py_DECREF(data);
1093 }
1094 wxPyEndBlockThreads();
1095 return rval;
1096 }
1097
1098 // Create a new class for wxPython to use
1099 class wxPyTextDataObject : public wxTextDataObject {
1100 public:
1101 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1102 : wxTextDataObject(text) {}
1103
1104 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1105 DEC_PYCALLBACK_STRING__const(GetText);
1106 DEC_PYCALLBACK__STRING(SetText);
1107 PYPRIVATE;
1108 };
1109
1110 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1111 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1112 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1113
1114
1115 // Create a new class for wxPython to use
1116 class wxPyBitmapDataObject : public wxBitmapDataObject {
1117 public:
1118 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1119 : wxBitmapDataObject(bitmap) {}
1120
1121 wxBitmap GetBitmap() const;
1122 void SetBitmap(const wxBitmap& bitmap);
1123 PYPRIVATE;
1124 };
1125
1126 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1127 wxBitmap* rval = &wxNullBitmap;
1128 wxPyBeginBlockThreads();
1129 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1130 PyObject* ro;
1131 wxBitmap* ptr;
1132 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1133 if (ro) {
1134 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1135 rval = ptr;
1136 Py_DECREF(ro);
1137 }
1138 }
1139 wxPyEndBlockThreads();
1140 return *rval;
1141 }
1142
1143 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1144 wxPyBeginBlockThreads();
1145 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1146 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1148 Py_DECREF(bo);
1149 }
1150 wxPyEndBlockThreads();
1151 }
1152
1153 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1154 if (PyString_Check(data)) {
1155 // for Python we just call SetData here since we always need it to make a copy.
1156 self->SetData(PyString_Size(data), PyString_AsString(data));
1157 }
1158 else {
1159 // raise a TypeError if not a string
1160 PyErr_SetString(PyExc_TypeError, "String expected.");
1161 }
1162 }
1163 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1164 if (PyString_Check(data)) {
1165 return self->SetData(PyString_Size(data), PyString_AsString(data));
1166 }
1167 else {
1168 // raise a TypeError if not a string
1169 PyErr_SetString(PyExc_TypeError, "String expected.");
1170 return False;
1171 }
1172 }
1173 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1174 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1175 }
1176
1177 class wxMetafileDataObject : public wxDataObjectSimple
1178 {
1179 public:
1180 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1181 };
1182
1183
1184 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1185
1186
1187 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1188 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1189 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1190 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1191 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1192
1193
1194 class wxPyTextDropTarget : public wxTextDropTarget {
1195 public:
1196 wxPyTextDropTarget() {}
1197
1198 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1199
1200 DEC_PYCALLBACK__(OnLeave);
1201 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1202 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1203 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1204 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1205
1206 PYPRIVATE;
1207 };
1208
1209 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1210 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1211 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1212 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1213 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1214 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1215
1216
1217
1218 class wxPyFileDropTarget : public wxFileDropTarget {
1219 public:
1220 wxPyFileDropTarget() {}
1221
1222 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1223
1224 DEC_PYCALLBACK__(OnLeave);
1225 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1226 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1227 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1228 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1229
1230 PYPRIVATE;
1231 };
1232
1233 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1234 const wxArrayString& filenames) {
1235 bool rval = False;
1236 wxPyBeginBlockThreads();
1237 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1238 PyObject* list = wxArrayString2PyList_helper(filenames);
1239 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1240 Py_DECREF(list);
1241 }
1242 wxPyEndBlockThreads();
1243 return rval;
1244 }
1245
1246
1247
1248 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1249 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1250 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1251 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1252 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1253
1254
1255
1256
1257 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1258 #ifdef __cplusplus
1259 extern "C" {
1260 #endif
1261 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject *resultobj;
1263 int arg1 ;
1264 wxColour result;
1265 PyObject * obj0 = 0 ;
1266 char *kwnames[] = {
1267 (char *) "index", NULL
1268 };
1269
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1271 {
1272 arg1 = (wxSystemColour) SWIG_PyObj_AsInt(obj0);
1273 if (PyErr_Occurred()) SWIG_fail;
1274 }
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 }
1282 {
1283 wxColour * resultptr;
1284 resultptr = new wxColour((wxColour &) result);
1285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1286 }
1287 return resultobj;
1288 fail:
1289 return NULL;
1290 }
1291
1292
1293 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1294 PyObject *resultobj;
1295 int arg1 ;
1296 wxFont result;
1297 PyObject * obj0 = 0 ;
1298 char *kwnames[] = {
1299 (char *) "index", NULL
1300 };
1301
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1303 {
1304 arg1 = (wxSystemFont) SWIG_PyObj_AsInt(obj0);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 {
1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
1309 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1310
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 {
1315 wxFont * resultptr;
1316 resultptr = new wxFont((wxFont &) result);
1317 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1318 }
1319 return resultobj;
1320 fail:
1321 return NULL;
1322 }
1323
1324
1325 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 int arg1 ;
1328 int result;
1329 PyObject * obj0 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "index", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1335 {
1336 arg1 = (wxSystemMetric) SWIG_PyObj_AsInt(obj0);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 }
1339 {
1340 PyThreadState* __tstate = wxPyBeginAllowThreads();
1341 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1342
1343 wxPyEndAllowThreads(__tstate);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 resultobj = SWIG_PyObj_FromInt((int)result);
1347 return resultobj;
1348 fail:
1349 return NULL;
1350 }
1351
1352
1353 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 int arg1 ;
1356 bool result;
1357 PyObject * obj0 = 0 ;
1358 char *kwnames[] = {
1359 (char *) "index", NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1363 {
1364 arg1 = (wxSystemFeature) SWIG_PyObj_AsInt(obj0);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1375 return resultobj;
1376 fail:
1377 return NULL;
1378 }
1379
1380
1381 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 int result;
1384 char *kwnames[] = {
1385 NULL
1386 };
1387
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1389 {
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 result = (int)wxSystemSettings::GetScreenType();
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 }
1396 resultobj = SWIG_PyObj_FromInt((int)result);
1397 return resultobj;
1398 fail:
1399 return NULL;
1400 }
1401
1402
1403 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 int arg1 ;
1406 PyObject * obj0 = 0 ;
1407 char *kwnames[] = {
1408 (char *) "screen", NULL
1409 };
1410
1411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1412 {
1413 arg1 = (wxSystemScreenType) SWIG_PyObj_AsInt(obj0);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 {
1417 PyThreadState* __tstate = wxPyBeginAllowThreads();
1418 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1419
1420 wxPyEndAllowThreads(__tstate);
1421 if (PyErr_Occurred()) SWIG_fail;
1422 }
1423 Py_INCREF(Py_None); resultobj = Py_None;
1424 return resultobj;
1425 fail:
1426 return NULL;
1427 }
1428
1429
1430 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1431 PyObject *obj;
1432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1433 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1434 Py_INCREF(obj);
1435 return Py_BuildValue((char *)"");
1436 }
1437 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxSystemOptions *result;
1440 char *kwnames[] = {
1441 NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 result = (wxSystemOptions *)new wxSystemOptions();
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1453 return resultobj;
1454 fail:
1455 return NULL;
1456 }
1457
1458
1459 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxString *arg1 = 0 ;
1462 wxString *arg2 = 0 ;
1463 bool temp1 = False ;
1464 bool temp2 = False ;
1465 PyObject * obj0 = 0 ;
1466 PyObject * obj1 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "name",(char *) "value", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1472 {
1473 arg1 = wxString_in_helper(obj0);
1474 if (arg1 == NULL) SWIG_fail;
1475 temp1 = True;
1476 }
1477 {
1478 arg2 = wxString_in_helper(obj1);
1479 if (arg2 == NULL) SWIG_fail;
1480 temp2 = True;
1481 }
1482 {
1483 PyThreadState* __tstate = wxPyBeginAllowThreads();
1484 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1485
1486 wxPyEndAllowThreads(__tstate);
1487 if (PyErr_Occurred()) SWIG_fail;
1488 }
1489 Py_INCREF(Py_None); resultobj = Py_None;
1490 {
1491 if (temp1)
1492 delete arg1;
1493 }
1494 {
1495 if (temp2)
1496 delete arg2;
1497 }
1498 return resultobj;
1499 fail:
1500 {
1501 if (temp1)
1502 delete arg1;
1503 }
1504 {
1505 if (temp2)
1506 delete arg2;
1507 }
1508 return NULL;
1509 }
1510
1511
1512 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxString *arg1 = 0 ;
1515 int arg2 ;
1516 bool temp1 = False ;
1517 PyObject * obj0 = 0 ;
1518 PyObject * obj1 = 0 ;
1519 char *kwnames[] = {
1520 (char *) "name",(char *) "value", NULL
1521 };
1522
1523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1524 {
1525 arg1 = wxString_in_helper(obj0);
1526 if (arg1 == NULL) SWIG_fail;
1527 temp1 = True;
1528 }
1529 {
1530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 {
1542 if (temp1)
1543 delete arg1;
1544 }
1545 return resultobj;
1546 fail:
1547 {
1548 if (temp1)
1549 delete arg1;
1550 }
1551 return NULL;
1552 }
1553
1554
1555 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxString *arg1 = 0 ;
1558 wxString result;
1559 bool temp1 = False ;
1560 PyObject * obj0 = 0 ;
1561 char *kwnames[] = {
1562 (char *) "name", NULL
1563 };
1564
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1566 {
1567 arg1 = wxString_in_helper(obj0);
1568 if (arg1 == NULL) SWIG_fail;
1569 temp1 = True;
1570 }
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 {
1579 #if wxUSE_UNICODE
1580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1581 #else
1582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1583 #endif
1584 }
1585 {
1586 if (temp1)
1587 delete arg1;
1588 }
1589 return resultobj;
1590 fail:
1591 {
1592 if (temp1)
1593 delete arg1;
1594 }
1595 return NULL;
1596 }
1597
1598
1599 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1600 PyObject *resultobj;
1601 wxString *arg1 = 0 ;
1602 int result;
1603 bool temp1 = False ;
1604 PyObject * obj0 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "name", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1610 {
1611 arg1 = wxString_in_helper(obj0);
1612 if (arg1 == NULL) SWIG_fail;
1613 temp1 = True;
1614 }
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 resultobj = SWIG_PyObj_FromInt((int)result);
1623 {
1624 if (temp1)
1625 delete arg1;
1626 }
1627 return resultobj;
1628 fail:
1629 {
1630 if (temp1)
1631 delete arg1;
1632 }
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxString *arg1 = 0 ;
1640 bool result;
1641 bool temp1 = False ;
1642 PyObject * obj0 = 0 ;
1643 char *kwnames[] = {
1644 (char *) "name", NULL
1645 };
1646
1647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1648 {
1649 arg1 = wxString_in_helper(obj0);
1650 if (arg1 == NULL) SWIG_fail;
1651 temp1 = True;
1652 }
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1661 {
1662 if (temp1)
1663 delete arg1;
1664 }
1665 return resultobj;
1666 fail:
1667 {
1668 if (temp1)
1669 delete arg1;
1670 }
1671 return NULL;
1672 }
1673
1674
1675 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1676 PyObject *obj;
1677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1678 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1679 Py_INCREF(obj);
1680 return Py_BuildValue((char *)"");
1681 }
1682 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1683 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1684 return 1;
1685 }
1686
1687
1688 static PyObject *_wrap_FileSelectorPromptStr_get() {
1689 PyObject *pyobj;
1690
1691 {
1692 #if wxUSE_UNICODE
1693 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1694 #else
1695 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1696 #endif
1697 }
1698 return pyobj;
1699 }
1700
1701
1702 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1703 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1704 return 1;
1705 }
1706
1707
1708 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1709 PyObject *pyobj;
1710
1711 {
1712 #if wxUSE_UNICODE
1713 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1714 #else
1715 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1716 #endif
1717 }
1718 return pyobj;
1719 }
1720
1721
1722 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1723 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1724 return 1;
1725 }
1726
1727
1728 static PyObject *_wrap_DirSelectorPromptStr_get() {
1729 PyObject *pyobj;
1730
1731 {
1732 #if wxUSE_UNICODE
1733 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1734 #else
1735 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1736 #endif
1737 }
1738 return pyobj;
1739 }
1740
1741
1742 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 long result;
1745 char *kwnames[] = {
1746 NULL
1747 };
1748
1749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1750 {
1751 PyThreadState* __tstate = wxPyBeginAllowThreads();
1752 result = (long)wxNewId();
1753
1754 wxPyEndAllowThreads(__tstate);
1755 if (PyErr_Occurred()) SWIG_fail;
1756 }
1757 resultobj = SWIG_PyObj_FromLong((long)result);
1758 return resultobj;
1759 fail:
1760 return NULL;
1761 }
1762
1763
1764 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 long arg1 ;
1767 PyObject * obj0 = 0 ;
1768 char *kwnames[] = {
1769 (char *) "id", NULL
1770 };
1771
1772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1773 {
1774 arg1 = (long) SWIG_PyObj_AsLong(obj0);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 }
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 wxRegisterId(arg1);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 long result;
1794 char *kwnames[] = {
1795 NULL
1796 };
1797
1798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 result = (long)wxGetCurrentId();
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 resultobj = SWIG_PyObj_FromLong((long)result);
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 char *kwnames[] = {
1816 NULL
1817 };
1818
1819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 wxBell();
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 Py_INCREF(Py_None); resultobj = Py_None;
1828 return resultobj;
1829 fail:
1830 return NULL;
1831 }
1832
1833
1834 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 char *kwnames[] = {
1837 NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 wxEndBusyCursor();
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 Py_INCREF(Py_None); resultobj = Py_None;
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 bool arg1 = (bool) True ;
1858 long result;
1859 PyObject * obj0 = 0 ;
1860 char *kwnames[] = {
1861 (char *) "resetTimer", NULL
1862 };
1863
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1865 if (obj0) {
1866 {
1867 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
1870 }
1871 {
1872 PyThreadState* __tstate = wxPyBeginAllowThreads();
1873 result = (long)wxGetElapsedTime(arg1);
1874
1875 wxPyEndAllowThreads(__tstate);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 resultobj = SWIG_PyObj_FromLong((long)result);
1879 return resultobj;
1880 fail:
1881 return NULL;
1882 }
1883
1884
1885 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 int *arg1 = (int *) 0 ;
1888 int *arg2 = (int *) 0 ;
1889 int temp1 ;
1890 int temp2 ;
1891 char *kwnames[] = {
1892 NULL
1893 };
1894
1895 arg1 = &temp1;
1896 arg2 = &temp2;
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 wxGetMousePosition(arg1,arg2);
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
1905 Py_INCREF(Py_None); resultobj = Py_None;
1906 {
1907 PyObject *o = PyInt_FromLong((long) (*arg1));
1908 resultobj = t_output_helper(resultobj,o);
1909 }
1910 {
1911 PyObject *o = PyInt_FromLong((long) (*arg2));
1912 resultobj = t_output_helper(resultobj,o);
1913 }
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 bool result;
1923 char *kwnames[] = {
1924 NULL
1925 };
1926
1927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1928 {
1929 PyThreadState* __tstate = wxPyBeginAllowThreads();
1930 result = (bool)wxIsBusy();
1931
1932 wxPyEndAllowThreads(__tstate);
1933 if (PyErr_Occurred()) SWIG_fail;
1934 }
1935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1936 return resultobj;
1937 fail:
1938 return NULL;
1939 }
1940
1941
1942 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject *resultobj;
1944 wxString result;
1945 char *kwnames[] = {
1946 NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = wxNow();
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 {
1958 #if wxUSE_UNICODE
1959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1960 #else
1961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1962 #endif
1963 }
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 wxString const &arg1_defvalue = wxPyEmptyString ;
1973 wxString *arg1 = (wxString *) &arg1_defvalue ;
1974 bool result;
1975 bool temp1 = False ;
1976 PyObject * obj0 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "command", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1982 if (obj0) {
1983 {
1984 arg1 = wxString_in_helper(obj0);
1985 if (arg1 == NULL) SWIG_fail;
1986 temp1 = True;
1987 }
1988 }
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (bool)wxShell((wxString const &)*arg1);
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1997 {
1998 if (temp1)
1999 delete arg1;
2000 }
2001 return resultobj;
2002 fail:
2003 {
2004 if (temp1)
2005 delete arg1;
2006 }
2007 return NULL;
2008 }
2009
2010
2011 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 char *kwnames[] = {
2014 NULL
2015 };
2016
2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 wxStartTimer();
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_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 int *arg1 = (int *) 0 ;
2035 int *arg2 = (int *) 0 ;
2036 int result;
2037 int temp1 ;
2038 int temp2 ;
2039 char *kwnames[] = {
2040 NULL
2041 };
2042
2043 arg1 = &temp1;
2044 arg2 = &temp2;
2045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 result = (int)wxGetOsVersion(arg1,arg2);
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
2053 resultobj = SWIG_PyObj_FromInt((int)result);
2054 {
2055 PyObject *o = PyInt_FromLong((long) (*arg1));
2056 resultobj = t_output_helper(resultobj,o);
2057 }
2058 {
2059 PyObject *o = PyInt_FromLong((long) (*arg2));
2060 resultobj = t_output_helper(resultobj,o);
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxString result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = wxGetOsDescription();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 {
2084 #if wxUSE_UNICODE
2085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2086 #else
2087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2088 #endif
2089 }
2090 return resultobj;
2091 fail:
2092 return NULL;
2093 }
2094
2095
2096 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 long result;
2099 char *kwnames[] = {
2100 NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2104 {
2105 PyThreadState* __tstate = wxPyBeginAllowThreads();
2106 result = (long)wxGetFreeMemory();
2107
2108 wxPyEndAllowThreads(__tstate);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 resultobj = SWIG_PyObj_FromLong((long)result);
2112 return resultobj;
2113 fail:
2114 return NULL;
2115 }
2116
2117
2118 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 int arg1 ;
2121 bool result;
2122 PyObject * obj0 = 0 ;
2123 char *kwnames[] = {
2124 (char *) "wFlags", NULL
2125 };
2126
2127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2128 {
2129 arg1 = (wxShutdownFlags) SWIG_PyObj_AsInt(obj0);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2140 return resultobj;
2141 fail:
2142 return NULL;
2143 }
2144
2145
2146 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 int arg1 ;
2149 PyObject * obj0 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "secs", NULL
2152 };
2153
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2155 {
2156 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 wxSleep(arg1);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 Py_INCREF(Py_None); resultobj = Py_None;
2167 return resultobj;
2168 fail:
2169 return NULL;
2170 }
2171
2172
2173 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2174 PyObject *resultobj;
2175 unsigned long arg1 ;
2176 PyObject * obj0 = 0 ;
2177 char *kwnames[] = {
2178 (char *) "milliseconds", NULL
2179 };
2180
2181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2182 {
2183 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
2184 if (PyErr_Occurred()) SWIG_fail;
2185 }
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 wxUsleep(arg1);
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 Py_INCREF(Py_None); resultobj = Py_None;
2194 return resultobj;
2195 fail:
2196 return NULL;
2197 }
2198
2199
2200 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2201 PyObject *resultobj;
2202 bool arg1 ;
2203 PyObject * obj0 = 0 ;
2204 char *kwnames[] = {
2205 (char *) "enable", NULL
2206 };
2207
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2209 {
2210 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 wxEnableTopLevelWindows(arg1);
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 Py_INCREF(Py_None); resultobj = Py_None;
2221 return resultobj;
2222 fail:
2223 return NULL;
2224 }
2225
2226
2227 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2228 PyObject *resultobj;
2229 wxString *arg1 = 0 ;
2230 wxString result;
2231 bool temp1 = False ;
2232 PyObject * obj0 = 0 ;
2233 char *kwnames[] = {
2234 (char *) "in", NULL
2235 };
2236
2237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2238 {
2239 arg1 = wxString_in_helper(obj0);
2240 if (arg1 == NULL) SWIG_fail;
2241 temp1 = True;
2242 }
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = wxStripMenuCodes((wxString const &)*arg1);
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251 #if wxUSE_UNICODE
2252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2253 #else
2254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2255 #endif
2256 }
2257 {
2258 if (temp1)
2259 delete arg1;
2260 }
2261 return resultobj;
2262 fail:
2263 {
2264 if (temp1)
2265 delete arg1;
2266 }
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxString result;
2274 char *kwnames[] = {
2275 NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2279 {
2280 PyThreadState* __tstate = wxPyBeginAllowThreads();
2281 result = wxGetEmailAddress();
2282
2283 wxPyEndAllowThreads(__tstate);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 }
2286 {
2287 #if wxUSE_UNICODE
2288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2289 #else
2290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2291 #endif
2292 }
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxString result;
2302 char *kwnames[] = {
2303 NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 result = wxGetHostName();
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
2314 {
2315 #if wxUSE_UNICODE
2316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2317 #else
2318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2319 #endif
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxString result;
2330 char *kwnames[] = {
2331 NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = wxGetFullHostName();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 {
2343 #if wxUSE_UNICODE
2344 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2345 #else
2346 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2347 #endif
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxString result;
2358 char *kwnames[] = {
2359 NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2363 {
2364 PyThreadState* __tstate = wxPyBeginAllowThreads();
2365 result = wxGetUserId();
2366
2367 wxPyEndAllowThreads(__tstate);
2368 if (PyErr_Occurred()) SWIG_fail;
2369 }
2370 {
2371 #if wxUSE_UNICODE
2372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2373 #else
2374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2375 #endif
2376 }
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxString result;
2386 char *kwnames[] = {
2387 NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2391 {
2392 PyThreadState* __tstate = wxPyBeginAllowThreads();
2393 result = wxGetUserName();
2394
2395 wxPyEndAllowThreads(__tstate);
2396 if (PyErr_Occurred()) SWIG_fail;
2397 }
2398 {
2399 #if wxUSE_UNICODE
2400 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2401 #else
2402 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2403 #endif
2404 }
2405 return resultobj;
2406 fail:
2407 return NULL;
2408 }
2409
2410
2411 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2412 PyObject *resultobj;
2413 wxString result;
2414 char *kwnames[] = {
2415 NULL
2416 };
2417
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = wxGetHomeDir();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 {
2427 #if wxUSE_UNICODE
2428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2429 #else
2430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2431 #endif
2432 }
2433 return resultobj;
2434 fail:
2435 return NULL;
2436 }
2437
2438
2439 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2440 PyObject *resultobj;
2441 wxString const &arg1_defvalue = wxPyEmptyString ;
2442 wxString *arg1 = (wxString *) &arg1_defvalue ;
2443 wxString result;
2444 bool temp1 = False ;
2445 PyObject * obj0 = 0 ;
2446 char *kwnames[] = {
2447 (char *) "user", NULL
2448 };
2449
2450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2451 if (obj0) {
2452 {
2453 arg1 = wxString_in_helper(obj0);
2454 if (arg1 == NULL) SWIG_fail;
2455 temp1 = True;
2456 }
2457 }
2458 {
2459 PyThreadState* __tstate = wxPyBeginAllowThreads();
2460 result = wxGetUserHome((wxString const &)*arg1);
2461
2462 wxPyEndAllowThreads(__tstate);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 }
2465 {
2466 #if wxUSE_UNICODE
2467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2468 #else
2469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2470 #endif
2471 }
2472 {
2473 if (temp1)
2474 delete arg1;
2475 }
2476 return resultobj;
2477 fail:
2478 {
2479 if (temp1)
2480 delete arg1;
2481 }
2482 return NULL;
2483 }
2484
2485
2486 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2487 PyObject *resultobj;
2488 unsigned long result;
2489 char *kwnames[] = {
2490 NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 result = (unsigned long)wxGetProcessId();
2497
2498 wxPyEndAllowThreads(__tstate);
2499 if (PyErr_Occurred()) SWIG_fail;
2500 }
2501 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
2502 return resultobj;
2503 fail:
2504 return NULL;
2505 }
2506
2507
2508 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject *resultobj;
2510 char *kwnames[] = {
2511 NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 wxTrap();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2532 wxString *arg1 = (wxString *) &arg1_defvalue ;
2533 wxString const &arg2_defvalue = wxPyEmptyString ;
2534 wxString *arg2 = (wxString *) &arg2_defvalue ;
2535 wxString const &arg3_defvalue = wxPyEmptyString ;
2536 wxString *arg3 = (wxString *) &arg3_defvalue ;
2537 wxString const &arg4_defvalue = wxPyEmptyString ;
2538 wxString *arg4 = (wxString *) &arg4_defvalue ;
2539 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2540 wxString *arg5 = (wxString *) &arg5_defvalue ;
2541 int arg6 = (int) 0 ;
2542 wxWindow *arg7 = (wxWindow *) NULL ;
2543 int arg8 = (int) -1 ;
2544 int arg9 = (int) -1 ;
2545 wxString result;
2546 bool temp1 = False ;
2547 bool temp2 = False ;
2548 bool temp3 = False ;
2549 bool temp4 = False ;
2550 bool temp5 = False ;
2551 PyObject * obj0 = 0 ;
2552 PyObject * obj1 = 0 ;
2553 PyObject * obj2 = 0 ;
2554 PyObject * obj3 = 0 ;
2555 PyObject * obj4 = 0 ;
2556 PyObject * obj5 = 0 ;
2557 PyObject * obj6 = 0 ;
2558 PyObject * obj7 = 0 ;
2559 PyObject * obj8 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2565 if (obj0) {
2566 {
2567 arg1 = wxString_in_helper(obj0);
2568 if (arg1 == NULL) SWIG_fail;
2569 temp1 = True;
2570 }
2571 }
2572 if (obj1) {
2573 {
2574 arg2 = wxString_in_helper(obj1);
2575 if (arg2 == NULL) SWIG_fail;
2576 temp2 = True;
2577 }
2578 }
2579 if (obj2) {
2580 {
2581 arg3 = wxString_in_helper(obj2);
2582 if (arg3 == NULL) SWIG_fail;
2583 temp3 = True;
2584 }
2585 }
2586 if (obj3) {
2587 {
2588 arg4 = wxString_in_helper(obj3);
2589 if (arg4 == NULL) SWIG_fail;
2590 temp4 = True;
2591 }
2592 }
2593 if (obj4) {
2594 {
2595 arg5 = wxString_in_helper(obj4);
2596 if (arg5 == NULL) SWIG_fail;
2597 temp5 = True;
2598 }
2599 }
2600 if (obj5) {
2601 {
2602 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 }
2606 if (obj6) {
2607 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2608 }
2609 if (obj7) {
2610 {
2611 arg8 = (int) SWIG_PyObj_AsInt(obj7);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 }
2615 if (obj8) {
2616 {
2617 arg9 = (int) SWIG_PyObj_AsInt(obj8);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 }
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629 #if wxUSE_UNICODE
2630 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2631 #else
2632 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2633 #endif
2634 }
2635 {
2636 if (temp1)
2637 delete arg1;
2638 }
2639 {
2640 if (temp2)
2641 delete arg2;
2642 }
2643 {
2644 if (temp3)
2645 delete arg3;
2646 }
2647 {
2648 if (temp4)
2649 delete arg4;
2650 }
2651 {
2652 if (temp5)
2653 delete arg5;
2654 }
2655 return resultobj;
2656 fail:
2657 {
2658 if (temp1)
2659 delete arg1;
2660 }
2661 {
2662 if (temp2)
2663 delete arg2;
2664 }
2665 {
2666 if (temp3)
2667 delete arg3;
2668 }
2669 {
2670 if (temp4)
2671 delete arg4;
2672 }
2673 {
2674 if (temp5)
2675 delete arg5;
2676 }
2677 return NULL;
2678 }
2679
2680
2681 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2682 PyObject *resultobj;
2683 wxString *arg1 = 0 ;
2684 wxString *arg2 = 0 ;
2685 wxString const &arg3_defvalue = wxPyEmptyString ;
2686 wxString *arg3 = (wxString *) &arg3_defvalue ;
2687 wxWindow *arg4 = (wxWindow *) NULL ;
2688 wxString result;
2689 bool temp1 = False ;
2690 bool temp2 = False ;
2691 bool temp3 = False ;
2692 PyObject * obj0 = 0 ;
2693 PyObject * obj1 = 0 ;
2694 PyObject * obj2 = 0 ;
2695 PyObject * obj3 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2701 {
2702 arg1 = wxString_in_helper(obj0);
2703 if (arg1 == NULL) SWIG_fail;
2704 temp1 = True;
2705 }
2706 {
2707 arg2 = wxString_in_helper(obj1);
2708 if (arg2 == NULL) SWIG_fail;
2709 temp2 = True;
2710 }
2711 if (obj2) {
2712 {
2713 arg3 = wxString_in_helper(obj2);
2714 if (arg3 == NULL) SWIG_fail;
2715 temp3 = True;
2716 }
2717 }
2718 if (obj3) {
2719 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 }
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 {
2729 #if wxUSE_UNICODE
2730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2731 #else
2732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2733 #endif
2734 }
2735 {
2736 if (temp1)
2737 delete arg1;
2738 }
2739 {
2740 if (temp2)
2741 delete arg2;
2742 }
2743 {
2744 if (temp3)
2745 delete arg3;
2746 }
2747 return resultobj;
2748 fail:
2749 {
2750 if (temp1)
2751 delete arg1;
2752 }
2753 {
2754 if (temp2)
2755 delete arg2;
2756 }
2757 {
2758 if (temp3)
2759 delete arg3;
2760 }
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxString *arg1 = 0 ;
2768 wxString *arg2 = 0 ;
2769 wxString const &arg3_defvalue = wxPyEmptyString ;
2770 wxString *arg3 = (wxString *) &arg3_defvalue ;
2771 wxWindow *arg4 = (wxWindow *) NULL ;
2772 wxString result;
2773 bool temp1 = False ;
2774 bool temp2 = False ;
2775 bool temp3 = False ;
2776 PyObject * obj0 = 0 ;
2777 PyObject * obj1 = 0 ;
2778 PyObject * obj2 = 0 ;
2779 PyObject * obj3 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2785 {
2786 arg1 = wxString_in_helper(obj0);
2787 if (arg1 == NULL) SWIG_fail;
2788 temp1 = True;
2789 }
2790 {
2791 arg2 = wxString_in_helper(obj1);
2792 if (arg2 == NULL) SWIG_fail;
2793 temp2 = True;
2794 }
2795 if (obj2) {
2796 {
2797 arg3 = wxString_in_helper(obj2);
2798 if (arg3 == NULL) SWIG_fail;
2799 temp3 = True;
2800 }
2801 }
2802 if (obj3) {
2803 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2804 }
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813 #if wxUSE_UNICODE
2814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2815 #else
2816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2817 #endif
2818 }
2819 {
2820 if (temp1)
2821 delete arg1;
2822 }
2823 {
2824 if (temp2)
2825 delete arg2;
2826 }
2827 {
2828 if (temp3)
2829 delete arg3;
2830 }
2831 return resultobj;
2832 fail:
2833 {
2834 if (temp1)
2835 delete arg1;
2836 }
2837 {
2838 if (temp2)
2839 delete arg2;
2840 }
2841 {
2842 if (temp3)
2843 delete arg3;
2844 }
2845 return NULL;
2846 }
2847
2848
2849 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2852 wxString *arg1 = (wxString *) &arg1_defvalue ;
2853 wxString const &arg2_defvalue = wxPyEmptyString ;
2854 wxString *arg2 = (wxString *) &arg2_defvalue ;
2855 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2858 wxWindow *arg5 = (wxWindow *) NULL ;
2859 wxString result;
2860 bool temp1 = False ;
2861 bool temp2 = False ;
2862 wxPoint temp4 ;
2863 PyObject * obj0 = 0 ;
2864 PyObject * obj1 = 0 ;
2865 PyObject * obj2 = 0 ;
2866 PyObject * obj3 = 0 ;
2867 PyObject * obj4 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2873 if (obj0) {
2874 {
2875 arg1 = wxString_in_helper(obj0);
2876 if (arg1 == NULL) SWIG_fail;
2877 temp1 = True;
2878 }
2879 }
2880 if (obj1) {
2881 {
2882 arg2 = wxString_in_helper(obj1);
2883 if (arg2 == NULL) SWIG_fail;
2884 temp2 = True;
2885 }
2886 }
2887 if (obj2) {
2888 {
2889 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2890 if (PyErr_Occurred()) SWIG_fail;
2891 }
2892 }
2893 if (obj3) {
2894 {
2895 arg4 = &temp4;
2896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2897 }
2898 }
2899 if (obj4) {
2900 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2901 }
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) SWIG_fail;
2908 }
2909 {
2910 #if wxUSE_UNICODE
2911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2912 #else
2913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2914 #endif
2915 }
2916 {
2917 if (temp1)
2918 delete arg1;
2919 }
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (temp1)
2928 delete arg1;
2929 }
2930 {
2931 if (temp2)
2932 delete arg2;
2933 }
2934 return NULL;
2935 }
2936
2937
2938 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2939 PyObject *resultobj;
2940 wxString *arg1 = 0 ;
2941 wxString const &arg2_defvalue = wxPyEmptyString ;
2942 wxString *arg2 = (wxString *) &arg2_defvalue ;
2943 wxString const &arg3_defvalue = wxPyEmptyString ;
2944 wxString *arg3 = (wxString *) &arg3_defvalue ;
2945 wxWindow *arg4 = (wxWindow *) NULL ;
2946 int arg5 = (int) -1 ;
2947 int arg6 = (int) -1 ;
2948 bool arg7 = (bool) True ;
2949 wxString result;
2950 bool temp1 = False ;
2951 bool temp2 = False ;
2952 bool temp3 = False ;
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 PyObject * obj2 = 0 ;
2956 PyObject * obj3 = 0 ;
2957 PyObject * obj4 = 0 ;
2958 PyObject * obj5 = 0 ;
2959 PyObject * obj6 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2965 {
2966 arg1 = wxString_in_helper(obj0);
2967 if (arg1 == NULL) SWIG_fail;
2968 temp1 = True;
2969 }
2970 if (obj1) {
2971 {
2972 arg2 = wxString_in_helper(obj1);
2973 if (arg2 == NULL) SWIG_fail;
2974 temp2 = True;
2975 }
2976 }
2977 if (obj2) {
2978 {
2979 arg3 = wxString_in_helper(obj2);
2980 if (arg3 == NULL) SWIG_fail;
2981 temp3 = True;
2982 }
2983 }
2984 if (obj3) {
2985 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 }
2987 if (obj4) {
2988 {
2989 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 }
2993 if (obj5) {
2994 {
2995 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 }
2999 if (obj6) {
3000 {
3001 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
3007 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 {
3013 #if wxUSE_UNICODE
3014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3015 #else
3016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3017 #endif
3018 }
3019 {
3020 if (temp1)
3021 delete arg1;
3022 }
3023 {
3024 if (temp2)
3025 delete arg2;
3026 }
3027 {
3028 if (temp3)
3029 delete arg3;
3030 }
3031 return resultobj;
3032 fail:
3033 {
3034 if (temp1)
3035 delete arg1;
3036 }
3037 {
3038 if (temp2)
3039 delete arg2;
3040 }
3041 {
3042 if (temp3)
3043 delete arg3;
3044 }
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxString *arg1 = 0 ;
3052 wxString const &arg2_defvalue = wxPyEmptyString ;
3053 wxString *arg2 = (wxString *) &arg2_defvalue ;
3054 wxString const &arg3_defvalue = wxPyEmptyString ;
3055 wxString *arg3 = (wxString *) &arg3_defvalue ;
3056 wxWindow *arg4 = (wxWindow *) NULL ;
3057 wxString result;
3058 bool temp1 = False ;
3059 bool temp2 = False ;
3060 bool temp3 = False ;
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 PyObject * obj2 = 0 ;
3064 PyObject * obj3 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3070 {
3071 arg1 = wxString_in_helper(obj0);
3072 if (arg1 == NULL) SWIG_fail;
3073 temp1 = True;
3074 }
3075 if (obj1) {
3076 {
3077 arg2 = wxString_in_helper(obj1);
3078 if (arg2 == NULL) SWIG_fail;
3079 temp2 = True;
3080 }
3081 }
3082 if (obj2) {
3083 {
3084 arg3 = wxString_in_helper(obj2);
3085 if (arg3 == NULL) SWIG_fail;
3086 temp3 = True;
3087 }
3088 }
3089 if (obj3) {
3090 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 {
3100 #if wxUSE_UNICODE
3101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3102 #else
3103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3104 #endif
3105 }
3106 {
3107 if (temp1)
3108 delete arg1;
3109 }
3110 {
3111 if (temp2)
3112 delete arg2;
3113 }
3114 {
3115 if (temp3)
3116 delete arg3;
3117 }
3118 return resultobj;
3119 fail:
3120 {
3121 if (temp1)
3122 delete arg1;
3123 }
3124 {
3125 if (temp2)
3126 delete arg2;
3127 }
3128 {
3129 if (temp3)
3130 delete arg3;
3131 }
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxString *arg1 = 0 ;
3139 wxString *arg2 = 0 ;
3140 int arg3 ;
3141 wxString *arg4 = (wxString *) 0 ;
3142 wxWindow *arg5 = (wxWindow *) NULL ;
3143 int arg6 = (int) -1 ;
3144 int arg7 = (int) -1 ;
3145 bool arg8 = (bool) True ;
3146 int arg9 = (int) 150 ;
3147 int arg10 = (int) 200 ;
3148 wxString result;
3149 bool temp1 = False ;
3150 bool temp2 = False ;
3151 PyObject * obj0 = 0 ;
3152 PyObject * obj1 = 0 ;
3153 PyObject * obj2 = 0 ;
3154 PyObject * obj3 = 0 ;
3155 PyObject * obj4 = 0 ;
3156 PyObject * obj5 = 0 ;
3157 PyObject * obj6 = 0 ;
3158 PyObject * obj7 = 0 ;
3159 PyObject * obj8 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3165 {
3166 arg1 = wxString_in_helper(obj0);
3167 if (arg1 == NULL) SWIG_fail;
3168 temp1 = True;
3169 }
3170 {
3171 arg2 = wxString_in_helper(obj1);
3172 if (arg2 == NULL) SWIG_fail;
3173 temp2 = True;
3174 }
3175 {
3176 arg3 = PyList_Size(obj2);
3177 arg4 = wxString_LIST_helper(obj2);
3178 if (arg4 == NULL) SWIG_fail;
3179 }
3180 if (obj3) {
3181 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 }
3183 if (obj4) {
3184 {
3185 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 }
3189 if (obj5) {
3190 {
3191 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3192 if (PyErr_Occurred()) SWIG_fail;
3193 }
3194 }
3195 if (obj6) {
3196 {
3197 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 }
3201 if (obj7) {
3202 {
3203 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 }
3207 if (obj8) {
3208 {
3209 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3210 if (PyErr_Occurred()) SWIG_fail;
3211 }
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 #if wxUSE_UNICODE
3222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3223 #else
3224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3225 #endif
3226 }
3227 {
3228 if (temp1)
3229 delete arg1;
3230 }
3231 {
3232 if (temp2)
3233 delete arg2;
3234 }
3235 {
3236 if (arg4) delete [] arg4;
3237 }
3238 return resultobj;
3239 fail:
3240 {
3241 if (temp1)
3242 delete arg1;
3243 }
3244 {
3245 if (temp2)
3246 delete arg2;
3247 }
3248 {
3249 if (arg4) delete [] arg4;
3250 }
3251 return NULL;
3252 }
3253
3254
3255 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxString *arg1 = 0 ;
3258 wxString *arg2 = 0 ;
3259 int arg3 ;
3260 wxString *arg4 = (wxString *) 0 ;
3261 wxWindow *arg5 = (wxWindow *) NULL ;
3262 int arg6 = (int) -1 ;
3263 int arg7 = (int) -1 ;
3264 bool arg8 = (bool) True ;
3265 int arg9 = (int) 150 ;
3266 int arg10 = (int) 200 ;
3267 int result;
3268 bool temp1 = False ;
3269 bool temp2 = False ;
3270 PyObject * obj0 = 0 ;
3271 PyObject * obj1 = 0 ;
3272 PyObject * obj2 = 0 ;
3273 PyObject * obj3 = 0 ;
3274 PyObject * obj4 = 0 ;
3275 PyObject * obj5 = 0 ;
3276 PyObject * obj6 = 0 ;
3277 PyObject * obj7 = 0 ;
3278 PyObject * obj8 = 0 ;
3279 char *kwnames[] = {
3280 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3284 {
3285 arg1 = wxString_in_helper(obj0);
3286 if (arg1 == NULL) SWIG_fail;
3287 temp1 = True;
3288 }
3289 {
3290 arg2 = wxString_in_helper(obj1);
3291 if (arg2 == NULL) SWIG_fail;
3292 temp2 = True;
3293 }
3294 {
3295 arg3 = PyList_Size(obj2);
3296 arg4 = wxString_LIST_helper(obj2);
3297 if (arg4 == NULL) SWIG_fail;
3298 }
3299 if (obj3) {
3300 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 }
3302 if (obj4) {
3303 {
3304 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 }
3308 if (obj5) {
3309 {
3310 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 }
3314 if (obj6) {
3315 {
3316 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 }
3320 if (obj7) {
3321 {
3322 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 }
3326 if (obj8) {
3327 {
3328 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 resultobj = SWIG_PyObj_FromInt((int)result);
3340 {
3341 if (temp1)
3342 delete arg1;
3343 }
3344 {
3345 if (temp2)
3346 delete arg2;
3347 }
3348 {
3349 if (arg4) delete [] arg4;
3350 }
3351 return resultobj;
3352 fail:
3353 {
3354 if (temp1)
3355 delete arg1;
3356 }
3357 {
3358 if (temp2)
3359 delete arg2;
3360 }
3361 {
3362 if (arg4) delete [] arg4;
3363 }
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxString *arg1 = 0 ;
3371 wxString const &arg2_defvalue = wxPyEmptyString ;
3372 wxString *arg2 = (wxString *) &arg2_defvalue ;
3373 int arg3 = (int) wxOK|wxCENTRE ;
3374 wxWindow *arg4 = (wxWindow *) NULL ;
3375 int arg5 = (int) -1 ;
3376 int arg6 = (int) -1 ;
3377 int result;
3378 bool temp1 = False ;
3379 bool temp2 = False ;
3380 PyObject * obj0 = 0 ;
3381 PyObject * obj1 = 0 ;
3382 PyObject * obj2 = 0 ;
3383 PyObject * obj3 = 0 ;
3384 PyObject * obj4 = 0 ;
3385 PyObject * obj5 = 0 ;
3386 char *kwnames[] = {
3387 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3388 };
3389
3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3391 {
3392 arg1 = wxString_in_helper(obj0);
3393 if (arg1 == NULL) SWIG_fail;
3394 temp1 = True;
3395 }
3396 if (obj1) {
3397 {
3398 arg2 = wxString_in_helper(obj1);
3399 if (arg2 == NULL) SWIG_fail;
3400 temp2 = True;
3401 }
3402 }
3403 if (obj2) {
3404 {
3405 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 }
3409 if (obj3) {
3410 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 }
3412 if (obj4) {
3413 {
3414 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 }
3418 if (obj5) {
3419 {
3420 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 }
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 resultobj = SWIG_PyObj_FromInt((int)result);
3432 {
3433 if (temp1)
3434 delete arg1;
3435 }
3436 {
3437 if (temp2)
3438 delete arg2;
3439 }
3440 return resultobj;
3441 fail:
3442 {
3443 if (temp1)
3444 delete arg1;
3445 }
3446 {
3447 if (temp2)
3448 delete arg2;
3449 }
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxString *arg1 = 0 ;
3457 wxString *arg2 = 0 ;
3458 wxString *arg3 = 0 ;
3459 long arg4 ;
3460 long arg5 = (long) 0 ;
3461 long arg6 = (long) 100 ;
3462 wxWindow *arg7 = (wxWindow *) NULL ;
3463 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3464 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3465 long result;
3466 bool temp1 = False ;
3467 bool temp2 = False ;
3468 bool temp3 = False ;
3469 wxPoint temp8 ;
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 PyObject * obj2 = 0 ;
3473 PyObject * obj3 = 0 ;
3474 PyObject * obj4 = 0 ;
3475 PyObject * obj5 = 0 ;
3476 PyObject * obj6 = 0 ;
3477 PyObject * obj7 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3483 {
3484 arg1 = wxString_in_helper(obj0);
3485 if (arg1 == NULL) SWIG_fail;
3486 temp1 = True;
3487 }
3488 {
3489 arg2 = wxString_in_helper(obj1);
3490 if (arg2 == NULL) SWIG_fail;
3491 temp2 = True;
3492 }
3493 {
3494 arg3 = wxString_in_helper(obj2);
3495 if (arg3 == NULL) SWIG_fail;
3496 temp3 = True;
3497 }
3498 {
3499 arg4 = (long) SWIG_PyObj_AsLong(obj3);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 }
3502 if (obj4) {
3503 {
3504 arg5 = (long) SWIG_PyObj_AsLong(obj4);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 }
3508 if (obj5) {
3509 {
3510 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 }
3514 if (obj6) {
3515 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3516 }
3517 if (obj7) {
3518 {
3519 arg8 = &temp8;
3520 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3521 }
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 resultobj = SWIG_PyObj_FromLong((long)result);
3531 {
3532 if (temp1)
3533 delete arg1;
3534 }
3535 {
3536 if (temp2)
3537 delete arg2;
3538 }
3539 {
3540 if (temp3)
3541 delete arg3;
3542 }
3543 return resultobj;
3544 fail:
3545 {
3546 if (temp1)
3547 delete arg1;
3548 }
3549 {
3550 if (temp2)
3551 delete arg2;
3552 }
3553 {
3554 if (temp3)
3555 delete arg3;
3556 }
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 bool result;
3564 char *kwnames[] = {
3565 NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (bool)wxColourDisplay();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 int result;
3586 char *kwnames[] = {
3587 NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (int)wxDisplayDepth();
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 resultobj = SWIG_PyObj_FromInt((int)result);
3599 return resultobj;
3600 fail:
3601 return NULL;
3602 }
3603
3604
3605 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 int result;
3608 char *kwnames[] = {
3609 NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (int)wxGetDisplayDepth();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = SWIG_PyObj_FromInt((int)result);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 int *arg1 = (int *) 0 ;
3630 int *arg2 = (int *) 0 ;
3631 int temp1 ;
3632 int temp2 ;
3633 char *kwnames[] = {
3634 NULL
3635 };
3636
3637 arg1 = &temp1;
3638 arg2 = &temp2;
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 wxDisplaySize(arg1,arg2);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 {
3649 PyObject *o = PyInt_FromLong((long) (*arg1));
3650 resultobj = t_output_helper(resultobj,o);
3651 }
3652 {
3653 PyObject *o = PyInt_FromLong((long) (*arg2));
3654 resultobj = t_output_helper(resultobj,o);
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxSize result;
3665 char *kwnames[] = {
3666 NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = wxGetDisplaySize();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 wxSize * resultptr;
3679 resultptr = new wxSize((wxSize &) result);
3680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685 }
3686
3687
3688 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 int *arg1 = (int *) 0 ;
3691 int *arg2 = (int *) 0 ;
3692 int temp1 ;
3693 int temp2 ;
3694 char *kwnames[] = {
3695 NULL
3696 };
3697
3698 arg1 = &temp1;
3699 arg2 = &temp2;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3701 {
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 wxDisplaySizeMM(arg1,arg2);
3704
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 Py_INCREF(Py_None); resultobj = Py_None;
3709 {
3710 PyObject *o = PyInt_FromLong((long) (*arg1));
3711 resultobj = t_output_helper(resultobj,o);
3712 }
3713 {
3714 PyObject *o = PyInt_FromLong((long) (*arg2));
3715 resultobj = t_output_helper(resultobj,o);
3716 }
3717 return resultobj;
3718 fail:
3719 return NULL;
3720 }
3721
3722
3723 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj;
3725 wxSize result;
3726 char *kwnames[] = {
3727 NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = wxGetDisplaySizeMM();
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 wxSize * resultptr;
3740 resultptr = new wxSize((wxSize &) result);
3741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3742 }
3743 return resultobj;
3744 fail:
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 int *arg1 = (int *) 0 ;
3752 int *arg2 = (int *) 0 ;
3753 int *arg3 = (int *) 0 ;
3754 int *arg4 = (int *) 0 ;
3755 int temp1 ;
3756 int temp2 ;
3757 int temp3 ;
3758 int temp4 ;
3759 char *kwnames[] = {
3760 NULL
3761 };
3762
3763 arg1 = &temp1;
3764 arg2 = &temp2;
3765 arg3 = &temp3;
3766 arg4 = &temp4;
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 Py_INCREF(Py_None); resultobj = Py_None;
3776 {
3777 PyObject *o = PyInt_FromLong((long) (*arg1));
3778 resultobj = t_output_helper(resultobj,o);
3779 }
3780 {
3781 PyObject *o = PyInt_FromLong((long) (*arg2));
3782 resultobj = t_output_helper(resultobj,o);
3783 }
3784 {
3785 PyObject *o = PyInt_FromLong((long) (*arg3));
3786 resultobj = t_output_helper(resultobj,o);
3787 }
3788 {
3789 PyObject *o = PyInt_FromLong((long) (*arg4));
3790 resultobj = t_output_helper(resultobj,o);
3791 }
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3799 PyObject *resultobj;
3800 wxRect result;
3801 char *kwnames[] = {
3802 NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = wxGetClientDisplayRect();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 {
3814 wxRect * resultptr;
3815 resultptr = new wxRect((wxRect &) result);
3816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3817 }
3818 return resultobj;
3819 fail:
3820 return NULL;
3821 }
3822
3823
3824 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3825 PyObject *resultobj;
3826 wxCursor *arg1 = 0 ;
3827 PyObject * obj0 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "cursor", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3834 if (arg1 == NULL) {
3835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3836 }
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 wxSetCursor(*arg1);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3854 PyObject * obj0 = 0 ;
3855 char *kwnames[] = {
3856 (char *) "cursor", NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3860 if (obj0) {
3861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3862 }
3863 {
3864 PyThreadState* __tstate = wxPyBeginAllowThreads();
3865 wxBeginBusyCursor(arg1);
3866
3867 wxPyEndAllowThreads(__tstate);
3868 if (PyErr_Occurred()) SWIG_fail;
3869 }
3870 Py_INCREF(Py_None); resultobj = Py_None;
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxWindow *result;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (wxWindow *)wxGetActiveWindow();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 resultobj = wxPyMake_wxObject(result);
3894 }
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxPoint *arg1 = 0 ;
3904 wxWindow *result;
3905 wxPoint temp1 ;
3906 PyObject * obj0 = 0 ;
3907 char *kwnames[] = {
3908 (char *) "pt", NULL
3909 };
3910
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3912 {
3913 arg1 = &temp1;
3914 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3915 }
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3919
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 {
3924 resultobj = wxPyMake_wxObject(result);
3925 }
3926 return resultobj;
3927 fail:
3928 return NULL;
3929 }
3930
3931
3932 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxPoint *arg1 = 0 ;
3935 wxWindow *result;
3936 wxPoint temp1 ;
3937 PyObject * obj0 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "pt", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3943 {
3944 arg1 = &temp1;
3945 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3946 }
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3950
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = wxPyMake_wxObject(result);
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxWindow *arg1 = (wxWindow *) 0 ;
3966 wxWindow *result;
3967 PyObject * obj0 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "win", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = (wxWindow *)wxGetTopLevelParent(arg1);
3977
3978 wxPyEndAllowThreads(__tstate);
3979 if (PyErr_Occurred()) SWIG_fail;
3980 }
3981 {
3982 resultobj = wxPyMake_wxObject(result);
3983 }
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj;
3992 int arg1 ;
3993 bool result;
3994 PyObject * obj0 = 0 ;
3995 char *kwnames[] = {
3996 (char *) "key", NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4000 {
4001 arg1 = (wxKeyCode) SWIG_PyObj_AsInt(obj0);
4002 if (PyErr_Occurred()) SWIG_fail;
4003 }
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4012 return resultobj;
4013 fail:
4014 return NULL;
4015 }
4016
4017
4018 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4019 PyObject *resultobj;
4020 char *kwnames[] = {
4021 NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 wxWakeUpMainThread();
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 char *kwnames[] = {
4042 NULL
4043 };
4044
4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4046 {
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 wxMutexGuiEnter();
4049
4050 wxPyEndAllowThreads(__tstate);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 Py_INCREF(Py_None); resultobj = Py_None;
4054 return resultobj;
4055 fail:
4056 return NULL;
4057 }
4058
4059
4060 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4061 PyObject *resultobj;
4062 char *kwnames[] = {
4063 NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 wxMutexGuiLeave();
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 Py_INCREF(Py_None); resultobj = Py_None;
4075 return resultobj;
4076 fail:
4077 return NULL;
4078 }
4079
4080
4081 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject *resultobj;
4083 wxMutexGuiLocker *result;
4084 char *kwnames[] = {
4085 NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
4097 return resultobj;
4098 fail:
4099 return NULL;
4100 }
4101
4102
4103 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4106 PyObject * obj0 = 0 ;
4107 char *kwnames[] = {
4108 (char *) "self", NULL
4109 };
4110
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4113 {
4114 PyThreadState* __tstate = wxPyBeginAllowThreads();
4115 delete arg1;
4116
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 Py_INCREF(Py_None); resultobj = Py_None;
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4128 PyObject *obj;
4129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4130 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4131 Py_INCREF(obj);
4132 return Py_BuildValue((char *)"");
4133 }
4134 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj;
4136 bool result;
4137 char *kwnames[] = {
4138 NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (bool)wxThread_IsMain();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxString *arg1 = 0 ;
4159 wxToolTip *result;
4160 bool temp1 = False ;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "tip", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4167 {
4168 arg1 = wxString_in_helper(obj0);
4169 if (arg1 == NULL) SWIG_fail;
4170 temp1 = True;
4171 }
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 resultobj = wxPyMake_wxObject(result);
4181 }
4182 {
4183 if (temp1)
4184 delete arg1;
4185 }
4186 return resultobj;
4187 fail:
4188 {
4189 if (temp1)
4190 delete arg1;
4191 }
4192 return NULL;
4193 }
4194
4195
4196 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxToolTip *arg1 = (wxToolTip *) 0 ;
4199 wxString *arg2 = 0 ;
4200 bool temp2 = False ;
4201 PyObject * obj0 = 0 ;
4202 PyObject * obj1 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self",(char *) "tip", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 {
4210 arg2 = wxString_in_helper(obj1);
4211 if (arg2 == NULL) SWIG_fail;
4212 temp2 = True;
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 (arg1)->SetTip((wxString const &)*arg2);
4217
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 Py_INCREF(Py_None); resultobj = Py_None;
4222 {
4223 if (temp2)
4224 delete arg2;
4225 }
4226 return resultobj;
4227 fail:
4228 {
4229 if (temp2)
4230 delete arg2;
4231 }
4232 return NULL;
4233 }
4234
4235
4236 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj;
4238 wxToolTip *arg1 = (wxToolTip *) 0 ;
4239 wxString result;
4240 PyObject * obj0 = 0 ;
4241 char *kwnames[] = {
4242 (char *) "self", NULL
4243 };
4244
4245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 result = (arg1)->GetTip();
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 {
4255 #if wxUSE_UNICODE
4256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4257 #else
4258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4259 #endif
4260 }
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxToolTip *arg1 = (wxToolTip *) 0 ;
4270 wxWindow *result;
4271 PyObject * obj0 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (wxWindow *)(arg1)->GetWindow();
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 {
4286 resultobj = wxPyMake_wxObject(result);
4287 }
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 bool arg1 ;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "flag", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4303 {
4304 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 wxToolTip::Enable(arg1);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 Py_INCREF(Py_None); resultobj = Py_None;
4315 return resultobj;
4316 fail:
4317 return NULL;
4318 }
4319
4320
4321 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject *resultobj;
4323 long arg1 ;
4324 PyObject * obj0 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "milliseconds", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4330 {
4331 arg1 = (long) SWIG_PyObj_AsLong(obj0);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 wxToolTip::SetDelay(arg1);
4337
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) SWIG_fail;
4340 }
4341 Py_INCREF(Py_None); resultobj = Py_None;
4342 return resultobj;
4343 fail:
4344 return NULL;
4345 }
4346
4347
4348 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4349 PyObject *obj;
4350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4352 Py_INCREF(obj);
4353 return Py_BuildValue((char *)"");
4354 }
4355 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxWindow *arg1 = (wxWindow *) 0 ;
4358 wxSize *arg2 = 0 ;
4359 wxCaret *result;
4360 wxSize temp2 ;
4361 PyObject * obj0 = 0 ;
4362 PyObject * obj1 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "window",(char *) "size", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 {
4370 arg2 = &temp2;
4371 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4372 }
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj;
4389 wxCaret *arg1 = (wxCaret *) 0 ;
4390 PyObject * obj0 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 delete arg1;
4400
4401 wxPyEndAllowThreads(__tstate);
4402 if (PyErr_Occurred()) SWIG_fail;
4403 }
4404 Py_INCREF(Py_None); resultobj = Py_None;
4405 return resultobj;
4406 fail:
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxCaret *arg1 = (wxCaret *) 0 ;
4414 bool result;
4415 PyObject * obj0 = 0 ;
4416 char *kwnames[] = {
4417 (char *) "self", NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4422 {
4423 PyThreadState* __tstate = wxPyBeginAllowThreads();
4424 result = (bool)(arg1)->IsOk();
4425
4426 wxPyEndAllowThreads(__tstate);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 }
4429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4430 return resultobj;
4431 fail:
4432 return NULL;
4433 }
4434
4435
4436 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4437 PyObject *resultobj;
4438 wxCaret *arg1 = (wxCaret *) 0 ;
4439 bool result;
4440 PyObject * obj0 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (bool)(arg1)->IsVisible();
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4455 return resultobj;
4456 fail:
4457 return NULL;
4458 }
4459
4460
4461 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4462 PyObject *resultobj;
4463 wxCaret *arg1 = (wxCaret *) 0 ;
4464 wxPoint result;
4465 PyObject * obj0 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (arg1)->GetPosition();
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 {
4480 wxPoint * resultptr;
4481 resultptr = new wxPoint((wxPoint &) result);
4482 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4483 }
4484 return resultobj;
4485 fail:
4486 return NULL;
4487 }
4488
4489
4490 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxCaret *arg1 = (wxCaret *) 0 ;
4493 int *arg2 = (int *) 0 ;
4494 int *arg3 = (int *) 0 ;
4495 int temp2 ;
4496 int temp3 ;
4497 PyObject * obj0 = 0 ;
4498 char *kwnames[] = {
4499 (char *) "self", NULL
4500 };
4501
4502 arg2 = &temp2;
4503 arg3 = &temp3;
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4506 {
4507 PyThreadState* __tstate = wxPyBeginAllowThreads();
4508 (arg1)->GetPosition(arg2,arg3);
4509
4510 wxPyEndAllowThreads(__tstate);
4511 if (PyErr_Occurred()) SWIG_fail;
4512 }
4513 Py_INCREF(Py_None); resultobj = Py_None;
4514 {
4515 PyObject *o = PyInt_FromLong((long) (*arg2));
4516 resultobj = t_output_helper(resultobj,o);
4517 }
4518 {
4519 PyObject *o = PyInt_FromLong((long) (*arg3));
4520 resultobj = t_output_helper(resultobj,o);
4521 }
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxCaret *arg1 = (wxCaret *) 0 ;
4531 wxSize result;
4532 PyObject * obj0 = 0 ;
4533 char *kwnames[] = {
4534 (char *) "self", NULL
4535 };
4536
4537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4539 {
4540 PyThreadState* __tstate = wxPyBeginAllowThreads();
4541 result = (arg1)->GetSize();
4542
4543 wxPyEndAllowThreads(__tstate);
4544 if (PyErr_Occurred()) SWIG_fail;
4545 }
4546 {
4547 wxSize * resultptr;
4548 resultptr = new wxSize((wxSize &) result);
4549 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4550 }
4551 return resultobj;
4552 fail:
4553 return NULL;
4554 }
4555
4556
4557 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4558 PyObject *resultobj;
4559 wxCaret *arg1 = (wxCaret *) 0 ;
4560 int *arg2 = (int *) 0 ;
4561 int *arg3 = (int *) 0 ;
4562 int temp2 ;
4563 int temp3 ;
4564 PyObject * obj0 = 0 ;
4565 char *kwnames[] = {
4566 (char *) "self", NULL
4567 };
4568
4569 arg2 = &temp2;
4570 arg3 = &temp3;
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 {
4574 PyThreadState* __tstate = wxPyBeginAllowThreads();
4575 (arg1)->GetSize(arg2,arg3);
4576
4577 wxPyEndAllowThreads(__tstate);
4578 if (PyErr_Occurred()) SWIG_fail;
4579 }
4580 Py_INCREF(Py_None); resultobj = Py_None;
4581 {
4582 PyObject *o = PyInt_FromLong((long) (*arg2));
4583 resultobj = t_output_helper(resultobj,o);
4584 }
4585 {
4586 PyObject *o = PyInt_FromLong((long) (*arg3));
4587 resultobj = t_output_helper(resultobj,o);
4588 }
4589 return resultobj;
4590 fail:
4591 return NULL;
4592 }
4593
4594
4595 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4596 PyObject *resultobj;
4597 wxCaret *arg1 = (wxCaret *) 0 ;
4598 wxWindow *result;
4599 PyObject * obj0 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 result = (wxWindow *)(arg1)->GetWindow();
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 {
4614 resultobj = wxPyMake_wxObject(result);
4615 }
4616 return resultobj;
4617 fail:
4618 return NULL;
4619 }
4620
4621
4622 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxCaret *arg1 = (wxCaret *) 0 ;
4625 int arg2 ;
4626 int arg3 ;
4627 PyObject * obj0 = 0 ;
4628 PyObject * obj1 = 0 ;
4629 PyObject * obj2 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self",(char *) "x",(char *) "y", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4636 {
4637 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 {
4641 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 {
4645 PyThreadState* __tstate = wxPyBeginAllowThreads();
4646 (arg1)->Move(arg2,arg3);
4647
4648 wxPyEndAllowThreads(__tstate);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 }
4651 Py_INCREF(Py_None); resultobj = Py_None;
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj;
4660 wxCaret *arg1 = (wxCaret *) 0 ;
4661 wxPoint *arg2 = 0 ;
4662 wxPoint temp2 ;
4663 PyObject * obj0 = 0 ;
4664 PyObject * obj1 = 0 ;
4665 char *kwnames[] = {
4666 (char *) "self",(char *) "pt", NULL
4667 };
4668
4669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4671 {
4672 arg2 = &temp2;
4673 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4674 }
4675 {
4676 PyThreadState* __tstate = wxPyBeginAllowThreads();
4677 (arg1)->Move((wxPoint const &)*arg2);
4678
4679 wxPyEndAllowThreads(__tstate);
4680 if (PyErr_Occurred()) SWIG_fail;
4681 }
4682 Py_INCREF(Py_None); resultobj = Py_None;
4683 return resultobj;
4684 fail:
4685 return NULL;
4686 }
4687
4688
4689 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj;
4691 wxCaret *arg1 = (wxCaret *) 0 ;
4692 int arg2 ;
4693 int arg3 ;
4694 PyObject * obj0 = 0 ;
4695 PyObject * obj1 = 0 ;
4696 PyObject * obj2 = 0 ;
4697 char *kwnames[] = {
4698 (char *) "self",(char *) "width",(char *) "height", NULL
4699 };
4700
4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4703 {
4704 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 {
4708 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 {
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 (arg1)->SetSize(arg2,arg3);
4714
4715 wxPyEndAllowThreads(__tstate);
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 Py_INCREF(Py_None); resultobj = Py_None;
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 wxCaret *arg1 = (wxCaret *) 0 ;
4728 wxSize *arg2 = 0 ;
4729 wxSize temp2 ;
4730 PyObject * obj0 = 0 ;
4731 PyObject * obj1 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "size", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4738 {
4739 arg2 = &temp2;
4740 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4741 }
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->SetSize((wxSize const &)*arg2);
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 Py_INCREF(Py_None); resultobj = Py_None;
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxCaret *arg1 = (wxCaret *) 0 ;
4759 int arg2 = (int) True ;
4760 PyObject * obj0 = 0 ;
4761 PyObject * obj1 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "show", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4768 if (obj1) {
4769 {
4770 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->Show(arg2);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxCaret *arg1 = (wxCaret *) 0 ;
4791 PyObject * obj0 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 (arg1)->Hide();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 Py_INCREF(Py_None); resultobj = Py_None;
4806 return resultobj;
4807 fail:
4808 return NULL;
4809 }
4810
4811
4812 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4813 PyObject *obj;
4814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4815 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4816 Py_INCREF(obj);
4817 return Py_BuildValue((char *)"");
4818 }
4819 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4820 PyObject *resultobj;
4821 int result;
4822 char *kwnames[] = {
4823 NULL
4824 };
4825
4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (int)wxCaret_GetBlinkTime();
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_PyObj_FromInt((int)result);
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 int arg1 ;
4844 PyObject * obj0 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "milliseconds", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4850 {
4851 arg1 = (int) SWIG_PyObj_AsInt(obj0);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 wxCaret_SetBlinkTime(arg1);
4857
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 Py_INCREF(Py_None); resultobj = Py_None;
4862 return resultobj;
4863 fail:
4864 return NULL;
4865 }
4866
4867
4868 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4871 wxBusyCursor *result;
4872 PyObject * obj0 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "cursor", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4878 if (obj0) {
4879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4880 }
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 delete arg1;
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916 }
4917
4918
4919 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4920 PyObject *obj;
4921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4922 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4923 Py_INCREF(obj);
4924 return Py_BuildValue((char *)"");
4925 }
4926 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxWindow *arg1 = (wxWindow *) NULL ;
4929 wxWindowDisabler *result;
4930 PyObject * obj0 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "winToSkip", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4936 if (obj0) {
4937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4938 }
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4947 return resultobj;
4948 fail:
4949 return NULL;
4950 }
4951
4952
4953 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4956 PyObject * obj0 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4963 {
4964 PyThreadState* __tstate = wxPyBeginAllowThreads();
4965 delete arg1;
4966
4967 wxPyEndAllowThreads(__tstate);
4968 if (PyErr_Occurred()) SWIG_fail;
4969 }
4970 Py_INCREF(Py_None); resultobj = Py_None;
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4978 PyObject *obj;
4979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4980 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4981 Py_INCREF(obj);
4982 return Py_BuildValue((char *)"");
4983 }
4984 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4985 PyObject *resultobj;
4986 wxString *arg1 = 0 ;
4987 wxBusyInfo *result;
4988 bool temp1 = False ;
4989 PyObject * obj0 = 0 ;
4990 char *kwnames[] = {
4991 (char *) "message", NULL
4992 };
4993
4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4995 {
4996 arg1 = wxString_in_helper(obj0);
4997 if (arg1 == NULL) SWIG_fail;
4998 temp1 = True;
4999 }
5000 {
5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
5002 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5003
5004 wxPyEndAllowThreads(__tstate);
5005 if (PyErr_Occurred()) SWIG_fail;
5006 }
5007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
5008 {
5009 if (temp1)
5010 delete arg1;
5011 }
5012 return resultobj;
5013 fail:
5014 {
5015 if (temp1)
5016 delete arg1;
5017 }
5018 return NULL;
5019 }
5020
5021
5022 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5025 PyObject * obj0 = 0 ;
5026 char *kwnames[] = {
5027 (char *) "self", NULL
5028 };
5029
5030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5032 {
5033 PyThreadState* __tstate = wxPyBeginAllowThreads();
5034 delete arg1;
5035
5036 wxPyEndAllowThreads(__tstate);
5037 if (PyErr_Occurred()) SWIG_fail;
5038 }
5039 Py_INCREF(Py_None); resultobj = Py_None;
5040 return resultobj;
5041 fail:
5042 return NULL;
5043 }
5044
5045
5046 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5047 PyObject *obj;
5048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5049 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5050 Py_INCREF(obj);
5051 return Py_BuildValue((char *)"");
5052 }
5053 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxStopWatch *result;
5056 char *kwnames[] = {
5057 NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (wxStopWatch *)new wxStopWatch();
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5078 long arg2 = (long) 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self",(char *) "t0", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5087 if (obj1) {
5088 {
5089 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 }
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->Start(arg2);
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 Py_INCREF(Py_None); resultobj = Py_None;
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 (arg1)->Pause();
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5134 PyObject * obj0 = 0 ;
5135 char *kwnames[] = {
5136 (char *) "self", NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 (arg1)->Resume();
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 Py_INCREF(Py_None); resultobj = Py_None;
5149 return resultobj;
5150 fail:
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5158 long result;
5159 PyObject * obj0 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
5168 result = (long)((wxStopWatch const *)arg1)->Time();
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = SWIG_PyObj_FromLong((long)result);
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5181 PyObject *obj;
5182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5183 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5184 Py_INCREF(obj);
5185 return Py_BuildValue((char *)"");
5186 }
5187 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 int arg1 = (int) 9 ;
5190 wxFileHistory *result;
5191 PyObject * obj0 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "maxFiles", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5197 if (obj0) {
5198 {
5199 arg1 = (int) SWIG_PyObj_AsInt(obj0);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 }
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 result = (wxFileHistory *)new wxFileHistory(arg1);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5211 return resultobj;
5212 fail:
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 delete arg1;
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 Py_INCREF(Py_None); resultobj = Py_None;
5235 return resultobj;
5236 fail:
5237 return NULL;
5238 }
5239
5240
5241 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject *resultobj;
5243 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5244 wxString *arg2 = 0 ;
5245 bool temp2 = False ;
5246 PyObject * obj0 = 0 ;
5247 PyObject * obj1 = 0 ;
5248 char *kwnames[] = {
5249 (char *) "self",(char *) "file", NULL
5250 };
5251
5252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5254 {
5255 arg2 = wxString_in_helper(obj1);
5256 if (arg2 == NULL) SWIG_fail;
5257 temp2 = True;
5258 }
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 (arg1)->AddFileToHistory((wxString const &)*arg2);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 {
5268 if (temp2)
5269 delete arg2;
5270 }
5271 return resultobj;
5272 fail:
5273 {
5274 if (temp2)
5275 delete arg2;
5276 }
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5284 int arg2 ;
5285 PyObject * obj0 = 0 ;
5286 PyObject * obj1 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self",(char *) "i", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5293 {
5294 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 {
5298 PyThreadState* __tstate = wxPyBeginAllowThreads();
5299 (arg1)->RemoveFileFromHistory(arg2);
5300
5301 wxPyEndAllowThreads(__tstate);
5302 if (PyErr_Occurred()) SWIG_fail;
5303 }
5304 Py_INCREF(Py_None); resultobj = Py_None;
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5314 int result;
5315 PyObject * obj0 = 0 ;
5316 char *kwnames[] = {
5317 (char *) "self", NULL
5318 };
5319
5320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_PyObj_FromInt((int)result);
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5339 wxMenu *arg2 = (wxMenu *) 0 ;
5340 PyObject * obj0 = 0 ;
5341 PyObject * obj1 = 0 ;
5342 char *kwnames[] = {
5343 (char *) "self",(char *) "menu", NULL
5344 };
5345
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 (arg1)->UseMenu(arg2);
5352
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 Py_INCREF(Py_None); resultobj = Py_None;
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj;
5365 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5366 wxMenu *arg2 = (wxMenu *) 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "menu", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->RemoveMenu(arg2);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5393 wxConfigBase *arg2 = 0 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "config", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 if (arg2 == NULL) {
5404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->Load(*arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5423 wxConfigBase *arg2 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "config", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 if (arg2 == NULL) {
5434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5435 }
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->Save(*arg2);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->AddFilesToMenu();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5477 wxMenu *arg2 = (wxMenu *) 0 ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self",(char *) "menu", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 (arg1)->AddFilesToMenu(arg2);
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 Py_INCREF(Py_None); resultobj = Py_None;
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5504 int arg2 ;
5505 wxString result;
5506 PyObject * obj0 = 0 ;
5507 PyObject * obj1 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "i", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 {
5515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5521
5522 wxPyEndAllowThreads(__tstate);
5523 if (PyErr_Occurred()) SWIG_fail;
5524 }
5525 {
5526 #if wxUSE_UNICODE
5527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5528 #else
5529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5530 #endif
5531 }
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5541 int result;
5542 PyObject * obj0 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 result = (int)((wxFileHistory const *)arg1)->GetCount();
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 resultobj = SWIG_PyObj_FromInt((int)result);
5557 return resultobj;
5558 fail:
5559 return NULL;
5560 }
5561
5562
5563 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5564 PyObject *obj;
5565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5566 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5567 Py_INCREF(obj);
5568 return Py_BuildValue((char *)"");
5569 }
5570 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxString *arg1 = 0 ;
5573 wxString const &arg2_defvalue = wxPyEmptyString ;
5574 wxString *arg2 = (wxString *) &arg2_defvalue ;
5575 wxSingleInstanceChecker *result;
5576 bool temp1 = False ;
5577 bool temp2 = False ;
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "name",(char *) "path", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5585 {
5586 arg1 = wxString_in_helper(obj0);
5587 if (arg1 == NULL) SWIG_fail;
5588 temp1 = True;
5589 }
5590 if (obj1) {
5591 {
5592 arg2 = wxString_in_helper(obj1);
5593 if (arg2 == NULL) SWIG_fail;
5594 temp2 = True;
5595 }
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5605 {
5606 if (temp1)
5607 delete arg1;
5608 }
5609 {
5610 if (temp2)
5611 delete arg2;
5612 }
5613 return resultobj;
5614 fail:
5615 {
5616 if (temp1)
5617 delete arg1;
5618 }
5619 {
5620 if (temp2)
5621 delete arg2;
5622 }
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxSingleInstanceChecker *result;
5630 char *kwnames[] = {
5631 NULL
5632 };
5633
5634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5643 return resultobj;
5644 fail:
5645 return NULL;
5646 }
5647
5648
5649 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5652 PyObject * obj0 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 delete arg1;
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670 }
5671
5672
5673 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj;
5675 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5676 wxString *arg2 = 0 ;
5677 wxString const &arg3_defvalue = wxPyEmptyString ;
5678 wxString *arg3 = (wxString *) &arg3_defvalue ;
5679 bool result;
5680 bool temp2 = False ;
5681 bool temp3 = False ;
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 PyObject * obj2 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self",(char *) "name",(char *) "path", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5691 {
5692 arg2 = wxString_in_helper(obj1);
5693 if (arg2 == NULL) SWIG_fail;
5694 temp2 = True;
5695 }
5696 if (obj2) {
5697 {
5698 arg3 = wxString_in_helper(obj2);
5699 if (arg3 == NULL) SWIG_fail;
5700 temp3 = True;
5701 }
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 {
5712 if (temp2)
5713 delete arg2;
5714 }
5715 {
5716 if (temp3)
5717 delete arg3;
5718 }
5719 return resultobj;
5720 fail:
5721 {
5722 if (temp2)
5723 delete arg2;
5724 }
5725 {
5726 if (temp3)
5727 delete arg3;
5728 }
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5736 bool result;
5737 PyObject * obj0 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5759 PyObject *obj;
5760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5761 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5762 Py_INCREF(obj);
5763 return Py_BuildValue((char *)"");
5764 }
5765 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxWindow *arg1 = (wxWindow *) 0 ;
5768 wxDC *arg2 = 0 ;
5769 int arg3 ;
5770 PyObject * obj0 = 0 ;
5771 PyObject * obj1 = 0 ;
5772 PyObject * obj2 = 0 ;
5773 char *kwnames[] = {
5774 (char *) "window",(char *) "dc",(char *) "method", NULL
5775 };
5776
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 if (arg2 == NULL) {
5781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5782 }
5783 {
5784 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 Py_INCREF(Py_None); resultobj = Py_None;
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 delete arg1;
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 Py_INCREF(Py_None); resultobj = Py_None;
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5828 wxString result;
5829 PyObject * obj0 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (arg1)->GetTip();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 #if wxUSE_UNICODE
5845 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5846 #else
5847 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5848 #endif
5849 }
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5859 size_t result;
5860 PyObject * obj0 = 0 ;
5861 char *kwnames[] = {
5862 (char *) "self", NULL
5863 };
5864
5865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5867 {
5868 PyThreadState* __tstate = wxPyBeginAllowThreads();
5869 result = (size_t)(arg1)->GetCurrentTip();
5870
5871 wxPyEndAllowThreads(__tstate);
5872 if (PyErr_Occurred()) SWIG_fail;
5873 }
5874 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
5875 return resultobj;
5876 fail:
5877 return NULL;
5878 }
5879
5880
5881 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject *resultobj;
5883 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5884 wxString *arg2 = 0 ;
5885 wxString result;
5886 bool temp2 = False ;
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self",(char *) "tip", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 arg2 = wxString_in_helper(obj1);
5897 if (arg2 == NULL) SWIG_fail;
5898 temp2 = True;
5899 }
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 {
5908 #if wxUSE_UNICODE
5909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5910 #else
5911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5912 #endif
5913 }
5914 {
5915 if (temp2)
5916 delete arg2;
5917 }
5918 return resultobj;
5919 fail:
5920 {
5921 if (temp2)
5922 delete arg2;
5923 }
5924 return NULL;
5925 }
5926
5927
5928 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5929 PyObject *obj;
5930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5931 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5932 Py_INCREF(obj);
5933 return Py_BuildValue((char *)"");
5934 }
5935 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj;
5937 size_t arg1 ;
5938 wxPyTipProvider *result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "currentTip", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5945 {
5946 arg1 = (size_t) SWIG_PyObj_AsUnsignedLong(obj0);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5952
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5966 PyObject *arg2 = (PyObject *) 0 ;
5967 PyObject *arg3 = (PyObject *) 0 ;
5968 PyObject * obj0 = 0 ;
5969 PyObject * obj1 = 0 ;
5970 PyObject * obj2 = 0 ;
5971 char *kwnames[] = {
5972 (char *) "self",(char *) "self",(char *) "_class", NULL
5973 };
5974
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5977 arg2 = obj1;
5978 arg3 = obj2;
5979 {
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 (arg1)->_setCallbackInfo(arg2,arg3);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 Py_INCREF(Py_None); resultobj = Py_None;
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5994 PyObject *obj;
5995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5996 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5997 Py_INCREF(obj);
5998 return Py_BuildValue((char *)"");
5999 }
6000 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxWindow *arg1 = (wxWindow *) 0 ;
6003 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6004 bool arg3 = (bool) True ;
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 PyObject * obj2 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 if (obj2) {
6017 {
6018 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (bool)wxShowTip(arg1,arg2,arg3);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxString *arg1 = 0 ;
6039 size_t arg2 ;
6040 wxTipProvider *result;
6041 bool temp1 = False ;
6042 PyObject * obj0 = 0 ;
6043 PyObject * obj1 = 0 ;
6044 char *kwnames[] = {
6045 (char *) "filename",(char *) "currentTip", NULL
6046 };
6047
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6049 {
6050 arg1 = wxString_in_helper(obj0);
6051 if (arg1 == NULL) SWIG_fail;
6052 temp1 = True;
6053 }
6054 {
6055 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
6066 {
6067 if (temp1)
6068 delete arg1;
6069 }
6070 return resultobj;
6071 fail:
6072 {
6073 if (temp1)
6074 delete arg1;
6075 }
6076 return NULL;
6077 }
6078
6079
6080 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6081 PyObject *resultobj;
6082 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6083 int arg2 = (int) -1 ;
6084 wxPyTimer *result;
6085 PyObject * obj0 = 0 ;
6086 PyObject * obj1 = 0 ;
6087 char *kwnames[] = {
6088 (char *) "owner",(char *) "id", NULL
6089 };
6090
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6092 if (obj0) {
6093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6094 }
6095 if (obj1) {
6096 {
6097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 }
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6118 PyObject * obj0 = 0 ;
6119 char *kwnames[] = {
6120 (char *) "self", NULL
6121 };
6122
6123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 delete arg1;
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 Py_INCREF(Py_None); resultobj = Py_None;
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6142 PyObject *arg2 = (PyObject *) 0 ;
6143 PyObject *arg3 = (PyObject *) 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 PyObject * obj2 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "self",(char *) "_class", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 arg2 = obj1;
6154 arg3 = obj2;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->_setCallbackInfo(arg2,arg3);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6172 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6173 int arg3 = (int) -1 ;
6174 PyObject * obj0 = 0 ;
6175 PyObject * obj1 = 0 ;
6176 PyObject * obj2 = 0 ;
6177 char *kwnames[] = {
6178 (char *) "self",(char *) "owner",(char *) "id", NULL
6179 };
6180
6181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6184 if (obj2) {
6185 {
6186 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6187 if (PyErr_Occurred()) SWIG_fail;
6188 }
6189 }
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 (arg1)->SetOwner(arg2,arg3);
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 Py_INCREF(Py_None); resultobj = Py_None;
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6207 int arg2 = (int) -1 ;
6208 bool arg3 = (bool) False ;
6209 bool result;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 PyObject * obj2 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219 if (obj1) {
6220 {
6221 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 }
6225 if (obj2) {
6226 {
6227 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6228 if (PyErr_Occurred()) SWIG_fail;
6229 }
6230 }
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 result = (bool)(arg1)->Start(arg2,arg3);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->Stop();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6272 bool result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6297 int result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_PyObj_FromInt((int)result);
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6322 bool result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj;
6346 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6347 int result;
6348 PyObject * obj0 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (int)((wxPyTimer const *)arg1)->GetId();
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 resultobj = SWIG_PyObj_FromInt((int)result);
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6370 PyObject *obj;
6371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6372 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6373 Py_INCREF(obj);
6374 return Py_BuildValue((char *)"");
6375 }
6376 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 int arg1 = (int) 0 ;
6379 int arg2 = (int) 0 ;
6380 wxTimerEvent *result;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "timerid",(char *) "interval", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6388 if (obj0) {
6389 {
6390 arg1 = (int) SWIG_PyObj_AsInt(obj0);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 }
6394 if (obj1) {
6395 {
6396 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 }
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6417 int result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 resultobj = SWIG_PyObj_FromInt((int)result);
6433 return resultobj;
6434 fail:
6435 return NULL;
6436 }
6437
6438
6439 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6440 PyObject *obj;
6441 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6442 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6443 Py_INCREF(obj);
6444 return Py_BuildValue((char *)"");
6445 }
6446 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6447 PyObject *resultobj;
6448 wxTimer *arg1 = 0 ;
6449 wxTimerRunner *result;
6450 PyObject * obj0 = 0 ;
6451
6452 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6454 if (arg1 == NULL) {
6455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6465 return resultobj;
6466 fail:
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6472 PyObject *resultobj;
6473 wxTimer *arg1 = 0 ;
6474 int arg2 ;
6475 bool arg3 = (bool) False ;
6476 wxTimerRunner *result;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 PyObject * obj2 = 0 ;
6480
6481 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6483 if (arg1 == NULL) {
6484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6485 }
6486 {
6487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 if (obj2) {
6491 {
6492 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6493 if (PyErr_Occurred()) SWIG_fail;
6494 }
6495 }
6496 {
6497 PyThreadState* __tstate = wxPyBeginAllowThreads();
6498 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6499
6500 wxPyEndAllowThreads(__tstate);
6501 if (PyErr_Occurred()) SWIG_fail;
6502 }
6503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6504 return resultobj;
6505 fail:
6506 return NULL;
6507 }
6508
6509
6510 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6511 int argc;
6512 PyObject *argv[4];
6513 int ii;
6514
6515 argc = PyObject_Length(args);
6516 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6517 argv[ii] = PyTuple_GetItem(args,ii);
6518 }
6519 if (argc == 1) {
6520 int _v;
6521 {
6522 void *ptr;
6523 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6524 _v = 0;
6525 PyErr_Clear();
6526 } else {
6527 _v = 1;
6528 }
6529 }
6530 if (_v) {
6531 return _wrap_new_TimerRunner__SWIG_0(self,args);
6532 }
6533 }
6534 if ((argc >= 2) && (argc <= 3)) {
6535 int _v;
6536 {
6537 void *ptr;
6538 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6539 _v = 0;
6540 PyErr_Clear();
6541 } else {
6542 _v = 1;
6543 }
6544 }
6545 if (_v) {
6546 {
6547 SWIG_PyObj_AsInt(argv[1]);
6548 if (PyErr_Occurred()) {
6549 _v = 0;
6550 PyErr_Clear();
6551 } else {
6552 _v = 1;
6553 }
6554 }
6555 if (_v) {
6556 if (argc <= 2) {
6557 return _wrap_new_TimerRunner__SWIG_1(self,args);
6558 }
6559 {
6560 SWIG_PyObj_AsBool(argv[2]);
6561 if (PyErr_Occurred()) {
6562 _v = 0;
6563 PyErr_Clear();
6564 } else {
6565 _v = 1;
6566 }
6567 }
6568 if (_v) {
6569 return _wrap_new_TimerRunner__SWIG_1(self,args);
6570 }
6571 }
6572 }
6573 }
6574
6575 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6576 return NULL;
6577 }
6578
6579
6580 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6581 PyObject *resultobj;
6582 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 delete arg1;
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601 }
6602
6603
6604 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6607 int arg2 ;
6608 bool arg3 = (bool) False ;
6609 PyObject * obj0 = 0 ;
6610 PyObject * obj1 = 0 ;
6611 PyObject * obj2 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618 {
6619 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 if (obj2) {
6623 {
6624 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 }
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 (arg1)->Start(arg2,arg3);
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639 }
6640
6641
6642 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6643 PyObject *obj;
6644 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6645 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6646 Py_INCREF(obj);
6647 return Py_BuildValue((char *)"");
6648 }
6649 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxLog *result;
6652 char *kwnames[] = {
6653 NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6657 {
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxLog *)new wxLog();
6660
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6665 return resultobj;
6666 fail:
6667 return NULL;
6668 }
6669
6670
6671 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject *resultobj;
6673 bool result;
6674 char *kwnames[] = {
6675 NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 result = (bool)wxLog::IsEnabled();
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 bool arg1 = (bool) True ;
6696 bool result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "doIt", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6703 if (obj0) {
6704 {
6705 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 result = (bool)wxLog::EnableLogging(arg1);
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6724 PyObject *resultobj;
6725 wxLogLevel arg1 ;
6726 wxChar *arg2 = (wxChar *) 0 ;
6727 time_t arg3 ;
6728 PyObject * obj0 = 0 ;
6729 PyObject * obj1 = 0 ;
6730 PyObject * obj2 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "level",(char *) "szString",(char *) "t", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6736 {
6737 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
6740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 {
6742 arg3 = (time_t) SWIG_PyObj_AsUnsignedInt(obj2);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 Py_INCREF(Py_None); resultobj = Py_None;
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxLog *arg1 = (wxLog *) 0 ;
6762 PyObject * obj0 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->Flush();
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 Py_INCREF(Py_None); resultobj = Py_None;
6777 return resultobj;
6778 fail:
6779 return NULL;
6780 }
6781
6782
6783 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 char *kwnames[] = {
6786 NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 wxLog::FlushActive();
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801 }
6802
6803
6804 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxLog *result;
6807 char *kwnames[] = {
6808 NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 result = (wxLog *)wxLog::GetActiveTarget();
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxLog *arg1 = (wxLog *) 0 ;
6829 wxLog *result;
6830 PyObject * obj0 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "pLogger", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 char *kwnames[] = {
6854 NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 wxLog::Suspend();
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject *resultobj;
6874 char *kwnames[] = {
6875 NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 wxLog::Resume();
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6894 PyObject *resultobj;
6895 bool arg1 = (bool) True ;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "bVerbose", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6902 if (obj0) {
6903 {
6904 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 }
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 wxLog::SetVerbose(arg1);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 Py_INCREF(Py_None); resultobj = Py_None;
6916 return resultobj;
6917 fail:
6918 return NULL;
6919 }
6920
6921
6922 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj;
6924 wxLogLevel arg1 ;
6925 PyObject * obj0 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "logLevel", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6931 {
6932 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936 PyThreadState* __tstate = wxPyBeginAllowThreads();
6937 wxLog::SetLogLevel(arg1);
6938
6939 wxPyEndAllowThreads(__tstate);
6940 if (PyErr_Occurred()) SWIG_fail;
6941 }
6942 Py_INCREF(Py_None); resultobj = Py_None;
6943 return resultobj;
6944 fail:
6945 return NULL;
6946 }
6947
6948
6949 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj;
6951 char *kwnames[] = {
6952 NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 wxLog::DontCreateOnDemand();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 Py_INCREF(Py_None); resultobj = Py_None;
6964 return resultobj;
6965 fail:
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxTraceMask arg1 ;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "ulMask", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6979 {
6980 arg1 = (wxTraceMask) SWIG_PyObj_AsUnsignedLong(obj0);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 wxLog::SetTraceMask(arg1);
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 Py_INCREF(Py_None); resultobj = Py_None;
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxString *arg1 = 0 ;
7000 bool temp1 = False ;
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "str", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7007 {
7008 arg1 = wxString_in_helper(obj0);
7009 if (arg1 == NULL) SWIG_fail;
7010 temp1 = True;
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 wxLog::AddTraceMask((wxString const &)*arg1);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 {
7021 if (temp1)
7022 delete arg1;
7023 }
7024 return resultobj;
7025 fail:
7026 {
7027 if (temp1)
7028 delete arg1;
7029 }
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxString *arg1 = 0 ;
7037 bool temp1 = False ;
7038 PyObject * obj0 = 0 ;
7039 char *kwnames[] = {
7040 (char *) "str", NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7044 {
7045 arg1 = wxString_in_helper(obj0);
7046 if (arg1 == NULL) SWIG_fail;
7047 temp1 = True;
7048 }
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 wxLog::RemoveTraceMask((wxString const &)*arg1);
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 Py_INCREF(Py_None); resultobj = Py_None;
7057 {
7058 if (temp1)
7059 delete arg1;
7060 }
7061 return resultobj;
7062 fail:
7063 {
7064 if (temp1)
7065 delete arg1;
7066 }
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 char *kwnames[] = {
7074 NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 wxLog::ClearTraceMasks();
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 Py_INCREF(Py_None); resultobj = Py_None;
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxArrayString *result;
7095 char *kwnames[] = {
7096 NULL
7097 };
7098
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 {
7103 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7104 result = (wxArrayString *) &_result_ref;
7105 }
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 {
7111 resultobj = wxArrayString2PyList_helper(*result);
7112 }
7113 return resultobj;
7114 fail:
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxChar *arg1 = (wxChar *) 0 ;
7122 PyObject * obj0 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "ts", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7129 {
7130 PyThreadState* __tstate = wxPyBeginAllowThreads();
7131 wxLog::SetTimestamp((wxChar const *)arg1);
7132
7133 wxPyEndAllowThreads(__tstate);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 Py_INCREF(Py_None); resultobj = Py_None;
7137 return resultobj;
7138 fail:
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 bool result;
7146 char *kwnames[] = {
7147 NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 result = (bool)wxLog::GetVerbose();
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7159 return resultobj;
7160 fail:
7161 return NULL;
7162 }
7163
7164
7165 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxTraceMask result;
7168 char *kwnames[] = {
7169 NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 result = (wxTraceMask)wxLog::GetTraceMask();
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7181 return resultobj;
7182 fail:
7183 return NULL;
7184 }
7185
7186
7187 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj;
7189 wxChar *arg1 = (wxChar *) 0 ;
7190 bool result;
7191 PyObject * obj0 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "mask", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7206 return resultobj;
7207 fail:
7208 return NULL;
7209 }
7210
7211
7212 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxLogLevel result;
7215 char *kwnames[] = {
7216 NULL
7217 };
7218
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 result = (wxLogLevel)wxLog::GetLogLevel();
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7228 return resultobj;
7229 fail:
7230 return NULL;
7231 }
7232
7233
7234 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxChar *result;
7237 char *kwnames[] = {
7238 NULL
7239 };
7240
7241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = (wxChar *)wxLog::GetTimestamp();
7245
7246 wxPyEndAllowThreads(__tstate);
7247 if (PyErr_Occurred()) SWIG_fail;
7248 }
7249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
7250 return resultobj;
7251 fail:
7252 return NULL;
7253 }
7254
7255
7256 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7257 PyObject *resultobj;
7258 wxString result;
7259 char *kwnames[] = {
7260 NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = Log_TimeStamp();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 {
7272 #if wxUSE_UNICODE
7273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7274 #else
7275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7276 #endif
7277 }
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj;
7286 wxLog *arg1 = (wxLog *) 0 ;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 wxLog_Destroy(arg1);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7309 PyObject *obj;
7310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7312 Py_INCREF(obj);
7313 return Py_BuildValue((char *)"");
7314 }
7315 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxLogStderr *result;
7318 char *kwnames[] = {
7319 NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7323 {
7324 PyThreadState* __tstate = wxPyBeginAllowThreads();
7325 result = (wxLogStderr *)new wxLogStderr();
7326
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7331 return resultobj;
7332 fail:
7333 return NULL;
7334 }
7335
7336
7337 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7338 PyObject *obj;
7339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7340 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7341 Py_INCREF(obj);
7342 return Py_BuildValue((char *)"");
7343 }
7344 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7347 wxLogTextCtrl *result;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "pTextCtrl", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7363 return resultobj;
7364 fail:
7365 return NULL;
7366 }
7367
7368
7369 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7370 PyObject *obj;
7371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7372 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7373 Py_INCREF(obj);
7374 return Py_BuildValue((char *)"");
7375 }
7376 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxLogGui *result;
7379 char *kwnames[] = {
7380 NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 result = (wxLogGui *)new wxLogGui();
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7392 return resultobj;
7393 fail:
7394 return NULL;
7395 }
7396
7397
7398 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7399 PyObject *obj;
7400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7401 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7402 Py_INCREF(obj);
7403 return Py_BuildValue((char *)"");
7404 }
7405 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxFrame *arg1 = (wxFrame *) 0 ;
7408 wxString *arg2 = 0 ;
7409 bool arg3 = (bool) True ;
7410 bool arg4 = (bool) True ;
7411 wxLogWindow *result;
7412 bool temp2 = False ;
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 PyObject * obj3 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7423 {
7424 arg2 = wxString_in_helper(obj1);
7425 if (arg2 == NULL) SWIG_fail;
7426 temp2 = True;
7427 }
7428 if (obj2) {
7429 {
7430 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 }
7434 if (obj3) {
7435 {
7436 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 }
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7448 {
7449 if (temp2)
7450 delete arg2;
7451 }
7452 return resultobj;
7453 fail:
7454 {
7455 if (temp2)
7456 delete arg2;
7457 }
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7465 bool arg2 = (bool) True ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 char *kwnames[] = {
7469 (char *) "self",(char *) "bShow", NULL
7470 };
7471
7472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7474 if (obj1) {
7475 {
7476 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7477 if (PyErr_Occurred()) SWIG_fail;
7478 }
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->Show(arg2);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7497 wxFrame *result;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513 resultobj = wxPyMake_wxObject(result);
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7524 wxLog *result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7549 bool result;
7550 PyObject * obj0 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7574 bool arg2 ;
7575 PyObject * obj0 = 0 ;
7576 PyObject * obj1 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "bDoPass", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7583 {
7584 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 (arg1)->PassMessages(arg2);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 Py_INCREF(Py_None); resultobj = Py_None;
7595 return resultobj;
7596 fail:
7597 return NULL;
7598 }
7599
7600
7601 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7602 PyObject *obj;
7603 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7604 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7605 Py_INCREF(obj);
7606 return Py_BuildValue((char *)"");
7607 }
7608 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxLog *arg1 = (wxLog *) 0 ;
7611 wxLogChain *result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "logger", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (wxLogChain *)new wxLogChain(arg1);
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7627 return resultobj;
7628 fail:
7629 return NULL;
7630 }
7631
7632
7633 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxLogChain *arg1 = (wxLogChain *) 0 ;
7636 wxLog *arg2 = (wxLog *) 0 ;
7637 PyObject * obj0 = 0 ;
7638 PyObject * obj1 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self",(char *) "logger", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->SetLog(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxLogChain *arg1 = (wxLogChain *) 0 ;
7663 bool arg2 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "bDoPass", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 (arg1)->PassMessages(arg2);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 Py_INCREF(Py_None); resultobj = Py_None;
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxLogChain *arg1 = (wxLogChain *) 0 ;
7693 bool result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 result = (bool)(arg1)->IsPassingMessages();
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxLogChain *arg1 = (wxLogChain *) 0 ;
7718 wxLog *result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (wxLog *)(arg1)->GetOldLog();
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7741 PyObject *obj;
7742 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7743 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7744 Py_INCREF(obj);
7745 return Py_BuildValue((char *)"");
7746 }
7747 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 unsigned long result;
7750 char *kwnames[] = {
7751 NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (unsigned long)wxSysErrorCode();
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
7762 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7763 return resultobj;
7764 fail:
7765 return NULL;
7766 }
7767
7768
7769 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7770 PyObject *resultobj;
7771 unsigned long arg1 = (unsigned long) 0 ;
7772 wxString result;
7773 PyObject * obj0 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "nErrCode", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7779 if (obj0) {
7780 {
7781 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 }
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = wxSysErrorMsg(arg1);
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 #if wxUSE_UNICODE
7794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7795 #else
7796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7797 #endif
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxString *arg1 = 0 ;
7808 bool temp1 = False ;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "msg", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7815 {
7816 arg1 = wxString_in_helper(obj0);
7817 if (arg1 == NULL) SWIG_fail;
7818 temp1 = True;
7819 }
7820 {
7821 PyThreadState* __tstate = wxPyBeginAllowThreads();
7822 wxLogFatalError((wxString const &)*arg1);
7823
7824 wxPyEndAllowThreads(__tstate);
7825 if (PyErr_Occurred()) SWIG_fail;
7826 }
7827 Py_INCREF(Py_None); resultobj = Py_None;
7828 {
7829 if (temp1)
7830 delete arg1;
7831 }
7832 return resultobj;
7833 fail:
7834 {
7835 if (temp1)
7836 delete arg1;
7837 }
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxString *arg1 = 0 ;
7845 bool temp1 = False ;
7846 PyObject * obj0 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "msg", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7852 {
7853 arg1 = wxString_in_helper(obj0);
7854 if (arg1 == NULL) SWIG_fail;
7855 temp1 = True;
7856 }
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 wxLogError((wxString const &)*arg1);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 {
7866 if (temp1)
7867 delete arg1;
7868 }
7869 return resultobj;
7870 fail:
7871 {
7872 if (temp1)
7873 delete arg1;
7874 }
7875 return NULL;
7876 }
7877
7878
7879 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7880 PyObject *resultobj;
7881 wxString *arg1 = 0 ;
7882 bool temp1 = False ;
7883 PyObject * obj0 = 0 ;
7884 char *kwnames[] = {
7885 (char *) "msg", NULL
7886 };
7887
7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7889 {
7890 arg1 = wxString_in_helper(obj0);
7891 if (arg1 == NULL) SWIG_fail;
7892 temp1 = True;
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 wxLogWarning((wxString const &)*arg1);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 {
7903 if (temp1)
7904 delete arg1;
7905 }
7906 return resultobj;
7907 fail:
7908 {
7909 if (temp1)
7910 delete arg1;
7911 }
7912 return NULL;
7913 }
7914
7915
7916 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7917 PyObject *resultobj;
7918 wxString *arg1 = 0 ;
7919 bool temp1 = False ;
7920 PyObject * obj0 = 0 ;
7921 char *kwnames[] = {
7922 (char *) "msg", NULL
7923 };
7924
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7926 {
7927 arg1 = wxString_in_helper(obj0);
7928 if (arg1 == NULL) SWIG_fail;
7929 temp1 = True;
7930 }
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 wxLogMessage((wxString const &)*arg1);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 Py_INCREF(Py_None); resultobj = Py_None;
7939 {
7940 if (temp1)
7941 delete arg1;
7942 }
7943 return resultobj;
7944 fail:
7945 {
7946 if (temp1)
7947 delete arg1;
7948 }
7949 return NULL;
7950 }
7951
7952
7953 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7954 PyObject *resultobj;
7955 wxString *arg1 = 0 ;
7956 bool temp1 = False ;
7957 PyObject * obj0 = 0 ;
7958 char *kwnames[] = {
7959 (char *) "msg", NULL
7960 };
7961
7962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7963 {
7964 arg1 = wxString_in_helper(obj0);
7965 if (arg1 == NULL) SWIG_fail;
7966 temp1 = True;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 wxLogInfo((wxString const &)*arg1);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 {
7977 if (temp1)
7978 delete arg1;
7979 }
7980 return resultobj;
7981 fail:
7982 {
7983 if (temp1)
7984 delete arg1;
7985 }
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxString *arg1 = 0 ;
7993 bool temp1 = False ;
7994 PyObject * obj0 = 0 ;
7995 char *kwnames[] = {
7996 (char *) "msg", NULL
7997 };
7998
7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8000 {
8001 arg1 = wxString_in_helper(obj0);
8002 if (arg1 == NULL) SWIG_fail;
8003 temp1 = True;
8004 }
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 wxLogDebug((wxString const &)*arg1);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 Py_INCREF(Py_None); resultobj = Py_None;
8013 {
8014 if (temp1)
8015 delete arg1;
8016 }
8017 return resultobj;
8018 fail:
8019 {
8020 if (temp1)
8021 delete arg1;
8022 }
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxString *arg1 = 0 ;
8030 bool temp1 = False ;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "msg", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8037 {
8038 arg1 = wxString_in_helper(obj0);
8039 if (arg1 == NULL) SWIG_fail;
8040 temp1 = True;
8041 }
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 wxLogVerbose((wxString const &)*arg1);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 Py_INCREF(Py_None); resultobj = Py_None;
8050 {
8051 if (temp1)
8052 delete arg1;
8053 }
8054 return resultobj;
8055 fail:
8056 {
8057 if (temp1)
8058 delete arg1;
8059 }
8060 return NULL;
8061 }
8062
8063
8064 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 wxString *arg1 = 0 ;
8067 bool temp1 = False ;
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "msg", NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8074 {
8075 arg1 = wxString_in_helper(obj0);
8076 if (arg1 == NULL) SWIG_fail;
8077 temp1 = True;
8078 }
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 wxLogStatus((wxString const &)*arg1);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 {
8088 if (temp1)
8089 delete arg1;
8090 }
8091 return resultobj;
8092 fail:
8093 {
8094 if (temp1)
8095 delete arg1;
8096 }
8097 return NULL;
8098 }
8099
8100
8101 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxFrame *arg1 = (wxFrame *) 0 ;
8104 wxString *arg2 = 0 ;
8105 bool temp2 = False ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 char *kwnames[] = {
8109 (char *) "pFrame",(char *) "msg", NULL
8110 };
8111
8112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8114 {
8115 arg2 = wxString_in_helper(obj1);
8116 if (arg2 == NULL) SWIG_fail;
8117 temp2 = True;
8118 }
8119 {
8120 PyThreadState* __tstate = wxPyBeginAllowThreads();
8121 wxLogStatus(arg1,(wxString const &)*arg2);
8122
8123 wxPyEndAllowThreads(__tstate);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 Py_INCREF(Py_None); resultobj = Py_None;
8127 {
8128 if (temp2)
8129 delete arg2;
8130 }
8131 return resultobj;
8132 fail:
8133 {
8134 if (temp2)
8135 delete arg2;
8136 }
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxString *arg1 = 0 ;
8144 bool temp1 = False ;
8145 PyObject * obj0 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "msg", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8151 {
8152 arg1 = wxString_in_helper(obj0);
8153 if (arg1 == NULL) SWIG_fail;
8154 temp1 = True;
8155 }
8156 {
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 wxLogSysError((wxString const &)*arg1);
8159
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 Py_INCREF(Py_None); resultobj = Py_None;
8164 {
8165 if (temp1)
8166 delete arg1;
8167 }
8168 return resultobj;
8169 fail:
8170 {
8171 if (temp1)
8172 delete arg1;
8173 }
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8179 PyObject *resultobj;
8180 unsigned long arg1 ;
8181 wxString *arg2 = 0 ;
8182 bool temp2 = False ;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185
8186 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8187 {
8188 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 {
8192 arg2 = wxString_in_helper(obj1);
8193 if (arg2 == NULL) SWIG_fail;
8194 temp2 = True;
8195 }
8196 {
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 wxLogTrace(arg1,(wxString const &)*arg2);
8199
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 Py_INCREF(Py_None); resultobj = Py_None;
8204 {
8205 if (temp2)
8206 delete arg2;
8207 }
8208 return resultobj;
8209 fail:
8210 {
8211 if (temp2)
8212 delete arg2;
8213 }
8214 return NULL;
8215 }
8216
8217
8218 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8219 PyObject *resultobj;
8220 wxString *arg1 = 0 ;
8221 wxString *arg2 = 0 ;
8222 bool temp1 = False ;
8223 bool temp2 = False ;
8224 PyObject * obj0 = 0 ;
8225 PyObject * obj1 = 0 ;
8226
8227 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8228 {
8229 arg1 = wxString_in_helper(obj0);
8230 if (arg1 == NULL) SWIG_fail;
8231 temp1 = True;
8232 }
8233 {
8234 arg2 = wxString_in_helper(obj1);
8235 if (arg2 == NULL) SWIG_fail;
8236 temp2 = True;
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 Py_INCREF(Py_None); resultobj = Py_None;
8246 {
8247 if (temp1)
8248 delete arg1;
8249 }
8250 {
8251 if (temp2)
8252 delete arg2;
8253 }
8254 return resultobj;
8255 fail:
8256 {
8257 if (temp1)
8258 delete arg1;
8259 }
8260 {
8261 if (temp2)
8262 delete arg2;
8263 }
8264 return NULL;
8265 }
8266
8267
8268 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8269 int argc;
8270 PyObject *argv[3];
8271 int ii;
8272
8273 argc = PyObject_Length(args);
8274 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8275 argv[ii] = PyTuple_GetItem(args,ii);
8276 }
8277 if (argc == 2) {
8278 int _v;
8279 {
8280 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8281 }
8282 if (_v) {
8283 {
8284 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8285 }
8286 if (_v) {
8287 return _wrap_LogTrace__SWIG_1(self,args);
8288 }
8289 }
8290 }
8291 if (argc == 2) {
8292 int _v;
8293 {
8294 SWIG_PyObj_AsUnsignedLong(argv[0]);
8295 if (PyErr_Occurred()) {
8296 _v = 0;
8297 PyErr_Clear();
8298 } else {
8299 _v = 1;
8300 }
8301 }
8302 if (_v) {
8303 {
8304 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8305 }
8306 if (_v) {
8307 return _wrap_LogTrace__SWIG_0(self,args);
8308 }
8309 }
8310 }
8311
8312 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8313 return NULL;
8314 }
8315
8316
8317 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 unsigned long arg1 ;
8320 wxString *arg2 = 0 ;
8321 bool temp2 = False ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "level",(char *) "msg", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8329 {
8330 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 }
8333 {
8334 arg2 = wxString_in_helper(obj1);
8335 if (arg2 == NULL) SWIG_fail;
8336 temp2 = True;
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 wxLogGeneric(arg1,(wxString const &)*arg2);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 Py_INCREF(Py_None); resultobj = Py_None;
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return resultobj;
8351 fail:
8352 {
8353 if (temp2)
8354 delete arg2;
8355 }
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxString *arg1 = 0 ;
8363 wxString *arg2 = 0 ;
8364 bool temp1 = False ;
8365 bool temp2 = False ;
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
8368 char *kwnames[] = {
8369 (char *) "title",(char *) "text", NULL
8370 };
8371
8372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8373 {
8374 arg1 = wxString_in_helper(obj0);
8375 if (arg1 == NULL) SWIG_fail;
8376 temp1 = True;
8377 }
8378 {
8379 arg2 = wxString_in_helper(obj1);
8380 if (arg2 == NULL) SWIG_fail;
8381 temp2 = True;
8382 }
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 Py_INCREF(Py_None); resultobj = Py_None;
8391 {
8392 if (temp1)
8393 delete arg1;
8394 }
8395 {
8396 if (temp2)
8397 delete arg2;
8398 }
8399 return resultobj;
8400 fail:
8401 {
8402 if (temp1)
8403 delete arg1;
8404 }
8405 {
8406 if (temp2)
8407 delete arg2;
8408 }
8409 return NULL;
8410 }
8411
8412
8413 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxLogNull *result;
8416 char *kwnames[] = {
8417 NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (wxLogNull *)new wxLogNull();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxLogNull *arg1 = (wxLogNull *) 0 ;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 delete arg1;
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8460 PyObject *obj;
8461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8462 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8463 Py_INCREF(obj);
8464 return Py_BuildValue((char *)"");
8465 }
8466 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxPyLog *result;
8469 char *kwnames[] = {
8470 NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 result = (wxPyLog *)new wxPyLog();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) SWIG_fail;
8480 }
8481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8482 return resultobj;
8483 fail:
8484 return NULL;
8485 }
8486
8487
8488 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxPyLog *arg1 = (wxPyLog *) 0 ;
8491 PyObject *arg2 = (PyObject *) 0 ;
8492 PyObject *arg3 = (PyObject *) 0 ;
8493 PyObject * obj0 = 0 ;
8494 PyObject * obj1 = 0 ;
8495 PyObject * obj2 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "self",(char *) "_class", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8502 arg2 = obj1;
8503 arg3 = obj2;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->_setCallbackInfo(arg2,arg3);
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515 }
8516
8517
8518 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8519 PyObject *obj;
8520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8521 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8522 Py_INCREF(obj);
8523 return Py_BuildValue((char *)"");
8524 }
8525 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 int arg1 ;
8528 int arg2 = (int) wxSIGTERM ;
8529 int result;
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj1 = 0 ;
8532 char *kwnames[] = {
8533 (char *) "pid",(char *) "sig", NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8537 {
8538 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
8541 if (obj1) {
8542 {
8543 arg2 = (wxSignal) SWIG_PyObj_AsInt(obj1);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 }
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_PyObj_FromInt((int)result);
8555 return resultobj;
8556 fail:
8557 return NULL;
8558 }
8559
8560
8561 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 int arg1 ;
8564 bool result;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "pid", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8571 {
8572 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (bool)wxPyProcess::Exists(arg1);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxString *arg1 = 0 ;
8592 int arg2 = (int) wxEXEC_ASYNC ;
8593 wxPyProcess *result;
8594 bool temp1 = False ;
8595 PyObject * obj0 = 0 ;
8596 PyObject * obj1 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "cmd",(char *) "flags", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8602 {
8603 arg1 = wxString_in_helper(obj0);
8604 if (arg1 == NULL) SWIG_fail;
8605 temp1 = True;
8606 }
8607 if (obj1) {
8608 {
8609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 }
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8621 {
8622 if (temp1)
8623 delete arg1;
8624 }
8625 return resultobj;
8626 fail:
8627 {
8628 if (temp1)
8629 delete arg1;
8630 }
8631 return NULL;
8632 }
8633
8634
8635 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj;
8637 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8638 int arg2 = (int) -1 ;
8639 wxPyProcess *result;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "parent",(char *) "id", NULL
8644 };
8645
8646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8647 if (obj0) {
8648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8649 }
8650 if (obj1) {
8651 {
8652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 }
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8673 PyObject *arg2 = (PyObject *) 0 ;
8674 PyObject *arg3 = (PyObject *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 PyObject * obj2 = 0 ;
8678 char *kwnames[] = {
8679 (char *) "self",(char *) "self",(char *) "_class", NULL
8680 };
8681
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8684 arg2 = obj1;
8685 arg3 = obj2;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 (arg1)->_setCallbackInfo(arg2,arg3);
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 Py_INCREF(Py_None); resultobj = Py_None;
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8703 int arg2 ;
8704 int arg3 ;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8707 PyObject * obj2 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self",(char *) "pid",(char *) "status", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8714 {
8715 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 {
8719 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->base_OnTerminate(arg2,arg3);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8739 PyObject * obj0 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->Redirect();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8763 bool result;
8764 PyObject * obj0 = 0 ;
8765 char *kwnames[] = {
8766 (char *) "self", NULL
8767 };
8768
8769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (bool)(arg1)->IsRedirected();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 (arg1)->Detach();
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 Py_INCREF(Py_None); resultobj = Py_None;
8803 return resultobj;
8804 fail:
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8812 wxInputStream *result;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (wxInputStream *)(arg1)->GetInputStream();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 {
8828 wxPyInputStream * _ptr = NULL;
8829
8830 if (result) {
8831 _ptr = new wxPyInputStream(result);
8832 }
8833 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8834 }
8835 return resultobj;
8836 fail:
8837 return NULL;
8838 }
8839
8840
8841 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8844 wxInputStream *result;
8845 PyObject * obj0 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (wxInputStream *)(arg1)->GetErrorStream();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 wxPyInputStream * _ptr = NULL;
8861
8862 if (result) {
8863 _ptr = new wxPyInputStream(result);
8864 }
8865 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8866 }
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8876 wxOutputStream *result;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (wxOutputStream *)(arg1)->GetOutputStream();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8901 PyObject * obj0 = 0 ;
8902 char *kwnames[] = {
8903 (char *) "self", NULL
8904 };
8905
8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->CloseOutput();
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8925 bool result;
8926 PyObject * obj0 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8950 bool result;
8951 PyObject * obj0 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8975 bool result;
8976 PyObject * obj0 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8998 PyObject *obj;
8999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9000 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9001 Py_INCREF(obj);
9002 return Py_BuildValue((char *)"");
9003 }
9004 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj;
9006 int arg1 = (int) 0 ;
9007 int arg2 = (int) 0 ;
9008 int arg3 = (int) 0 ;
9009 wxProcessEvent *result;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 PyObject * obj2 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9018 if (obj0) {
9019 {
9020 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 }
9024 if (obj1) {
9025 {
9026 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 }
9030 if (obj2) {
9031 {
9032 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
9043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
9044 return resultobj;
9045 fail:
9046 return NULL;
9047 }
9048
9049
9050 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9051 PyObject *resultobj;
9052 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9053 int result;
9054 PyObject * obj0 = 0 ;
9055 char *kwnames[] = {
9056 (char *) "self", NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (int)(arg1)->GetPid();
9064
9065 wxPyEndAllowThreads(__tstate);
9066 if (PyErr_Occurred()) SWIG_fail;
9067 }
9068 resultobj = SWIG_PyObj_FromInt((int)result);
9069 return resultobj;
9070 fail:
9071 return NULL;
9072 }
9073
9074
9075 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9076 PyObject *resultobj;
9077 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9078 int result;
9079 PyObject * obj0 = 0 ;
9080 char *kwnames[] = {
9081 (char *) "self", NULL
9082 };
9083
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 result = (int)(arg1)->GetExitCode();
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 resultobj = SWIG_PyObj_FromInt((int)result);
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9103 int arg2 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self",(char *) "m_pid", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9112 {
9113 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
9116 if (arg1) (arg1)->m_pid = arg2;
9117
9118 Py_INCREF(Py_None); resultobj = Py_None;
9119 return resultobj;
9120 fail:
9121 return NULL;
9122 }
9123
9124
9125 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9126 PyObject *resultobj;
9127 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9128 int result;
9129 PyObject * obj0 = 0 ;
9130 char *kwnames[] = {
9131 (char *) "self", NULL
9132 };
9133
9134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9136 result = (int) ((arg1)->m_pid);
9137
9138 resultobj = SWIG_PyObj_FromInt((int)result);
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9148 int arg2 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "m_exitcode", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 {
9158 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 if (arg1) (arg1)->m_exitcode = arg2;
9162
9163 Py_INCREF(Py_None); resultobj = Py_None;
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9173 int result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 result = (int) ((arg1)->m_exitcode);
9182
9183 resultobj = SWIG_PyObj_FromInt((int)result);
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9191 PyObject *obj;
9192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9193 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9194 Py_INCREF(obj);
9195 return Py_BuildValue((char *)"");
9196 }
9197 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxString *arg1 = 0 ;
9200 int arg2 = (int) wxEXEC_ASYNC ;
9201 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9202 long result;
9203 bool temp1 = False ;
9204 PyObject * obj0 = 0 ;
9205 PyObject * obj1 = 0 ;
9206 PyObject * obj2 = 0 ;
9207 char *kwnames[] = {
9208 (char *) "command",(char *) "flags",(char *) "process", NULL
9209 };
9210
9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9212 {
9213 arg1 = wxString_in_helper(obj0);
9214 if (arg1 == NULL) SWIG_fail;
9215 temp1 = True;
9216 }
9217 if (obj1) {
9218 {
9219 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 }
9223 if (obj2) {
9224 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9225 }
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) SWIG_fail;
9232 }
9233 resultobj = SWIG_PyObj_FromLong((long)result);
9234 {
9235 if (temp1)
9236 delete arg1;
9237 }
9238 return resultobj;
9239 fail:
9240 {
9241 if (temp1)
9242 delete arg1;
9243 }
9244 return NULL;
9245 }
9246
9247
9248 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9249 PyObject *resultobj;
9250 int arg1 = (int) wxJOYSTICK1 ;
9251 wxJoystick *result;
9252 PyObject * obj0 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "joystick", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9258 if (obj0) {
9259 {
9260 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 }
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (wxJoystick *)new wxJoystick(arg1);
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxJoystick *arg1 = (wxJoystick *) 0 ;
9281 PyObject * obj0 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 delete arg1;
9291
9292 wxPyEndAllowThreads(__tstate);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 }
9295 Py_INCREF(Py_None); resultobj = Py_None;
9296 return resultobj;
9297 fail:
9298 return NULL;
9299 }
9300
9301
9302 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj;
9304 wxJoystick *arg1 = (wxJoystick *) 0 ;
9305 wxPoint result;
9306 PyObject * obj0 = 0 ;
9307 char *kwnames[] = {
9308 (char *) "self", NULL
9309 };
9310
9311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 result = (arg1)->GetPosition();
9316
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 {
9321 wxPoint * resultptr;
9322 resultptr = new wxPoint((wxPoint &) result);
9323 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9324 }
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj;
9333 wxJoystick *arg1 = (wxJoystick *) 0 ;
9334 int result;
9335 PyObject * obj0 = 0 ;
9336 char *kwnames[] = {
9337 (char *) "self", NULL
9338 };
9339
9340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 result = (int)(arg1)->GetZPosition();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 resultobj = SWIG_PyObj_FromInt((int)result);
9350 return resultobj;
9351 fail:
9352 return NULL;
9353 }
9354
9355
9356 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9357 PyObject *resultobj;
9358 wxJoystick *arg1 = (wxJoystick *) 0 ;
9359 int result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 result = (int)(arg1)->GetButtonState();
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 resultobj = SWIG_PyObj_FromInt((int)result);
9375 return resultobj;
9376 fail:
9377 return NULL;
9378 }
9379
9380
9381 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject *resultobj;
9383 wxJoystick *arg1 = (wxJoystick *) 0 ;
9384 int result;
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (int)(arg1)->GetPOVPosition();
9395
9396 wxPyEndAllowThreads(__tstate);
9397 if (PyErr_Occurred()) SWIG_fail;
9398 }
9399 resultobj = SWIG_PyObj_FromInt((int)result);
9400 return resultobj;
9401 fail:
9402 return NULL;
9403 }
9404
9405
9406 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9407 PyObject *resultobj;
9408 wxJoystick *arg1 = (wxJoystick *) 0 ;
9409 int result;
9410 PyObject * obj0 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (int)(arg1)->GetPOVCTSPosition();
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = SWIG_PyObj_FromInt((int)result);
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxJoystick *arg1 = (wxJoystick *) 0 ;
9434 int result;
9435 PyObject * obj0 = 0 ;
9436 char *kwnames[] = {
9437 (char *) "self", NULL
9438 };
9439
9440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (int)(arg1)->GetRudderPosition();
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_PyObj_FromInt((int)result);
9450 return resultobj;
9451 fail:
9452 return NULL;
9453 }
9454
9455
9456 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj;
9458 wxJoystick *arg1 = (wxJoystick *) 0 ;
9459 int result;
9460 PyObject * obj0 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 {
9468 PyThreadState* __tstate = wxPyBeginAllowThreads();
9469 result = (int)(arg1)->GetUPosition();
9470
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_PyObj_FromInt((int)result);
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxJoystick *arg1 = (wxJoystick *) 0 ;
9484 int result;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (int)(arg1)->GetVPosition();
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 resultobj = SWIG_PyObj_FromInt((int)result);
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxJoystick *arg1 = (wxJoystick *) 0 ;
9509 int result;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (int)(arg1)->GetMovementThreshold();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_PyObj_FromInt((int)result);
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxJoystick *arg1 = (wxJoystick *) 0 ;
9534 int arg2 ;
9535 PyObject * obj0 = 0 ;
9536 PyObject * obj1 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "threshold", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9543 {
9544 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetMovementThreshold(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxJoystick *arg1 = (wxJoystick *) 0 ;
9564 bool result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->IsOk();
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxJoystick *arg1 = (wxJoystick *) 0 ;
9589 int result;
9590 PyObject * obj0 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (int)(arg1)->GetNumberJoysticks();
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 resultobj = SWIG_PyObj_FromInt((int)result);
9605 return resultobj;
9606 fail:
9607 return NULL;
9608 }
9609
9610
9611 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxJoystick *arg1 = (wxJoystick *) 0 ;
9614 int result;
9615 PyObject * obj0 = 0 ;
9616 char *kwnames[] = {
9617 (char *) "self", NULL
9618 };
9619
9620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (int)(arg1)->GetManufacturerId();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_PyObj_FromInt((int)result);
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxJoystick *arg1 = (wxJoystick *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (int)(arg1)->GetProductId();
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = SWIG_PyObj_FromInt((int)result);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxJoystick *arg1 = (wxJoystick *) 0 ;
9664 wxString result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (arg1)->GetProductName();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 {
9680 #if wxUSE_UNICODE
9681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9682 #else
9683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9684 #endif
9685 }
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxJoystick *arg1 = (wxJoystick *) 0 ;
9695 int result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 result = (int)(arg1)->GetXMin();
9706
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = SWIG_PyObj_FromInt((int)result);
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj;
9719 wxJoystick *arg1 = (wxJoystick *) 0 ;
9720 int result;
9721 PyObject * obj0 = 0 ;
9722 char *kwnames[] = {
9723 (char *) "self", NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (int)(arg1)->GetYMin();
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 resultobj = SWIG_PyObj_FromInt((int)result);
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxJoystick *arg1 = (wxJoystick *) 0 ;
9745 int result;
9746 PyObject * obj0 = 0 ;
9747 char *kwnames[] = {
9748 (char *) "self", NULL
9749 };
9750
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (int)(arg1)->GetZMin();
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 resultobj = SWIG_PyObj_FromInt((int)result);
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj;
9769 wxJoystick *arg1 = (wxJoystick *) 0 ;
9770 int result;
9771 PyObject * obj0 = 0 ;
9772 char *kwnames[] = {
9773 (char *) "self", NULL
9774 };
9775
9776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (int)(arg1)->GetXMax();
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 resultobj = SWIG_PyObj_FromInt((int)result);
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxJoystick *arg1 = (wxJoystick *) 0 ;
9795 int result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)(arg1)->GetYMax();
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = SWIG_PyObj_FromInt((int)result);
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxJoystick *arg1 = (wxJoystick *) 0 ;
9820 int result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)(arg1)->GetZMax();
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 resultobj = SWIG_PyObj_FromInt((int)result);
9836 return resultobj;
9837 fail:
9838 return NULL;
9839 }
9840
9841
9842 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxJoystick *arg1 = (wxJoystick *) 0 ;
9845 int result;
9846 PyObject * obj0 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (int)(arg1)->GetNumberButtons();
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 resultobj = SWIG_PyObj_FromInt((int)result);
9861 return resultobj;
9862 fail:
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxJoystick *arg1 = (wxJoystick *) 0 ;
9870 int result;
9871 PyObject * obj0 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "self", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = (int)(arg1)->GetNumberAxes();
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 resultobj = SWIG_PyObj_FromInt((int)result);
9886 return resultobj;
9887 fail:
9888 return NULL;
9889 }
9890
9891
9892 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9893 PyObject *resultobj;
9894 wxJoystick *arg1 = (wxJoystick *) 0 ;
9895 int result;
9896 PyObject * obj0 = 0 ;
9897 char *kwnames[] = {
9898 (char *) "self", NULL
9899 };
9900
9901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 result = (int)(arg1)->GetMaxButtons();
9906
9907 wxPyEndAllowThreads(__tstate);
9908 if (PyErr_Occurred()) SWIG_fail;
9909 }
9910 resultobj = SWIG_PyObj_FromInt((int)result);
9911 return resultobj;
9912 fail:
9913 return NULL;
9914 }
9915
9916
9917 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, 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_GetMaxAxes",kwnames,&obj0)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (int)(arg1)->GetMaxAxes();
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = SWIG_PyObj_FromInt((int)result);
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxJoystick *arg1 = (wxJoystick *) 0 ;
9945 int result;
9946 PyObject * obj0 = 0 ;
9947 char *kwnames[] = {
9948 (char *) "self", NULL
9949 };
9950
9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9953 {
9954 PyThreadState* __tstate = wxPyBeginAllowThreads();
9955 result = (int)(arg1)->GetPollingMin();
9956
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 resultobj = SWIG_PyObj_FromInt((int)result);
9961 return resultobj;
9962 fail:
9963 return NULL;
9964 }
9965
9966
9967 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9968 PyObject *resultobj;
9969 wxJoystick *arg1 = (wxJoystick *) 0 ;
9970 int result;
9971 PyObject * obj0 = 0 ;
9972 char *kwnames[] = {
9973 (char *) "self", NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (int)(arg1)->GetPollingMax();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 resultobj = SWIG_PyObj_FromInt((int)result);
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxJoystick *arg1 = (wxJoystick *) 0 ;
9995 int result;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "self", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 result = (int)(arg1)->GetRudderMin();
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_PyObj_FromInt((int)result);
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj;
10019 wxJoystick *arg1 = (wxJoystick *) 0 ;
10020 int result;
10021 PyObject * obj0 = 0 ;
10022 char *kwnames[] = {
10023 (char *) "self", NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = (int)(arg1)->GetRudderMax();
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_PyObj_FromInt((int)result);
10036 return resultobj;
10037 fail:
10038 return NULL;
10039 }
10040
10041
10042 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxJoystick *arg1 = (wxJoystick *) 0 ;
10045 int result;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 result = (int)(arg1)->GetUMin();
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 resultobj = SWIG_PyObj_FromInt((int)result);
10061 return resultobj;
10062 fail:
10063 return NULL;
10064 }
10065
10066
10067 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxJoystick *arg1 = (wxJoystick *) 0 ;
10070 int result;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 result = (int)(arg1)->GetUMax();
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 resultobj = SWIG_PyObj_FromInt((int)result);
10086 return resultobj;
10087 fail:
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxJoystick *arg1 = (wxJoystick *) 0 ;
10095 int result;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 result = (int)(arg1)->GetVMin();
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 resultobj = SWIG_PyObj_FromInt((int)result);
10111 return resultobj;
10112 fail:
10113 return NULL;
10114 }
10115
10116
10117 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxJoystick *arg1 = (wxJoystick *) 0 ;
10120 int result;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)(arg1)->GetVMax();
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_PyObj_FromInt((int)result);
10136 return resultobj;
10137 fail:
10138 return NULL;
10139 }
10140
10141
10142 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxJoystick *arg1 = (wxJoystick *) 0 ;
10145 bool result;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (bool)(arg1)->HasRudder();
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10161 return resultobj;
10162 fail:
10163 return NULL;
10164 }
10165
10166
10167 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxJoystick *arg1 = (wxJoystick *) 0 ;
10170 bool result;
10171 PyObject * obj0 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (bool)(arg1)->HasZ();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxJoystick *arg1 = (wxJoystick *) 0 ;
10195 bool result;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (bool)(arg1)->HasU();
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxJoystick *arg1 = (wxJoystick *) 0 ;
10220 bool result;
10221 PyObject * obj0 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 result = (bool)(arg1)->HasV();
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj;
10244 wxJoystick *arg1 = (wxJoystick *) 0 ;
10245 bool result;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 result = (bool)(arg1)->HasPOV();
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10261 return resultobj;
10262 fail:
10263 return NULL;
10264 }
10265
10266
10267 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxJoystick *arg1 = (wxJoystick *) 0 ;
10270 bool result;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (bool)(arg1)->HasPOV4Dir();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10286 return resultobj;
10287 fail:
10288 return NULL;
10289 }
10290
10291
10292 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxJoystick *arg1 = (wxJoystick *) 0 ;
10295 bool result;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)(arg1)->HasPOVCTS();
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10311 return resultobj;
10312 fail:
10313 return NULL;
10314 }
10315
10316
10317 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxJoystick *arg1 = (wxJoystick *) 0 ;
10320 wxWindow *arg2 = (wxWindow *) 0 ;
10321 int arg3 = (int) 0 ;
10322 bool result;
10323 PyObject * obj0 = 0 ;
10324 PyObject * obj1 = 0 ;
10325 PyObject * obj2 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 if (obj2) {
10334 {
10335 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 }
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (bool)(arg1)->SetCapture(arg2,arg3);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10347 return resultobj;
10348 fail:
10349 return NULL;
10350 }
10351
10352
10353 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj;
10355 wxJoystick *arg1 = (wxJoystick *) 0 ;
10356 bool result;
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 result = (bool)(arg1)->ReleaseCapture();
10367
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10379 PyObject *obj;
10380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10382 Py_INCREF(obj);
10383 return Py_BuildValue((char *)"");
10384 }
10385 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10388 wxPoint *arg2 = (wxPoint *) 0 ;
10389 PyObject * obj0 = 0 ;
10390 PyObject * obj1 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self",(char *) "m_pos", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10398 if (arg1) (arg1)->m_pos = *arg2;
10399
10400 Py_INCREF(Py_None); resultobj = Py_None;
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10410 wxPoint *result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 result = (wxPoint *)& ((arg1)->m_pos);
10419
10420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10430 int arg2 ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 char *kwnames[] = {
10434 (char *) "self",(char *) "m_zPosition", NULL
10435 };
10436
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10439 {
10440 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 if (arg1) (arg1)->m_zPosition = arg2;
10444
10445 Py_INCREF(Py_None); resultobj = Py_None;
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10455 int result;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 result = (int) ((arg1)->m_zPosition);
10464
10465 resultobj = SWIG_PyObj_FromInt((int)result);
10466 return resultobj;
10467 fail:
10468 return NULL;
10469 }
10470
10471
10472 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject *resultobj;
10474 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10475 int arg2 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "m_buttonChange", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 {
10485 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 if (arg1) (arg1)->m_buttonChange = arg2;
10489
10490 Py_INCREF(Py_None); resultobj = Py_None;
10491 return resultobj;
10492 fail:
10493 return NULL;
10494 }
10495
10496
10497 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10500 int result;
10501 PyObject * obj0 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10508 result = (int) ((arg1)->m_buttonChange);
10509
10510 resultobj = SWIG_PyObj_FromInt((int)result);
10511 return resultobj;
10512 fail:
10513 return NULL;
10514 }
10515
10516
10517 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10518 PyObject *resultobj;
10519 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10520 int arg2 ;
10521 PyObject * obj0 = 0 ;
10522 PyObject * obj1 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self",(char *) "m_buttonState", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 if (arg1) (arg1)->m_buttonState = arg2;
10534
10535 Py_INCREF(Py_None); resultobj = Py_None;
10536 return resultobj;
10537 fail:
10538 return NULL;
10539 }
10540
10541
10542 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10545 int result;
10546 PyObject * obj0 = 0 ;
10547 char *kwnames[] = {
10548 (char *) "self", NULL
10549 };
10550
10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10553 result = (int) ((arg1)->m_buttonState);
10554
10555 resultobj = SWIG_PyObj_FromInt((int)result);
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10565 int arg2 ;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "m_joyStick", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10574 {
10575 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 if (arg1) (arg1)->m_joyStick = arg2;
10579
10580 Py_INCREF(Py_None); resultobj = Py_None;
10581 return resultobj;
10582 fail:
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj;
10589 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10590 int result;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10598 result = (int) ((arg1)->m_joyStick);
10599
10600 resultobj = SWIG_PyObj_FromInt((int)result);
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj;
10609 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10610 int arg2 = (int) 0 ;
10611 int arg3 = (int) wxJOYSTICK1 ;
10612 int arg4 = (int) 0 ;
10613 wxJoystickEvent *result;
10614 PyObject * obj0 = 0 ;
10615 PyObject * obj1 = 0 ;
10616 PyObject * obj2 = 0 ;
10617 PyObject * obj3 = 0 ;
10618 char *kwnames[] = {
10619 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10620 };
10621
10622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10623 if (obj0) {
10624 {
10625 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 }
10629 if (obj1) {
10630 {
10631 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 }
10635 if (obj2) {
10636 {
10637 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 }
10641 if (obj3) {
10642 {
10643 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10664 wxPoint result;
10665 PyObject * obj0 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10672 {
10673 PyThreadState* __tstate = wxPyBeginAllowThreads();
10674 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10675
10676 wxPyEndAllowThreads(__tstate);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 }
10679 {
10680 wxPoint * resultptr;
10681 resultptr = new wxPoint((wxPoint &) result);
10682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10683 }
10684 return resultobj;
10685 fail:
10686 return NULL;
10687 }
10688
10689
10690 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj;
10692 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10693 int result;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 resultobj = SWIG_PyObj_FromInt((int)result);
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10718 int result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = SWIG_PyObj_FromInt((int)result);
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10743 int result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 resultobj = SWIG_PyObj_FromInt((int)result);
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10768 int result;
10769 PyObject * obj0 = 0 ;
10770 char *kwnames[] = {
10771 (char *) "self", NULL
10772 };
10773
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10776 {
10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
10778 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10779
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 resultobj = SWIG_PyObj_FromInt((int)result);
10784 return resultobj;
10785 fail:
10786 return NULL;
10787 }
10788
10789
10790 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject *resultobj;
10792 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10793 int arg2 ;
10794 PyObject * obj0 = 0 ;
10795 PyObject * obj1 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self",(char *) "stick", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 {
10803 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->SetJoystick(arg2);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10823 int arg2 ;
10824 PyObject * obj0 = 0 ;
10825 PyObject * obj1 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self",(char *) "state", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
10831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10832 {
10833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 (arg1)->SetButtonState(arg2);
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10853 int arg2 ;
10854 PyObject * obj0 = 0 ;
10855 PyObject * obj1 = 0 ;
10856 char *kwnames[] = {
10857 (char *) "self",(char *) "change", NULL
10858 };
10859
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
10861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10862 {
10863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 (arg1)->SetButtonChange(arg2);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 Py_INCREF(Py_None); resultobj = Py_None;
10874 return resultobj;
10875 fail:
10876 return NULL;
10877 }
10878
10879
10880 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10883 wxPoint *arg2 = 0 ;
10884 wxPoint temp2 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "pos", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 arg2 = &temp2;
10895 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10896 }
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 (arg1)->SetPosition((wxPoint const &)*arg2);
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 Py_INCREF(Py_None); resultobj = Py_None;
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10914 int arg2 ;
10915 PyObject * obj0 = 0 ;
10916 PyObject * obj1 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "zPos", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10923 {
10924 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetZPosition(arg2);
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 Py_INCREF(Py_None); resultobj = Py_None;
10935 return resultobj;
10936 fail:
10937 return NULL;
10938 }
10939
10940
10941 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10942 PyObject *resultobj;
10943 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10944 bool result;
10945 PyObject * obj0 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
10959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10960 return resultobj;
10961 fail:
10962 return NULL;
10963 }
10964
10965
10966 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10969 bool result;
10970 PyObject * obj0 = 0 ;
10971 char *kwnames[] = {
10972 (char *) "self", NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10994 bool result;
10995 PyObject * obj0 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11010 return resultobj;
11011 fail:
11012 return NULL;
11013 }
11014
11015
11016 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11019 int arg2 = (int) wxJOY_BUTTON_ANY ;
11020 bool result;
11021 PyObject * obj0 = 0 ;
11022 PyObject * obj1 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self",(char *) "but", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 if (obj1) {
11030 {
11031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 }
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11043 return resultobj;
11044 fail:
11045 return NULL;
11046 }
11047
11048
11049 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj;
11051 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11052 int arg2 = (int) wxJOY_BUTTON_ANY ;
11053 bool result;
11054 PyObject * obj0 = 0 ;
11055 PyObject * obj1 = 0 ;
11056 char *kwnames[] = {
11057 (char *) "self",(char *) "but", NULL
11058 };
11059
11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11062 if (obj1) {
11063 {
11064 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 }
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11085 int arg2 = (int) wxJOY_BUTTON_ANY ;
11086 bool result;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self",(char *) "but", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11095 if (obj1) {
11096 {
11097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 }
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11116 PyObject *obj;
11117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11118 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11119 Py_INCREF(obj);
11120 return Py_BuildValue((char *)"");
11121 }
11122 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11123 PyObject *resultobj;
11124 wxSound *result;
11125
11126 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 result = (wxSound *)new wxSound();
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11135 return resultobj;
11136 fail:
11137 return NULL;
11138 }
11139
11140
11141 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
11142 PyObject *resultobj;
11143 wxString *arg1 = 0 ;
11144 bool arg2 = (bool) false ;
11145 wxSound *result;
11146 bool temp1 = False ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149
11150 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11151 {
11152 arg1 = wxString_in_helper(obj0);
11153 if (arg1 == NULL) SWIG_fail;
11154 temp1 = True;
11155 }
11156 if (obj1) {
11157 {
11158 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 }
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
11164 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11165
11166 wxPyEndAllowThreads(__tstate);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11170 {
11171 if (temp1)
11172 delete arg1;
11173 }
11174 return resultobj;
11175 fail:
11176 {
11177 if (temp1)
11178 delete arg1;
11179 }
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
11185 PyObject *resultobj;
11186 int arg1 ;
11187 wxByte *arg2 = (wxByte *) 0 ;
11188 wxSound *result;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191
11192 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11193 {
11194 arg1 = (int) SWIG_PyObj_AsInt(obj0);
11195 if (PyErr_Occurred()) SWIG_fail;
11196 }
11197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11206 return resultobj;
11207 fail:
11208 return NULL;
11209 }
11210
11211
11212 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11213 int argc;
11214 PyObject *argv[3];
11215 int ii;
11216
11217 argc = PyObject_Length(args);
11218 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11219 argv[ii] = PyTuple_GetItem(args,ii);
11220 }
11221 if (argc == 0) {
11222 return _wrap_new_Sound__SWIG_0(self,args);
11223 }
11224 if ((argc >= 1) && (argc <= 2)) {
11225 int _v;
11226 {
11227 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11228 }
11229 if (_v) {
11230 if (argc <= 1) {
11231 return _wrap_new_Sound__SWIG_1(self,args);
11232 }
11233 {
11234 SWIG_PyObj_AsBool(argv[1]);
11235 if (PyErr_Occurred()) {
11236 _v = 0;
11237 PyErr_Clear();
11238 } else {
11239 _v = 1;
11240 }
11241 }
11242 if (_v) {
11243 return _wrap_new_Sound__SWIG_1(self,args);
11244 }
11245 }
11246 }
11247 if (argc == 2) {
11248 int _v;
11249 {
11250 SWIG_PyObj_AsInt(argv[0]);
11251 if (PyErr_Occurred()) {
11252 _v = 0;
11253 PyErr_Clear();
11254 } else {
11255 _v = 1;
11256 }
11257 }
11258 if (_v) {
11259 {
11260 void *ptr;
11261 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11262 _v = 0;
11263 PyErr_Clear();
11264 } else {
11265 _v = 1;
11266 }
11267 }
11268 if (_v) {
11269 return _wrap_new_Sound__SWIG_2(self,args);
11270 }
11271 }
11272 }
11273
11274 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11275 return NULL;
11276 }
11277
11278
11279 static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj;
11281 wxSound *arg1 = (wxSound *) 0 ;
11282 PyObject * obj0 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 delete arg1;
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
11304 PyObject *resultobj;
11305 wxSound *arg1 = (wxSound *) 0 ;
11306 wxString *arg2 = 0 ;
11307 bool arg3 = (bool) false ;
11308 bool result;
11309 bool temp2 = False ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 PyObject * obj2 = 0 ;
11313
11314 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11316 {
11317 arg2 = wxString_in_helper(obj1);
11318 if (arg2 == NULL) SWIG_fail;
11319 temp2 = True;
11320 }
11321 if (obj2) {
11322 {
11323 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 }
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11335 {
11336 if (temp2)
11337 delete arg2;
11338 }
11339 return resultobj;
11340 fail:
11341 {
11342 if (temp2)
11343 delete arg2;
11344 }
11345 return NULL;
11346 }
11347
11348
11349 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
11350 PyObject *resultobj;
11351 wxSound *arg1 = (wxSound *) 0 ;
11352 int arg2 ;
11353 wxByte *arg3 = (wxByte *) 0 ;
11354 bool result;
11355 PyObject * obj0 = 0 ;
11356 PyObject * obj1 = 0 ;
11357 PyObject * obj2 = 0 ;
11358
11359 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11361 {
11362 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11363 if (PyErr_Occurred()) SWIG_fail;
11364 }
11365 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11381 int argc;
11382 PyObject *argv[4];
11383 int ii;
11384
11385 argc = PyObject_Length(args);
11386 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11387 argv[ii] = PyTuple_GetItem(args,ii);
11388 }
11389 if ((argc >= 2) && (argc <= 3)) {
11390 int _v;
11391 {
11392 void *ptr;
11393 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11394 _v = 0;
11395 PyErr_Clear();
11396 } else {
11397 _v = 1;
11398 }
11399 }
11400 if (_v) {
11401 {
11402 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11403 }
11404 if (_v) {
11405 if (argc <= 2) {
11406 return _wrap_Sound_Create__SWIG_0(self,args);
11407 }
11408 {
11409 SWIG_PyObj_AsBool(argv[2]);
11410 if (PyErr_Occurred()) {
11411 _v = 0;
11412 PyErr_Clear();
11413 } else {
11414 _v = 1;
11415 }
11416 }
11417 if (_v) {
11418 return _wrap_Sound_Create__SWIG_0(self,args);
11419 }
11420 }
11421 }
11422 }
11423 if (argc == 3) {
11424 int _v;
11425 {
11426 void *ptr;
11427 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11428 _v = 0;
11429 PyErr_Clear();
11430 } else {
11431 _v = 1;
11432 }
11433 }
11434 if (_v) {
11435 {
11436 SWIG_PyObj_AsInt(argv[1]);
11437 if (PyErr_Occurred()) {
11438 _v = 0;
11439 PyErr_Clear();
11440 } else {
11441 _v = 1;
11442 }
11443 }
11444 if (_v) {
11445 {
11446 void *ptr;
11447 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11448 _v = 0;
11449 PyErr_Clear();
11450 } else {
11451 _v = 1;
11452 }
11453 }
11454 if (_v) {
11455 return _wrap_Sound_Create__SWIG_1(self,args);
11456 }
11457 }
11458 }
11459 }
11460
11461 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxSound *arg1 = (wxSound *) 0 ;
11469 bool result;
11470 PyObject * obj0 = 0 ;
11471 char *kwnames[] = {
11472 (char *) "self", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (bool)(arg1)->IsOk();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11492 PyObject *resultobj;
11493 wxSound *arg1 = (wxSound *) 0 ;
11494 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11495 bool result;
11496 PyObject * obj0 = 0 ;
11497 PyObject * obj1 = 0 ;
11498
11499 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11501 if (obj1) {
11502 {
11503 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 }
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (bool)((wxSound const *)arg1)->Play(arg2);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11515 return resultobj;
11516 fail:
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11522 PyObject *resultobj;
11523 wxString *arg1 = 0 ;
11524 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11525 bool result;
11526 bool temp1 = False ;
11527 PyObject * obj0 = 0 ;
11528 PyObject * obj1 = 0 ;
11529
11530 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11531 {
11532 arg1 = wxString_in_helper(obj0);
11533 if (arg1 == NULL) SWIG_fail;
11534 temp1 = True;
11535 }
11536 if (obj1) {
11537 {
11538 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 }
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11545
11546 wxPyEndAllowThreads(__tstate);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 }
11549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11550 {
11551 if (temp1)
11552 delete arg1;
11553 }
11554 return resultobj;
11555 fail:
11556 {
11557 if (temp1)
11558 delete arg1;
11559 }
11560 return NULL;
11561 }
11562
11563
11564 static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11565 PyObject *resultobj;
11566 char *kwnames[] = {
11567 NULL
11568 };
11569
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 wxSound::Stop();
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 Py_INCREF(Py_None); resultobj = Py_None;
11579 return resultobj;
11580 fail:
11581 return NULL;
11582 }
11583
11584
11585 static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11586 PyObject *obj;
11587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11588 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11589 Py_INCREF(obj);
11590 return Py_BuildValue((char *)"");
11591 }
11592 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxString *arg1 = 0 ;
11595 wxString *arg2 = 0 ;
11596 wxString *arg3 = 0 ;
11597 wxString *arg4 = 0 ;
11598 wxFileTypeInfo *result;
11599 bool temp1 = False ;
11600 bool temp2 = False ;
11601 bool temp3 = False ;
11602 bool temp4 = False ;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 PyObject * obj2 = 0 ;
11606 PyObject * obj3 = 0 ;
11607 char *kwnames[] = {
11608 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11609 };
11610
11611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11612 {
11613 arg1 = wxString_in_helper(obj0);
11614 if (arg1 == NULL) SWIG_fail;
11615 temp1 = True;
11616 }
11617 {
11618 arg2 = wxString_in_helper(obj1);
11619 if (arg2 == NULL) SWIG_fail;
11620 temp2 = True;
11621 }
11622 {
11623 arg3 = wxString_in_helper(obj2);
11624 if (arg3 == NULL) SWIG_fail;
11625 temp3 = True;
11626 }
11627 {
11628 arg4 = wxString_in_helper(obj3);
11629 if (arg4 == NULL) SWIG_fail;
11630 temp4 = True;
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11640 {
11641 if (temp1)
11642 delete arg1;
11643 }
11644 {
11645 if (temp2)
11646 delete arg2;
11647 }
11648 {
11649 if (temp3)
11650 delete arg3;
11651 }
11652 {
11653 if (temp4)
11654 delete arg4;
11655 }
11656 return resultobj;
11657 fail:
11658 {
11659 if (temp1)
11660 delete arg1;
11661 }
11662 {
11663 if (temp2)
11664 delete arg2;
11665 }
11666 {
11667 if (temp3)
11668 delete arg3;
11669 }
11670 {
11671 if (temp4)
11672 delete arg4;
11673 }
11674 return NULL;
11675 }
11676
11677
11678 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11679 PyObject *resultobj;
11680 wxArrayString *arg1 = 0 ;
11681 wxFileTypeInfo *result;
11682 bool temp1 = False ;
11683 PyObject * obj0 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "sArray", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11689 {
11690 if (! PySequence_Check(obj0)) {
11691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11692 SWIG_fail;
11693 }
11694 arg1 = new wxArrayString;
11695 temp1 = True;
11696 int i, len=PySequence_Length(obj0);
11697 for (i=0; i<len; i++) {
11698 PyObject* item = PySequence_GetItem(obj0, i);
11699 #if wxUSE_UNICODE
11700 PyObject* str = PyObject_Unicode(item);
11701 #else
11702 PyObject* str = PyObject_Str(item);
11703 #endif
11704 arg1->Add(Py2wxString(str));
11705 Py_DECREF(item);
11706 Py_DECREF(str);
11707 }
11708 }
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11712
11713 wxPyEndAllowThreads(__tstate);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11717 {
11718 if (temp1) delete arg1;
11719 }
11720 return resultobj;
11721 fail:
11722 {
11723 if (temp1) delete arg1;
11724 }
11725 return NULL;
11726 }
11727
11728
11729 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxFileTypeInfo *result;
11732 char *kwnames[] = {
11733 NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11754 bool result;
11755 PyObject * obj0 = 0 ;
11756 char *kwnames[] = {
11757 (char *) "self", NULL
11758 };
11759
11760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11770 return resultobj;
11771 fail:
11772 return NULL;
11773 }
11774
11775
11776 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11779 wxString *arg2 = 0 ;
11780 int arg3 = (int) 0 ;
11781 bool temp2 = False ;
11782 PyObject * obj0 = 0 ;
11783 PyObject * obj1 = 0 ;
11784 PyObject * obj2 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11791 {
11792 arg2 = wxString_in_helper(obj1);
11793 if (arg2 == NULL) SWIG_fail;
11794 temp2 = True;
11795 }
11796 if (obj2) {
11797 {
11798 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 {
11811 if (temp2)
11812 delete arg2;
11813 }
11814 return resultobj;
11815 fail:
11816 {
11817 if (temp2)
11818 delete arg2;
11819 }
11820 return NULL;
11821 }
11822
11823
11824 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11825 PyObject *resultobj;
11826 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11827 wxString *arg2 = 0 ;
11828 bool temp2 = False ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj1 = 0 ;
11831 char *kwnames[] = {
11832 (char *) "self",(char *) "shortDesc", NULL
11833 };
11834
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11837 {
11838 arg2 = wxString_in_helper(obj1);
11839 if (arg2 == NULL) SWIG_fail;
11840 temp2 = True;
11841 }
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 (arg1)->SetShortDesc((wxString const &)*arg2);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 Py_INCREF(Py_None); resultobj = Py_None;
11850 {
11851 if (temp2)
11852 delete arg2;
11853 }
11854 return resultobj;
11855 fail:
11856 {
11857 if (temp2)
11858 delete arg2;
11859 }
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11867 wxString *result;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 {
11878 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11879 result = (wxString *) &_result_ref;
11880 }
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 {
11886 #if wxUSE_UNICODE
11887 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11888 #else
11889 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11890 #endif
11891 }
11892 return resultobj;
11893 fail:
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11901 wxString *result;
11902 PyObject * obj0 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 {
11912 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11913 result = (wxString *) &_result_ref;
11914 }
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 {
11920 #if wxUSE_UNICODE
11921 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11922 #else
11923 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11924 #endif
11925 }
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11935 wxString *result;
11936 PyObject * obj0 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 {
11946 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11947 result = (wxString *) &_result_ref;
11948 }
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 {
11954 #if wxUSE_UNICODE
11955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11956 #else
11957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11958 #endif
11959 }
11960 return resultobj;
11961 fail:
11962 return NULL;
11963 }
11964
11965
11966 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11969 wxString *result;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 {
11980 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11981 result = (wxString *) &_result_ref;
11982 }
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 {
11988 #if wxUSE_UNICODE
11989 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11990 #else
11991 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11992 #endif
11993 }
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12003 wxString *result;
12004 PyObject * obj0 = 0 ;
12005 char *kwnames[] = {
12006 (char *) "self", NULL
12007 };
12008
12009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
12010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 {
12014 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
12015 result = (wxString *) &_result_ref;
12016 }
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 {
12022 #if wxUSE_UNICODE
12023 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12024 #else
12025 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12026 #endif
12027 }
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12037 wxArrayString *result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 {
12048 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12049 result = (wxArrayString *) &_result_ref;
12050 }
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 {
12056 resultobj = wxArrayString2PyList_helper(*result);
12057 }
12058 return resultobj;
12059 fail:
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12067 int result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = SWIG_PyObj_FromInt((int)result);
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12092 wxString *result;
12093 PyObject * obj0 = 0 ;
12094 char *kwnames[] = {
12095 (char *) "self", NULL
12096 };
12097
12098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 {
12103 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12104 result = (wxString *) &_result_ref;
12105 }
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 {
12111 #if wxUSE_UNICODE
12112 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12113 #else
12114 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12115 #endif
12116 }
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12124 PyObject *resultobj;
12125 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12126 int result;
12127 PyObject * obj0 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 resultobj = SWIG_PyObj_FromInt((int)result);
12142 return resultobj;
12143 fail:
12144 return NULL;
12145 }
12146
12147
12148 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12149 PyObject *obj;
12150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12151 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12152 Py_INCREF(obj);
12153 return Py_BuildValue((char *)"");
12154 }
12155 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12156 PyObject *resultobj;
12157 wxFileTypeInfo *arg1 = 0 ;
12158 wxFileType *result;
12159 PyObject * obj0 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "ftInfo", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12166 if (arg1 == NULL) {
12167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12168 }
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxFileType *arg1 = (wxFileType *) 0 ;
12186 PyObject * obj0 = 0 ;
12187 char *kwnames[] = {
12188 (char *) "self", NULL
12189 };
12190
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 delete arg1;
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 Py_INCREF(Py_None); resultobj = Py_None;
12201 return resultobj;
12202 fail:
12203 return NULL;
12204 }
12205
12206
12207 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxFileType *arg1 = (wxFileType *) 0 ;
12210 PyObject *result;
12211 PyObject * obj0 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (PyObject *)wxFileType_GetMimeType(arg1);
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 resultobj = result;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxFileType *arg1 = (wxFileType *) 0 ;
12235 PyObject *result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 resultobj = result;
12251 return resultobj;
12252 fail:
12253 return NULL;
12254 }
12255
12256
12257 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12258 PyObject *resultobj;
12259 wxFileType *arg1 = (wxFileType *) 0 ;
12260 PyObject *result;
12261 PyObject * obj0 = 0 ;
12262 char *kwnames[] = {
12263 (char *) "self", NULL
12264 };
12265
12266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12268 {
12269 PyThreadState* __tstate = wxPyBeginAllowThreads();
12270 result = (PyObject *)wxFileType_GetExtensions(arg1);
12271
12272 wxPyEndAllowThreads(__tstate);
12273 if (PyErr_Occurred()) SWIG_fail;
12274 }
12275 resultobj = result;
12276 return resultobj;
12277 fail:
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxFileType *arg1 = (wxFileType *) 0 ;
12285 wxIcon *result;
12286 PyObject * obj0 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 result = (wxIcon *)wxFileType_GetIcon(arg1);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxFileType *arg1 = (wxFileType *) 0 ;
12310 PyObject *result;
12311 PyObject * obj0 = 0 ;
12312 char *kwnames[] = {
12313 (char *) "self", NULL
12314 };
12315
12316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = result;
12326 return resultobj;
12327 fail:
12328 return NULL;
12329 }
12330
12331
12332 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj;
12334 wxFileType *arg1 = (wxFileType *) 0 ;
12335 PyObject *result;
12336 PyObject * obj0 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "self", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = (PyObject *)wxFileType_GetDescription(arg1);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = result;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354 }
12355
12356
12357 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxFileType *arg1 = (wxFileType *) 0 ;
12360 wxString *arg2 = 0 ;
12361 wxString const &arg3_defvalue = wxPyEmptyString ;
12362 wxString *arg3 = (wxString *) &arg3_defvalue ;
12363 PyObject *result;
12364 bool temp2 = False ;
12365 bool temp3 = False ;
12366 PyObject * obj0 = 0 ;
12367 PyObject * obj1 = 0 ;
12368 PyObject * obj2 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12375 {
12376 arg2 = wxString_in_helper(obj1);
12377 if (arg2 == NULL) SWIG_fail;
12378 temp2 = True;
12379 }
12380 if (obj2) {
12381 {
12382 arg3 = wxString_in_helper(obj2);
12383 if (arg3 == NULL) SWIG_fail;
12384 temp3 = True;
12385 }
12386 }
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12390
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = result;
12395 {
12396 if (temp2)
12397 delete arg2;
12398 }
12399 {
12400 if (temp3)
12401 delete arg3;
12402 }
12403 return resultobj;
12404 fail:
12405 {
12406 if (temp2)
12407 delete arg2;
12408 }
12409 {
12410 if (temp3)
12411 delete arg3;
12412 }
12413 return NULL;
12414 }
12415
12416
12417 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFileType *arg1 = (wxFileType *) 0 ;
12420 wxString *arg2 = 0 ;
12421 wxString const &arg3_defvalue = wxPyEmptyString ;
12422 wxString *arg3 = (wxString *) &arg3_defvalue ;
12423 PyObject *result;
12424 bool temp2 = False ;
12425 bool temp3 = False ;
12426 PyObject * obj0 = 0 ;
12427 PyObject * obj1 = 0 ;
12428 PyObject * obj2 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12435 {
12436 arg2 = wxString_in_helper(obj1);
12437 if (arg2 == NULL) SWIG_fail;
12438 temp2 = True;
12439 }
12440 if (obj2) {
12441 {
12442 arg3 = wxString_in_helper(obj2);
12443 if (arg3 == NULL) SWIG_fail;
12444 temp3 = True;
12445 }
12446 }
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = result;
12455 {
12456 if (temp2)
12457 delete arg2;
12458 }
12459 {
12460 if (temp3)
12461 delete arg3;
12462 }
12463 return resultobj;
12464 fail:
12465 {
12466 if (temp2)
12467 delete arg2;
12468 }
12469 {
12470 if (temp3)
12471 delete arg3;
12472 }
12473 return NULL;
12474 }
12475
12476
12477 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxFileType *arg1 = (wxFileType *) 0 ;
12480 wxString *arg2 = 0 ;
12481 wxString const &arg3_defvalue = wxPyEmptyString ;
12482 wxString *arg3 = (wxString *) &arg3_defvalue ;
12483 PyObject *result;
12484 bool temp2 = False ;
12485 bool temp3 = False ;
12486 PyObject * obj0 = 0 ;
12487 PyObject * obj1 = 0 ;
12488 PyObject * obj2 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12495 {
12496 arg2 = wxString_in_helper(obj1);
12497 if (arg2 == NULL) SWIG_fail;
12498 temp2 = True;
12499 }
12500 if (obj2) {
12501 {
12502 arg3 = wxString_in_helper(obj2);
12503 if (arg3 == NULL) SWIG_fail;
12504 temp3 = True;
12505 }
12506 }
12507 {
12508 PyThreadState* __tstate = wxPyBeginAllowThreads();
12509 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12510
12511 wxPyEndAllowThreads(__tstate);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 resultobj = result;
12515 {
12516 if (temp2)
12517 delete arg2;
12518 }
12519 {
12520 if (temp3)
12521 delete arg3;
12522 }
12523 return resultobj;
12524 fail:
12525 {
12526 if (temp2)
12527 delete arg2;
12528 }
12529 {
12530 if (temp3)
12531 delete arg3;
12532 }
12533 return NULL;
12534 }
12535
12536
12537 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12538 PyObject *resultobj;
12539 wxFileType *arg1 = (wxFileType *) 0 ;
12540 wxString *arg2 = 0 ;
12541 wxString *arg3 = 0 ;
12542 bool arg4 = (bool) True ;
12543 bool result;
12544 bool temp2 = False ;
12545 bool temp3 = False ;
12546 PyObject * obj0 = 0 ;
12547 PyObject * obj1 = 0 ;
12548 PyObject * obj2 = 0 ;
12549 PyObject * obj3 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12556 {
12557 arg2 = wxString_in_helper(obj1);
12558 if (arg2 == NULL) SWIG_fail;
12559 temp2 = True;
12560 }
12561 {
12562 arg3 = wxString_in_helper(obj2);
12563 if (arg3 == NULL) SWIG_fail;
12564 temp3 = True;
12565 }
12566 if (obj3) {
12567 {
12568 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 }
12572 {
12573 PyThreadState* __tstate = wxPyBeginAllowThreads();
12574 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12575
12576 wxPyEndAllowThreads(__tstate);
12577 if (PyErr_Occurred()) SWIG_fail;
12578 }
12579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12580 {
12581 if (temp2)
12582 delete arg2;
12583 }
12584 {
12585 if (temp3)
12586 delete arg3;
12587 }
12588 return resultobj;
12589 fail:
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 {
12595 if (temp3)
12596 delete arg3;
12597 }
12598 return NULL;
12599 }
12600
12601
12602 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxFileType *arg1 = (wxFileType *) 0 ;
12605 wxString const &arg2_defvalue = wxPyEmptyString ;
12606 wxString *arg2 = (wxString *) &arg2_defvalue ;
12607 int arg3 = (int) 0 ;
12608 bool result;
12609 bool temp2 = False ;
12610 PyObject * obj0 = 0 ;
12611 PyObject * obj1 = 0 ;
12612 PyObject * obj2 = 0 ;
12613 char *kwnames[] = {
12614 (char *) "self",(char *) "cmd",(char *) "index", NULL
12615 };
12616
12617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12619 if (obj1) {
12620 {
12621 arg2 = wxString_in_helper(obj1);
12622 if (arg2 == NULL) SWIG_fail;
12623 temp2 = True;
12624 }
12625 }
12626 if (obj2) {
12627 {
12628 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12640 {
12641 if (temp2)
12642 delete arg2;
12643 }
12644 return resultobj;
12645 fail:
12646 {
12647 if (temp2)
12648 delete arg2;
12649 }
12650 return NULL;
12651 }
12652
12653
12654 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxFileType *arg1 = (wxFileType *) 0 ;
12657 bool result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (bool)(arg1)->Unassociate();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12673 return resultobj;
12674 fail:
12675 return NULL;
12676 }
12677
12678
12679 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxString *arg1 = 0 ;
12682 wxString *arg2 = 0 ;
12683 wxString const &arg3_defvalue = wxPyEmptyString ;
12684 wxString *arg3 = (wxString *) &arg3_defvalue ;
12685 wxString result;
12686 bool temp1 = False ;
12687 bool temp2 = False ;
12688 bool temp3 = False ;
12689 PyObject * obj0 = 0 ;
12690 PyObject * obj1 = 0 ;
12691 PyObject * obj2 = 0 ;
12692 char *kwnames[] = {
12693 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12694 };
12695
12696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12697 {
12698 arg1 = wxString_in_helper(obj0);
12699 if (arg1 == NULL) SWIG_fail;
12700 temp1 = True;
12701 }
12702 {
12703 arg2 = wxString_in_helper(obj1);
12704 if (arg2 == NULL) SWIG_fail;
12705 temp2 = True;
12706 }
12707 if (obj2) {
12708 {
12709 arg3 = wxString_in_helper(obj2);
12710 if (arg3 == NULL) SWIG_fail;
12711 temp3 = True;
12712 }
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 {
12722 #if wxUSE_UNICODE
12723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12724 #else
12725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12726 #endif
12727 }
12728 {
12729 if (temp1)
12730 delete arg1;
12731 }
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 {
12737 if (temp3)
12738 delete arg3;
12739 }
12740 return resultobj;
12741 fail:
12742 {
12743 if (temp1)
12744 delete arg1;
12745 }
12746 {
12747 if (temp2)
12748 delete arg2;
12749 }
12750 {
12751 if (temp3)
12752 delete arg3;
12753 }
12754 return NULL;
12755 }
12756
12757
12758 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12759 PyObject *obj;
12760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12761 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12762 Py_INCREF(obj);
12763 return Py_BuildValue((char *)"");
12764 }
12765 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
12766 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12767 return 1;
12768 }
12769
12770
12771 static PyObject *_wrap_TheMimeTypesManager_get() {
12772 PyObject *pyobj;
12773
12774 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12775 return pyobj;
12776 }
12777
12778
12779 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12780 PyObject *resultobj;
12781 wxString *arg1 = 0 ;
12782 wxString *arg2 = 0 ;
12783 bool result;
12784 bool temp1 = False ;
12785 bool temp2 = False ;
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 char *kwnames[] = {
12789 (char *) "mimeType",(char *) "wildcard", NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12793 {
12794 arg1 = wxString_in_helper(obj0);
12795 if (arg1 == NULL) SWIG_fail;
12796 temp1 = True;
12797 }
12798 {
12799 arg2 = wxString_in_helper(obj1);
12800 if (arg2 == NULL) SWIG_fail;
12801 temp2 = True;
12802 }
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12811 {
12812 if (temp1)
12813 delete arg1;
12814 }
12815 {
12816 if (temp2)
12817 delete arg2;
12818 }
12819 return resultobj;
12820 fail:
12821 {
12822 if (temp1)
12823 delete arg1;
12824 }
12825 {
12826 if (temp2)
12827 delete arg2;
12828 }
12829 return NULL;
12830 }
12831
12832
12833 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12834 PyObject *resultobj;
12835 wxMimeTypesManager *result;
12836 char *kwnames[] = {
12837 NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12858 int arg2 = (int) wxMAILCAP_ALL ;
12859 wxString const &arg3_defvalue = wxPyEmptyString ;
12860 wxString *arg3 = (wxString *) &arg3_defvalue ;
12861 bool temp3 = False ;
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 PyObject * obj2 = 0 ;
12865 char *kwnames[] = {
12866 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12867 };
12868
12869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12871 if (obj1) {
12872 {
12873 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 }
12877 if (obj2) {
12878 {
12879 arg3 = wxString_in_helper(obj2);
12880 if (arg3 == NULL) SWIG_fail;
12881 temp3 = True;
12882 }
12883 }
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 {
12893 if (temp3)
12894 delete arg3;
12895 }
12896 return resultobj;
12897 fail:
12898 {
12899 if (temp3)
12900 delete arg3;
12901 }
12902 return NULL;
12903 }
12904
12905
12906 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->ClearData();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927 }
12928
12929
12930 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12933 wxString *arg2 = 0 ;
12934 wxFileType *result;
12935 bool temp2 = False ;
12936 PyObject * obj0 = 0 ;
12937 PyObject * obj1 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self",(char *) "ext", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12944 {
12945 arg2 = wxString_in_helper(obj1);
12946 if (arg2 == NULL) SWIG_fail;
12947 temp2 = True;
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12957 {
12958 if (temp2)
12959 delete arg2;
12960 }
12961 return resultobj;
12962 fail:
12963 {
12964 if (temp2)
12965 delete arg2;
12966 }
12967 return NULL;
12968 }
12969
12970
12971 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12972 PyObject *resultobj;
12973 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12974 wxString *arg2 = 0 ;
12975 wxFileType *result;
12976 bool temp2 = False ;
12977 PyObject * obj0 = 0 ;
12978 PyObject * obj1 = 0 ;
12979 char *kwnames[] = {
12980 (char *) "self",(char *) "mimeType", NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12985 {
12986 arg2 = wxString_in_helper(obj1);
12987 if (arg2 == NULL) SWIG_fail;
12988 temp2 = True;
12989 }
12990 {
12991 PyThreadState* __tstate = wxPyBeginAllowThreads();
12992 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12993
12994 wxPyEndAllowThreads(__tstate);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 }
12997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12998 {
12999 if (temp2)
13000 delete arg2;
13001 }
13002 return resultobj;
13003 fail:
13004 {
13005 if (temp2)
13006 delete arg2;
13007 }
13008 return NULL;
13009 }
13010
13011
13012 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
13013 PyObject *resultobj;
13014 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13015 wxString *arg2 = 0 ;
13016 bool arg3 = (bool) False ;
13017 bool result;
13018 bool temp2 = False ;
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 PyObject * obj2 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 arg2 = wxString_in_helper(obj1);
13030 if (arg2 == NULL) SWIG_fail;
13031 temp2 = True;
13032 }
13033 if (obj2) {
13034 {
13035 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 }
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13047 {
13048 if (temp2)
13049 delete arg2;
13050 }
13051 return resultobj;
13052 fail:
13053 {
13054 if (temp2)
13055 delete arg2;
13056 }
13057 return NULL;
13058 }
13059
13060
13061 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13062 PyObject *resultobj;
13063 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13064 wxString *arg2 = 0 ;
13065 bool result;
13066 bool temp2 = False ;
13067 PyObject * obj0 = 0 ;
13068 PyObject * obj1 = 0 ;
13069 char *kwnames[] = {
13070 (char *) "self",(char *) "filename", NULL
13071 };
13072
13073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13075 {
13076 arg2 = wxString_in_helper(obj1);
13077 if (arg2 == NULL) SWIG_fail;
13078 temp2 = True;
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13083
13084 wxPyEndAllowThreads(__tstate);
13085 if (PyErr_Occurred()) SWIG_fail;
13086 }
13087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13088 {
13089 if (temp2)
13090 delete arg2;
13091 }
13092 return resultobj;
13093 fail:
13094 {
13095 if (temp2)
13096 delete arg2;
13097 }
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13105 PyObject *result;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 resultobj = result;
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13130 wxFileTypeInfo *arg2 = 0 ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self",(char *) "ft", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13140 if (arg2 == NULL) {
13141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13142 }
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 Py_INCREF(Py_None); resultobj = Py_None;
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13160 wxFileTypeInfo *arg2 = 0 ;
13161 wxFileType *result;
13162 PyObject * obj0 = 0 ;
13163 PyObject * obj1 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "self",(char *) "ftInfo", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13171 if (arg2 == NULL) {
13172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13173 }
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13191 wxFileType *arg2 = (wxFileType *) 0 ;
13192 bool result;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "ft", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 result = (bool)(arg1)->Unassociate(arg2);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13210 return resultobj;
13211 fail:
13212 return NULL;
13213 }
13214
13215
13216 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13219 PyObject * obj0 = 0 ;
13220 char *kwnames[] = {
13221 (char *) "self", NULL
13222 };
13223
13224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13226 {
13227 PyThreadState* __tstate = wxPyBeginAllowThreads();
13228 delete arg1;
13229
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 Py_INCREF(Py_None); resultobj = Py_None;
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13241 PyObject *obj;
13242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13243 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13244 Py_INCREF(obj);
13245 return Py_BuildValue((char *)"");
13246 }
13247 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
13248 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13249 return 1;
13250 }
13251
13252
13253 static PyObject *_wrap_ART_TOOLBAR_get() {
13254 PyObject *pyobj;
13255
13256 {
13257 #if wxUSE_UNICODE
13258 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13259 #else
13260 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13261 #endif
13262 }
13263 return pyobj;
13264 }
13265
13266
13267 static int _wrap_ART_MENU_set(PyObject *_val) {
13268 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13269 return 1;
13270 }
13271
13272
13273 static PyObject *_wrap_ART_MENU_get() {
13274 PyObject *pyobj;
13275
13276 {
13277 #if wxUSE_UNICODE
13278 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13279 #else
13280 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13281 #endif
13282 }
13283 return pyobj;
13284 }
13285
13286
13287 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13288 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13289 return 1;
13290 }
13291
13292
13293 static PyObject *_wrap_ART_FRAME_ICON_get() {
13294 PyObject *pyobj;
13295
13296 {
13297 #if wxUSE_UNICODE
13298 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13299 #else
13300 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13301 #endif
13302 }
13303 return pyobj;
13304 }
13305
13306
13307 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13308 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13309 return 1;
13310 }
13311
13312
13313 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13314 PyObject *pyobj;
13315
13316 {
13317 #if wxUSE_UNICODE
13318 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13319 #else
13320 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13321 #endif
13322 }
13323 return pyobj;
13324 }
13325
13326
13327 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13328 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13329 return 1;
13330 }
13331
13332
13333 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13334 PyObject *pyobj;
13335
13336 {
13337 #if wxUSE_UNICODE
13338 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13339 #else
13340 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13341 #endif
13342 }
13343 return pyobj;
13344 }
13345
13346
13347 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13348 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13349 return 1;
13350 }
13351
13352
13353 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13354 PyObject *pyobj;
13355
13356 {
13357 #if wxUSE_UNICODE
13358 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13359 #else
13360 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13361 #endif
13362 }
13363 return pyobj;
13364 }
13365
13366
13367 static int _wrap_ART_OTHER_set(PyObject *_val) {
13368 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13369 return 1;
13370 }
13371
13372
13373 static PyObject *_wrap_ART_OTHER_get() {
13374 PyObject *pyobj;
13375
13376 {
13377 #if wxUSE_UNICODE
13378 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13379 #else
13380 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13381 #endif
13382 }
13383 return pyobj;
13384 }
13385
13386
13387 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13388 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13389 return 1;
13390 }
13391
13392
13393 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13394 PyObject *pyobj;
13395
13396 {
13397 #if wxUSE_UNICODE
13398 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13399 #else
13400 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13401 #endif
13402 }
13403 return pyobj;
13404 }
13405
13406
13407 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13408 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13409 return 1;
13410 }
13411
13412
13413 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13414 PyObject *pyobj;
13415
13416 {
13417 #if wxUSE_UNICODE
13418 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13419 #else
13420 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13421 #endif
13422 }
13423 return pyobj;
13424 }
13425
13426
13427 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13428 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13429 return 1;
13430 }
13431
13432
13433 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13434 PyObject *pyobj;
13435
13436 {
13437 #if wxUSE_UNICODE
13438 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13439 #else
13440 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13441 #endif
13442 }
13443 return pyobj;
13444 }
13445
13446
13447 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13448 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13449 return 1;
13450 }
13451
13452
13453 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13454 PyObject *pyobj;
13455
13456 {
13457 #if wxUSE_UNICODE
13458 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13459 #else
13460 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13461 #endif
13462 }
13463 return pyobj;
13464 }
13465
13466
13467 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13468 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13469 return 1;
13470 }
13471
13472
13473 static PyObject *_wrap_ART_HELP_BOOK_get() {
13474 PyObject *pyobj;
13475
13476 {
13477 #if wxUSE_UNICODE
13478 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13479 #else
13480 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13481 #endif
13482 }
13483 return pyobj;
13484 }
13485
13486
13487 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13488 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13489 return 1;
13490 }
13491
13492
13493 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13494 PyObject *pyobj;
13495
13496 {
13497 #if wxUSE_UNICODE
13498 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13499 #else
13500 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13501 #endif
13502 }
13503 return pyobj;
13504 }
13505
13506
13507 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13508 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13509 return 1;
13510 }
13511
13512
13513 static PyObject *_wrap_ART_HELP_PAGE_get() {
13514 PyObject *pyobj;
13515
13516 {
13517 #if wxUSE_UNICODE
13518 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13519 #else
13520 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13521 #endif
13522 }
13523 return pyobj;
13524 }
13525
13526
13527 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13528 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13529 return 1;
13530 }
13531
13532
13533 static PyObject *_wrap_ART_GO_BACK_get() {
13534 PyObject *pyobj;
13535
13536 {
13537 #if wxUSE_UNICODE
13538 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13539 #else
13540 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13541 #endif
13542 }
13543 return pyobj;
13544 }
13545
13546
13547 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13548 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13549 return 1;
13550 }
13551
13552
13553 static PyObject *_wrap_ART_GO_FORWARD_get() {
13554 PyObject *pyobj;
13555
13556 {
13557 #if wxUSE_UNICODE
13558 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13559 #else
13560 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13561 #endif
13562 }
13563 return pyobj;
13564 }
13565
13566
13567 static int _wrap_ART_GO_UP_set(PyObject *_val) {
13568 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13569 return 1;
13570 }
13571
13572
13573 static PyObject *_wrap_ART_GO_UP_get() {
13574 PyObject *pyobj;
13575
13576 {
13577 #if wxUSE_UNICODE
13578 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13579 #else
13580 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13581 #endif
13582 }
13583 return pyobj;
13584 }
13585
13586
13587 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13588 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13589 return 1;
13590 }
13591
13592
13593 static PyObject *_wrap_ART_GO_DOWN_get() {
13594 PyObject *pyobj;
13595
13596 {
13597 #if wxUSE_UNICODE
13598 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13599 #else
13600 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13601 #endif
13602 }
13603 return pyobj;
13604 }
13605
13606
13607 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13608 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13609 return 1;
13610 }
13611
13612
13613 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13614 PyObject *pyobj;
13615
13616 {
13617 #if wxUSE_UNICODE
13618 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13619 #else
13620 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13621 #endif
13622 }
13623 return pyobj;
13624 }
13625
13626
13627 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13628 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13629 return 1;
13630 }
13631
13632
13633 static PyObject *_wrap_ART_GO_HOME_get() {
13634 PyObject *pyobj;
13635
13636 {
13637 #if wxUSE_UNICODE
13638 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13639 #else
13640 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13641 #endif
13642 }
13643 return pyobj;
13644 }
13645
13646
13647 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13648 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13649 return 1;
13650 }
13651
13652
13653 static PyObject *_wrap_ART_FILE_OPEN_get() {
13654 PyObject *pyobj;
13655
13656 {
13657 #if wxUSE_UNICODE
13658 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13659 #else
13660 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13661 #endif
13662 }
13663 return pyobj;
13664 }
13665
13666
13667 static int _wrap_ART_PRINT_set(PyObject *_val) {
13668 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13669 return 1;
13670 }
13671
13672
13673 static PyObject *_wrap_ART_PRINT_get() {
13674 PyObject *pyobj;
13675
13676 {
13677 #if wxUSE_UNICODE
13678 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13679 #else
13680 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13681 #endif
13682 }
13683 return pyobj;
13684 }
13685
13686
13687 static int _wrap_ART_HELP_set(PyObject *_val) {
13688 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13689 return 1;
13690 }
13691
13692
13693 static PyObject *_wrap_ART_HELP_get() {
13694 PyObject *pyobj;
13695
13696 {
13697 #if wxUSE_UNICODE
13698 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13699 #else
13700 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13701 #endif
13702 }
13703 return pyobj;
13704 }
13705
13706
13707 static int _wrap_ART_TIP_set(PyObject *_val) {
13708 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13709 return 1;
13710 }
13711
13712
13713 static PyObject *_wrap_ART_TIP_get() {
13714 PyObject *pyobj;
13715
13716 {
13717 #if wxUSE_UNICODE
13718 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13719 #else
13720 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13721 #endif
13722 }
13723 return pyobj;
13724 }
13725
13726
13727 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
13728 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13729 return 1;
13730 }
13731
13732
13733 static PyObject *_wrap_ART_REPORT_VIEW_get() {
13734 PyObject *pyobj;
13735
13736 {
13737 #if wxUSE_UNICODE
13738 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13739 #else
13740 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13741 #endif
13742 }
13743 return pyobj;
13744 }
13745
13746
13747 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
13748 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13749 return 1;
13750 }
13751
13752
13753 static PyObject *_wrap_ART_LIST_VIEW_get() {
13754 PyObject *pyobj;
13755
13756 {
13757 #if wxUSE_UNICODE
13758 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13759 #else
13760 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13761 #endif
13762 }
13763 return pyobj;
13764 }
13765
13766
13767 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
13768 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13769 return 1;
13770 }
13771
13772
13773 static PyObject *_wrap_ART_NEW_DIR_get() {
13774 PyObject *pyobj;
13775
13776 {
13777 #if wxUSE_UNICODE
13778 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13779 #else
13780 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13781 #endif
13782 }
13783 return pyobj;
13784 }
13785
13786
13787 static int _wrap_ART_FOLDER_set(PyObject *_val) {
13788 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13789 return 1;
13790 }
13791
13792
13793 static PyObject *_wrap_ART_FOLDER_get() {
13794 PyObject *pyobj;
13795
13796 {
13797 #if wxUSE_UNICODE
13798 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13799 #else
13800 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13801 #endif
13802 }
13803 return pyobj;
13804 }
13805
13806
13807 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
13808 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13809 return 1;
13810 }
13811
13812
13813 static PyObject *_wrap_ART_GO_DIR_UP_get() {
13814 PyObject *pyobj;
13815
13816 {
13817 #if wxUSE_UNICODE
13818 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13819 #else
13820 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13821 #endif
13822 }
13823 return pyobj;
13824 }
13825
13826
13827 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
13828 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13829 return 1;
13830 }
13831
13832
13833 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13834 PyObject *pyobj;
13835
13836 {
13837 #if wxUSE_UNICODE
13838 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13839 #else
13840 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13841 #endif
13842 }
13843 return pyobj;
13844 }
13845
13846
13847 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
13848 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13849 return 1;
13850 }
13851
13852
13853 static PyObject *_wrap_ART_NORMAL_FILE_get() {
13854 PyObject *pyobj;
13855
13856 {
13857 #if wxUSE_UNICODE
13858 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13859 #else
13860 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13861 #endif
13862 }
13863 return pyobj;
13864 }
13865
13866
13867 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
13868 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13869 return 1;
13870 }
13871
13872
13873 static PyObject *_wrap_ART_TICK_MARK_get() {
13874 PyObject *pyobj;
13875
13876 {
13877 #if wxUSE_UNICODE
13878 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13879 #else
13880 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13881 #endif
13882 }
13883 return pyobj;
13884 }
13885
13886
13887 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
13888 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13889 return 1;
13890 }
13891
13892
13893 static PyObject *_wrap_ART_CROSS_MARK_get() {
13894 PyObject *pyobj;
13895
13896 {
13897 #if wxUSE_UNICODE
13898 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13899 #else
13900 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13901 #endif
13902 }
13903 return pyobj;
13904 }
13905
13906
13907 static int _wrap_ART_ERROR_set(PyObject *_val) {
13908 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13909 return 1;
13910 }
13911
13912
13913 static PyObject *_wrap_ART_ERROR_get() {
13914 PyObject *pyobj;
13915
13916 {
13917 #if wxUSE_UNICODE
13918 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13919 #else
13920 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13921 #endif
13922 }
13923 return pyobj;
13924 }
13925
13926
13927 static int _wrap_ART_QUESTION_set(PyObject *_val) {
13928 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13929 return 1;
13930 }
13931
13932
13933 static PyObject *_wrap_ART_QUESTION_get() {
13934 PyObject *pyobj;
13935
13936 {
13937 #if wxUSE_UNICODE
13938 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13939 #else
13940 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13941 #endif
13942 }
13943 return pyobj;
13944 }
13945
13946
13947 static int _wrap_ART_WARNING_set(PyObject *_val) {
13948 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13949 return 1;
13950 }
13951
13952
13953 static PyObject *_wrap_ART_WARNING_get() {
13954 PyObject *pyobj;
13955
13956 {
13957 #if wxUSE_UNICODE
13958 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13959 #else
13960 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13961 #endif
13962 }
13963 return pyobj;
13964 }
13965
13966
13967 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
13968 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13969 return 1;
13970 }
13971
13972
13973 static PyObject *_wrap_ART_INFORMATION_get() {
13974 PyObject *pyobj;
13975
13976 {
13977 #if wxUSE_UNICODE
13978 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13979 #else
13980 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13981 #endif
13982 }
13983 return pyobj;
13984 }
13985
13986
13987 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
13988 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13989 return 1;
13990 }
13991
13992
13993 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13994 PyObject *pyobj;
13995
13996 {
13997 #if wxUSE_UNICODE
13998 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13999 #else
14000 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
14001 #endif
14002 }
14003 return pyobj;
14004 }
14005
14006
14007 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxPyArtProvider *result;
14010 char *kwnames[] = {
14011 NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 result = (wxPyArtProvider *)new wxPyArtProvider();
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14032 PyObject *arg2 = (PyObject *) 0 ;
14033 PyObject *arg3 = (PyObject *) 0 ;
14034 PyObject * obj0 = 0 ;
14035 PyObject * obj1 = 0 ;
14036 PyObject * obj2 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "self",(char *) "_class", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 arg2 = obj1;
14044 arg3 = obj2;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->_setCallbackInfo(arg2,arg3);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 return resultobj;
14054 fail:
14055 return NULL;
14056 }
14057
14058
14059 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14062 PyObject * obj0 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "provider", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 wxPyArtProvider::PushProvider(arg1);
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080 }
14081
14082
14083 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 bool result;
14086 char *kwnames[] = {
14087 NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14091 {
14092 PyThreadState* __tstate = wxPyBeginAllowThreads();
14093 result = (bool)wxPyArtProvider::PopProvider();
14094
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14099 return resultobj;
14100 fail:
14101 return NULL;
14102 }
14103
14104
14105 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14106 PyObject *resultobj;
14107 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14108 bool result;
14109 PyObject * obj0 = 0 ;
14110 char *kwnames[] = {
14111 (char *) "provider", NULL
14112 };
14113
14114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14119
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxString *arg1 = 0 ;
14133 wxString const &arg2_defvalue = wxPyART_OTHER ;
14134 wxString *arg2 = (wxString *) &arg2_defvalue ;
14135 wxSize const &arg3_defvalue = wxDefaultSize ;
14136 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14137 wxBitmap result;
14138 bool temp1 = False ;
14139 bool temp2 = False ;
14140 wxSize temp3 ;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 PyObject * obj2 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "id",(char *) "client",(char *) "size", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14149 {
14150 arg1 = wxString_in_helper(obj0);
14151 if (arg1 == NULL) SWIG_fail;
14152 temp1 = True;
14153 }
14154 if (obj1) {
14155 {
14156 arg2 = wxString_in_helper(obj1);
14157 if (arg2 == NULL) SWIG_fail;
14158 temp2 = True;
14159 }
14160 }
14161 if (obj2) {
14162 {
14163 arg3 = &temp3;
14164 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14165 }
14166 }
14167 {
14168 PyThreadState* __tstate = wxPyBeginAllowThreads();
14169 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14170
14171 wxPyEndAllowThreads(__tstate);
14172 if (PyErr_Occurred()) SWIG_fail;
14173 }
14174 {
14175 wxBitmap * resultptr;
14176 resultptr = new wxBitmap((wxBitmap &) result);
14177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14178 }
14179 {
14180 if (temp1)
14181 delete arg1;
14182 }
14183 {
14184 if (temp2)
14185 delete arg2;
14186 }
14187 return resultobj;
14188 fail:
14189 {
14190 if (temp1)
14191 delete arg1;
14192 }
14193 {
14194 if (temp2)
14195 delete arg2;
14196 }
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxString *arg1 = 0 ;
14204 wxString const &arg2_defvalue = wxPyART_OTHER ;
14205 wxString *arg2 = (wxString *) &arg2_defvalue ;
14206 wxSize const &arg3_defvalue = wxDefaultSize ;
14207 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14208 wxIcon result;
14209 bool temp1 = False ;
14210 bool temp2 = False ;
14211 wxSize temp3 ;
14212 PyObject * obj0 = 0 ;
14213 PyObject * obj1 = 0 ;
14214 PyObject * obj2 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "id",(char *) "client",(char *) "size", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14220 {
14221 arg1 = wxString_in_helper(obj0);
14222 if (arg1 == NULL) SWIG_fail;
14223 temp1 = True;
14224 }
14225 if (obj1) {
14226 {
14227 arg2 = wxString_in_helper(obj1);
14228 if (arg2 == NULL) SWIG_fail;
14229 temp2 = True;
14230 }
14231 }
14232 if (obj2) {
14233 {
14234 arg3 = &temp3;
14235 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14236 }
14237 }
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 {
14246 wxIcon * resultptr;
14247 resultptr = new wxIcon((wxIcon &) result);
14248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
14249 }
14250 {
14251 if (temp1)
14252 delete arg1;
14253 }
14254 {
14255 if (temp2)
14256 delete arg2;
14257 }
14258 return resultobj;
14259 fail:
14260 {
14261 if (temp1)
14262 delete arg1;
14263 }
14264 {
14265 if (temp2)
14266 delete arg2;
14267 }
14268 return NULL;
14269 }
14270
14271
14272 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14275 PyObject * obj0 = 0 ;
14276 char *kwnames[] = {
14277 (char *) "self", NULL
14278 };
14279
14280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 wxPyArtProvider_Destroy(arg1);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 Py_INCREF(Py_None); resultobj = Py_None;
14290 return resultobj;
14291 fail:
14292 return NULL;
14293 }
14294
14295
14296 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14297 PyObject *obj;
14298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14299 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14300 Py_INCREF(obj);
14301 return Py_BuildValue((char *)"");
14302 }
14303 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 delete arg1;
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 return resultobj;
14322 fail:
14323 return NULL;
14324 }
14325
14326
14327 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14330 wxConfigBase *result;
14331 PyObject * obj0 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "config", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14346 return resultobj;
14347 fail:
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 bool arg1 = (bool) True ;
14355 wxConfigBase *result;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "createOnDemand", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14362 if (obj0) {
14363 {
14364 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 }
14368 {
14369 PyThreadState* __tstate = wxPyBeginAllowThreads();
14370 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14371
14372 wxPyEndAllowThreads(__tstate);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14376 return resultobj;
14377 fail:
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxConfigBase *result;
14385 char *kwnames[] = {
14386 NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (wxConfigBase *)wxConfigBase::Create();
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 char *kwnames[] = {
14407 NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 wxConfigBase::DontCreateOnDemand();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14428 wxString *arg2 = 0 ;
14429 bool temp2 = False ;
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "path", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14438 {
14439 arg2 = wxString_in_helper(obj1);
14440 if (arg2 == NULL) SWIG_fail;
14441 temp2 = True;
14442 }
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 (arg1)->SetPath((wxString const &)*arg2);
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 Py_INCREF(Py_None); resultobj = Py_None;
14451 {
14452 if (temp2)
14453 delete arg2;
14454 }
14455 return resultobj;
14456 fail:
14457 {
14458 if (temp2)
14459 delete arg2;
14460 }
14461 return NULL;
14462 }
14463
14464
14465 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14466 PyObject *resultobj;
14467 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14468 wxString *result;
14469 PyObject * obj0 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 {
14479 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14480 result = (wxString *) &_result_ref;
14481 }
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 {
14487 #if wxUSE_UNICODE
14488 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14489 #else
14490 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14491 #endif
14492 }
14493 return resultobj;
14494 fail:
14495 return NULL;
14496 }
14497
14498
14499 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj;
14501 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14502 PyObject *result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 resultobj = result;
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14527 long arg2 ;
14528 PyObject *result;
14529 PyObject * obj0 = 0 ;
14530 PyObject * obj1 = 0 ;
14531 char *kwnames[] = {
14532 (char *) "self",(char *) "index", NULL
14533 };
14534
14535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14537 {
14538 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 {
14542 PyThreadState* __tstate = wxPyBeginAllowThreads();
14543 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14544
14545 wxPyEndAllowThreads(__tstate);
14546 if (PyErr_Occurred()) SWIG_fail;
14547 }
14548 resultobj = result;
14549 return resultobj;
14550 fail:
14551 return NULL;
14552 }
14553
14554
14555 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14556 PyObject *resultobj;
14557 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14558 PyObject *result;
14559 PyObject * obj0 = 0 ;
14560 char *kwnames[] = {
14561 (char *) "self", NULL
14562 };
14563
14564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 resultobj = result;
14574 return resultobj;
14575 fail:
14576 return NULL;
14577 }
14578
14579
14580 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14581 PyObject *resultobj;
14582 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14583 long arg2 ;
14584 PyObject *result;
14585 PyObject * obj0 = 0 ;
14586 PyObject * obj1 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self",(char *) "index", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14593 {
14594 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 resultobj = result;
14605 return resultobj;
14606 fail:
14607 return NULL;
14608 }
14609
14610
14611 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14614 bool arg2 = (bool) False ;
14615 size_t result;
14616 PyObject * obj0 = 0 ;
14617 PyObject * obj1 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "recursive", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 if (obj1) {
14625 {
14626 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 }
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14638 return resultobj;
14639 fail:
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14647 bool arg2 = (bool) False ;
14648 size_t result;
14649 PyObject * obj0 = 0 ;
14650 PyObject * obj1 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self",(char *) "recursive", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 if (obj1) {
14658 {
14659 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 }
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14671 return resultobj;
14672 fail:
14673 return NULL;
14674 }
14675
14676
14677 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14680 wxString *arg2 = 0 ;
14681 bool result;
14682 bool temp2 = False ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char *kwnames[] = {
14686 (char *) "self",(char *) "name", NULL
14687 };
14688
14689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14691 {
14692 arg2 = wxString_in_helper(obj1);
14693 if (arg2 == NULL) SWIG_fail;
14694 temp2 = True;
14695 }
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14704 {
14705 if (temp2)
14706 delete arg2;
14707 }
14708 return resultobj;
14709 fail:
14710 {
14711 if (temp2)
14712 delete arg2;
14713 }
14714 return NULL;
14715 }
14716
14717
14718 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14721 wxString *arg2 = 0 ;
14722 bool result;
14723 bool temp2 = False ;
14724 PyObject * obj0 = 0 ;
14725 PyObject * obj1 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self",(char *) "name", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 arg2 = wxString_in_helper(obj1);
14734 if (arg2 == NULL) SWIG_fail;
14735 temp2 = True;
14736 }
14737 {
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14740
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14745 {
14746 if (temp2)
14747 delete arg2;
14748 }
14749 return resultobj;
14750 fail:
14751 {
14752 if (temp2)
14753 delete arg2;
14754 }
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14762 wxString *arg2 = 0 ;
14763 bool result;
14764 bool temp2 = False ;
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 char *kwnames[] = {
14768 (char *) "self",(char *) "name", NULL
14769 };
14770
14771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14773 {
14774 arg2 = wxString_in_helper(obj1);
14775 if (arg2 == NULL) SWIG_fail;
14776 temp2 = True;
14777 }
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14786 {
14787 if (temp2)
14788 delete arg2;
14789 }
14790 return resultobj;
14791 fail:
14792 {
14793 if (temp2)
14794 delete arg2;
14795 }
14796 return NULL;
14797 }
14798
14799
14800 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14801 PyObject *resultobj;
14802 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14803 wxString *arg2 = 0 ;
14804 int result;
14805 bool temp2 = False ;
14806 PyObject * obj0 = 0 ;
14807 PyObject * obj1 = 0 ;
14808 char *kwnames[] = {
14809 (char *) "self",(char *) "name", NULL
14810 };
14811
14812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14814 {
14815 arg2 = wxString_in_helper(obj1);
14816 if (arg2 == NULL) SWIG_fail;
14817 temp2 = True;
14818 }
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_PyObj_FromInt((int)result);
14827 {
14828 if (temp2)
14829 delete arg2;
14830 }
14831 return resultobj;
14832 fail:
14833 {
14834 if (temp2)
14835 delete arg2;
14836 }
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14844 wxString *arg2 = 0 ;
14845 wxString const &arg3_defvalue = wxPyEmptyString ;
14846 wxString *arg3 = (wxString *) &arg3_defvalue ;
14847 wxString result;
14848 bool temp2 = False ;
14849 bool temp3 = False ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 PyObject * obj2 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14859 {
14860 arg2 = wxString_in_helper(obj1);
14861 if (arg2 == NULL) SWIG_fail;
14862 temp2 = True;
14863 }
14864 if (obj2) {
14865 {
14866 arg3 = wxString_in_helper(obj2);
14867 if (arg3 == NULL) SWIG_fail;
14868 temp3 = True;
14869 }
14870 }
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 {
14879 #if wxUSE_UNICODE
14880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14881 #else
14882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14883 #endif
14884 }
14885 {
14886 if (temp2)
14887 delete arg2;
14888 }
14889 {
14890 if (temp3)
14891 delete arg3;
14892 }
14893 return resultobj;
14894 fail:
14895 {
14896 if (temp2)
14897 delete arg2;
14898 }
14899 {
14900 if (temp3)
14901 delete arg3;
14902 }
14903 return NULL;
14904 }
14905
14906
14907 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj;
14909 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14910 wxString *arg2 = 0 ;
14911 long arg3 = (long) 0 ;
14912 long result;
14913 bool temp2 = False ;
14914 PyObject * obj0 = 0 ;
14915 PyObject * obj1 = 0 ;
14916 PyObject * obj2 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 arg2 = wxString_in_helper(obj1);
14925 if (arg2 == NULL) SWIG_fail;
14926 temp2 = True;
14927 }
14928 if (obj2) {
14929 {
14930 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 }
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 resultobj = SWIG_PyObj_FromLong((long)result);
14942 {
14943 if (temp2)
14944 delete arg2;
14945 }
14946 return resultobj;
14947 fail:
14948 {
14949 if (temp2)
14950 delete arg2;
14951 }
14952 return NULL;
14953 }
14954
14955
14956 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj;
14958 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14959 wxString *arg2 = 0 ;
14960 double arg3 = (double) 0.0 ;
14961 double result;
14962 bool temp2 = False ;
14963 PyObject * obj0 = 0 ;
14964 PyObject * obj1 = 0 ;
14965 PyObject * obj2 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14972 {
14973 arg2 = wxString_in_helper(obj1);
14974 if (arg2 == NULL) SWIG_fail;
14975 temp2 = True;
14976 }
14977 if (obj2) {
14978 {
14979 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 resultobj = SWIG_PyObj_FromDouble((double)result);
14991 {
14992 if (temp2)
14993 delete arg2;
14994 }
14995 return resultobj;
14996 fail:
14997 {
14998 if (temp2)
14999 delete arg2;
15000 }
15001 return NULL;
15002 }
15003
15004
15005 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15008 wxString *arg2 = 0 ;
15009 bool arg3 = (bool) False ;
15010 bool result;
15011 bool temp2 = False ;
15012 PyObject * obj0 = 0 ;
15013 PyObject * obj1 = 0 ;
15014 PyObject * obj2 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,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 if (obj2) {
15027 {
15028 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 }
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15040 {
15041 if (temp2)
15042 delete arg2;
15043 }
15044 return resultobj;
15045 fail:
15046 {
15047 if (temp2)
15048 delete arg2;
15049 }
15050 return NULL;
15051 }
15052
15053
15054 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15057 wxString *arg2 = 0 ;
15058 wxString *arg3 = 0 ;
15059 bool result;
15060 bool temp2 = False ;
15061 bool temp3 = False ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 PyObject * obj2 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "key",(char *) "value", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 arg2 = wxString_in_helper(obj1);
15073 if (arg2 == NULL) SWIG_fail;
15074 temp2 = True;
15075 }
15076 {
15077 arg3 = wxString_in_helper(obj2);
15078 if (arg3 == NULL) SWIG_fail;
15079 temp3 = True;
15080 }
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
15083 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15089 {
15090 if (temp2)
15091 delete arg2;
15092 }
15093 {
15094 if (temp3)
15095 delete arg3;
15096 }
15097 return resultobj;
15098 fail:
15099 {
15100 if (temp2)
15101 delete arg2;
15102 }
15103 {
15104 if (temp3)
15105 delete arg3;
15106 }
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15114 wxString *arg2 = 0 ;
15115 long arg3 ;
15116 bool result;
15117 bool temp2 = False ;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 PyObject * obj2 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self",(char *) "key",(char *) "value", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 {
15128 arg2 = wxString_in_helper(obj1);
15129 if (arg2 == NULL) SWIG_fail;
15130 temp2 = True;
15131 }
15132 {
15133 arg3 = (long) SWIG_PyObj_AsLong(obj2);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15144 {
15145 if (temp2)
15146 delete arg2;
15147 }
15148 return resultobj;
15149 fail:
15150 {
15151 if (temp2)
15152 delete arg2;
15153 }
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15161 wxString *arg2 = 0 ;
15162 double arg3 ;
15163 bool result;
15164 bool temp2 = False ;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "key",(char *) "value", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 {
15175 arg2 = wxString_in_helper(obj1);
15176 if (arg2 == NULL) SWIG_fail;
15177 temp2 = True;
15178 }
15179 {
15180 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 {
15184 PyThreadState* __tstate = wxPyBeginAllowThreads();
15185 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15186
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15191 {
15192 if (temp2)
15193 delete arg2;
15194 }
15195 return resultobj;
15196 fail:
15197 {
15198 if (temp2)
15199 delete arg2;
15200 }
15201 return NULL;
15202 }
15203
15204
15205 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15206 PyObject *resultobj;
15207 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15208 wxString *arg2 = 0 ;
15209 bool arg3 ;
15210 bool result;
15211 bool temp2 = False ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 PyObject * obj2 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "key",(char *) "value", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 arg2 = wxString_in_helper(obj1);
15223 if (arg2 == NULL) SWIG_fail;
15224 temp2 = True;
15225 }
15226 {
15227 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15238 {
15239 if (temp2)
15240 delete arg2;
15241 }
15242 return resultobj;
15243 fail:
15244 {
15245 if (temp2)
15246 delete arg2;
15247 }
15248 return NULL;
15249 }
15250
15251
15252 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15253 PyObject *resultobj;
15254 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15255 bool arg2 = (bool) False ;
15256 bool result;
15257 PyObject * obj0 = 0 ;
15258 PyObject * obj1 = 0 ;
15259 char *kwnames[] = {
15260 (char *) "self",(char *) "currentOnly", NULL
15261 };
15262
15263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15265 if (obj1) {
15266 {
15267 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 }
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = (bool)(arg1)->Flush(arg2);
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15279 return resultobj;
15280 fail:
15281 return NULL;
15282 }
15283
15284
15285 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15286 PyObject *resultobj;
15287 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15288 wxString *arg2 = 0 ;
15289 wxString *arg3 = 0 ;
15290 bool result;
15291 bool temp2 = False ;
15292 bool temp3 = False ;
15293 PyObject * obj0 = 0 ;
15294 PyObject * obj1 = 0 ;
15295 PyObject * obj2 = 0 ;
15296 char *kwnames[] = {
15297 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15298 };
15299
15300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15302 {
15303 arg2 = wxString_in_helper(obj1);
15304 if (arg2 == NULL) SWIG_fail;
15305 temp2 = True;
15306 }
15307 {
15308 arg3 = wxString_in_helper(obj2);
15309 if (arg3 == NULL) SWIG_fail;
15310 temp3 = True;
15311 }
15312 {
15313 PyThreadState* __tstate = wxPyBeginAllowThreads();
15314 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15315
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15320 {
15321 if (temp2)
15322 delete arg2;
15323 }
15324 {
15325 if (temp3)
15326 delete arg3;
15327 }
15328 return resultobj;
15329 fail:
15330 {
15331 if (temp2)
15332 delete arg2;
15333 }
15334 {
15335 if (temp3)
15336 delete arg3;
15337 }
15338 return NULL;
15339 }
15340
15341
15342 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15345 wxString *arg2 = 0 ;
15346 wxString *arg3 = 0 ;
15347 bool result;
15348 bool temp2 = False ;
15349 bool temp3 = False ;
15350 PyObject * obj0 = 0 ;
15351 PyObject * obj1 = 0 ;
15352 PyObject * obj2 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 arg2 = wxString_in_helper(obj1);
15361 if (arg2 == NULL) SWIG_fail;
15362 temp2 = True;
15363 }
15364 {
15365 arg3 = wxString_in_helper(obj2);
15366 if (arg3 == NULL) SWIG_fail;
15367 temp3 = True;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15377 {
15378 if (temp2)
15379 delete arg2;
15380 }
15381 {
15382 if (temp3)
15383 delete arg3;
15384 }
15385 return resultobj;
15386 fail:
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 {
15392 if (temp3)
15393 delete arg3;
15394 }
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15402 wxString *arg2 = 0 ;
15403 bool arg3 = (bool) True ;
15404 bool result;
15405 bool temp2 = False ;
15406 PyObject * obj0 = 0 ;
15407 PyObject * obj1 = 0 ;
15408 PyObject * obj2 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 arg2 = wxString_in_helper(obj1);
15417 if (arg2 == NULL) SWIG_fail;
15418 temp2 = True;
15419 }
15420 if (obj2) {
15421 {
15422 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 }
15426 {
15427 PyThreadState* __tstate = wxPyBeginAllowThreads();
15428 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15434 {
15435 if (temp2)
15436 delete arg2;
15437 }
15438 return resultobj;
15439 fail:
15440 {
15441 if (temp2)
15442 delete arg2;
15443 }
15444 return NULL;
15445 }
15446
15447
15448 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15451 wxString *arg2 = 0 ;
15452 bool result;
15453 bool temp2 = False ;
15454 PyObject * obj0 = 0 ;
15455 PyObject * obj1 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "key", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15462 {
15463 arg2 = wxString_in_helper(obj1);
15464 if (arg2 == NULL) SWIG_fail;
15465 temp2 = True;
15466 }
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15470
15471 wxPyEndAllowThreads(__tstate);
15472 if (PyErr_Occurred()) SWIG_fail;
15473 }
15474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15475 {
15476 if (temp2)
15477 delete arg2;
15478 }
15479 return resultobj;
15480 fail:
15481 {
15482 if (temp2)
15483 delete arg2;
15484 }
15485 return NULL;
15486 }
15487
15488
15489 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15490 PyObject *resultobj;
15491 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15492 bool result;
15493 PyObject * obj0 = 0 ;
15494 char *kwnames[] = {
15495 (char *) "self", NULL
15496 };
15497
15498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (bool)(arg1)->DeleteAll();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15508 return resultobj;
15509 fail:
15510 return NULL;
15511 }
15512
15513
15514 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15515 PyObject *resultobj;
15516 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15517 bool arg2 = (bool) True ;
15518 PyObject * obj0 = 0 ;
15519 PyObject * obj1 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self",(char *) "doIt", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15526 if (obj1) {
15527 {
15528 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15529 if (PyErr_Occurred()) SWIG_fail;
15530 }
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetExpandEnvVars(arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15549 bool result;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15574 bool arg2 = (bool) True ;
15575 PyObject * obj0 = 0 ;
15576 PyObject * obj1 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self",(char *) "doIt", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 if (obj1) {
15584 {
15585 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 }
15589 {
15590 PyThreadState* __tstate = wxPyBeginAllowThreads();
15591 (arg1)->SetRecordDefaults(arg2);
15592
15593 wxPyEndAllowThreads(__tstate);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 Py_INCREF(Py_None); resultobj = Py_None;
15597 return resultobj;
15598 fail:
15599 return NULL;
15600 }
15601
15602
15603 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15604 PyObject *resultobj;
15605 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15606 bool result;
15607 PyObject * obj0 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15622 return resultobj;
15623 fail:
15624 return NULL;
15625 }
15626
15627
15628 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15629 PyObject *resultobj;
15630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15631 wxString *arg2 = 0 ;
15632 wxString result;
15633 bool temp2 = False ;
15634 PyObject * obj0 = 0 ;
15635 PyObject * obj1 = 0 ;
15636 char *kwnames[] = {
15637 (char *) "self",(char *) "str", NULL
15638 };
15639
15640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15642 {
15643 arg2 = wxString_in_helper(obj1);
15644 if (arg2 == NULL) SWIG_fail;
15645 temp2 = True;
15646 }
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 {
15655 #if wxUSE_UNICODE
15656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15657 #else
15658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15659 #endif
15660 }
15661 {
15662 if (temp2)
15663 delete arg2;
15664 }
15665 return resultobj;
15666 fail:
15667 {
15668 if (temp2)
15669 delete arg2;
15670 }
15671 return NULL;
15672 }
15673
15674
15675 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15676 PyObject *resultobj;
15677 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15678 wxString result;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 result = ((wxConfigBase const *)arg1)->GetAppName();
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 {
15694 #if wxUSE_UNICODE
15695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15696 #else
15697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15698 #endif
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj;
15708 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15709 wxString result;
15710 PyObject * obj0 = 0 ;
15711 char *kwnames[] = {
15712 (char *) "self", NULL
15713 };
15714
15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 result = ((wxConfigBase const *)arg1)->GetVendorName();
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 {
15725 #if wxUSE_UNICODE
15726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15727 #else
15728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15729 #endif
15730 }
15731 return resultobj;
15732 fail:
15733 return NULL;
15734 }
15735
15736
15737 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15740 wxString *arg2 = 0 ;
15741 bool temp2 = False ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "appName", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15750 {
15751 arg2 = wxString_in_helper(obj1);
15752 if (arg2 == NULL) SWIG_fail;
15753 temp2 = True;
15754 }
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->SetAppName((wxString const &)*arg2);
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 Py_INCREF(Py_None); resultobj = Py_None;
15763 {
15764 if (temp2)
15765 delete arg2;
15766 }
15767 return resultobj;
15768 fail:
15769 {
15770 if (temp2)
15771 delete arg2;
15772 }
15773 return NULL;
15774 }
15775
15776
15777 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj;
15779 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15780 wxString *arg2 = 0 ;
15781 bool temp2 = False ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "vendorName", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15790 {
15791 arg2 = wxString_in_helper(obj1);
15792 if (arg2 == NULL) SWIG_fail;
15793 temp2 = True;
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetVendorName((wxString const &)*arg2);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 {
15804 if (temp2)
15805 delete arg2;
15806 }
15807 return resultobj;
15808 fail:
15809 {
15810 if (temp2)
15811 delete arg2;
15812 }
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15820 long arg2 ;
15821 PyObject * obj0 = 0 ;
15822 PyObject * obj1 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self",(char *) "style", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15829 {
15830 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->SetStyle(arg2);
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 return resultobj;
15842 fail:
15843 return NULL;
15844 }
15845
15846
15847 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15850 long result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 resultobj = SWIG_PyObj_FromLong((long)result);
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15873 PyObject *obj;
15874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15875 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15876 Py_INCREF(obj);
15877 return Py_BuildValue((char *)"");
15878 }
15879 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxString const &arg1_defvalue = wxPyEmptyString ;
15882 wxString *arg1 = (wxString *) &arg1_defvalue ;
15883 wxString const &arg2_defvalue = wxPyEmptyString ;
15884 wxString *arg2 = (wxString *) &arg2_defvalue ;
15885 wxString const &arg3_defvalue = wxPyEmptyString ;
15886 wxString *arg3 = (wxString *) &arg3_defvalue ;
15887 wxString const &arg4_defvalue = wxPyEmptyString ;
15888 wxString *arg4 = (wxString *) &arg4_defvalue ;
15889 long arg5 = (long) 0 ;
15890 wxConfig *result;
15891 bool temp1 = False ;
15892 bool temp2 = False ;
15893 bool temp3 = False ;
15894 bool temp4 = False ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 PyObject * obj2 = 0 ;
15898 PyObject * obj3 = 0 ;
15899 PyObject * obj4 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15905 if (obj0) {
15906 {
15907 arg1 = wxString_in_helper(obj0);
15908 if (arg1 == NULL) SWIG_fail;
15909 temp1 = True;
15910 }
15911 }
15912 if (obj1) {
15913 {
15914 arg2 = wxString_in_helper(obj1);
15915 if (arg2 == NULL) SWIG_fail;
15916 temp2 = True;
15917 }
15918 }
15919 if (obj2) {
15920 {
15921 arg3 = wxString_in_helper(obj2);
15922 if (arg3 == NULL) SWIG_fail;
15923 temp3 = True;
15924 }
15925 }
15926 if (obj3) {
15927 {
15928 arg4 = wxString_in_helper(obj3);
15929 if (arg4 == NULL) SWIG_fail;
15930 temp4 = True;
15931 }
15932 }
15933 if (obj4) {
15934 {
15935 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 }
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15942
15943 wxPyEndAllowThreads(__tstate);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
15947 {
15948 if (temp1)
15949 delete arg1;
15950 }
15951 {
15952 if (temp2)
15953 delete arg2;
15954 }
15955 {
15956 if (temp3)
15957 delete arg3;
15958 }
15959 {
15960 if (temp4)
15961 delete arg4;
15962 }
15963 return resultobj;
15964 fail:
15965 {
15966 if (temp1)
15967 delete arg1;
15968 }
15969 {
15970 if (temp2)
15971 delete arg2;
15972 }
15973 {
15974 if (temp3)
15975 delete arg3;
15976 }
15977 {
15978 if (temp4)
15979 delete arg4;
15980 }
15981 return NULL;
15982 }
15983
15984
15985 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxConfig *arg1 = (wxConfig *) 0 ;
15988 PyObject * obj0 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 delete arg1;
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16010 PyObject *obj;
16011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16012 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16013 Py_INCREF(obj);
16014 return Py_BuildValue((char *)"");
16015 }
16016 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxString const &arg1_defvalue = wxPyEmptyString ;
16019 wxString *arg1 = (wxString *) &arg1_defvalue ;
16020 wxString const &arg2_defvalue = wxPyEmptyString ;
16021 wxString *arg2 = (wxString *) &arg2_defvalue ;
16022 wxString const &arg3_defvalue = wxPyEmptyString ;
16023 wxString *arg3 = (wxString *) &arg3_defvalue ;
16024 wxString const &arg4_defvalue = wxPyEmptyString ;
16025 wxString *arg4 = (wxString *) &arg4_defvalue ;
16026 long arg5 = (long) 0 ;
16027 wxFileConfig *result;
16028 bool temp1 = False ;
16029 bool temp2 = False ;
16030 bool temp3 = False ;
16031 bool temp4 = False ;
16032 PyObject * obj0 = 0 ;
16033 PyObject * obj1 = 0 ;
16034 PyObject * obj2 = 0 ;
16035 PyObject * obj3 = 0 ;
16036 PyObject * obj4 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16042 if (obj0) {
16043 {
16044 arg1 = wxString_in_helper(obj0);
16045 if (arg1 == NULL) SWIG_fail;
16046 temp1 = True;
16047 }
16048 }
16049 if (obj1) {
16050 {
16051 arg2 = wxString_in_helper(obj1);
16052 if (arg2 == NULL) SWIG_fail;
16053 temp2 = True;
16054 }
16055 }
16056 if (obj2) {
16057 {
16058 arg3 = wxString_in_helper(obj2);
16059 if (arg3 == NULL) SWIG_fail;
16060 temp3 = True;
16061 }
16062 }
16063 if (obj3) {
16064 {
16065 arg4 = wxString_in_helper(obj3);
16066 if (arg4 == NULL) SWIG_fail;
16067 temp4 = True;
16068 }
16069 }
16070 if (obj4) {
16071 {
16072 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 }
16076 {
16077 PyThreadState* __tstate = wxPyBeginAllowThreads();
16078 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16079
16080 wxPyEndAllowThreads(__tstate);
16081 if (PyErr_Occurred()) SWIG_fail;
16082 }
16083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
16084 {
16085 if (temp1)
16086 delete arg1;
16087 }
16088 {
16089 if (temp2)
16090 delete arg2;
16091 }
16092 {
16093 if (temp3)
16094 delete arg3;
16095 }
16096 {
16097 if (temp4)
16098 delete arg4;
16099 }
16100 return resultobj;
16101 fail:
16102 {
16103 if (temp1)
16104 delete arg1;
16105 }
16106 {
16107 if (temp2)
16108 delete arg2;
16109 }
16110 {
16111 if (temp3)
16112 delete arg3;
16113 }
16114 {
16115 if (temp4)
16116 delete arg4;
16117 }
16118 return NULL;
16119 }
16120
16121
16122 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16123 PyObject *resultobj;
16124 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16125 PyObject * obj0 = 0 ;
16126 char *kwnames[] = {
16127 (char *) "self", NULL
16128 };
16129
16130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 delete arg1;
16135
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 Py_INCREF(Py_None); resultobj = Py_None;
16140 return resultobj;
16141 fail:
16142 return NULL;
16143 }
16144
16145
16146 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16147 PyObject *obj;
16148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16149 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16150 Py_INCREF(obj);
16151 return Py_BuildValue((char *)"");
16152 }
16153 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16156 wxString *arg2 = 0 ;
16157 wxConfigPathChanger *result;
16158 bool temp2 = False ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 char *kwnames[] = {
16162 (char *) "config",(char *) "entry", NULL
16163 };
16164
16165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
16166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16167 {
16168 arg2 = wxString_in_helper(obj1);
16169 if (arg2 == NULL) SWIG_fail;
16170 temp2 = True;
16171 }
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
16180 {
16181 if (temp2)
16182 delete arg2;
16183 }
16184 return resultobj;
16185 fail:
16186 {
16187 if (temp2)
16188 delete arg2;
16189 }
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16204 {
16205 PyThreadState* __tstate = wxPyBeginAllowThreads();
16206 delete arg1;
16207
16208 wxPyEndAllowThreads(__tstate);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 Py_INCREF(Py_None); resultobj = Py_None;
16212 return resultobj;
16213 fail:
16214 return NULL;
16215 }
16216
16217
16218 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
16219 PyObject *resultobj;
16220 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
16221 wxString *result;
16222 PyObject * obj0 = 0 ;
16223 char *kwnames[] = {
16224 (char *) "self", NULL
16225 };
16226
16227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
16228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16229 {
16230 PyThreadState* __tstate = wxPyBeginAllowThreads();
16231 {
16232 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
16233 result = (wxString *) &_result_ref;
16234 }
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 {
16240 #if wxUSE_UNICODE
16241 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16242 #else
16243 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16244 #endif
16245 }
16246 return resultobj;
16247 fail:
16248 return NULL;
16249 }
16250
16251
16252 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
16253 PyObject *obj;
16254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16255 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
16256 Py_INCREF(obj);
16257 return Py_BuildValue((char *)"");
16258 }
16259 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16260 PyObject *resultobj;
16261 wxString *arg1 = 0 ;
16262 wxString result;
16263 bool temp1 = False ;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "sz", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16270 {
16271 arg1 = wxString_in_helper(obj0);
16272 if (arg1 == NULL) SWIG_fail;
16273 temp1 = True;
16274 }
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = wxExpandEnvVars((wxString const &)*arg1);
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 {
16283 #if wxUSE_UNICODE
16284 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16285 #else
16286 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16287 #endif
16288 }
16289 {
16290 if (temp1)
16291 delete arg1;
16292 }
16293 return resultobj;
16294 fail:
16295 {
16296 if (temp1)
16297 delete arg1;
16298 }
16299 return NULL;
16300 }
16301
16302
16303 static int _wrap_DateFormatStr_set(PyObject *_val) {
16304 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16305 return 1;
16306 }
16307
16308
16309 static PyObject *_wrap_DateFormatStr_get() {
16310 PyObject *pyobj;
16311
16312 {
16313 #if wxUSE_UNICODE
16314 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16315 #else
16316 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16317 #endif
16318 }
16319 return pyobj;
16320 }
16321
16322
16323 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16324 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16325 return 1;
16326 }
16327
16328
16329 static PyObject *_wrap_TimeSpanFormatStr_get() {
16330 PyObject *pyobj;
16331
16332 {
16333 #if wxUSE_UNICODE
16334 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16335 #else
16336 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16337 #endif
16338 }
16339 return pyobj;
16340 }
16341
16342
16343 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16344 PyObject *resultobj;
16345 int arg1 ;
16346 PyObject * obj0 = 0 ;
16347 char *kwnames[] = {
16348 (char *) "country", NULL
16349 };
16350
16351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16352 {
16353 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 Py_INCREF(Py_None); resultobj = Py_None;
16364 return resultobj;
16365 fail:
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 int result;
16373 char *kwnames[] = {
16374 NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (int)wxDateTime::GetCountry();
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 resultobj = SWIG_PyObj_FromInt((int)result);
16386 return resultobj;
16387 fail:
16388 return NULL;
16389 }
16390
16391
16392 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16393 PyObject *resultobj;
16394 int arg1 = (int) wxDateTime::Country_Default ;
16395 bool result;
16396 PyObject * obj0 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "country", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16402 if (obj0) {
16403 {
16404 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16416 return resultobj;
16417 fail:
16418 return NULL;
16419 }
16420
16421
16422 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 int arg1 = (int) wxDateTime::Gregorian ;
16425 int result;
16426 PyObject * obj0 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "cal", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16432 if (obj0) {
16433 {
16434 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 }
16438 {
16439 PyThreadState* __tstate = wxPyBeginAllowThreads();
16440 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16441
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 resultobj = SWIG_PyObj_FromInt((int)result);
16446 return resultobj;
16447 fail:
16448 return NULL;
16449 }
16450
16451
16452 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 int arg1 ;
16455 int result;
16456 PyObject * obj0 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "year", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16462 {
16463 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 result = (int)wxDateTime::ConvertYearToBC(arg1);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 resultobj = SWIG_PyObj_FromInt((int)result);
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 int arg1 = (int) wxDateTime::Gregorian ;
16483 int result;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "cal", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16490 if (obj0) {
16491 {
16492 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 }
16496 {
16497 PyThreadState* __tstate = wxPyBeginAllowThreads();
16498 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16499
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 resultobj = SWIG_PyObj_FromInt((int)result);
16504 return resultobj;
16505 fail:
16506 return NULL;
16507 }
16508
16509
16510 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 int arg1 = (int) wxDateTime::Inv_Year ;
16513 int arg2 = (int) wxDateTime::Gregorian ;
16514 bool result;
16515 PyObject * obj0 = 0 ;
16516 PyObject * obj1 = 0 ;
16517 char *kwnames[] = {
16518 (char *) "year",(char *) "cal", NULL
16519 };
16520
16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16522 if (obj0) {
16523 {
16524 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
16527 }
16528 if (obj1) {
16529 {
16530 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 }
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 int arg1 = (int) wxDateTime::Inv_Year ;
16551 int result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "year", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16558 if (obj0) {
16559 {
16560 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 }
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (int)wxDateTime::GetCentury(arg1);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 resultobj = SWIG_PyObj_FromInt((int)result);
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 int arg1 ;
16581 int arg2 = (int) wxDateTime::Gregorian ;
16582 int result;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "year",(char *) "cal", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16590 {
16591 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 if (obj1) {
16595 {
16596 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16597 if (PyErr_Occurred()) SWIG_fail;
16598 }
16599 }
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 resultobj = SWIG_PyObj_FromInt((int)result);
16608 return resultobj;
16609 fail:
16610 return NULL;
16611 }
16612
16613
16614 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 int arg1 ;
16617 int arg2 = (int) wxDateTime::Inv_Year ;
16618 int arg3 = (int) wxDateTime::Gregorian ;
16619 int result;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "month",(char *) "year",(char *) "cal", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16628 {
16629 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 if (obj1) {
16633 {
16634 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 }
16638 if (obj2) {
16639 {
16640 arg3 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj2);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 }
16644 {
16645 PyThreadState* __tstate = wxPyBeginAllowThreads();
16646 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16647
16648 wxPyEndAllowThreads(__tstate);
16649 if (PyErr_Occurred()) SWIG_fail;
16650 }
16651 resultobj = SWIG_PyObj_FromInt((int)result);
16652 return resultobj;
16653 fail:
16654 return NULL;
16655 }
16656
16657
16658 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 int arg1 ;
16661 int arg2 = (int) wxDateTime::Name_Full ;
16662 wxString result;
16663 PyObject * obj0 = 0 ;
16664 PyObject * obj1 = 0 ;
16665 char *kwnames[] = {
16666 (char *) "month",(char *) "flags", NULL
16667 };
16668
16669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16670 {
16671 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 if (obj1) {
16675 {
16676 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 }
16680 {
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16683
16684 wxPyEndAllowThreads(__tstate);
16685 if (PyErr_Occurred()) SWIG_fail;
16686 }
16687 {
16688 #if wxUSE_UNICODE
16689 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16690 #else
16691 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16692 #endif
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697 }
16698
16699
16700 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 int arg1 ;
16703 int arg2 = (int) wxDateTime::Name_Full ;
16704 wxString result;
16705 PyObject * obj0 = 0 ;
16706 PyObject * obj1 = 0 ;
16707 char *kwnames[] = {
16708 (char *) "weekday",(char *) "flags", NULL
16709 };
16710
16711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16712 {
16713 arg1 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj0);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 if (obj1) {
16717 {
16718 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16719 if (PyErr_Occurred()) SWIG_fail;
16720 }
16721 }
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
16729 {
16730 #if wxUSE_UNICODE
16731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16732 #else
16733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16734 #endif
16735 }
16736 return resultobj;
16737 fail:
16738 return NULL;
16739 }
16740
16741
16742 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
16743 PyObject *resultobj;
16744 wxString *arg1 = (wxString *) 0 ;
16745 wxString *arg2 = (wxString *) 0 ;
16746 bool temp1 = False ;
16747 bool temp2 = False ;
16748 PyObject * obj0 = 0 ;
16749 PyObject * obj1 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
16755 {
16756 arg1 = wxString_in_helper(obj0);
16757 if (arg1 == NULL) SWIG_fail;
16758 temp1 = True;
16759 }
16760 {
16761 arg2 = wxString_in_helper(obj1);
16762 if (arg2 == NULL) SWIG_fail;
16763 temp2 = True;
16764 }
16765 {
16766 PyThreadState* __tstate = wxPyBeginAllowThreads();
16767 wxDateTime::GetAmPmStrings(arg1,arg2);
16768
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 Py_INCREF(Py_None); resultobj = Py_None;
16773 {
16774 if (temp1)
16775 delete arg1;
16776 }
16777 {
16778 if (temp2)
16779 delete arg2;
16780 }
16781 return resultobj;
16782 fail:
16783 {
16784 if (temp1)
16785 delete arg1;
16786 }
16787 {
16788 if (temp2)
16789 delete arg2;
16790 }
16791 return NULL;
16792 }
16793
16794
16795 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 int arg1 = (int) wxDateTime::Inv_Year ;
16798 int arg2 = (int) wxDateTime::Country_Default ;
16799 bool result;
16800 PyObject * obj0 = 0 ;
16801 PyObject * obj1 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "year",(char *) "country", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16807 if (obj0) {
16808 {
16809 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 }
16813 if (obj1) {
16814 {
16815 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 }
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16822
16823 wxPyEndAllowThreads(__tstate);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 int arg1 = (int) wxDateTime::Inv_Year ;
16836 int arg2 = (int) wxDateTime::Country_Default ;
16837 wxDateTime result;
16838 PyObject * obj0 = 0 ;
16839 PyObject * obj1 = 0 ;
16840 char *kwnames[] = {
16841 (char *) "year",(char *) "country", NULL
16842 };
16843
16844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16845 if (obj0) {
16846 {
16847 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 }
16851 if (obj1) {
16852 {
16853 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 }
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 {
16865 wxDateTime * resultptr;
16866 resultptr = new wxDateTime((wxDateTime &) result);
16867 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 int arg1 = (int) wxDateTime::Inv_Year ;
16878 int arg2 = (int) wxDateTime::Country_Default ;
16879 wxDateTime result;
16880 PyObject * obj0 = 0 ;
16881 PyObject * obj1 = 0 ;
16882 char *kwnames[] = {
16883 (char *) "year",(char *) "country", NULL
16884 };
16885
16886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16887 if (obj0) {
16888 {
16889 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 }
16893 if (obj1) {
16894 {
16895 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16896 if (PyErr_Occurred()) SWIG_fail;
16897 }
16898 }
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 {
16907 wxDateTime * resultptr;
16908 resultptr = new wxDateTime((wxDateTime &) result);
16909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16910 }
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxDateTime result;
16920 char *kwnames[] = {
16921 NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = wxDateTime::Now();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 {
16933 wxDateTime * resultptr;
16934 resultptr = new wxDateTime((wxDateTime &) result);
16935 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16936 }
16937 return resultobj;
16938 fail:
16939 return NULL;
16940 }
16941
16942
16943 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
16944 PyObject *resultobj;
16945 wxDateTime result;
16946 char *kwnames[] = {
16947 NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = wxDateTime::UNow();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 wxDateTime * resultptr;
16960 resultptr = new wxDateTime((wxDateTime &) result);
16961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxDateTime result;
16972 char *kwnames[] = {
16973 NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 result = wxDateTime::Today();
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 {
16985 wxDateTime * resultptr;
16986 resultptr = new wxDateTime((wxDateTime &) result);
16987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxDateTime *result;
16998 char *kwnames[] = {
16999 NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (wxDateTime *)new wxDateTime();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 time_t arg1 ;
17020 wxDateTime *result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "timet", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17027 {
17028 arg1 = (time_t) SWIG_PyObj_AsUnsignedInt(obj0);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (wxDateTime *)new wxDateTime(arg1);
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 double arg1 ;
17048 wxDateTime *result;
17049 PyObject * obj0 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "jdn", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17055 {
17056 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 result = (wxDateTime *)new wxDateTime(arg1);
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17067 return resultobj;
17068 fail:
17069 return NULL;
17070 }
17071
17072
17073 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
17075 int arg1 ;
17076 int arg2 = (int) 0 ;
17077 int arg3 = (int) 0 ;
17078 int arg4 = (int) 0 ;
17079 wxDateTime *result;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 PyObject * obj2 = 0 ;
17083 PyObject * obj3 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17089 {
17090 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 if (obj1) {
17094 {
17095 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 }
17099 if (obj2) {
17100 {
17101 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 }
17105 if (obj3) {
17106 {
17107 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 }
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17119 return resultobj;
17120 fail:
17121 return NULL;
17122 }
17123
17124
17125 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 int arg1 ;
17128 int arg2 = (int) wxDateTime::Inv_Month ;
17129 int arg3 = (int) wxDateTime::Inv_Year ;
17130 int arg4 = (int) 0 ;
17131 int arg5 = (int) 0 ;
17132 int arg6 = (int) 0 ;
17133 int arg7 = (int) 0 ;
17134 wxDateTime *result;
17135 PyObject * obj0 = 0 ;
17136 PyObject * obj1 = 0 ;
17137 PyObject * obj2 = 0 ;
17138 PyObject * obj3 = 0 ;
17139 PyObject * obj4 = 0 ;
17140 PyObject * obj5 = 0 ;
17141 PyObject * obj6 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17147 {
17148 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 if (obj1) {
17152 {
17153 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 }
17157 if (obj2) {
17158 {
17159 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
17162 }
17163 if (obj3) {
17164 {
17165 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17166 if (PyErr_Occurred()) SWIG_fail;
17167 }
17168 }
17169 if (obj4) {
17170 {
17171 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17172 if (PyErr_Occurred()) SWIG_fail;
17173 }
17174 }
17175 if (obj5) {
17176 {
17177 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 }
17181 if (obj6) {
17182 {
17183 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 }
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxDateTime *arg1 = (wxDateTime *) 0 ;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 delete arg1;
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 Py_INCREF(Py_None); resultobj = Py_None;
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxDateTime *arg1 = (wxDateTime *) 0 ;
17228 wxDateTime *result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 {
17239 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17240 result = (wxDateTime *) &_result_ref;
17241 }
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17247 return resultobj;
17248 fail:
17249 return NULL;
17250 }
17251
17252
17253 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17254 PyObject *resultobj;
17255 wxDateTime *arg1 = (wxDateTime *) 0 ;
17256 time_t arg2 ;
17257 wxDateTime *result;
17258 PyObject * obj0 = 0 ;
17259 PyObject * obj1 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self",(char *) "timet", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17266 {
17267 arg2 = (time_t) SWIG_PyObj_AsUnsignedInt(obj1);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
17271 PyThreadState* __tstate = wxPyBeginAllowThreads();
17272 {
17273 wxDateTime &_result_ref = (arg1)->Set(arg2);
17274 result = (wxDateTime *) &_result_ref;
17275 }
17276
17277 wxPyEndAllowThreads(__tstate);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17281 return resultobj;
17282 fail:
17283 return NULL;
17284 }
17285
17286
17287 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17288 PyObject *resultobj;
17289 wxDateTime *arg1 = (wxDateTime *) 0 ;
17290 double arg2 ;
17291 wxDateTime *result;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char *kwnames[] = {
17295 (char *) "self",(char *) "jdn", NULL
17296 };
17297
17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17300 {
17301 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 {
17307 wxDateTime &_result_ref = (arg1)->Set(arg2);
17308 result = (wxDateTime *) &_result_ref;
17309 }
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17315 return resultobj;
17316 fail:
17317 return NULL;
17318 }
17319
17320
17321 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxDateTime *arg1 = (wxDateTime *) 0 ;
17324 int arg2 ;
17325 int arg3 = (int) 0 ;
17326 int arg4 = (int) 0 ;
17327 int arg5 = (int) 0 ;
17328 wxDateTime *result;
17329 PyObject * obj0 = 0 ;
17330 PyObject * obj1 = 0 ;
17331 PyObject * obj2 = 0 ;
17332 PyObject * obj3 = 0 ;
17333 PyObject * obj4 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17340 {
17341 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 if (obj2) {
17345 {
17346 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 }
17350 if (obj3) {
17351 {
17352 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17353 if (PyErr_Occurred()) SWIG_fail;
17354 }
17355 }
17356 if (obj4) {
17357 {
17358 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 }
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 {
17365 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17366 result = (wxDateTime *) &_result_ref;
17367 }
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17373 return resultobj;
17374 fail:
17375 return NULL;
17376 }
17377
17378
17379 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17380 PyObject *resultobj;
17381 wxDateTime *arg1 = (wxDateTime *) 0 ;
17382 int arg2 ;
17383 int arg3 = (int) wxDateTime::Inv_Month ;
17384 int arg4 = (int) wxDateTime::Inv_Year ;
17385 int arg5 = (int) 0 ;
17386 int arg6 = (int) 0 ;
17387 int arg7 = (int) 0 ;
17388 int arg8 = (int) 0 ;
17389 wxDateTime *result;
17390 PyObject * obj0 = 0 ;
17391 PyObject * obj1 = 0 ;
17392 PyObject * obj2 = 0 ;
17393 PyObject * obj3 = 0 ;
17394 PyObject * obj4 = 0 ;
17395 PyObject * obj5 = 0 ;
17396 PyObject * obj6 = 0 ;
17397 PyObject * obj7 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17404 {
17405 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17406 if (PyErr_Occurred()) SWIG_fail;
17407 }
17408 if (obj2) {
17409 {
17410 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 }
17414 if (obj3) {
17415 {
17416 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 }
17420 if (obj4) {
17421 {
17422 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 }
17426 if (obj5) {
17427 {
17428 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 }
17432 if (obj6) {
17433 {
17434 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 }
17437 }
17438 if (obj7) {
17439 {
17440 arg8 = (int) SWIG_PyObj_AsInt(obj7);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 }
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 {
17447 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17448 result = (wxDateTime *) &_result_ref;
17449 }
17450
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17455 return resultobj;
17456 fail:
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxDateTime *arg1 = (wxDateTime *) 0 ;
17464 wxDateTime *result;
17465 PyObject * obj0 = 0 ;
17466 char *kwnames[] = {
17467 (char *) "self", NULL
17468 };
17469
17470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 {
17475 wxDateTime &_result_ref = (arg1)->ResetTime();
17476 result = (wxDateTime *) &_result_ref;
17477 }
17478
17479 wxPyEndAllowThreads(__tstate);
17480 if (PyErr_Occurred()) SWIG_fail;
17481 }
17482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17483 return resultobj;
17484 fail:
17485 return NULL;
17486 }
17487
17488
17489 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17490 PyObject *resultobj;
17491 wxDateTime *arg1 = (wxDateTime *) 0 ;
17492 int arg2 ;
17493 wxDateTime *result;
17494 PyObject * obj0 = 0 ;
17495 PyObject * obj1 = 0 ;
17496 char *kwnames[] = {
17497 (char *) "self",(char *) "year", NULL
17498 };
17499
17500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17502 {
17503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 {
17509 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17510 result = (wxDateTime *) &_result_ref;
17511 }
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17517 return resultobj;
17518 fail:
17519 return NULL;
17520 }
17521
17522
17523 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxDateTime *arg1 = (wxDateTime *) 0 ;
17526 int arg2 ;
17527 wxDateTime *result;
17528 PyObject * obj0 = 0 ;
17529 PyObject * obj1 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self",(char *) "month", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17536 {
17537 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17538 if (PyErr_Occurred()) SWIG_fail;
17539 }
17540 {
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 {
17543 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17544 result = (wxDateTime *) &_result_ref;
17545 }
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxDateTime *arg1 = (wxDateTime *) 0 ;
17560 int arg2 ;
17561 wxDateTime *result;
17562 PyObject * obj0 = 0 ;
17563 PyObject * obj1 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self",(char *) "day", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 {
17571 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 {
17577 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17578 result = (wxDateTime *) &_result_ref;
17579 }
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxDateTime *arg1 = (wxDateTime *) 0 ;
17594 int arg2 ;
17595 wxDateTime *result;
17596 PyObject * obj0 = 0 ;
17597 PyObject * obj1 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "hour", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 {
17605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 {
17611 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17612 result = (wxDateTime *) &_result_ref;
17613 }
17614
17615 wxPyEndAllowThreads(__tstate);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
17618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17619 return resultobj;
17620 fail:
17621 return NULL;
17622 }
17623
17624
17625 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17626 PyObject *resultobj;
17627 wxDateTime *arg1 = (wxDateTime *) 0 ;
17628 int arg2 ;
17629 wxDateTime *result;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj1 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "minute", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 {
17639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 {
17645 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17646 result = (wxDateTime *) &_result_ref;
17647 }
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxDateTime *arg1 = (wxDateTime *) 0 ;
17662 int arg2 ;
17663 wxDateTime *result;
17664 PyObject * obj0 = 0 ;
17665 PyObject * obj1 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self",(char *) "second", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17672 {
17673 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17674 if (PyErr_Occurred()) SWIG_fail;
17675 }
17676 {
17677 PyThreadState* __tstate = wxPyBeginAllowThreads();
17678 {
17679 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17680 result = (wxDateTime *) &_result_ref;
17681 }
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxDateTime *arg1 = (wxDateTime *) 0 ;
17696 int arg2 ;
17697 wxDateTime *result;
17698 PyObject * obj0 = 0 ;
17699 PyObject * obj1 = 0 ;
17700 char *kwnames[] = {
17701 (char *) "self",(char *) "millisecond", NULL
17702 };
17703
17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17706 {
17707 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 {
17713 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17714 result = (wxDateTime *) &_result_ref;
17715 }
17716
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17721 return resultobj;
17722 fail:
17723 return NULL;
17724 }
17725
17726
17727 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxDateTime *arg1 = (wxDateTime *) 0 ;
17730 int arg2 ;
17731 int arg3 = (int) wxDateTime::Monday_First ;
17732 wxDateTime *result;
17733 PyObject * obj0 = 0 ;
17734 PyObject * obj1 = 0 ;
17735 PyObject * obj2 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 {
17743 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 if (obj2) {
17747 {
17748 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 }
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 {
17755 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17756 result = (wxDateTime *) &_result_ref;
17757 }
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17763 return resultobj;
17764 fail:
17765 return NULL;
17766 }
17767
17768
17769 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxDateTime *arg1 = (wxDateTime *) 0 ;
17772 int arg2 ;
17773 int arg3 = (int) wxDateTime::Monday_First ;
17774 wxDateTime result;
17775 PyObject * obj0 = 0 ;
17776 PyObject * obj1 = 0 ;
17777 PyObject * obj2 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 {
17785 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 if (obj2) {
17789 {
17790 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 }
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 {
17802 wxDateTime * resultptr;
17803 resultptr = new wxDateTime((wxDateTime &) result);
17804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17805 }
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxDateTime *arg1 = (wxDateTime *) 0 ;
17815 int arg2 ;
17816 wxDateTime *result;
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 char *kwnames[] = {
17820 (char *) "self",(char *) "weekday", NULL
17821 };
17822
17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17825 {
17826 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 {
17832 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17833 result = (wxDateTime *) &_result_ref;
17834 }
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17840 return resultobj;
17841 fail:
17842 return NULL;
17843 }
17844
17845
17846 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxDateTime *arg1 = (wxDateTime *) 0 ;
17849 int arg2 ;
17850 wxDateTime result;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "weekday", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17859 {
17860 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
17870 {
17871 wxDateTime * resultptr;
17872 resultptr = new wxDateTime((wxDateTime &) result);
17873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17874 }
17875 return resultobj;
17876 fail:
17877 return NULL;
17878 }
17879
17880
17881 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxDateTime *arg1 = (wxDateTime *) 0 ;
17884 int arg2 ;
17885 wxDateTime *result;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "weekday", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 {
17901 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17902 result = (wxDateTime *) &_result_ref;
17903 }
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxDateTime *arg1 = (wxDateTime *) 0 ;
17918 int arg2 ;
17919 wxDateTime result;
17920 PyObject * obj0 = 0 ;
17921 PyObject * obj1 = 0 ;
17922 char *kwnames[] = {
17923 (char *) "self",(char *) "weekday", NULL
17924 };
17925
17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
17927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17928 {
17929 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17930 if (PyErr_Occurred()) SWIG_fail;
17931 }
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 {
17940 wxDateTime * resultptr;
17941 resultptr = new wxDateTime((wxDateTime &) result);
17942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17943 }
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxDateTime *arg1 = (wxDateTime *) 0 ;
17953 int arg2 ;
17954 int arg3 = (int) 1 ;
17955 int arg4 = (int) wxDateTime::Inv_Month ;
17956 int arg5 = (int) wxDateTime::Inv_Year ;
17957 bool result;
17958 PyObject * obj0 = 0 ;
17959 PyObject * obj1 = 0 ;
17960 PyObject * obj2 = 0 ;
17961 PyObject * obj3 = 0 ;
17962 PyObject * obj4 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17969 {
17970 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 if (obj2) {
17974 {
17975 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 }
17979 if (obj3) {
17980 {
17981 arg4 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj3);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 }
17985 if (obj4) {
17986 {
17987 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxDateTime *arg1 = (wxDateTime *) 0 ;
18008 int arg2 ;
18009 int arg3 = (int) wxDateTime::Inv_Month ;
18010 int arg4 = (int) wxDateTime::Inv_Year ;
18011 bool result;
18012 PyObject * obj0 = 0 ;
18013 PyObject * obj1 = 0 ;
18014 PyObject * obj2 = 0 ;
18015 PyObject * obj3 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18022 {
18023 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 if (obj2) {
18027 {
18028 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 }
18032 if (obj3) {
18033 {
18034 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 }
18038 {
18039 PyThreadState* __tstate = wxPyBeginAllowThreads();
18040 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxDateTime *arg1 = (wxDateTime *) 0 ;
18055 int arg2 ;
18056 int arg3 = (int) wxDateTime::Inv_Month ;
18057 int arg4 = (int) wxDateTime::Inv_Year ;
18058 wxDateTime result;
18059 PyObject * obj0 = 0 ;
18060 PyObject * obj1 = 0 ;
18061 PyObject * obj2 = 0 ;
18062 PyObject * obj3 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18069 {
18070 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 if (obj2) {
18074 {
18075 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 }
18079 if (obj3) {
18080 {
18081 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 }
18085 {
18086 PyThreadState* __tstate = wxPyBeginAllowThreads();
18087 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18088
18089 wxPyEndAllowThreads(__tstate);
18090 if (PyErr_Occurred()) SWIG_fail;
18091 }
18092 {
18093 wxDateTime * resultptr;
18094 resultptr = new wxDateTime((wxDateTime &) result);
18095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxDateTime *arg1 = (wxDateTime *) 0 ;
18106 int arg2 ;
18107 int arg3 = (int) wxDateTime::Mon ;
18108 int arg4 = (int) wxDateTime::Monday_First ;
18109 bool result;
18110 PyObject * obj0 = 0 ;
18111 PyObject * obj1 = 0 ;
18112 PyObject * obj2 = 0 ;
18113 PyObject * obj3 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18120 {
18121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 if (obj2) {
18125 {
18126 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 }
18130 if (obj3) {
18131 {
18132 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 }
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxDateTime *arg1 = (wxDateTime *) 0 ;
18153 int arg2 ;
18154 int arg3 = (int) wxDateTime::Mon ;
18155 int arg4 = (int) wxDateTime::Monday_First ;
18156 wxDateTime result;
18157 PyObject * obj0 = 0 ;
18158 PyObject * obj1 = 0 ;
18159 PyObject * obj2 = 0 ;
18160 PyObject * obj3 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 {
18168 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 if (obj2) {
18172 {
18173 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 }
18177 if (obj3) {
18178 {
18179 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 {
18191 wxDateTime * resultptr;
18192 resultptr = new wxDateTime((wxDateTime &) result);
18193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18194 }
18195 return resultobj;
18196 fail:
18197 return NULL;
18198 }
18199
18200
18201 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18202 PyObject *resultobj;
18203 wxDateTime *arg1 = (wxDateTime *) 0 ;
18204 int arg2 = (int) wxDateTime::Inv_Month ;
18205 int arg3 = (int) wxDateTime::Inv_Year ;
18206 wxDateTime *result;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self",(char *) "month",(char *) "year", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 if (obj1) {
18217 {
18218 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 }
18222 if (obj2) {
18223 {
18224 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18225 if (PyErr_Occurred()) SWIG_fail;
18226 }
18227 }
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 {
18231 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18232 result = (wxDateTime *) &_result_ref;
18233 }
18234
18235 wxPyEndAllowThreads(__tstate);
18236 if (PyErr_Occurred()) SWIG_fail;
18237 }
18238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18239 return resultobj;
18240 fail:
18241 return NULL;
18242 }
18243
18244
18245 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxDateTime *arg1 = (wxDateTime *) 0 ;
18248 int arg2 = (int) wxDateTime::Inv_Month ;
18249 int arg3 = (int) wxDateTime::Inv_Year ;
18250 wxDateTime result;
18251 PyObject * obj0 = 0 ;
18252 PyObject * obj1 = 0 ;
18253 PyObject * obj2 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self",(char *) "month",(char *) "year", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18260 if (obj1) {
18261 {
18262 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 }
18266 if (obj2) {
18267 {
18268 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 {
18280 wxDateTime * resultptr;
18281 resultptr = new wxDateTime((wxDateTime &) result);
18282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18283 }
18284 return resultobj;
18285 fail:
18286 return NULL;
18287 }
18288
18289
18290 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18291 PyObject *resultobj;
18292 wxDateTime *arg1 = (wxDateTime *) 0 ;
18293 int arg2 ;
18294 wxDateTime *result;
18295 PyObject * obj0 = 0 ;
18296 PyObject * obj1 = 0 ;
18297 char *kwnames[] = {
18298 (char *) "self",(char *) "yday", NULL
18299 };
18300
18301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 {
18304 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 {
18310 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18311 result = (wxDateTime *) &_result_ref;
18312 }
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxDateTime *arg1 = (wxDateTime *) 0 ;
18327 int arg2 ;
18328 wxDateTime result;
18329 PyObject * obj0 = 0 ;
18330 PyObject * obj1 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self",(char *) "yday", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18337 {
18338 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 {
18342 PyThreadState* __tstate = wxPyBeginAllowThreads();
18343 result = (arg1)->GetYearDay(arg2);
18344
18345 wxPyEndAllowThreads(__tstate);
18346 if (PyErr_Occurred()) SWIG_fail;
18347 }
18348 {
18349 wxDateTime * resultptr;
18350 resultptr = new wxDateTime((wxDateTime &) result);
18351 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18352 }
18353 return resultobj;
18354 fail:
18355 return NULL;
18356 }
18357
18358
18359 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxDateTime *arg1 = (wxDateTime *) 0 ;
18362 double result;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 result = (double)(arg1)->GetJulianDayNumber();
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 resultobj = SWIG_PyObj_FromDouble((double)result);
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxDateTime *arg1 = (wxDateTime *) 0 ;
18387 double result;
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
18390 (char *) "self", NULL
18391 };
18392
18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
18397 result = (double)(arg1)->GetJDN();
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 resultobj = SWIG_PyObj_FromDouble((double)result);
18403 return resultobj;
18404 fail:
18405 return NULL;
18406 }
18407
18408
18409 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxDateTime *arg1 = (wxDateTime *) 0 ;
18412 double result;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 resultobj = SWIG_PyObj_FromDouble((double)result);
18428 return resultobj;
18429 fail:
18430 return NULL;
18431 }
18432
18433
18434 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18435 PyObject *resultobj;
18436 wxDateTime *arg1 = (wxDateTime *) 0 ;
18437 double result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (double)(arg1)->GetMJD();
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 resultobj = SWIG_PyObj_FromDouble((double)result);
18453 return resultobj;
18454 fail:
18455 return NULL;
18456 }
18457
18458
18459 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18460 PyObject *resultobj;
18461 wxDateTime *arg1 = (wxDateTime *) 0 ;
18462 double result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (double)(arg1)->GetRataDie();
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 resultobj = SWIG_PyObj_FromDouble((double)result);
18478 return resultobj;
18479 fail:
18480 return NULL;
18481 }
18482
18483
18484 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18485 PyObject *resultobj;
18486 wxDateTime *arg1 = (wxDateTime *) 0 ;
18487 wxDateTime::TimeZone *arg2 = 0 ;
18488 bool arg3 = (bool) False ;
18489 wxDateTime result;
18490 bool temp2 = False ;
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 PyObject * obj2 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 {
18501 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18502 temp2 = True;
18503 }
18504 if (obj2) {
18505 {
18506 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 }
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 {
18518 wxDateTime * resultptr;
18519 resultptr = new wxDateTime((wxDateTime &) result);
18520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18521 }
18522 {
18523 if (temp2) delete arg2;
18524 }
18525 return resultobj;
18526 fail:
18527 {
18528 if (temp2) delete arg2;
18529 }
18530 return NULL;
18531 }
18532
18533
18534 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18535 PyObject *resultobj;
18536 wxDateTime *arg1 = (wxDateTime *) 0 ;
18537 wxDateTime::TimeZone *arg2 = 0 ;
18538 bool arg3 = (bool) False ;
18539 wxDateTime *result;
18540 bool temp2 = False ;
18541 PyObject * obj0 = 0 ;
18542 PyObject * obj1 = 0 ;
18543 PyObject * obj2 = 0 ;
18544 char *kwnames[] = {
18545 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18546 };
18547
18548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18550 {
18551 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18552 temp2 = True;
18553 }
18554 if (obj2) {
18555 {
18556 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 }
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 {
18563 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18564 result = (wxDateTime *) &_result_ref;
18565 }
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18571 {
18572 if (temp2) delete arg2;
18573 }
18574 return resultobj;
18575 fail:
18576 {
18577 if (temp2) delete arg2;
18578 }
18579 return NULL;
18580 }
18581
18582
18583 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 wxDateTime *arg1 = (wxDateTime *) 0 ;
18586 bool arg2 = (bool) False ;
18587 wxDateTime result;
18588 PyObject * obj0 = 0 ;
18589 PyObject * obj1 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self",(char *) "noDST", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18596 if (obj1) {
18597 {
18598 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 }
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 result = (arg1)->ToGMT(arg2);
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 {
18610 wxDateTime * resultptr;
18611 resultptr = new wxDateTime((wxDateTime &) result);
18612 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18613 }
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxDateTime *arg1 = (wxDateTime *) 0 ;
18623 bool arg2 = (bool) False ;
18624 wxDateTime *result;
18625 PyObject * obj0 = 0 ;
18626 PyObject * obj1 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self",(char *) "noDST", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18633 if (obj1) {
18634 {
18635 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 }
18639 {
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 {
18642 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18643 result = (wxDateTime *) &_result_ref;
18644 }
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxDateTime *arg1 = (wxDateTime *) 0 ;
18659 int arg2 = (int) wxDateTime::Country_Default ;
18660 int result;
18661 PyObject * obj0 = 0 ;
18662 PyObject * obj1 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self",(char *) "country", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 if (obj1) {
18670 {
18671 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 }
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
18682 resultobj = SWIG_PyObj_FromInt((int)result);
18683 return resultobj;
18684 fail:
18685 return NULL;
18686 }
18687
18688
18689 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 wxDateTime *arg1 = (wxDateTime *) 0 ;
18692 bool result;
18693 PyObject * obj0 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (bool)((wxDateTime const *)arg1)->IsValid();
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18708 return resultobj;
18709 fail:
18710 return NULL;
18711 }
18712
18713
18714 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 wxDateTime *arg1 = (wxDateTime *) 0 ;
18717 time_t result;
18718 PyObject * obj0 = 0 ;
18719 char *kwnames[] = {
18720 (char *) "self", NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18725 {
18726 PyThreadState* __tstate = wxPyBeginAllowThreads();
18727 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18728
18729 wxPyEndAllowThreads(__tstate);
18730 if (PyErr_Occurred()) SWIG_fail;
18731 }
18732 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
18733 return resultobj;
18734 fail:
18735 return NULL;
18736 }
18737
18738
18739 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18740 PyObject *resultobj;
18741 wxDateTime *arg1 = (wxDateTime *) 0 ;
18742 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18743 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18744 int result;
18745 bool temp2 = False ;
18746 PyObject * obj0 = 0 ;
18747 PyObject * obj1 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "self",(char *) "tz", NULL
18750 };
18751
18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18754 if (obj1) {
18755 {
18756 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18757 temp2 = True;
18758 }
18759 }
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = SWIG_PyObj_FromInt((int)result);
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_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18781 PyObject *resultobj;
18782 wxDateTime *arg1 = (wxDateTime *) 0 ;
18783 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18784 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18785 int result;
18786 bool temp2 = False ;
18787 PyObject * obj0 = 0 ;
18788 PyObject * obj1 = 0 ;
18789 char *kwnames[] = {
18790 (char *) "self",(char *) "tz", NULL
18791 };
18792
18793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18795 if (obj1) {
18796 {
18797 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18798 temp2 = True;
18799 }
18800 }
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 resultobj = SWIG_PyObj_FromInt((int)result);
18809 {
18810 if (temp2) delete arg2;
18811 }
18812 return resultobj;
18813 fail:
18814 {
18815 if (temp2) delete arg2;
18816 }
18817 return NULL;
18818 }
18819
18820
18821 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18822 PyObject *resultobj;
18823 wxDateTime *arg1 = (wxDateTime *) 0 ;
18824 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18825 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18826 int result;
18827 bool temp2 = False ;
18828 PyObject * obj0 = 0 ;
18829 PyObject * obj1 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self",(char *) "tz", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
18835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18836 if (obj1) {
18837 {
18838 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18839 temp2 = True;
18840 }
18841 }
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 resultobj = SWIG_PyObj_FromInt((int)result);
18850 {
18851 if (temp2) delete arg2;
18852 }
18853 return resultobj;
18854 fail:
18855 {
18856 if (temp2) delete arg2;
18857 }
18858 return NULL;
18859 }
18860
18861
18862 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18863 PyObject *resultobj;
18864 wxDateTime *arg1 = (wxDateTime *) 0 ;
18865 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18866 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18867 int result;
18868 bool temp2 = False ;
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self",(char *) "tz", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
18876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18877 if (obj1) {
18878 {
18879 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18880 temp2 = True;
18881 }
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18886
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 resultobj = SWIG_PyObj_FromInt((int)result);
18891 {
18892 if (temp2) delete arg2;
18893 }
18894 return resultobj;
18895 fail:
18896 {
18897 if (temp2) delete arg2;
18898 }
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxDateTime *arg1 = (wxDateTime *) 0 ;
18906 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18907 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18908 int result;
18909 bool temp2 = False ;
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 char *kwnames[] = {
18913 (char *) "self",(char *) "tz", NULL
18914 };
18915
18916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
18917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18918 if (obj1) {
18919 {
18920 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18921 temp2 = True;
18922 }
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 resultobj = SWIG_PyObj_FromInt((int)result);
18932 {
18933 if (temp2) delete arg2;
18934 }
18935 return resultobj;
18936 fail:
18937 {
18938 if (temp2) delete arg2;
18939 }
18940 return NULL;
18941 }
18942
18943
18944 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxDateTime *arg1 = (wxDateTime *) 0 ;
18947 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18948 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18949 int result;
18950 bool temp2 = False ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj1 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "tz", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 if (obj1) {
18960 {
18961 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18962 temp2 = True;
18963 }
18964 }
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 resultobj = SWIG_PyObj_FromInt((int)result);
18973 {
18974 if (temp2) delete arg2;
18975 }
18976 return resultobj;
18977 fail:
18978 {
18979 if (temp2) delete arg2;
18980 }
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxDateTime *arg1 = (wxDateTime *) 0 ;
18988 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18989 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18990 int result;
18991 bool temp2 = False ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "tz", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 if (obj1) {
19001 {
19002 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19003 temp2 = True;
19004 }
19005 }
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 resultobj = SWIG_PyObj_FromInt((int)result);
19014 {
19015 if (temp2) delete arg2;
19016 }
19017 return resultobj;
19018 fail:
19019 {
19020 if (temp2) delete arg2;
19021 }
19022 return NULL;
19023 }
19024
19025
19026 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19027 PyObject *resultobj;
19028 wxDateTime *arg1 = (wxDateTime *) 0 ;
19029 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19030 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19031 int result;
19032 bool temp2 = False ;
19033 PyObject * obj0 = 0 ;
19034 PyObject * obj1 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self",(char *) "tz", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19041 if (obj1) {
19042 {
19043 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19044 temp2 = True;
19045 }
19046 }
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 resultobj = SWIG_PyObj_FromInt((int)result);
19055 {
19056 if (temp2) delete arg2;
19057 }
19058 return resultobj;
19059 fail:
19060 {
19061 if (temp2) delete arg2;
19062 }
19063 return NULL;
19064 }
19065
19066
19067 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 wxDateTime *arg1 = (wxDateTime *) 0 ;
19070 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19071 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19072 int result;
19073 bool temp2 = False ;
19074 PyObject * obj0 = 0 ;
19075 PyObject * obj1 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "tz", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19082 if (obj1) {
19083 {
19084 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19085 temp2 = True;
19086 }
19087 }
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 resultobj = SWIG_PyObj_FromInt((int)result);
19096 {
19097 if (temp2) delete arg2;
19098 }
19099 return resultobj;
19100 fail:
19101 {
19102 if (temp2) delete arg2;
19103 }
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxDateTime *arg1 = (wxDateTime *) 0 ;
19111 int arg2 = (int) wxDateTime::Monday_First ;
19112 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19113 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19114 int result;
19115 bool temp3 = False ;
19116 PyObject * obj0 = 0 ;
19117 PyObject * obj1 = 0 ;
19118 PyObject * obj2 = 0 ;
19119 char *kwnames[] = {
19120 (char *) "self",(char *) "flags",(char *) "tz", NULL
19121 };
19122
19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19125 if (obj1) {
19126 {
19127 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 }
19131 if (obj2) {
19132 {
19133 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19134 temp3 = True;
19135 }
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 resultobj = SWIG_PyObj_FromInt((int)result);
19145 {
19146 if (temp3) delete arg3;
19147 }
19148 return resultobj;
19149 fail:
19150 {
19151 if (temp3) delete arg3;
19152 }
19153 return NULL;
19154 }
19155
19156
19157 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19158 PyObject *resultobj;
19159 wxDateTime *arg1 = (wxDateTime *) 0 ;
19160 int arg2 = (int) wxDateTime::Monday_First ;
19161 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19162 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19163 int result;
19164 bool temp3 = False ;
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 PyObject * obj2 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "flags",(char *) "tz", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19174 if (obj1) {
19175 {
19176 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19177 if (PyErr_Occurred()) SWIG_fail;
19178 }
19179 }
19180 if (obj2) {
19181 {
19182 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19183 temp3 = True;
19184 }
19185 }
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 resultobj = SWIG_PyObj_FromInt((int)result);
19194 {
19195 if (temp3) delete arg3;
19196 }
19197 return resultobj;
19198 fail:
19199 {
19200 if (temp3) delete arg3;
19201 }
19202 return NULL;
19203 }
19204
19205
19206 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19207 PyObject *resultobj;
19208 wxDateTime *arg1 = (wxDateTime *) 0 ;
19209 int arg2 = (int) wxDateTime::Country_Default ;
19210 bool result;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "country", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19219 if (obj1) {
19220 {
19221 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 }
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxDateTime *arg1 = (wxDateTime *) 0 ;
19242 wxDateTime *arg2 = 0 ;
19243 bool result;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "datetime", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19253 if (arg2 == NULL) {
19254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19255 }
19256 {
19257 PyThreadState* __tstate = wxPyBeginAllowThreads();
19258 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19259
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxDateTime *arg1 = (wxDateTime *) 0 ;
19273 wxDateTime *arg2 = 0 ;
19274 bool result;
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "datetime", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19284 if (arg2 == NULL) {
19285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19286 }
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxDateTime *arg1 = (wxDateTime *) 0 ;
19304 wxDateTime *arg2 = 0 ;
19305 bool result;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "datetime", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 if (arg2 == NULL) {
19316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxDateTime *arg1 = (wxDateTime *) 0 ;
19335 wxDateTime *arg2 = 0 ;
19336 wxDateTime *arg3 = 0 ;
19337 bool result;
19338 PyObject * obj0 = 0 ;
19339 PyObject * obj1 = 0 ;
19340 PyObject * obj2 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self",(char *) "t1",(char *) "t2", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 if (arg2 == NULL) {
19349 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19350 }
19351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19352 if (arg3 == NULL) {
19353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19354 }
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19363 return resultobj;
19364 fail:
19365 return NULL;
19366 }
19367
19368
19369 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxDateTime *arg1 = (wxDateTime *) 0 ;
19372 wxDateTime *arg2 = 0 ;
19373 wxDateTime *arg3 = 0 ;
19374 bool result;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 PyObject * obj2 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "t1",(char *) "t2", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19385 if (arg2 == NULL) {
19386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19387 }
19388 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 if (arg3 == NULL) {
19390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19391 }
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19400 return resultobj;
19401 fail:
19402 return NULL;
19403 }
19404
19405
19406 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxDateTime *arg1 = (wxDateTime *) 0 ;
19409 wxDateTime *arg2 = 0 ;
19410 bool result;
19411 PyObject * obj0 = 0 ;
19412 PyObject * obj1 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self",(char *) "dt", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19420 if (arg2 == NULL) {
19421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19431 return resultobj;
19432 fail:
19433 return NULL;
19434 }
19435
19436
19437 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19438 PyObject *resultobj;
19439 wxDateTime *arg1 = (wxDateTime *) 0 ;
19440 wxDateTime *arg2 = 0 ;
19441 bool result;
19442 PyObject * obj0 = 0 ;
19443 PyObject * obj1 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self",(char *) "dt", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19451 if (arg2 == NULL) {
19452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxDateTime *arg1 = (wxDateTime *) 0 ;
19471 wxDateTime *arg2 = 0 ;
19472 wxTimeSpan *arg3 = 0 ;
19473 bool result;
19474 PyObject * obj0 = 0 ;
19475 PyObject * obj1 = 0 ;
19476 PyObject * obj2 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self",(char *) "dt",(char *) "ts", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 if (arg2 == NULL) {
19485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19486 }
19487 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19488 if (arg3 == NULL) {
19489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19490 }
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxDateTime *arg1 = (wxDateTime *) 0 ;
19508 wxTimeSpan *arg2 = 0 ;
19509 wxDateTime *result;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "diff", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 if (arg2 == NULL) {
19520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 {
19525 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19526 result = (wxDateTime *) &_result_ref;
19527 }
19528
19529 wxPyEndAllowThreads(__tstate);
19530 if (PyErr_Occurred()) SWIG_fail;
19531 }
19532 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxDateTime *arg1 = (wxDateTime *) 0 ;
19542 wxDateSpan *arg2 = 0 ;
19543 wxDateTime *result;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "diff", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 if (arg2 == NULL) {
19554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19555 }
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 {
19559 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19560 result = (wxDateTime *) &_result_ref;
19561 }
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19567 return resultobj;
19568 fail:
19569 return NULL;
19570 }
19571
19572
19573 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxDateTime *arg1 = (wxDateTime *) 0 ;
19576 wxTimeSpan *arg2 = 0 ;
19577 wxDateTime *result;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "diff", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 if (arg2 == NULL) {
19588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 {
19593 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19594 result = (wxDateTime *) &_result_ref;
19595 }
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxDateTime *arg1 = (wxDateTime *) 0 ;
19610 wxDateSpan *arg2 = 0 ;
19611 wxDateTime *result;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "diff", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19621 if (arg2 == NULL) {
19622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19623 }
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 {
19627 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19628 result = (wxDateTime *) &_result_ref;
19629 }
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 wxDateTime *arg1 = (wxDateTime *) 0 ;
19644 wxDateTime *arg2 = 0 ;
19645 wxTimeSpan result;
19646 PyObject * obj0 = 0 ;
19647 PyObject * obj1 = 0 ;
19648 char *kwnames[] = {
19649 (char *) "self",(char *) "dt", NULL
19650 };
19651
19652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19655 if (arg2 == NULL) {
19656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19657 }
19658 {
19659 PyThreadState* __tstate = wxPyBeginAllowThreads();
19660 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19661
19662 wxPyEndAllowThreads(__tstate);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 }
19665 {
19666 wxTimeSpan * resultptr;
19667 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19669 }
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19677 PyObject *resultobj;
19678 wxDateTime *arg1 = (wxDateTime *) 0 ;
19679 wxTimeSpan *arg2 = 0 ;
19680 wxDateTime *result;
19681 PyObject * obj0 = 0 ;
19682 PyObject * obj1 = 0 ;
19683
19684 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19687 if (arg2 == NULL) {
19688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19689 }
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 {
19693 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19694 result = (wxDateTime *) &_result_ref;
19695 }
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19708 PyObject *resultobj;
19709 wxDateTime *arg1 = (wxDateTime *) 0 ;
19710 wxDateSpan *arg2 = 0 ;
19711 wxDateTime *result;
19712 PyObject * obj0 = 0 ;
19713 PyObject * obj1 = 0 ;
19714
19715 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 if (arg2 == NULL) {
19719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19720 }
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 {
19724 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19725 result = (wxDateTime *) &_result_ref;
19726 }
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19739 int argc;
19740 PyObject *argv[3];
19741 int ii;
19742
19743 argc = PyObject_Length(args);
19744 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19745 argv[ii] = PyTuple_GetItem(args,ii);
19746 }
19747 if (argc == 2) {
19748 int _v;
19749 {
19750 void *ptr;
19751 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19752 _v = 0;
19753 PyErr_Clear();
19754 } else {
19755 _v = 1;
19756 }
19757 }
19758 if (_v) {
19759 {
19760 void *ptr;
19761 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19762 _v = 0;
19763 PyErr_Clear();
19764 } else {
19765 _v = 1;
19766 }
19767 }
19768 if (_v) {
19769 return _wrap_DateTime___iadd____SWIG_0(self,args);
19770 }
19771 }
19772 }
19773 if (argc == 2) {
19774 int _v;
19775 {
19776 void *ptr;
19777 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19778 _v = 0;
19779 PyErr_Clear();
19780 } else {
19781 _v = 1;
19782 }
19783 }
19784 if (_v) {
19785 {
19786 void *ptr;
19787 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19788 _v = 0;
19789 PyErr_Clear();
19790 } else {
19791 _v = 1;
19792 }
19793 }
19794 if (_v) {
19795 return _wrap_DateTime___iadd____SWIG_1(self,args);
19796 }
19797 }
19798 }
19799
19800 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19801 return NULL;
19802 }
19803
19804
19805 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
19806 PyObject *resultobj;
19807 wxDateTime *arg1 = (wxDateTime *) 0 ;
19808 wxTimeSpan *arg2 = 0 ;
19809 wxDateTime *result;
19810 PyObject * obj0 = 0 ;
19811 PyObject * obj1 = 0 ;
19812
19813 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19816 if (arg2 == NULL) {
19817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19818 }
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 {
19822 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19823 result = (wxDateTime *) &_result_ref;
19824 }
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
19837 PyObject *resultobj;
19838 wxDateTime *arg1 = (wxDateTime *) 0 ;
19839 wxDateSpan *arg2 = 0 ;
19840 wxDateTime *result;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843
19844 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19847 if (arg2 == NULL) {
19848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 {
19853 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19854 result = (wxDateTime *) &_result_ref;
19855 }
19856
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19861 return resultobj;
19862 fail:
19863 return NULL;
19864 }
19865
19866
19867 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19868 int argc;
19869 PyObject *argv[3];
19870 int ii;
19871
19872 argc = PyObject_Length(args);
19873 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19874 argv[ii] = PyTuple_GetItem(args,ii);
19875 }
19876 if (argc == 2) {
19877 int _v;
19878 {
19879 void *ptr;
19880 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19881 _v = 0;
19882 PyErr_Clear();
19883 } else {
19884 _v = 1;
19885 }
19886 }
19887 if (_v) {
19888 {
19889 void *ptr;
19890 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19891 _v = 0;
19892 PyErr_Clear();
19893 } else {
19894 _v = 1;
19895 }
19896 }
19897 if (_v) {
19898 return _wrap_DateTime___isub____SWIG_0(self,args);
19899 }
19900 }
19901 }
19902 if (argc == 2) {
19903 int _v;
19904 {
19905 void *ptr;
19906 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19907 _v = 0;
19908 PyErr_Clear();
19909 } else {
19910 _v = 1;
19911 }
19912 }
19913 if (_v) {
19914 {
19915 void *ptr;
19916 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19917 _v = 0;
19918 PyErr_Clear();
19919 } else {
19920 _v = 1;
19921 }
19922 }
19923 if (_v) {
19924 return _wrap_DateTime___isub____SWIG_1(self,args);
19925 }
19926 }
19927 }
19928
19929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
19935 PyObject *resultobj;
19936 wxDateTime *arg1 = (wxDateTime *) 0 ;
19937 wxTimeSpan *arg2 = 0 ;
19938 wxDateTime result;
19939 PyObject * obj0 = 0 ;
19940 PyObject * obj1 = 0 ;
19941
19942 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 if (arg2 == NULL) {
19946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19947 }
19948 {
19949 PyThreadState* __tstate = wxPyBeginAllowThreads();
19950 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
19951
19952 wxPyEndAllowThreads(__tstate);
19953 if (PyErr_Occurred()) SWIG_fail;
19954 }
19955 {
19956 wxDateTime * resultptr;
19957 resultptr = new wxDateTime((wxDateTime &) result);
19958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19959 }
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
19967 PyObject *resultobj;
19968 wxDateTime *arg1 = (wxDateTime *) 0 ;
19969 wxDateSpan *arg2 = 0 ;
19970 wxDateTime result;
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973
19974 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 if (arg2 == NULL) {
19978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 {
19988 wxDateTime * resultptr;
19989 resultptr = new wxDateTime((wxDateTime &) result);
19990 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19991 }
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
19999 int argc;
20000 PyObject *argv[3];
20001 int ii;
20002
20003 argc = PyObject_Length(args);
20004 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20005 argv[ii] = PyTuple_GetItem(args,ii);
20006 }
20007 if (argc == 2) {
20008 int _v;
20009 {
20010 void *ptr;
20011 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20012 _v = 0;
20013 PyErr_Clear();
20014 } else {
20015 _v = 1;
20016 }
20017 }
20018 if (_v) {
20019 {
20020 void *ptr;
20021 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20022 _v = 0;
20023 PyErr_Clear();
20024 } else {
20025 _v = 1;
20026 }
20027 }
20028 if (_v) {
20029 return _wrap_DateTime___add____SWIG_0(self,args);
20030 }
20031 }
20032 }
20033 if (argc == 2) {
20034 int _v;
20035 {
20036 void *ptr;
20037 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20038 _v = 0;
20039 PyErr_Clear();
20040 } else {
20041 _v = 1;
20042 }
20043 }
20044 if (_v) {
20045 {
20046 void *ptr;
20047 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20048 _v = 0;
20049 PyErr_Clear();
20050 } else {
20051 _v = 1;
20052 }
20053 }
20054 if (_v) {
20055 return _wrap_DateTime___add____SWIG_1(self,args);
20056 }
20057 }
20058 }
20059
20060 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20061 return NULL;
20062 }
20063
20064
20065 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20066 PyObject *resultobj;
20067 wxDateTime *arg1 = (wxDateTime *) 0 ;
20068 wxDateTime *arg2 = 0 ;
20069 wxTimeSpan result;
20070 PyObject * obj0 = 0 ;
20071 PyObject * obj1 = 0 ;
20072
20073 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 if (arg2 == NULL) {
20077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20078 }
20079 {
20080 PyThreadState* __tstate = wxPyBeginAllowThreads();
20081 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20082
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 {
20087 wxTimeSpan * resultptr;
20088 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20090 }
20091 return resultobj;
20092 fail:
20093 return NULL;
20094 }
20095
20096
20097 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20098 PyObject *resultobj;
20099 wxDateTime *arg1 = (wxDateTime *) 0 ;
20100 wxTimeSpan *arg2 = 0 ;
20101 wxDateTime result;
20102 PyObject * obj0 = 0 ;
20103 PyObject * obj1 = 0 ;
20104
20105 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if (arg2 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20110 }
20111 {
20112 PyThreadState* __tstate = wxPyBeginAllowThreads();
20113 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20114
20115 wxPyEndAllowThreads(__tstate);
20116 if (PyErr_Occurred()) SWIG_fail;
20117 }
20118 {
20119 wxDateTime * resultptr;
20120 resultptr = new wxDateTime((wxDateTime &) result);
20121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20122 }
20123 return resultobj;
20124 fail:
20125 return NULL;
20126 }
20127
20128
20129 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20130 PyObject *resultobj;
20131 wxDateTime *arg1 = (wxDateTime *) 0 ;
20132 wxDateSpan *arg2 = 0 ;
20133 wxDateTime result;
20134 PyObject * obj0 = 0 ;
20135 PyObject * obj1 = 0 ;
20136
20137 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20140 if (arg2 == NULL) {
20141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20142 }
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 {
20151 wxDateTime * resultptr;
20152 resultptr = new wxDateTime((wxDateTime &) result);
20153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20154 }
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20162 int argc;
20163 PyObject *argv[3];
20164 int ii;
20165
20166 argc = PyObject_Length(args);
20167 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20168 argv[ii] = PyTuple_GetItem(args,ii);
20169 }
20170 if (argc == 2) {
20171 int _v;
20172 {
20173 void *ptr;
20174 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20175 _v = 0;
20176 PyErr_Clear();
20177 } else {
20178 _v = 1;
20179 }
20180 }
20181 if (_v) {
20182 {
20183 void *ptr;
20184 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20185 _v = 0;
20186 PyErr_Clear();
20187 } else {
20188 _v = 1;
20189 }
20190 }
20191 if (_v) {
20192 return _wrap_DateTime___sub____SWIG_0(self,args);
20193 }
20194 }
20195 }
20196 if (argc == 2) {
20197 int _v;
20198 {
20199 void *ptr;
20200 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20201 _v = 0;
20202 PyErr_Clear();
20203 } else {
20204 _v = 1;
20205 }
20206 }
20207 if (_v) {
20208 {
20209 void *ptr;
20210 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20211 _v = 0;
20212 PyErr_Clear();
20213 } else {
20214 _v = 1;
20215 }
20216 }
20217 if (_v) {
20218 return _wrap_DateTime___sub____SWIG_1(self,args);
20219 }
20220 }
20221 }
20222 if (argc == 2) {
20223 int _v;
20224 {
20225 void *ptr;
20226 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20227 _v = 0;
20228 PyErr_Clear();
20229 } else {
20230 _v = 1;
20231 }
20232 }
20233 if (_v) {
20234 {
20235 void *ptr;
20236 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20237 _v = 0;
20238 PyErr_Clear();
20239 } else {
20240 _v = 1;
20241 }
20242 }
20243 if (_v) {
20244 return _wrap_DateTime___sub____SWIG_2(self,args);
20245 }
20246 }
20247 }
20248
20249 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20250 return NULL;
20251 }
20252
20253
20254 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20255 PyObject *resultobj;
20256 wxDateTime *arg1 = (wxDateTime *) 0 ;
20257 wxDateTime *arg2 = (wxDateTime *) 0 ;
20258 bool result;
20259 PyObject * obj0 = 0 ;
20260 PyObject * obj1 = 0 ;
20261
20262 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 return resultobj;
20274 fail:
20275 return NULL;
20276 }
20277
20278
20279 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20280 PyObject *resultobj;
20281 wxDateTime *arg1 = (wxDateTime *) 0 ;
20282 wxDateTime *arg2 = (wxDateTime *) 0 ;
20283 bool result;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286
20287 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20298 return resultobj;
20299 fail:
20300 return NULL;
20301 }
20302
20303
20304 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20305 PyObject *resultobj;
20306 wxDateTime *arg1 = (wxDateTime *) 0 ;
20307 wxDateTime *arg2 = (wxDateTime *) 0 ;
20308 bool result;
20309 PyObject * obj0 = 0 ;
20310 PyObject * obj1 = 0 ;
20311
20312 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 PyThreadState* __tstate = wxPyBeginAllowThreads();
20317 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
20318
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20323 return resultobj;
20324 fail:
20325 return NULL;
20326 }
20327
20328
20329 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20330 PyObject *resultobj;
20331 wxDateTime *arg1 = (wxDateTime *) 0 ;
20332 wxDateTime *arg2 = (wxDateTime *) 0 ;
20333 bool result;
20334 PyObject * obj0 = 0 ;
20335 PyObject * obj1 = 0 ;
20336
20337 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20355 PyObject *resultobj;
20356 wxDateTime *arg1 = (wxDateTime *) 0 ;
20357 wxDateTime *arg2 = (wxDateTime *) 0 ;
20358 bool result;
20359 PyObject * obj0 = 0 ;
20360 PyObject * obj1 = 0 ;
20361
20362 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20380 PyObject *resultobj;
20381 wxDateTime *arg1 = (wxDateTime *) 0 ;
20382 wxDateTime *arg2 = (wxDateTime *) 0 ;
20383 bool result;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386
20387 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20390 {
20391 PyThreadState* __tstate = wxPyBeginAllowThreads();
20392 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
20393
20394 wxPyEndAllowThreads(__tstate);
20395 if (PyErr_Occurred()) SWIG_fail;
20396 }
20397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20398 return resultobj;
20399 fail:
20400 return NULL;
20401 }
20402
20403
20404 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20405 PyObject *resultobj;
20406 wxDateTime *arg1 = (wxDateTime *) 0 ;
20407 wxString *arg2 = 0 ;
20408 int result;
20409 bool temp2 = False ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "date", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 {
20419 arg2 = wxString_in_helper(obj1);
20420 if (arg2 == NULL) SWIG_fail;
20421 temp2 = True;
20422 }
20423 {
20424 PyThreadState* __tstate = wxPyBeginAllowThreads();
20425 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20426
20427 wxPyEndAllowThreads(__tstate);
20428 if (PyErr_Occurred()) SWIG_fail;
20429 }
20430 resultobj = SWIG_PyObj_FromInt((int)result);
20431 {
20432 if (temp2)
20433 delete arg2;
20434 }
20435 return resultobj;
20436 fail:
20437 {
20438 if (temp2)
20439 delete arg2;
20440 }
20441 return NULL;
20442 }
20443
20444
20445 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 wxDateTime *arg1 = (wxDateTime *) 0 ;
20448 wxString *arg2 = 0 ;
20449 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20450 wxString *arg3 = (wxString *) &arg3_defvalue ;
20451 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20452 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20453 int result;
20454 bool temp2 = False ;
20455 bool temp3 = False ;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 PyObject * obj3 = 0 ;
20460 char *kwnames[] = {
20461 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20462 };
20463
20464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20466 {
20467 arg2 = wxString_in_helper(obj1);
20468 if (arg2 == NULL) SWIG_fail;
20469 temp2 = True;
20470 }
20471 if (obj2) {
20472 {
20473 arg3 = wxString_in_helper(obj2);
20474 if (arg3 == NULL) SWIG_fail;
20475 temp3 = True;
20476 }
20477 }
20478 if (obj3) {
20479 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20480 if (arg4 == NULL) {
20481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20482 }
20483 }
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 resultobj = SWIG_PyObj_FromInt((int)result);
20492 {
20493 if (temp2)
20494 delete arg2;
20495 }
20496 {
20497 if (temp3)
20498 delete arg3;
20499 }
20500 return resultobj;
20501 fail:
20502 {
20503 if (temp2)
20504 delete arg2;
20505 }
20506 {
20507 if (temp3)
20508 delete arg3;
20509 }
20510 return NULL;
20511 }
20512
20513
20514 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20515 PyObject *resultobj;
20516 wxDateTime *arg1 = (wxDateTime *) 0 ;
20517 wxString *arg2 = 0 ;
20518 int result;
20519 bool temp2 = False ;
20520 PyObject * obj0 = 0 ;
20521 PyObject * obj1 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self",(char *) "datetime", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 {
20529 arg2 = wxString_in_helper(obj1);
20530 if (arg2 == NULL) SWIG_fail;
20531 temp2 = True;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 resultobj = SWIG_PyObj_FromInt((int)result);
20541 {
20542 if (temp2)
20543 delete arg2;
20544 }
20545 return resultobj;
20546 fail:
20547 {
20548 if (temp2)
20549 delete arg2;
20550 }
20551 return NULL;
20552 }
20553
20554
20555 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20556 PyObject *resultobj;
20557 wxDateTime *arg1 = (wxDateTime *) 0 ;
20558 wxString *arg2 = 0 ;
20559 int result;
20560 bool temp2 = False ;
20561 PyObject * obj0 = 0 ;
20562 PyObject * obj1 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self",(char *) "date", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20569 {
20570 arg2 = wxString_in_helper(obj1);
20571 if (arg2 == NULL) SWIG_fail;
20572 temp2 = True;
20573 }
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20577
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 resultobj = SWIG_PyObj_FromInt((int)result);
20582 {
20583 if (temp2)
20584 delete arg2;
20585 }
20586 return resultobj;
20587 fail:
20588 {
20589 if (temp2)
20590 delete arg2;
20591 }
20592 return NULL;
20593 }
20594
20595
20596 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20597 PyObject *resultobj;
20598 wxDateTime *arg1 = (wxDateTime *) 0 ;
20599 wxString *arg2 = 0 ;
20600 int result;
20601 bool temp2 = False ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self",(char *) "time", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20610 {
20611 arg2 = wxString_in_helper(obj1);
20612 if (arg2 == NULL) SWIG_fail;
20613 temp2 = True;
20614 }
20615 {
20616 PyThreadState* __tstate = wxPyBeginAllowThreads();
20617 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20618
20619 wxPyEndAllowThreads(__tstate);
20620 if (PyErr_Occurred()) SWIG_fail;
20621 }
20622 resultobj = SWIG_PyObj_FromInt((int)result);
20623 {
20624 if (temp2)
20625 delete arg2;
20626 }
20627 return resultobj;
20628 fail:
20629 {
20630 if (temp2)
20631 delete arg2;
20632 }
20633 return NULL;
20634 }
20635
20636
20637 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj;
20639 wxDateTime *arg1 = (wxDateTime *) 0 ;
20640 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20641 wxString *arg2 = (wxString *) &arg2_defvalue ;
20642 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20643 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20644 wxString result;
20645 bool temp2 = False ;
20646 bool temp3 = False ;
20647 PyObject * obj0 = 0 ;
20648 PyObject * obj1 = 0 ;
20649 PyObject * obj2 = 0 ;
20650 char *kwnames[] = {
20651 (char *) "self",(char *) "format",(char *) "tz", NULL
20652 };
20653
20654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20656 if (obj1) {
20657 {
20658 arg2 = wxString_in_helper(obj1);
20659 if (arg2 == NULL) SWIG_fail;
20660 temp2 = True;
20661 }
20662 }
20663 if (obj2) {
20664 {
20665 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
20666 temp3 = True;
20667 }
20668 }
20669 {
20670 PyThreadState* __tstate = wxPyBeginAllowThreads();
20671 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20672
20673 wxPyEndAllowThreads(__tstate);
20674 if (PyErr_Occurred()) SWIG_fail;
20675 }
20676 {
20677 #if wxUSE_UNICODE
20678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20679 #else
20680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20681 #endif
20682 }
20683 {
20684 if (temp2)
20685 delete arg2;
20686 }
20687 {
20688 if (temp3) delete arg3;
20689 }
20690 return resultobj;
20691 fail:
20692 {
20693 if (temp2)
20694 delete arg2;
20695 }
20696 {
20697 if (temp3) delete arg3;
20698 }
20699 return NULL;
20700 }
20701
20702
20703 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj;
20705 wxDateTime *arg1 = (wxDateTime *) 0 ;
20706 wxString result;
20707 PyObject * obj0 = 0 ;
20708 char *kwnames[] = {
20709 (char *) "self", NULL
20710 };
20711
20712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
20713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = ((wxDateTime const *)arg1)->FormatDate();
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 {
20722 #if wxUSE_UNICODE
20723 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20724 #else
20725 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20726 #endif
20727 }
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxDateTime *arg1 = (wxDateTime *) 0 ;
20737 wxString result;
20738 PyObject * obj0 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "self", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
20744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20745 {
20746 PyThreadState* __tstate = wxPyBeginAllowThreads();
20747 result = ((wxDateTime const *)arg1)->FormatTime();
20748
20749 wxPyEndAllowThreads(__tstate);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 }
20752 {
20753 #if wxUSE_UNICODE
20754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20755 #else
20756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20757 #endif
20758 }
20759 return resultobj;
20760 fail:
20761 return NULL;
20762 }
20763
20764
20765 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
20766 PyObject *resultobj;
20767 wxDateTime *arg1 = (wxDateTime *) 0 ;
20768 wxString result;
20769 PyObject * obj0 = 0 ;
20770 char *kwnames[] = {
20771 (char *) "self", NULL
20772 };
20773
20774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
20775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 result = ((wxDateTime const *)arg1)->FormatISODate();
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 {
20784 #if wxUSE_UNICODE
20785 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20786 #else
20787 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20788 #endif
20789 }
20790 return resultobj;
20791 fail:
20792 return NULL;
20793 }
20794
20795
20796 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20797 PyObject *resultobj;
20798 wxDateTime *arg1 = (wxDateTime *) 0 ;
20799 wxString result;
20800 PyObject * obj0 = 0 ;
20801 char *kwnames[] = {
20802 (char *) "self", NULL
20803 };
20804
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = ((wxDateTime const *)arg1)->FormatISOTime();
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 {
20815 #if wxUSE_UNICODE
20816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20817 #else
20818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20819 #endif
20820 }
20821 return resultobj;
20822 fail:
20823 return NULL;
20824 }
20825
20826
20827 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
20828 PyObject *obj;
20829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20830 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20831 Py_INCREF(obj);
20832 return Py_BuildValue((char *)"");
20833 }
20834 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20835 PyObject *resultobj;
20836 long arg1 ;
20837 wxTimeSpan result;
20838 PyObject * obj0 = 0 ;
20839 char *kwnames[] = {
20840 (char *) "sec", NULL
20841 };
20842
20843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
20844 {
20845 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = wxTimeSpan::Seconds(arg1);
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 {
20856 wxTimeSpan * resultptr;
20857 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20858 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20859 }
20860 return resultobj;
20861 fail:
20862 return NULL;
20863 }
20864
20865
20866 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
20867 PyObject *resultobj;
20868 wxTimeSpan result;
20869 char *kwnames[] = {
20870 NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20874 {
20875 PyThreadState* __tstate = wxPyBeginAllowThreads();
20876 result = wxTimeSpan::Second();
20877
20878 wxPyEndAllowThreads(__tstate);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 }
20881 {
20882 wxTimeSpan * resultptr;
20883 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20884 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20885 }
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 long arg1 ;
20895 wxTimeSpan result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "min", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
20902 {
20903 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = wxTimeSpan::Minutes(arg1);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 {
20914 wxTimeSpan * resultptr;
20915 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20916 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20917 }
20918 return resultobj;
20919 fail:
20920 return NULL;
20921 }
20922
20923
20924 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxTimeSpan result;
20927 char *kwnames[] = {
20928 NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 result = wxTimeSpan::Minute();
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 {
20940 wxTimeSpan * resultptr;
20941 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20943 }
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 long arg1 ;
20953 wxTimeSpan result;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "hours", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
20960 {
20961 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20962 if (PyErr_Occurred()) SWIG_fail;
20963 }
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 result = wxTimeSpan::Hours(arg1);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 {
20972 wxTimeSpan * resultptr;
20973 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20974 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20975 }
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxTimeSpan result;
20985 char *kwnames[] = {
20986 NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 result = wxTimeSpan::Hour();
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 {
20998 wxTimeSpan * resultptr;
20999 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21000 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21001 }
21002 return resultobj;
21003 fail:
21004 return NULL;
21005 }
21006
21007
21008 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21009 PyObject *resultobj;
21010 long arg1 ;
21011 wxTimeSpan result;
21012 PyObject * obj0 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "days", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21018 {
21019 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 result = wxTimeSpan::Days(arg1);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 {
21030 wxTimeSpan * resultptr;
21031 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21032 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21033 }
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxTimeSpan result;
21043 char *kwnames[] = {
21044 NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = wxTimeSpan::Day();
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 wxTimeSpan * resultptr;
21057 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21058 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21059 }
21060 return resultobj;
21061 fail:
21062 return NULL;
21063 }
21064
21065
21066 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21067 PyObject *resultobj;
21068 long arg1 ;
21069 wxTimeSpan result;
21070 PyObject * obj0 = 0 ;
21071 char *kwnames[] = {
21072 (char *) "days", NULL
21073 };
21074
21075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21076 {
21077 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21078 if (PyErr_Occurred()) SWIG_fail;
21079 }
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 result = wxTimeSpan::Weeks(arg1);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 {
21088 wxTimeSpan * resultptr;
21089 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21091 }
21092 return resultobj;
21093 fail:
21094 return NULL;
21095 }
21096
21097
21098 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21099 PyObject *resultobj;
21100 wxTimeSpan result;
21101 char *kwnames[] = {
21102 NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 result = wxTimeSpan::Week();
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 {
21114 wxTimeSpan * resultptr;
21115 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21117 }
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 long arg1 = (long) 0 ;
21127 long arg2 = (long) 0 ;
21128 long arg3 = (long) 0 ;
21129 long arg4 = (long) 0 ;
21130 wxTimeSpan *result;
21131 PyObject * obj0 = 0 ;
21132 PyObject * obj1 = 0 ;
21133 PyObject * obj2 = 0 ;
21134 PyObject * obj3 = 0 ;
21135 char *kwnames[] = {
21136 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21137 };
21138
21139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21140 if (obj0) {
21141 {
21142 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 }
21146 if (obj1) {
21147 {
21148 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
21151 }
21152 if (obj2) {
21153 {
21154 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 }
21158 if (obj3) {
21159 {
21160 arg4 = (long) SWIG_PyObj_AsLong(obj3);
21161 if (PyErr_Occurred()) SWIG_fail;
21162 }
21163 }
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21181 PyObject * obj0 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 delete arg1;
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 Py_INCREF(Py_None); resultobj = Py_None;
21196 return resultobj;
21197 fail:
21198 return NULL;
21199 }
21200
21201
21202 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21203 PyObject *resultobj;
21204 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21205 wxTimeSpan *arg2 = 0 ;
21206 wxTimeSpan *result;
21207 PyObject * obj0 = 0 ;
21208 PyObject * obj1 = 0 ;
21209 char *kwnames[] = {
21210 (char *) "self",(char *) "diff", NULL
21211 };
21212
21213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21216 if (arg2 == NULL) {
21217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21218 }
21219 {
21220 PyThreadState* __tstate = wxPyBeginAllowThreads();
21221 {
21222 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21223 result = (wxTimeSpan *) &_result_ref;
21224 }
21225
21226 wxPyEndAllowThreads(__tstate);
21227 if (PyErr_Occurred()) SWIG_fail;
21228 }
21229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21230 return resultobj;
21231 fail:
21232 return NULL;
21233 }
21234
21235
21236 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21237 PyObject *resultobj;
21238 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21239 wxTimeSpan *arg2 = 0 ;
21240 wxTimeSpan *result;
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "diff", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21250 if (arg2 == NULL) {
21251 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 {
21256 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21257 result = (wxTimeSpan *) &_result_ref;
21258 }
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21273 int arg2 ;
21274 wxTimeSpan *result;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "n", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 {
21284 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21285 if (PyErr_Occurred()) SWIG_fail;
21286 }
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 {
21290 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21291 result = (wxTimeSpan *) &_result_ref;
21292 }
21293
21294 wxPyEndAllowThreads(__tstate);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 }
21297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21298 return resultobj;
21299 fail:
21300 return NULL;
21301 }
21302
21303
21304 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj;
21306 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21307 wxTimeSpan *result;
21308 PyObject * obj0 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 {
21318 wxTimeSpan &_result_ref = (arg1)->Neg();
21319 result = (wxTimeSpan *) &_result_ref;
21320 }
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21335 wxTimeSpan result;
21336 PyObject * obj0 = 0 ;
21337 char *kwnames[] = {
21338 (char *) "self", NULL
21339 };
21340
21341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 result = ((wxTimeSpan const *)arg1)->Abs();
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 {
21351 wxTimeSpan * resultptr;
21352 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21353 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21354 }
21355 return resultobj;
21356 fail:
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21364 wxTimeSpan *arg2 = 0 ;
21365 wxTimeSpan *result;
21366 PyObject * obj0 = 0 ;
21367 PyObject * obj1 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "diff", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21375 if (arg2 == NULL) {
21376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21377 }
21378 {
21379 PyThreadState* __tstate = wxPyBeginAllowThreads();
21380 {
21381 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21382 result = (wxTimeSpan *) &_result_ref;
21383 }
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21398 wxTimeSpan *arg2 = 0 ;
21399 wxTimeSpan *result;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self",(char *) "diff", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21409 if (arg2 == NULL) {
21410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21411 }
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 {
21415 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21416 result = (wxTimeSpan *) &_result_ref;
21417 }
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21423 return resultobj;
21424 fail:
21425 return NULL;
21426 }
21427
21428
21429 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21430 PyObject *resultobj;
21431 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21432 int arg2 ;
21433 wxTimeSpan *result;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char *kwnames[] = {
21437 (char *) "self",(char *) "n", NULL
21438 };
21439
21440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21442 {
21443 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21444 if (PyErr_Occurred()) SWIG_fail;
21445 }
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 {
21449 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21450 result = (wxTimeSpan *) &_result_ref;
21451 }
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21457 return resultobj;
21458 fail:
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21466 wxTimeSpan *result;
21467 PyObject * obj0 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 {
21477 wxTimeSpan &_result_ref = (arg1)->operator -();
21478 result = (wxTimeSpan *) &_result_ref;
21479 }
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21485 return resultobj;
21486 fail:
21487 return NULL;
21488 }
21489
21490
21491 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21494 wxTimeSpan *arg2 = 0 ;
21495 wxTimeSpan result;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "other", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 if (arg2 == NULL) {
21506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21507 }
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21511
21512 wxPyEndAllowThreads(__tstate);
21513 if (PyErr_Occurred()) SWIG_fail;
21514 }
21515 {
21516 wxTimeSpan * resultptr;
21517 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21518 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21519 }
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21529 wxTimeSpan *arg2 = 0 ;
21530 wxTimeSpan result;
21531 PyObject * obj0 = 0 ;
21532 PyObject * obj1 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "self",(char *) "other", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21540 if (arg2 == NULL) {
21541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 wxTimeSpan * resultptr;
21552 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21554 }
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21564 int arg2 ;
21565 wxTimeSpan result;
21566 PyObject * obj0 = 0 ;
21567 PyObject * obj1 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self",(char *) "n", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21574 {
21575 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 result = wxTimeSpan___mul__(arg1,arg2);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 {
21586 wxTimeSpan * resultptr;
21587 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21588 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21589 }
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21599 int arg2 ;
21600 wxTimeSpan result;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "self",(char *) "n", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 {
21610 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = wxTimeSpan___rmul__(arg1,arg2);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 {
21621 wxTimeSpan * resultptr;
21622 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21623 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21624 }
21625 return resultobj;
21626 fail:
21627 return NULL;
21628 }
21629
21630
21631 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21632 PyObject *resultobj;
21633 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21634 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21635 bool result;
21636 PyObject * obj0 = 0 ;
21637 PyObject * obj1 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "other", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 {
21646 PyThreadState* __tstate = wxPyBeginAllowThreads();
21647 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
21648
21649 wxPyEndAllowThreads(__tstate);
21650 if (PyErr_Occurred()) SWIG_fail;
21651 }
21652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21653 return resultobj;
21654 fail:
21655 return NULL;
21656 }
21657
21658
21659 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
21660 PyObject *resultobj;
21661 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21662 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21663 bool result;
21664 PyObject * obj0 = 0 ;
21665 PyObject * obj1 = 0 ;
21666 char *kwnames[] = {
21667 (char *) "self",(char *) "other", NULL
21668 };
21669
21670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
21671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj;
21689 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21690 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21691 bool result;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "other", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21709 return resultobj;
21710 fail:
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21718 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21719 bool result;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 char *kwnames[] = {
21723 (char *) "self",(char *) "other", NULL
21724 };
21725
21726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
21727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21737 return resultobj;
21738 fail:
21739 return NULL;
21740 }
21741
21742
21743 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21744 PyObject *resultobj;
21745 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21746 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21747 bool result;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char *kwnames[] = {
21751 (char *) "self",(char *) "other", NULL
21752 };
21753
21754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21765 return resultobj;
21766 fail:
21767 return NULL;
21768 }
21769
21770
21771 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21774 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
21775 bool result;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "other", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21785 {
21786 PyThreadState* __tstate = wxPyBeginAllowThreads();
21787 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
21788
21789 wxPyEndAllowThreads(__tstate);
21790 if (PyErr_Occurred()) SWIG_fail;
21791 }
21792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21793 return resultobj;
21794 fail:
21795 return NULL;
21796 }
21797
21798
21799 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
21800 PyObject *resultobj;
21801 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21802 bool result;
21803 PyObject * obj0 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21818 return resultobj;
21819 fail:
21820 return NULL;
21821 }
21822
21823
21824 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj;
21826 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21827 bool result;
21828 PyObject * obj0 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
21834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21835 {
21836 PyThreadState* __tstate = wxPyBeginAllowThreads();
21837 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21838
21839 wxPyEndAllowThreads(__tstate);
21840 if (PyErr_Occurred()) SWIG_fail;
21841 }
21842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21843 return resultobj;
21844 fail:
21845 return NULL;
21846 }
21847
21848
21849 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
21850 PyObject *resultobj;
21851 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21852 bool result;
21853 PyObject * obj0 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21877 wxTimeSpan *arg2 = 0 ;
21878 bool result;
21879 PyObject * obj0 = 0 ;
21880 PyObject * obj1 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self",(char *) "ts", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21888 if (arg2 == NULL) {
21889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21890 }
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21899 return resultobj;
21900 fail:
21901 return NULL;
21902 }
21903
21904
21905 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21906 PyObject *resultobj;
21907 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21908 wxTimeSpan *arg2 = 0 ;
21909 bool result;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "ts", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
21917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21919 if (arg2 == NULL) {
21920 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21921 }
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21930 return resultobj;
21931 fail:
21932 return NULL;
21933 }
21934
21935
21936 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21937 PyObject *resultobj;
21938 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21939 wxTimeSpan *arg2 = 0 ;
21940 bool result;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self",(char *) "t", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
21948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21950 if (arg2 == NULL) {
21951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21952 }
21953 {
21954 PyThreadState* __tstate = wxPyBeginAllowThreads();
21955 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
21956
21957 wxPyEndAllowThreads(__tstate);
21958 if (PyErr_Occurred()) SWIG_fail;
21959 }
21960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21961 return resultobj;
21962 fail:
21963 return NULL;
21964 }
21965
21966
21967 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21968 PyObject *resultobj;
21969 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21970 int result;
21971 PyObject * obj0 = 0 ;
21972 char *kwnames[] = {
21973 (char *) "self", NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
21977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 resultobj = SWIG_PyObj_FromInt((int)result);
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21995 int result;
21996 PyObject * obj0 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = SWIG_PyObj_FromInt((int)result);
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22018 PyObject *resultobj;
22019 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22020 int result;
22021 PyObject * obj0 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 resultobj = SWIG_PyObj_FromInt((int)result);
22036 return resultobj;
22037 fail:
22038 return NULL;
22039 }
22040
22041
22042 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22043 PyObject *resultobj;
22044 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22045 int result;
22046 PyObject * obj0 = 0 ;
22047 char *kwnames[] = {
22048 (char *) "self", NULL
22049 };
22050
22051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 resultobj = SWIG_PyObj_FromInt((int)result);
22061 return resultobj;
22062 fail:
22063 return NULL;
22064 }
22065
22066
22067 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj;
22069 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22070 wxLongLong result;
22071 PyObject * obj0 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 PyObject *hi, *lo, *shifter, *shifted;
22087 hi = PyLong_FromLong( (&result)->GetHi() );
22088 lo = PyLong_FromLong( (&result)->GetLo() );
22089 shifter = PyLong_FromLong(32);
22090 shifted = PyNumber_Lshift(hi, shifter);
22091 resultobj = PyNumber_Or(shifted, lo);
22092 Py_DECREF(hi);
22093 Py_DECREF(lo);
22094 Py_DECREF(shifter);
22095 Py_DECREF(shifted);
22096 }
22097 return resultobj;
22098 fail:
22099 return NULL;
22100 }
22101
22102
22103 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22106 wxLongLong result;
22107 PyObject * obj0 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 PyObject *hi, *lo, *shifter, *shifted;
22123 hi = PyLong_FromLong( (&result)->GetHi() );
22124 lo = PyLong_FromLong( (&result)->GetLo() );
22125 shifter = PyLong_FromLong(32);
22126 shifted = PyNumber_Lshift(hi, shifter);
22127 resultobj = PyNumber_Or(shifted, lo);
22128 Py_DECREF(hi);
22129 Py_DECREF(lo);
22130 Py_DECREF(shifter);
22131 Py_DECREF(shifted);
22132 }
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22142 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22143 wxString *arg2 = (wxString *) &arg2_defvalue ;
22144 wxString result;
22145 bool temp2 = False ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "format", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 if (obj1) {
22155 {
22156 arg2 = wxString_in_helper(obj1);
22157 if (arg2 == NULL) SWIG_fail;
22158 temp2 = True;
22159 }
22160 }
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 {
22169 #if wxUSE_UNICODE
22170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22171 #else
22172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22173 #endif
22174 }
22175 {
22176 if (temp2)
22177 delete arg2;
22178 }
22179 return resultobj;
22180 fail:
22181 {
22182 if (temp2)
22183 delete arg2;
22184 }
22185 return NULL;
22186 }
22187
22188
22189 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22190 PyObject *obj;
22191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22192 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22193 Py_INCREF(obj);
22194 return Py_BuildValue((char *)"");
22195 }
22196 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 int arg1 = (int) 0 ;
22199 int arg2 = (int) 0 ;
22200 int arg3 = (int) 0 ;
22201 int arg4 = (int) 0 ;
22202 wxDateSpan *result;
22203 PyObject * obj0 = 0 ;
22204 PyObject * obj1 = 0 ;
22205 PyObject * obj2 = 0 ;
22206 PyObject * obj3 = 0 ;
22207 char *kwnames[] = {
22208 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22209 };
22210
22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22212 if (obj0) {
22213 {
22214 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22215 if (PyErr_Occurred()) SWIG_fail;
22216 }
22217 }
22218 if (obj1) {
22219 {
22220 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 }
22224 if (obj2) {
22225 {
22226 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 }
22230 if (obj3) {
22231 {
22232 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 }
22236 {
22237 PyThreadState* __tstate = wxPyBeginAllowThreads();
22238 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22239
22240 wxPyEndAllowThreads(__tstate);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
22244 return resultobj;
22245 fail:
22246 return NULL;
22247 }
22248
22249
22250 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22251 PyObject *resultobj;
22252 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22253 PyObject * obj0 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 delete arg1;
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 int arg1 ;
22277 wxDateSpan result;
22278 PyObject * obj0 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "days", NULL
22281 };
22282
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22284 {
22285 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = wxDateSpan::Days(arg1);
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 wxDateSpan * resultptr;
22297 resultptr = new wxDateSpan((wxDateSpan &) result);
22298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxDateSpan result;
22309 char *kwnames[] = {
22310 NULL
22311 };
22312
22313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = wxDateSpan::Day();
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 {
22322 wxDateSpan * resultptr;
22323 resultptr = new wxDateSpan((wxDateSpan &) result);
22324 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22325 }
22326 return resultobj;
22327 fail:
22328 return NULL;
22329 }
22330
22331
22332 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj;
22334 int arg1 ;
22335 wxDateSpan result;
22336 PyObject * obj0 = 0 ;
22337 char *kwnames[] = {
22338 (char *) "weeks", NULL
22339 };
22340
22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22342 {
22343 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 result = wxDateSpan::Weeks(arg1);
22349
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 {
22354 wxDateSpan * resultptr;
22355 resultptr = new wxDateSpan((wxDateSpan &) result);
22356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22357 }
22358 return resultobj;
22359 fail:
22360 return NULL;
22361 }
22362
22363
22364 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22365 PyObject *resultobj;
22366 wxDateSpan result;
22367 char *kwnames[] = {
22368 NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = wxDateSpan::Week();
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 {
22380 wxDateSpan * resultptr;
22381 resultptr = new wxDateSpan((wxDateSpan &) result);
22382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22383 }
22384 return resultobj;
22385 fail:
22386 return NULL;
22387 }
22388
22389
22390 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 int arg1 ;
22393 wxDateSpan result;
22394 PyObject * obj0 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "mon", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22400 {
22401 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = wxDateSpan::Months(arg1);
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 {
22412 wxDateSpan * resultptr;
22413 resultptr = new wxDateSpan((wxDateSpan &) result);
22414 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22415 }
22416 return resultobj;
22417 fail:
22418 return NULL;
22419 }
22420
22421
22422 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22423 PyObject *resultobj;
22424 wxDateSpan result;
22425 char *kwnames[] = {
22426 NULL
22427 };
22428
22429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 result = wxDateSpan::Month();
22433
22434 wxPyEndAllowThreads(__tstate);
22435 if (PyErr_Occurred()) SWIG_fail;
22436 }
22437 {
22438 wxDateSpan * resultptr;
22439 resultptr = new wxDateSpan((wxDateSpan &) result);
22440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22441 }
22442 return resultobj;
22443 fail:
22444 return NULL;
22445 }
22446
22447
22448 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22449 PyObject *resultobj;
22450 int arg1 ;
22451 wxDateSpan result;
22452 PyObject * obj0 = 0 ;
22453 char *kwnames[] = {
22454 (char *) "years", NULL
22455 };
22456
22457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22458 {
22459 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 {
22463 PyThreadState* __tstate = wxPyBeginAllowThreads();
22464 result = wxDateSpan::Years(arg1);
22465
22466 wxPyEndAllowThreads(__tstate);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 }
22469 {
22470 wxDateSpan * resultptr;
22471 resultptr = new wxDateSpan((wxDateSpan &) result);
22472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22473 }
22474 return resultobj;
22475 fail:
22476 return NULL;
22477 }
22478
22479
22480 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj;
22482 wxDateSpan result;
22483 char *kwnames[] = {
22484 NULL
22485 };
22486
22487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 result = wxDateSpan::Year();
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 {
22496 wxDateSpan * resultptr;
22497 resultptr = new wxDateSpan((wxDateSpan &) result);
22498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22499 }
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22509 int arg2 ;
22510 wxDateSpan *result;
22511 PyObject * obj0 = 0 ;
22512 PyObject * obj1 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self",(char *) "n", NULL
22515 };
22516
22517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22519 {
22520 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 {
22526 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22527 result = (wxDateSpan *) &_result_ref;
22528 }
22529
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22534 return resultobj;
22535 fail:
22536 return NULL;
22537 }
22538
22539
22540 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22541 PyObject *resultobj;
22542 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22543 int arg2 ;
22544 wxDateSpan *result;
22545 PyObject * obj0 = 0 ;
22546 PyObject * obj1 = 0 ;
22547 char *kwnames[] = {
22548 (char *) "self",(char *) "n", NULL
22549 };
22550
22551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22553 {
22554 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 {
22558 PyThreadState* __tstate = wxPyBeginAllowThreads();
22559 {
22560 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22561 result = (wxDateSpan *) &_result_ref;
22562 }
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22568 return resultobj;
22569 fail:
22570 return NULL;
22571 }
22572
22573
22574 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22575 PyObject *resultobj;
22576 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22577 int arg2 ;
22578 wxDateSpan *result;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self",(char *) "n", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22587 {
22588 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 {
22594 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22595 result = (wxDateSpan *) &_result_ref;
22596 }
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22602 return resultobj;
22603 fail:
22604 return NULL;
22605 }
22606
22607
22608 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22611 int arg2 ;
22612 wxDateSpan *result;
22613 PyObject * obj0 = 0 ;
22614 PyObject * obj1 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self",(char *) "n", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
22620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 {
22622 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 {
22628 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22629 result = (wxDateSpan *) &_result_ref;
22630 }
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22645 int result;
22646 PyObject * obj0 = 0 ;
22647 char *kwnames[] = {
22648 (char *) "self", NULL
22649 };
22650
22651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
22652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 result = (int)((wxDateSpan const *)arg1)->GetYears();
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 resultobj = SWIG_PyObj_FromInt((int)result);
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22670 int result;
22671 PyObject * obj0 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 resultobj = SWIG_PyObj_FromInt((int)result);
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22695 int result;
22696 PyObject * obj0 = 0 ;
22697 char *kwnames[] = {
22698 (char *) "self", NULL
22699 };
22700
22701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
22702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 resultobj = SWIG_PyObj_FromInt((int)result);
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22720 int result;
22721 PyObject * obj0 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "self", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
22727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22728 {
22729 PyThreadState* __tstate = wxPyBeginAllowThreads();
22730 result = (int)((wxDateSpan const *)arg1)->GetDays();
22731
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 resultobj = SWIG_PyObj_FromInt((int)result);
22736 return resultobj;
22737 fail:
22738 return NULL;
22739 }
22740
22741
22742 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22743 PyObject *resultobj;
22744 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22745 int result;
22746 PyObject * obj0 = 0 ;
22747 char *kwnames[] = {
22748 (char *) "self", NULL
22749 };
22750
22751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
22752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 resultobj = SWIG_PyObj_FromInt((int)result);
22761 return resultobj;
22762 fail:
22763 return NULL;
22764 }
22765
22766
22767 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22768 PyObject *resultobj;
22769 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22770 wxDateSpan *arg2 = 0 ;
22771 wxDateSpan *result;
22772 PyObject * obj0 = 0 ;
22773 PyObject * obj1 = 0 ;
22774 char *kwnames[] = {
22775 (char *) "self",(char *) "other", NULL
22776 };
22777
22778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22781 if (arg2 == NULL) {
22782 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22783 }
22784 {
22785 PyThreadState* __tstate = wxPyBeginAllowThreads();
22786 {
22787 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22788 result = (wxDateSpan *) &_result_ref;
22789 }
22790
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22795 return resultobj;
22796 fail:
22797 return NULL;
22798 }
22799
22800
22801 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
22802 PyObject *resultobj;
22803 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22804 wxDateSpan *arg2 = 0 ;
22805 wxDateSpan *result;
22806 PyObject * obj0 = 0 ;
22807 PyObject * obj1 = 0 ;
22808 char *kwnames[] = {
22809 (char *) "self",(char *) "other", NULL
22810 };
22811
22812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22815 if (arg2 == NULL) {
22816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22817 }
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 {
22821 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22822 result = (wxDateSpan *) &_result_ref;
22823 }
22824
22825 wxPyEndAllowThreads(__tstate);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22829 return resultobj;
22830 fail:
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22838 wxDateSpan *result;
22839 PyObject * obj0 = 0 ;
22840 char *kwnames[] = {
22841 (char *) "self", NULL
22842 };
22843
22844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
22845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 {
22849 wxDateSpan &_result_ref = (arg1)->Neg();
22850 result = (wxDateSpan *) &_result_ref;
22851 }
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22857 return resultobj;
22858 fail:
22859 return NULL;
22860 }
22861
22862
22863 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
22864 PyObject *resultobj;
22865 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22866 int arg2 ;
22867 wxDateSpan *result;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "factor", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22876 {
22877 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 {
22883 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
22884 result = (wxDateSpan *) &_result_ref;
22885 }
22886
22887 wxPyEndAllowThreads(__tstate);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
22890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22891 return resultobj;
22892 fail:
22893 return NULL;
22894 }
22895
22896
22897 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
22898 PyObject *resultobj;
22899 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22900 wxDateSpan *arg2 = 0 ;
22901 wxDateSpan *result;
22902 PyObject * obj0 = 0 ;
22903 PyObject * obj1 = 0 ;
22904 char *kwnames[] = {
22905 (char *) "self",(char *) "other", NULL
22906 };
22907
22908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22911 if (arg2 == NULL) {
22912 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22913 }
22914 {
22915 PyThreadState* __tstate = wxPyBeginAllowThreads();
22916 {
22917 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22918 result = (wxDateSpan *) &_result_ref;
22919 }
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22934 wxDateSpan *arg2 = 0 ;
22935 wxDateSpan *result;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "other", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22945 if (arg2 == NULL) {
22946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 {
22951 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22952 result = (wxDateSpan *) &_result_ref;
22953 }
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22959 return resultobj;
22960 fail:
22961 return NULL;
22962 }
22963
22964
22965 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22968 wxDateSpan *result;
22969 PyObject * obj0 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 {
22979 wxDateSpan &_result_ref = (arg1)->operator -();
22980 result = (wxDateSpan *) &_result_ref;
22981 }
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22994 PyObject *resultobj;
22995 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22996 int arg2 ;
22997 wxDateSpan *result;
22998 PyObject * obj0 = 0 ;
22999 PyObject * obj1 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "self",(char *) "factor", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 {
23007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 {
23013 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23014 result = (wxDateSpan *) &_result_ref;
23015 }
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23021 return resultobj;
23022 fail:
23023 return NULL;
23024 }
23025
23026
23027 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23028 PyObject *resultobj;
23029 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23030 wxDateSpan *arg2 = 0 ;
23031 wxDateSpan result;
23032 PyObject * obj0 = 0 ;
23033 PyObject * obj1 = 0 ;
23034 char *kwnames[] = {
23035 (char *) "self",(char *) "other", NULL
23036 };
23037
23038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23041 if (arg2 == NULL) {
23042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23043 }
23044 {
23045 PyThreadState* __tstate = wxPyBeginAllowThreads();
23046 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23047
23048 wxPyEndAllowThreads(__tstate);
23049 if (PyErr_Occurred()) SWIG_fail;
23050 }
23051 {
23052 wxDateSpan * resultptr;
23053 resultptr = new wxDateSpan((wxDateSpan &) result);
23054 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23055 }
23056 return resultobj;
23057 fail:
23058 return NULL;
23059 }
23060
23061
23062 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23063 PyObject *resultobj;
23064 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23065 wxDateSpan *arg2 = 0 ;
23066 wxDateSpan result;
23067 PyObject * obj0 = 0 ;
23068 PyObject * obj1 = 0 ;
23069 char *kwnames[] = {
23070 (char *) "self",(char *) "other", NULL
23071 };
23072
23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23076 if (arg2 == NULL) {
23077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23078 }
23079 {
23080 PyThreadState* __tstate = wxPyBeginAllowThreads();
23081 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23082
23083 wxPyEndAllowThreads(__tstate);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 }
23086 {
23087 wxDateSpan * resultptr;
23088 resultptr = new wxDateSpan((wxDateSpan &) result);
23089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23090 }
23091 return resultobj;
23092 fail:
23093 return NULL;
23094 }
23095
23096
23097 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23098 PyObject *resultobj;
23099 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23100 int arg2 ;
23101 wxDateSpan result;
23102 PyObject * obj0 = 0 ;
23103 PyObject * obj1 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "n", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23110 {
23111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 }
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = wxDateSpan___mul__(arg1,arg2);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 {
23122 wxDateSpan * resultptr;
23123 resultptr = new wxDateSpan((wxDateSpan &) result);
23124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23125 }
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23135 int arg2 ;
23136 wxDateSpan result;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self",(char *) "n", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 {
23146 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = wxDateSpan___rmul__(arg1,arg2);
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 {
23157 wxDateSpan * resultptr;
23158 resultptr = new wxDateSpan((wxDateSpan &) result);
23159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23160 }
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23170 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23171 bool result;
23172 PyObject * obj0 = 0 ;
23173 PyObject * obj1 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self",(char *) "other", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23181 {
23182 PyThreadState* __tstate = wxPyBeginAllowThreads();
23183 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
23184
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23189 return resultobj;
23190 fail:
23191 return NULL;
23192 }
23193
23194
23195 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23196 PyObject *resultobj;
23197 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23198 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
23199 bool result;
23200 PyObject * obj0 = 0 ;
23201 PyObject * obj1 = 0 ;
23202 char *kwnames[] = {
23203 (char *) "self",(char *) "other", NULL
23204 };
23205
23206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23217 return resultobj;
23218 fail:
23219 return NULL;
23220 }
23221
23222
23223 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23224 PyObject *obj;
23225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23226 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23227 Py_INCREF(obj);
23228 return Py_BuildValue((char *)"");
23229 }
23230 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 long result;
23233 char *kwnames[] = {
23234 NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (long)wxGetLocalTime();
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 resultobj = SWIG_PyObj_FromLong((long)result);
23246 return resultobj;
23247 fail:
23248 return NULL;
23249 }
23250
23251
23252 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23253 PyObject *resultobj;
23254 long result;
23255 char *kwnames[] = {
23256 NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (long)wxGetUTCTime();
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 resultobj = SWIG_PyObj_FromLong((long)result);
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 long result;
23277 char *kwnames[] = {
23278 NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 result = (long)wxGetCurrentTime();
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 resultobj = SWIG_PyObj_FromLong((long)result);
23290 return resultobj;
23291 fail:
23292 return NULL;
23293 }
23294
23295
23296 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23297 PyObject *resultobj;
23298 wxLongLong result;
23299 char *kwnames[] = {
23300 NULL
23301 };
23302
23303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23304 {
23305 PyThreadState* __tstate = wxPyBeginAllowThreads();
23306 result = wxGetLocalTimeMillis();
23307
23308 wxPyEndAllowThreads(__tstate);
23309 if (PyErr_Occurred()) SWIG_fail;
23310 }
23311 {
23312 PyObject *hi, *lo, *shifter, *shifted;
23313 hi = PyLong_FromLong( (&result)->GetHi() );
23314 lo = PyLong_FromLong( (&result)->GetLo() );
23315 shifter = PyLong_FromLong(32);
23316 shifted = PyNumber_Lshift(hi, shifter);
23317 resultobj = PyNumber_Or(shifted, lo);
23318 Py_DECREF(hi);
23319 Py_DECREF(lo);
23320 Py_DECREF(shifter);
23321 Py_DECREF(shifted);
23322 }
23323 return resultobj;
23324 fail:
23325 return NULL;
23326 }
23327
23328
23329 static int _wrap_DefaultDateTime_set(PyObject *_val) {
23330 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
23331 return 1;
23332 }
23333
23334
23335 static PyObject *_wrap_DefaultDateTime_get() {
23336 PyObject *pyobj;
23337
23338 pyobj = SWIG_NewPointerObj((void *) &wxDefaultDateTime, SWIGTYPE_p_wxDateTime, 0);
23339 return pyobj;
23340 }
23341
23342
23343 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 int arg1 ;
23346 wxDataFormat *result;
23347 PyObject * obj0 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "type", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23353 {
23354 arg1 = (wxDataFormatId) SWIG_PyObj_AsInt(obj0);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23365 return resultobj;
23366 fail:
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxString *arg1 = 0 ;
23374 wxDataFormat *result;
23375 bool temp1 = False ;
23376 PyObject * obj0 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "format", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23382 {
23383 arg1 = wxString_in_helper(obj0);
23384 if (arg1 == NULL) SWIG_fail;
23385 temp1 = True;
23386 }
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23395 {
23396 if (temp1)
23397 delete arg1;
23398 }
23399 return resultobj;
23400 fail:
23401 {
23402 if (temp1)
23403 delete arg1;
23404 }
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23412 PyObject * obj0 = 0 ;
23413 char *kwnames[] = {
23414 (char *) "self", NULL
23415 };
23416
23417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 delete arg1;
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 Py_INCREF(Py_None); resultobj = Py_None;
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23434 PyObject *resultobj;
23435 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23436 int arg2 ;
23437 bool result;
23438 PyObject * obj0 = 0 ;
23439 PyObject * obj1 = 0 ;
23440
23441 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23443 {
23444 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23462 PyObject *resultobj;
23463 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23464 int arg2 ;
23465 bool result;
23466 PyObject * obj0 = 0 ;
23467 PyObject * obj1 = 0 ;
23468
23469 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 {
23472 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23483 return resultobj;
23484 fail:
23485 return NULL;
23486 }
23487
23488
23489 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23490 PyObject *resultobj;
23491 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23492 wxDataFormat *arg2 = 0 ;
23493 bool result;
23494 PyObject * obj0 = 0 ;
23495 PyObject * obj1 = 0 ;
23496
23497 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23500 if (arg2 == NULL) {
23501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23502 }
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23518 int argc;
23519 PyObject *argv[3];
23520 int ii;
23521
23522 argc = PyObject_Length(args);
23523 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23524 argv[ii] = PyTuple_GetItem(args,ii);
23525 }
23526 if (argc == 2) {
23527 int _v;
23528 {
23529 void *ptr;
23530 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23531 _v = 0;
23532 PyErr_Clear();
23533 } else {
23534 _v = 1;
23535 }
23536 }
23537 if (_v) {
23538 {
23539 void *ptr;
23540 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23541 _v = 0;
23542 PyErr_Clear();
23543 } else {
23544 _v = 1;
23545 }
23546 }
23547 if (_v) {
23548 return _wrap_DataFormat___eq____SWIG_1(self,args);
23549 }
23550 }
23551 }
23552 if (argc == 2) {
23553 int _v;
23554 {
23555 void *ptr;
23556 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23557 _v = 0;
23558 PyErr_Clear();
23559 } else {
23560 _v = 1;
23561 }
23562 }
23563 if (_v) {
23564 {
23565 SWIG_PyObj_AsInt(argv[1]);
23566 if (PyErr_Occurred()) {
23567 _v = 0;
23568 PyErr_Clear();
23569 } else {
23570 _v = 1;
23571 }
23572 }
23573 if (_v) {
23574 return _wrap_DataFormat___eq____SWIG_0(self,args);
23575 }
23576 }
23577 }
23578
23579 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23580 return NULL;
23581 }
23582
23583
23584 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
23585 PyObject *resultobj;
23586 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23587 wxDataFormat *arg2 = 0 ;
23588 bool result;
23589 PyObject * obj0 = 0 ;
23590 PyObject * obj1 = 0 ;
23591
23592 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23595 if (arg2 == NULL) {
23596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23597 }
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23601
23602 wxPyEndAllowThreads(__tstate);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 }
23605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23606 return resultobj;
23607 fail:
23608 return NULL;
23609 }
23610
23611
23612 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23613 int argc;
23614 PyObject *argv[3];
23615 int ii;
23616
23617 argc = PyObject_Length(args);
23618 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23619 argv[ii] = PyTuple_GetItem(args,ii);
23620 }
23621 if (argc == 2) {
23622 int _v;
23623 {
23624 void *ptr;
23625 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23626 _v = 0;
23627 PyErr_Clear();
23628 } else {
23629 _v = 1;
23630 }
23631 }
23632 if (_v) {
23633 {
23634 void *ptr;
23635 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23636 _v = 0;
23637 PyErr_Clear();
23638 } else {
23639 _v = 1;
23640 }
23641 }
23642 if (_v) {
23643 return _wrap_DataFormat___ne____SWIG_1(self,args);
23644 }
23645 }
23646 }
23647 if (argc == 2) {
23648 int _v;
23649 {
23650 void *ptr;
23651 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23652 _v = 0;
23653 PyErr_Clear();
23654 } else {
23655 _v = 1;
23656 }
23657 }
23658 if (_v) {
23659 {
23660 SWIG_PyObj_AsInt(argv[1]);
23661 if (PyErr_Occurred()) {
23662 _v = 0;
23663 PyErr_Clear();
23664 } else {
23665 _v = 1;
23666 }
23667 }
23668 if (_v) {
23669 return _wrap_DataFormat___ne____SWIG_0(self,args);
23670 }
23671 }
23672 }
23673
23674 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23675 return NULL;
23676 }
23677
23678
23679 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23682 int arg2 ;
23683 PyObject * obj0 = 0 ;
23684 PyObject * obj1 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self",(char *) "format", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
23690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23691 {
23692 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 {
23696 PyThreadState* __tstate = wxPyBeginAllowThreads();
23697 (arg1)->SetType((wxDataFormatId )arg2);
23698
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 Py_INCREF(Py_None); resultobj = Py_None;
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23712 int result;
23713 PyObject * obj0 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
23719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (int)((wxDataFormat const *)arg1)->GetType();
23723
23724 wxPyEndAllowThreads(__tstate);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 }
23727 resultobj = SWIG_PyObj_FromInt((int)result);
23728 return resultobj;
23729 fail:
23730 return NULL;
23731 }
23732
23733
23734 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23735 PyObject *resultobj;
23736 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23737 wxString result;
23738 PyObject * obj0 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 result = ((wxDataFormat const *)arg1)->GetId();
23748
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 {
23753 #if wxUSE_UNICODE
23754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23755 #else
23756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23757 #endif
23758 }
23759 return resultobj;
23760 fail:
23761 return NULL;
23762 }
23763
23764
23765 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23766 PyObject *resultobj;
23767 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23768 wxString *arg2 = 0 ;
23769 bool temp2 = False ;
23770 PyObject * obj0 = 0 ;
23771 PyObject * obj1 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self",(char *) "format", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23778 {
23779 arg2 = wxString_in_helper(obj1);
23780 if (arg2 == NULL) SWIG_fail;
23781 temp2 = True;
23782 }
23783 {
23784 PyThreadState* __tstate = wxPyBeginAllowThreads();
23785 (arg1)->SetId((wxString const &)*arg2);
23786
23787 wxPyEndAllowThreads(__tstate);
23788 if (PyErr_Occurred()) SWIG_fail;
23789 }
23790 Py_INCREF(Py_None); resultobj = Py_None;
23791 {
23792 if (temp2)
23793 delete arg2;
23794 }
23795 return resultobj;
23796 fail:
23797 {
23798 if (temp2)
23799 delete arg2;
23800 }
23801 return NULL;
23802 }
23803
23804
23805 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
23806 PyObject *obj;
23807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23808 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23809 Py_INCREF(obj);
23810 return Py_BuildValue((char *)"");
23811 }
23812 static int _wrap_FormatInvalid_set(PyObject *_val) {
23813 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23814 return 1;
23815 }
23816
23817
23818 static PyObject *_wrap_FormatInvalid_get() {
23819 PyObject *pyobj;
23820
23821 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
23822 return pyobj;
23823 }
23824
23825
23826 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxDataObject *arg1 = (wxDataObject *) 0 ;
23829 PyObject * obj0 = 0 ;
23830 char *kwnames[] = {
23831 (char *) "self", NULL
23832 };
23833
23834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
23835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 delete arg1;
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 Py_INCREF(Py_None); resultobj = Py_None;
23844 return resultobj;
23845 fail:
23846 return NULL;
23847 }
23848
23849
23850 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxDataObject *arg1 = (wxDataObject *) 0 ;
23853 int arg2 = (int) wxDataObject::Get ;
23854 SwigValueWrapper< wxDataFormat > result;
23855 PyObject * obj0 = 0 ;
23856 PyObject * obj1 = 0 ;
23857 char *kwnames[] = {
23858 (char *) "self",(char *) "dir", NULL
23859 };
23860
23861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
23862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23863 if (obj1) {
23864 {
23865 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 }
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
23872
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 wxDataFormat * resultptr;
23878 resultptr = new wxDataFormat((wxDataFormat &) result);
23879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
23880 }
23881 return resultobj;
23882 fail:
23883 return NULL;
23884 }
23885
23886
23887 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23888 PyObject *resultobj;
23889 wxDataObject *arg1 = (wxDataObject *) 0 ;
23890 int arg2 = (int) wxDataObject::Get ;
23891 size_t result;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self",(char *) "dir", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
23899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23900 if (obj1) {
23901 {
23902 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 }
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxDataObject *arg1 = (wxDataObject *) 0 ;
23923 wxDataFormat *arg2 = 0 ;
23924 int arg3 = (int) wxDataObject::Get ;
23925 bool result;
23926 PyObject * obj0 = 0 ;
23927 PyObject * obj1 = 0 ;
23928 PyObject * obj2 = 0 ;
23929 char *kwnames[] = {
23930 (char *) "self",(char *) "format",(char *) "dir", NULL
23931 };
23932
23933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
23934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23936 if (arg2 == NULL) {
23937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23938 }
23939 if (obj2) {
23940 {
23941 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 }
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
23948
23949 wxPyEndAllowThreads(__tstate);
23950 if (PyErr_Occurred()) SWIG_fail;
23951 }
23952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23953 return resultobj;
23954 fail:
23955 return NULL;
23956 }
23957
23958
23959 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23960 PyObject *resultobj;
23961 wxDataObject *arg1 = (wxDataObject *) 0 ;
23962 wxDataFormat *arg2 = 0 ;
23963 size_t result;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "format", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23973 if (arg2 == NULL) {
23974 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23975 }
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxDataObject *arg1 = (wxDataObject *) 0 ;
23993 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
23994 int arg3 = (int) wxDataObject::Get ;
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997 PyObject * obj2 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self",(char *) "formats",(char *) "dir", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24005 if (obj2) {
24006 {
24007 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
24010 }
24011 {
24012 PyThreadState* __tstate = wxPyBeginAllowThreads();
24013 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
24018 Py_INCREF(Py_None); resultobj = Py_None;
24019 return resultobj;
24020 fail:
24021 return NULL;
24022 }
24023
24024
24025 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24026 PyObject *resultobj;
24027 wxDataObject *arg1 = (wxDataObject *) 0 ;
24028 wxDataFormat *arg2 = 0 ;
24029 void *arg3 = (void *) 0 ;
24030 bool result;
24031 PyObject * obj0 = 0 ;
24032 PyObject * obj1 = 0 ;
24033 PyObject * obj2 = 0 ;
24034 char *kwnames[] = {
24035 (char *) "self",(char *) "format",(char *) "buf", NULL
24036 };
24037
24038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24041 if (arg2 == NULL) {
24042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24043 }
24044 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24045 {
24046 PyThreadState* __tstate = wxPyBeginAllowThreads();
24047 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24048
24049 wxPyEndAllowThreads(__tstate);
24050 if (PyErr_Occurred()) SWIG_fail;
24051 }
24052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24053 return resultobj;
24054 fail:
24055 return NULL;
24056 }
24057
24058
24059 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24060 PyObject *resultobj;
24061 wxDataObject *arg1 = (wxDataObject *) 0 ;
24062 wxDataFormat *arg2 = 0 ;
24063 size_t arg3 ;
24064 void *arg4 = (void *) 0 ;
24065 bool result;
24066 PyObject * obj0 = 0 ;
24067 PyObject * obj1 = 0 ;
24068 PyObject * obj2 = 0 ;
24069 PyObject * obj3 = 0 ;
24070 char *kwnames[] = {
24071 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24072 };
24073
24074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24077 if (arg2 == NULL) {
24078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24079 }
24080 {
24081 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24100 PyObject *obj;
24101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24102 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24103 Py_INCREF(obj);
24104 return Py_BuildValue((char *)"");
24105 }
24106 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24107 PyObject *resultobj;
24108 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24109 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24110 wxDataObjectSimple *result;
24111 PyObject * obj0 = 0 ;
24112 char *kwnames[] = {
24113 (char *) "format", NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24117 if (obj0) {
24118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24119 if (arg1 == NULL) {
24120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24121 }
24122 }
24123 {
24124 PyThreadState* __tstate = wxPyBeginAllowThreads();
24125 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
24130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
24131 return resultobj;
24132 fail:
24133 return NULL;
24134 }
24135
24136
24137 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24138 PyObject *resultobj;
24139 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24140 wxDataFormat *result;
24141 PyObject * obj0 = 0 ;
24142 char *kwnames[] = {
24143 (char *) "self", NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 {
24151 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24152 result = (wxDataFormat *) &_result_ref;
24153 }
24154
24155 wxPyEndAllowThreads(__tstate);
24156 if (PyErr_Occurred()) SWIG_fail;
24157 }
24158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24168 wxDataFormat *arg2 = 0 ;
24169 PyObject * obj0 = 0 ;
24170 PyObject * obj1 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "format", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24178 if (arg2 == NULL) {
24179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24180 }
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
24183 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
24188 Py_INCREF(Py_None); resultobj = Py_None;
24189 return resultobj;
24190 fail:
24191 return NULL;
24192 }
24193
24194
24195 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24196 PyObject *obj;
24197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24198 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24199 Py_INCREF(obj);
24200 return Py_BuildValue((char *)"");
24201 }
24202 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj;
24204 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24205 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24206 wxPyDataObjectSimple *result;
24207 PyObject * obj0 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "format", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24213 if (obj0) {
24214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24215 if (arg1 == NULL) {
24216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24217 }
24218 }
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
24227 return resultobj;
24228 fail:
24229 return NULL;
24230 }
24231
24232
24233 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24236 PyObject *arg2 = (PyObject *) 0 ;
24237 PyObject *arg3 = (PyObject *) 0 ;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240 PyObject * obj2 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self",(char *) "self",(char *) "_class", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 arg2 = obj1;
24248 arg3 = obj2;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 (arg1)->_setCallbackInfo(arg2,arg3);
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24264 PyObject *obj;
24265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24266 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24267 Py_INCREF(obj);
24268 return Py_BuildValue((char *)"");
24269 }
24270 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24271 PyObject *resultobj;
24272 wxDataObjectComposite *result;
24273 char *kwnames[] = {
24274 NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj;
24294 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24295 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24296 int arg3 = (int) False ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 PyObject * obj2 = 0 ;
24300 char *kwnames[] = {
24301 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24307 if (obj2) {
24308 {
24309 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 }
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->Add(arg2,arg3);
24316
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 Py_INCREF(Py_None); resultobj = Py_None;
24321 return resultobj;
24322 fail:
24323 return NULL;
24324 }
24325
24326
24327 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24328 PyObject *obj;
24329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24330 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24331 Py_INCREF(obj);
24332 return Py_BuildValue((char *)"");
24333 }
24334 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24335 PyObject *resultobj;
24336 wxString const &arg1_defvalue = wxPyEmptyString ;
24337 wxString *arg1 = (wxString *) &arg1_defvalue ;
24338 wxTextDataObject *result;
24339 bool temp1 = False ;
24340 PyObject * obj0 = 0 ;
24341 char *kwnames[] = {
24342 (char *) "text", NULL
24343 };
24344
24345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24346 if (obj0) {
24347 {
24348 arg1 = wxString_in_helper(obj0);
24349 if (arg1 == NULL) SWIG_fail;
24350 temp1 = True;
24351 }
24352 }
24353 {
24354 PyThreadState* __tstate = wxPyBeginAllowThreads();
24355 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24356
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
24361 {
24362 if (temp1)
24363 delete arg1;
24364 }
24365 return resultobj;
24366 fail:
24367 {
24368 if (temp1)
24369 delete arg1;
24370 }
24371 return NULL;
24372 }
24373
24374
24375 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24376 PyObject *resultobj;
24377 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24378 size_t result;
24379 PyObject * obj0 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24386 {
24387 PyThreadState* __tstate = wxPyBeginAllowThreads();
24388 result = (size_t)(arg1)->GetTextLength();
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24394 return resultobj;
24395 fail:
24396 return NULL;
24397 }
24398
24399
24400 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24401 PyObject *resultobj;
24402 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24403 wxString result;
24404 PyObject * obj0 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self", NULL
24407 };
24408
24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (arg1)->GetText();
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
24419 #if wxUSE_UNICODE
24420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24421 #else
24422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24423 #endif
24424 }
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24434 wxString *arg2 = 0 ;
24435 bool temp2 = False ;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 char *kwnames[] = {
24439 (char *) "self",(char *) "text", NULL
24440 };
24441
24442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24444 {
24445 arg2 = wxString_in_helper(obj1);
24446 if (arg2 == NULL) SWIG_fail;
24447 temp2 = True;
24448 }
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 (arg1)->SetText((wxString const &)*arg2);
24452
24453 wxPyEndAllowThreads(__tstate);
24454 if (PyErr_Occurred()) SWIG_fail;
24455 }
24456 Py_INCREF(Py_None); resultobj = Py_None;
24457 {
24458 if (temp2)
24459 delete arg2;
24460 }
24461 return resultobj;
24462 fail:
24463 {
24464 if (temp2)
24465 delete arg2;
24466 }
24467 return NULL;
24468 }
24469
24470
24471 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24472 PyObject *obj;
24473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24474 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24475 Py_INCREF(obj);
24476 return Py_BuildValue((char *)"");
24477 }
24478 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24479 PyObject *resultobj;
24480 wxString const &arg1_defvalue = wxPyEmptyString ;
24481 wxString *arg1 = (wxString *) &arg1_defvalue ;
24482 wxPyTextDataObject *result;
24483 bool temp1 = False ;
24484 PyObject * obj0 = 0 ;
24485 char *kwnames[] = {
24486 (char *) "text", NULL
24487 };
24488
24489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24490 if (obj0) {
24491 {
24492 arg1 = wxString_in_helper(obj0);
24493 if (arg1 == NULL) SWIG_fail;
24494 temp1 = True;
24495 }
24496 }
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24500
24501 wxPyEndAllowThreads(__tstate);
24502 if (PyErr_Occurred()) SWIG_fail;
24503 }
24504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
24505 {
24506 if (temp1)
24507 delete arg1;
24508 }
24509 return resultobj;
24510 fail:
24511 {
24512 if (temp1)
24513 delete arg1;
24514 }
24515 return NULL;
24516 }
24517
24518
24519 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24520 PyObject *resultobj;
24521 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24522 PyObject *arg2 = (PyObject *) 0 ;
24523 PyObject *arg3 = (PyObject *) 0 ;
24524 PyObject * obj0 = 0 ;
24525 PyObject * obj1 = 0 ;
24526 PyObject * obj2 = 0 ;
24527 char *kwnames[] = {
24528 (char *) "self",(char *) "self",(char *) "_class", NULL
24529 };
24530
24531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24533 arg2 = obj1;
24534 arg3 = obj2;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 (arg1)->_setCallbackInfo(arg2,arg3);
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 Py_INCREF(Py_None); resultobj = Py_None;
24543 return resultobj;
24544 fail:
24545 return NULL;
24546 }
24547
24548
24549 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
24550 PyObject *obj;
24551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24552 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24553 Py_INCREF(obj);
24554 return Py_BuildValue((char *)"");
24555 }
24556 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24557 PyObject *resultobj;
24558 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24559 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24560 wxBitmapDataObject *result;
24561 PyObject * obj0 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "bitmap", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24567 if (obj0) {
24568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24569 if (arg1 == NULL) {
24570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24571 }
24572 }
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24576
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
24581 return resultobj;
24582 fail:
24583 return NULL;
24584 }
24585
24586
24587 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24588 PyObject *resultobj;
24589 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24590 wxBitmap result;
24591 PyObject * obj0 = 0 ;
24592 char *kwnames[] = {
24593 (char *) "self", NULL
24594 };
24595
24596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
24597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 {
24606 wxBitmap * resultptr;
24607 resultptr = new wxBitmap((wxBitmap &) result);
24608 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
24609 }
24610 return resultobj;
24611 fail:
24612 return NULL;
24613 }
24614
24615
24616 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24617 PyObject *resultobj;
24618 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24619 wxBitmap *arg2 = 0 ;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "bitmap", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
24627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24629 if (arg2 == NULL) {
24630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24631 }
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24635
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 Py_INCREF(Py_None); resultobj = Py_None;
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24647 PyObject *obj;
24648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24649 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24650 Py_INCREF(obj);
24651 return Py_BuildValue((char *)"");
24652 }
24653 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24656 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24657 wxPyBitmapDataObject *result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "bitmap", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24664 if (obj0) {
24665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24666 if (arg1 == NULL) {
24667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24668 }
24669 }
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24687 PyObject *arg2 = (PyObject *) 0 ;
24688 PyObject *arg3 = (PyObject *) 0 ;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 PyObject * obj2 = 0 ;
24692 char *kwnames[] = {
24693 (char *) "self",(char *) "self",(char *) "_class", NULL
24694 };
24695
24696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24698 arg2 = obj1;
24699 arg3 = obj2;
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 (arg1)->_setCallbackInfo(arg2,arg3);
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 Py_INCREF(Py_None); resultobj = Py_None;
24708 return resultobj;
24709 fail:
24710 return NULL;
24711 }
24712
24713
24714 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24715 PyObject *obj;
24716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24717 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24718 Py_INCREF(obj);
24719 return Py_BuildValue((char *)"");
24720 }
24721 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24722 PyObject *resultobj;
24723 wxFileDataObject *result;
24724 char *kwnames[] = {
24725 NULL
24726 };
24727
24728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (wxFileDataObject *)new wxFileDataObject();
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24746 wxArrayString *result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 {
24757 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24758 result = (wxArrayString *) &_result_ref;
24759 }
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 {
24765 resultobj = wxArrayString2PyList_helper(*result);
24766 }
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
24774 PyObject *obj;
24775 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24776 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
24777 Py_INCREF(obj);
24778 return Py_BuildValue((char *)"");
24779 }
24780 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24781 PyObject *resultobj;
24782 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24783 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24784 wxCustomDataObject *result;
24785 PyObject * obj0 = 0 ;
24786 char *kwnames[] = {
24787 (char *) "format", NULL
24788 };
24789
24790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
24791 if (obj0) {
24792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24793 if (arg1 == NULL) {
24794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24795 }
24796 }
24797 {
24798 PyThreadState* __tstate = wxPyBeginAllowThreads();
24799 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
24800
24801 wxPyEndAllowThreads(__tstate);
24802 if (PyErr_Occurred()) SWIG_fail;
24803 }
24804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
24805 return resultobj;
24806 fail:
24807 return NULL;
24808 }
24809
24810
24811 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
24812 PyObject *resultobj;
24813 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24814 PyObject *arg2 = (PyObject *) 0 ;
24815 PyObject * obj0 = 0 ;
24816 PyObject * obj1 = 0 ;
24817 char *kwnames[] = {
24818 (char *) "self",(char *) "data", NULL
24819 };
24820
24821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
24822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24823 arg2 = obj1;
24824 {
24825 PyThreadState* __tstate = wxPyBeginAllowThreads();
24826 wxCustomDataObject_TakeData(arg1,arg2);
24827
24828 wxPyEndAllowThreads(__tstate);
24829 if (PyErr_Occurred()) SWIG_fail;
24830 }
24831 Py_INCREF(Py_None); resultobj = Py_None;
24832 return resultobj;
24833 fail:
24834 return NULL;
24835 }
24836
24837
24838 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj;
24840 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24841 PyObject *arg2 = (PyObject *) 0 ;
24842 bool result;
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "data", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
24850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24851 arg2 = obj1;
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24860 return resultobj;
24861 fail:
24862 return NULL;
24863 }
24864
24865
24866 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24867 PyObject *resultobj;
24868 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24869 size_t result;
24870 PyObject * obj0 = 0 ;
24871 char *kwnames[] = {
24872 (char *) "self", NULL
24873 };
24874
24875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
24876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (size_t)(arg1)->GetSize();
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24885 return resultobj;
24886 fail:
24887 return NULL;
24888 }
24889
24890
24891 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24894 PyObject *result;
24895 PyObject * obj0 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
24901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 result = (PyObject *)wxCustomDataObject_GetData(arg1);
24905
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 resultobj = result;
24910 return resultobj;
24911 fail:
24912 return NULL;
24913 }
24914
24915
24916 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
24917 PyObject *obj;
24918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24919 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
24920 Py_INCREF(obj);
24921 return Py_BuildValue((char *)"");
24922 }
24923 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj;
24925 wxURLDataObject *result;
24926 char *kwnames[] = {
24927 NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
24931 {
24932 PyThreadState* __tstate = wxPyBeginAllowThreads();
24933 result = (wxURLDataObject *)new wxURLDataObject();
24934
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
24939 return resultobj;
24940 fail:
24941 return NULL;
24942 }
24943
24944
24945 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
24948 wxString result;
24949 PyObject * obj0 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "self", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
24955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 result = (arg1)->GetURL();
24959
24960 wxPyEndAllowThreads(__tstate);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 }
24963 {
24964 #if wxUSE_UNICODE
24965 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24966 #else
24967 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24968 #endif
24969 }
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
24979 wxString *arg2 = 0 ;
24980 bool temp2 = False ;
24981 PyObject * obj0 = 0 ;
24982 PyObject * obj1 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self",(char *) "url", NULL
24985 };
24986
24987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
24988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24989 {
24990 arg2 = wxString_in_helper(obj1);
24991 if (arg2 == NULL) SWIG_fail;
24992 temp2 = True;
24993 }
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 (arg1)->SetURL((wxString const &)*arg2);
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 Py_INCREF(Py_None); resultobj = Py_None;
25002 {
25003 if (temp2)
25004 delete arg2;
25005 }
25006 return resultobj;
25007 fail:
25008 {
25009 if (temp2)
25010 delete arg2;
25011 }
25012 return NULL;
25013 }
25014
25015
25016 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25017 PyObject *obj;
25018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25019 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25020 Py_INCREF(obj);
25021 return Py_BuildValue((char *)"");
25022 }
25023 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj;
25025 wxMetafileDataObject *result;
25026 char *kwnames[] = {
25027 NULL
25028 };
25029
25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
25039 return resultobj;
25040 fail:
25041 return NULL;
25042 }
25043
25044
25045 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25046 PyObject *obj;
25047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25048 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25049 Py_INCREF(obj);
25050 return Py_BuildValue((char *)"");
25051 }
25052 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj;
25054 int arg1 ;
25055 bool result;
25056 PyObject * obj0 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "res", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25062 {
25063 arg1 = (wxDragResult) SWIG_PyObj_AsInt(obj0);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25069
25070 wxPyEndAllowThreads(__tstate);
25071 if (PyErr_Occurred()) SWIG_fail;
25072 }
25073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25074 return resultobj;
25075 fail:
25076 return NULL;
25077 }
25078
25079
25080 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 wxWindow *arg1 = (wxWindow *) 0 ;
25083 wxIcon const &arg2_defvalue = wxNullIcon ;
25084 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
25085 wxIcon const &arg3_defvalue = wxNullIcon ;
25086 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
25087 wxIcon const &arg4_defvalue = wxNullIcon ;
25088 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
25089 wxPyDropSource *result;
25090 PyObject * obj0 = 0 ;
25091 PyObject * obj1 = 0 ;
25092 PyObject * obj2 = 0 ;
25093 PyObject * obj3 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25100 if (obj1) {
25101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25102 if (arg2 == NULL) {
25103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25104 }
25105 }
25106 if (obj2) {
25107 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25108 if (arg3 == NULL) {
25109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25110 }
25111 }
25112 if (obj3) {
25113 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25114 if (arg4 == NULL) {
25115 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25116 }
25117 }
25118 {
25119 PyThreadState* __tstate = wxPyBeginAllowThreads();
25120 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
25121
25122 wxPyEndAllowThreads(__tstate);
25123 if (PyErr_Occurred()) SWIG_fail;
25124 }
25125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
25126 return resultobj;
25127 fail:
25128 return NULL;
25129 }
25130
25131
25132 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25133 PyObject *resultobj;
25134 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25135 PyObject *arg2 = (PyObject *) 0 ;
25136 PyObject *arg3 = (PyObject *) 0 ;
25137 int arg4 ;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 PyObject * obj2 = 0 ;
25141 PyObject * obj3 = 0 ;
25142 char *kwnames[] = {
25143 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25144 };
25145
25146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25148 arg2 = obj1;
25149 arg3 = obj2;
25150 {
25151 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25157
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 Py_INCREF(Py_None); resultobj = Py_None;
25162 return resultobj;
25163 fail:
25164 return NULL;
25165 }
25166
25167
25168 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25169 PyObject *resultobj;
25170 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25171 PyObject * obj0 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 delete arg1;
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 Py_INCREF(Py_None); resultobj = Py_None;
25186 return resultobj;
25187 fail:
25188 return NULL;
25189 }
25190
25191
25192 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25195 wxDataObject *arg2 = 0 ;
25196 PyObject * obj0 = 0 ;
25197 PyObject * obj1 = 0 ;
25198 char *kwnames[] = {
25199 (char *) "self",(char *) "data", NULL
25200 };
25201
25202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25205 if (arg2 == NULL) {
25206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25207 }
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 (arg1)->SetData(*arg2);
25211
25212 wxPyEndAllowThreads(__tstate);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 Py_INCREF(Py_None); resultobj = Py_None;
25216 return resultobj;
25217 fail:
25218 return NULL;
25219 }
25220
25221
25222 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25223 PyObject *resultobj;
25224 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25225 wxDataObject *result;
25226 PyObject * obj0 = 0 ;
25227 char *kwnames[] = {
25228 (char *) "self", NULL
25229 };
25230
25231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25233 {
25234 PyThreadState* __tstate = wxPyBeginAllowThreads();
25235 result = (wxDataObject *)(arg1)->GetDataObject();
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25241 return resultobj;
25242 fail:
25243 return NULL;
25244 }
25245
25246
25247 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25250 int arg2 ;
25251 wxCursor *arg3 = 0 ;
25252 PyObject * obj0 = 0 ;
25253 PyObject * obj1 = 0 ;
25254 PyObject * obj2 = 0 ;
25255 char *kwnames[] = {
25256 (char *) "self",(char *) "res",(char *) "cursor", NULL
25257 };
25258
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25261 {
25262 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25266 if (arg3 == NULL) {
25267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25268 }
25269 {
25270 PyThreadState* __tstate = wxPyBeginAllowThreads();
25271 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25272
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 Py_INCREF(Py_None); resultobj = Py_None;
25277 return resultobj;
25278 fail:
25279 return NULL;
25280 }
25281
25282
25283 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25284 PyObject *resultobj;
25285 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25286 int arg2 = (int) wxDrag_CopyOnly ;
25287 int result;
25288 PyObject * obj0 = 0 ;
25289 PyObject * obj1 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self",(char *) "flags", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25296 if (obj1) {
25297 {
25298 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25299 if (PyErr_Occurred()) SWIG_fail;
25300 }
25301 }
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 result = (int)(arg1)->DoDragDrop(arg2);
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 resultobj = SWIG_PyObj_FromInt((int)result);
25310 return resultobj;
25311 fail:
25312 return NULL;
25313 }
25314
25315
25316 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj;
25318 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25319 int arg2 ;
25320 bool result;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self",(char *) "effect", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25329 {
25330 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25331 if (PyErr_Occurred()) SWIG_fail;
25332 }
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25336
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25348 PyObject *obj;
25349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25350 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25351 Py_INCREF(obj);
25352 return Py_BuildValue((char *)"");
25353 }
25354 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25355 PyObject *resultobj;
25356 wxDataObject *arg1 = (wxDataObject *) NULL ;
25357 wxPyDropTarget *result;
25358 PyObject * obj0 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "dataObject", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
25364 if (obj0) {
25365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25366 }
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25370
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25384 PyObject *arg2 = (PyObject *) 0 ;
25385 PyObject *arg3 = (PyObject *) 0 ;
25386 PyObject * obj0 = 0 ;
25387 PyObject * obj1 = 0 ;
25388 PyObject * obj2 = 0 ;
25389 char *kwnames[] = {
25390 (char *) "self",(char *) "self",(char *) "_class", NULL
25391 };
25392
25393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25395 arg2 = obj1;
25396 arg3 = obj2;
25397 {
25398 PyThreadState* __tstate = wxPyBeginAllowThreads();
25399 (arg1)->_setCallbackInfo(arg2,arg3);
25400
25401 wxPyEndAllowThreads(__tstate);
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 Py_INCREF(Py_None); resultobj = Py_None;
25405 return resultobj;
25406 fail:
25407 return NULL;
25408 }
25409
25410
25411 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25412 PyObject *resultobj;
25413 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25414 PyObject * obj0 = 0 ;
25415 char *kwnames[] = {
25416 (char *) "self", NULL
25417 };
25418
25419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
25420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 delete arg1;
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 Py_INCREF(Py_None); resultobj = Py_None;
25429 return resultobj;
25430 fail:
25431 return NULL;
25432 }
25433
25434
25435 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj;
25437 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25438 wxDataObject *result;
25439 PyObject * obj0 = 0 ;
25440 char *kwnames[] = {
25441 (char *) "self", NULL
25442 };
25443
25444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
25445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 result = (wxDataObject *)(arg1)->GetDataObject();
25449
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25454 return resultobj;
25455 fail:
25456 return NULL;
25457 }
25458
25459
25460 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj;
25462 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25463 wxDataObject *arg2 = (wxDataObject *) 0 ;
25464 PyObject * obj0 = 0 ;
25465 PyObject * obj1 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self",(char *) "dataObject", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
25471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25473 {
25474 PyThreadState* __tstate = wxPyBeginAllowThreads();
25475 (arg1)->SetDataObject(arg2);
25476
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 Py_INCREF(Py_None); resultobj = Py_None;
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj;
25489 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25490 int arg2 ;
25491 int arg3 ;
25492 int arg4 ;
25493 int result;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 PyObject * obj2 = 0 ;
25497 PyObject * obj3 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25504 {
25505 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 {
25509 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 {
25513 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = SWIG_PyObj_FromInt((int)result);
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25533 int arg2 ;
25534 int arg3 ;
25535 int arg4 ;
25536 int result;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 PyObject * obj2 = 0 ;
25540 PyObject * obj3 = 0 ;
25541 char *kwnames[] = {
25542 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25543 };
25544
25545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25547 {
25548 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25549 if (PyErr_Occurred()) SWIG_fail;
25550 }
25551 {
25552 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 {
25556 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 resultobj = SWIG_PyObj_FromInt((int)result);
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25576 PyObject * obj0 = 0 ;
25577 char *kwnames[] = {
25578 (char *) "self", NULL
25579 };
25580
25581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 (arg1)->base_OnLeave();
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 Py_INCREF(Py_None); resultobj = Py_None;
25591 return resultobj;
25592 fail:
25593 return NULL;
25594 }
25595
25596
25597 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25598 PyObject *resultobj;
25599 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25600 int arg2 ;
25601 int arg3 ;
25602 bool result;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 PyObject * obj2 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "x",(char *) "y", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25612 {
25613 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 {
25617 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25628 return resultobj;
25629 fail:
25630 return NULL;
25631 }
25632
25633
25634 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25635 PyObject *resultobj;
25636 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25637 bool result;
25638 PyObject * obj0 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
25644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = (bool)(arg1)->GetData();
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25653 return resultobj;
25654 fail:
25655 return NULL;
25656 }
25657
25658
25659 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
25660 PyObject *obj;
25661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25662 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25663 Py_INCREF(obj);
25664 return Py_BuildValue((char *)"");
25665 }
25666 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25667 PyObject *resultobj;
25668 wxPyTextDropTarget *result;
25669 char *kwnames[] = {
25670 NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25691 PyObject *arg2 = (PyObject *) 0 ;
25692 PyObject *arg3 = (PyObject *) 0 ;
25693 PyObject * obj0 = 0 ;
25694 PyObject * obj1 = 0 ;
25695 PyObject * obj2 = 0 ;
25696 char *kwnames[] = {
25697 (char *) "self",(char *) "self",(char *) "_class", NULL
25698 };
25699
25700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25702 arg2 = obj1;
25703 arg3 = obj2;
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 (arg1)->_setCallbackInfo(arg2,arg3);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 Py_INCREF(Py_None); resultobj = Py_None;
25712 return resultobj;
25713 fail:
25714 return NULL;
25715 }
25716
25717
25718 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25721 int arg2 ;
25722 int arg3 ;
25723 int arg4 ;
25724 int result;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 PyObject * obj2 = 0 ;
25728 PyObject * obj3 = 0 ;
25729 char *kwnames[] = {
25730 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25731 };
25732
25733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25735 {
25736 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 {
25740 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 {
25744 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25745 if (PyErr_Occurred()) SWIG_fail;
25746 }
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 resultobj = SWIG_PyObj_FromInt((int)result);
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25764 int arg2 ;
25765 int arg3 ;
25766 int arg4 ;
25767 int result;
25768 PyObject * obj0 = 0 ;
25769 PyObject * obj1 = 0 ;
25770 PyObject * obj2 = 0 ;
25771 PyObject * obj3 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25778 {
25779 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 {
25783 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 {
25787 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25793
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 resultobj = SWIG_PyObj_FromInt((int)result);
25798 return resultobj;
25799 fail:
25800 return NULL;
25801 }
25802
25803
25804 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25805 PyObject *resultobj;
25806 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25807 PyObject * obj0 = 0 ;
25808 char *kwnames[] = {
25809 (char *) "self", NULL
25810 };
25811
25812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 (arg1)->base_OnLeave();
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
25821 Py_INCREF(Py_None); resultobj = Py_None;
25822 return resultobj;
25823 fail:
25824 return NULL;
25825 }
25826
25827
25828 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25829 PyObject *resultobj;
25830 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25831 int arg2 ;
25832 int arg3 ;
25833 bool result;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 PyObject * obj2 = 0 ;
25837 char *kwnames[] = {
25838 (char *) "self",(char *) "x",(char *) "y", NULL
25839 };
25840
25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25843 {
25844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 }
25847 {
25848 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25859 return resultobj;
25860 fail:
25861 return NULL;
25862 }
25863
25864
25865 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj;
25867 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25868 int arg2 ;
25869 int arg3 ;
25870 int arg4 ;
25871 int result;
25872 PyObject * obj0 = 0 ;
25873 PyObject * obj1 = 0 ;
25874 PyObject * obj2 = 0 ;
25875 PyObject * obj3 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25882 {
25883 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25884 if (PyErr_Occurred()) SWIG_fail;
25885 }
25886 {
25887 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
25890 {
25891 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 {
25895 PyThreadState* __tstate = wxPyBeginAllowThreads();
25896 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
25897
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 resultobj = SWIG_PyObj_FromInt((int)result);
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
25909 PyObject *obj;
25910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25911 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
25912 Py_INCREF(obj);
25913 return Py_BuildValue((char *)"");
25914 }
25915 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25916 PyObject *resultobj;
25917 wxPyFileDropTarget *result;
25918 char *kwnames[] = {
25919 NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25940 PyObject *arg2 = (PyObject *) 0 ;
25941 PyObject *arg3 = (PyObject *) 0 ;
25942 PyObject * obj0 = 0 ;
25943 PyObject * obj1 = 0 ;
25944 PyObject * obj2 = 0 ;
25945 char *kwnames[] = {
25946 (char *) "self",(char *) "self",(char *) "_class", NULL
25947 };
25948
25949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25951 arg2 = obj1;
25952 arg3 = obj2;
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 (arg1)->_setCallbackInfo(arg2,arg3);
25956
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 Py_INCREF(Py_None); resultobj = Py_None;
25961 return resultobj;
25962 fail:
25963 return NULL;
25964 }
25965
25966
25967 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25968 PyObject *resultobj;
25969 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25970 int arg2 ;
25971 int arg3 ;
25972 int arg4 ;
25973 int result;
25974 PyObject * obj0 = 0 ;
25975 PyObject * obj1 = 0 ;
25976 PyObject * obj2 = 0 ;
25977 PyObject * obj3 = 0 ;
25978 char *kwnames[] = {
25979 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25980 };
25981
25982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25984 {
25985 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
25988 {
25989 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 {
25993 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25999
26000 wxPyEndAllowThreads(__tstate);
26001 if (PyErr_Occurred()) SWIG_fail;
26002 }
26003 resultobj = SWIG_PyObj_FromInt((int)result);
26004 return resultobj;
26005 fail:
26006 return NULL;
26007 }
26008
26009
26010 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj;
26012 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26013 int arg2 ;
26014 int arg3 ;
26015 int arg4 ;
26016 int result;
26017 PyObject * obj0 = 0 ;
26018 PyObject * obj1 = 0 ;
26019 PyObject * obj2 = 0 ;
26020 PyObject * obj3 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26027 {
26028 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 {
26032 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26033 if (PyErr_Occurred()) SWIG_fail;
26034 }
26035 {
26036 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 {
26040 PyThreadState* __tstate = wxPyBeginAllowThreads();
26041 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26042
26043 wxPyEndAllowThreads(__tstate);
26044 if (PyErr_Occurred()) SWIG_fail;
26045 }
26046 resultobj = SWIG_PyObj_FromInt((int)result);
26047 return resultobj;
26048 fail:
26049 return NULL;
26050 }
26051
26052
26053 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26054 PyObject *resultobj;
26055 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26056 PyObject * obj0 = 0 ;
26057 char *kwnames[] = {
26058 (char *) "self", NULL
26059 };
26060
26061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 (arg1)->base_OnLeave();
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 Py_INCREF(Py_None); resultobj = Py_None;
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26078 PyObject *resultobj;
26079 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26080 int arg2 ;
26081 int arg3 ;
26082 bool result;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "x",(char *) "y", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26092 {
26093 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 }
26096 {
26097 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26098 if (PyErr_Occurred()) SWIG_fail;
26099 }
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26103
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj;
26116 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26117 int arg2 ;
26118 int arg3 ;
26119 int arg4 ;
26120 int result;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 PyObject * obj2 = 0 ;
26124 PyObject * obj3 = 0 ;
26125 char *kwnames[] = {
26126 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26131 {
26132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26133 if (PyErr_Occurred()) SWIG_fail;
26134 }
26135 {
26136 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26137 if (PyErr_Occurred()) SWIG_fail;
26138 }
26139 {
26140 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
26143 {
26144 PyThreadState* __tstate = wxPyBeginAllowThreads();
26145 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26146
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 resultobj = SWIG_PyObj_FromInt((int)result);
26151 return resultobj;
26152 fail:
26153 return NULL;
26154 }
26155
26156
26157 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26158 PyObject *obj;
26159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26160 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26161 Py_INCREF(obj);
26162 return Py_BuildValue((char *)"");
26163 }
26164 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26165 PyObject *resultobj;
26166 wxClipboard *result;
26167 char *kwnames[] = {
26168 NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (wxClipboard *)new wxClipboard();
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj;
26188 wxClipboard *arg1 = (wxClipboard *) 0 ;
26189 PyObject * obj0 = 0 ;
26190 char *kwnames[] = {
26191 (char *) "self", NULL
26192 };
26193
26194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 delete arg1;
26199
26200 wxPyEndAllowThreads(__tstate);
26201 if (PyErr_Occurred()) SWIG_fail;
26202 }
26203 Py_INCREF(Py_None); resultobj = Py_None;
26204 return resultobj;
26205 fail:
26206 return NULL;
26207 }
26208
26209
26210 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26211 PyObject *resultobj;
26212 wxClipboard *arg1 = (wxClipboard *) 0 ;
26213 bool result;
26214 PyObject * obj0 = 0 ;
26215 char *kwnames[] = {
26216 (char *) "self", NULL
26217 };
26218
26219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 result = (bool)(arg1)->Open();
26224
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26229 return resultobj;
26230 fail:
26231 return NULL;
26232 }
26233
26234
26235 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj;
26237 wxClipboard *arg1 = (wxClipboard *) 0 ;
26238 PyObject * obj0 = 0 ;
26239 char *kwnames[] = {
26240 (char *) "self", NULL
26241 };
26242
26243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26245 {
26246 PyThreadState* __tstate = wxPyBeginAllowThreads();
26247 (arg1)->Close();
26248
26249 wxPyEndAllowThreads(__tstate);
26250 if (PyErr_Occurred()) SWIG_fail;
26251 }
26252 Py_INCREF(Py_None); resultobj = Py_None;
26253 return resultobj;
26254 fail:
26255 return NULL;
26256 }
26257
26258
26259 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26260 PyObject *resultobj;
26261 wxClipboard *arg1 = (wxClipboard *) 0 ;
26262 bool result;
26263 PyObject * obj0 = 0 ;
26264 char *kwnames[] = {
26265 (char *) "self", NULL
26266 };
26267
26268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26270 {
26271 PyThreadState* __tstate = wxPyBeginAllowThreads();
26272 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26273
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
26277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26278 return resultobj;
26279 fail:
26280 return NULL;
26281 }
26282
26283
26284 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26285 PyObject *resultobj;
26286 wxClipboard *arg1 = (wxClipboard *) 0 ;
26287 wxDataObject *arg2 = (wxDataObject *) 0 ;
26288 bool result;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self",(char *) "data", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 result = (bool)(arg1)->AddData(arg2);
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26306 return resultobj;
26307 fail:
26308 return NULL;
26309 }
26310
26311
26312 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26313 PyObject *resultobj;
26314 wxClipboard *arg1 = (wxClipboard *) 0 ;
26315 wxDataObject *arg2 = (wxDataObject *) 0 ;
26316 bool result;
26317 PyObject * obj0 = 0 ;
26318 PyObject * obj1 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "data", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 result = (bool)(arg1)->SetData(arg2);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxClipboard *arg1 = (wxClipboard *) 0 ;
26343 wxDataFormat *arg2 = 0 ;
26344 bool result;
26345 PyObject * obj0 = 0 ;
26346 PyObject * obj1 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self",(char *) "format", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26354 if (arg2 == NULL) {
26355 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26356 }
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26360
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26372 PyObject *resultobj;
26373 wxClipboard *arg1 = (wxClipboard *) 0 ;
26374 wxDataObject *arg2 = 0 ;
26375 bool result;
26376 PyObject * obj0 = 0 ;
26377 PyObject * obj1 = 0 ;
26378 char *kwnames[] = {
26379 (char *) "self",(char *) "data", NULL
26380 };
26381
26382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26385 if (arg2 == NULL) {
26386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26387 }
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (bool)(arg1)->GetData(*arg2);
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
26395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26396 return resultobj;
26397 fail:
26398 return NULL;
26399 }
26400
26401
26402 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26403 PyObject *resultobj;
26404 wxClipboard *arg1 = (wxClipboard *) 0 ;
26405 PyObject * obj0 = 0 ;
26406 char *kwnames[] = {
26407 (char *) "self", NULL
26408 };
26409
26410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
26411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 (arg1)->Clear();
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 Py_INCREF(Py_None); resultobj = Py_None;
26420 return resultobj;
26421 fail:
26422 return NULL;
26423 }
26424
26425
26426 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26427 PyObject *resultobj;
26428 wxClipboard *arg1 = (wxClipboard *) 0 ;
26429 bool result;
26430 PyObject * obj0 = 0 ;
26431 char *kwnames[] = {
26432 (char *) "self", NULL
26433 };
26434
26435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
26436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (bool)(arg1)->Flush();
26440
26441 wxPyEndAllowThreads(__tstate);
26442 if (PyErr_Occurred()) SWIG_fail;
26443 }
26444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26445 return resultobj;
26446 fail:
26447 return NULL;
26448 }
26449
26450
26451 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26452 PyObject *resultobj;
26453 wxClipboard *arg1 = (wxClipboard *) 0 ;
26454 bool arg2 = (bool) True ;
26455 PyObject * obj0 = 0 ;
26456 PyObject * obj1 = 0 ;
26457 char *kwnames[] = {
26458 (char *) "self",(char *) "primary", NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
26462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26463 if (obj1) {
26464 {
26465 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 }
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 (arg1)->UsePrimarySelection(arg2);
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 Py_INCREF(Py_None); resultobj = Py_None;
26477 return resultobj;
26478 fail:
26479 return NULL;
26480 }
26481
26482
26483 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
26484 PyObject *obj;
26485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26486 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26487 Py_INCREF(obj);
26488 return Py_BuildValue((char *)"");
26489 }
26490 static int _wrap_TheClipboard_set(PyObject *_val) {
26491 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26492 return 1;
26493 }
26494
26495
26496 static PyObject *_wrap_TheClipboard_get() {
26497 PyObject *pyobj;
26498
26499 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
26500 return pyobj;
26501 }
26502
26503
26504 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26505 PyObject *resultobj;
26506 wxClipboard *arg1 = (wxClipboard *) NULL ;
26507 wxClipboardLocker *result;
26508 PyObject * obj0 = 0 ;
26509 char *kwnames[] = {
26510 (char *) "clipboard", NULL
26511 };
26512
26513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26514 if (obj0) {
26515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26516 }
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
26525 return resultobj;
26526 fail:
26527 return NULL;
26528 }
26529
26530
26531 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26532 PyObject *resultobj;
26533 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26534 PyObject * obj0 = 0 ;
26535 char *kwnames[] = {
26536 (char *) "self", NULL
26537 };
26538
26539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
26540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26541 {
26542 PyThreadState* __tstate = wxPyBeginAllowThreads();
26543 delete arg1;
26544
26545 wxPyEndAllowThreads(__tstate);
26546 if (PyErr_Occurred()) SWIG_fail;
26547 }
26548 Py_INCREF(Py_None); resultobj = Py_None;
26549 return resultobj;
26550 fail:
26551 return NULL;
26552 }
26553
26554
26555 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
26556 PyObject *resultobj;
26557 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26558 bool result;
26559 PyObject * obj0 = 0 ;
26560 char *kwnames[] = {
26561 (char *) "self", NULL
26562 };
26563
26564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
26565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26566 {
26567 PyThreadState* __tstate = wxPyBeginAllowThreads();
26568 result = (bool)wxClipboardLocker___nonzero__(arg1);
26569
26570 wxPyEndAllowThreads(__tstate);
26571 if (PyErr_Occurred()) SWIG_fail;
26572 }
26573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26574 return resultobj;
26575 fail:
26576 return NULL;
26577 }
26578
26579
26580 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
26581 PyObject *obj;
26582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26583 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26584 Py_INCREF(obj);
26585 return Py_BuildValue((char *)"");
26586 }
26587 static PyMethodDef SwigMethods[] = {
26588 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
26595 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
26602 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
26662 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
26670 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
26686 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
26691 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
26694 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
26697 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
26703 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
26717 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
26723 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
26729 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
26732 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
26745 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
26748 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
26749 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
26752 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
26779 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
26781 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
26783 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
26785 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
26792 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
26798 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
26811 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
26816 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
26819 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
26836 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
26844 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
26890 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
26918 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
26919 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
26921 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
26923 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
26924 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
26926 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
26942 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
26958 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
26972 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
26981 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
27024 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
27027 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
27030 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
27034 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
27126 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
27127 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
27128 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
27129 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
27130 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
27131 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
27132 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
27133 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
27134 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
27135 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
27146 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
27191 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
27225 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
27233 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
27234 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
27239 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
27248 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
27252 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
27255 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
27258 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
27263 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
27266 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
27270 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
27273 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
27276 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
27282 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
27286 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
27288 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
27298 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
27309 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
27317 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
27325 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
27338 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
27342 { NULL, NULL }
27343 };
27344
27345
27346 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27347
27348 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27349 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27350 }
27351 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27352 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27353 }
27354 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27355 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27356 }
27357 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27358 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27359 }
27360 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27361 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27362 }
27363 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27364 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27365 }
27366 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27367 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27368 }
27369 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27370 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27371 }
27372 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27373 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27374 }
27375 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27376 return (void *)((wxEvent *) ((wxPyEvent *) x));
27377 }
27378 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27379 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27380 }
27381 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27382 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27383 }
27384 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27385 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27386 }
27387 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27389 }
27390 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27391 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27392 }
27393 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27394 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27395 }
27396 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27397 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27398 }
27399 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27400 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27401 }
27402 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27403 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27404 }
27405 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27406 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27407 }
27408 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27409 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27410 }
27411 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27412 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27413 }
27414 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27416 }
27417 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27418 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27419 }
27420 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27421 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27422 }
27423 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27424 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27425 }
27426 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27427 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27428 }
27429 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27430 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27431 }
27432 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27433 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27434 }
27435 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27437 }
27438 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27439 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27440 }
27441 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27442 return (void *)((wxEvent *) ((wxShowEvent *) x));
27443 }
27444 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27445 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27446 }
27447 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27448 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27449 }
27450 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27452 }
27453 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27454 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27455 }
27456 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27457 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27458 }
27459 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27460 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27461 }
27462 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27463 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27464 }
27465 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27466 return (void *)((wxConfigBase *) ((wxConfig *) x));
27467 }
27468 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27469 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27470 }
27471 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27472 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27473 }
27474 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27475 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27476 }
27477 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27478 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27479 }
27480 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27481 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27482 }
27483 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27484 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27485 }
27486 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27487 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27488 }
27489 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27490 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27491 }
27492 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27493 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27494 }
27495 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27496 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27497 }
27498 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27499 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27500 }
27501 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27502 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27503 }
27504 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27505 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27506 }
27507 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27508 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27509 }
27510 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27511 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27512 }
27513 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27514 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27515 }
27516 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27517 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27518 }
27519 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27520 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27521 }
27522 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27523 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27524 }
27525 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27526 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27527 }
27528 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27529 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27530 }
27531 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27532 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27533 }
27534 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27536 }
27537 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27538 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27539 }
27540 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27541 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27542 }
27543 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27544 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27545 }
27546 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27547 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27548 }
27549 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27550 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27551 }
27552 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27553 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27554 }
27555 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27557 }
27558 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27559 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27560 }
27561 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27562 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27563 }
27564 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27565 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27566 }
27567 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27569 }
27570 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27571 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27572 }
27573 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27574 return (void *)((wxObject *) ((wxSizerItem *) x));
27575 }
27576 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27577 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27578 }
27579 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27580 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27581 }
27582 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27583 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27584 }
27585 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27586 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27587 }
27588 static void *_p_wxSizerTo_p_wxObject(void *x) {
27589 return (void *)((wxObject *) ((wxSizer *) x));
27590 }
27591 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27593 }
27594 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27595 return (void *)((wxObject *) ((wxFileHistory *) x));
27596 }
27597 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27598 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27599 }
27600 static void *_p_wxEventTo_p_wxObject(void *x) {
27601 return (void *)((wxObject *) ((wxEvent *) x));
27602 }
27603 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27604 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27605 }
27606 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27607 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27608 }
27609 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27610 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27611 }
27612 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27613 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27614 }
27615 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27616 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27617 }
27618 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27619 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27620 }
27621 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27622 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27623 }
27624 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27625 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27626 }
27627 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27628 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27629 }
27630 static void *_p_wxControlTo_p_wxObject(void *x) {
27631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27632 }
27633 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27634 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27635 }
27636 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27637 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27638 }
27639 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27640 return (void *)((wxObject *) ((wxFSFile *) x));
27641 }
27642 static void *_p_wxClipboardTo_p_wxObject(void *x) {
27643 return (void *)((wxObject *) ((wxClipboard *) x));
27644 }
27645 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27646 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27647 }
27648 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27649 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27650 }
27651 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27653 }
27654 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27655 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27656 }
27657 static void *_p_wxToolTipTo_p_wxObject(void *x) {
27658 return (void *)((wxObject *) ((wxToolTip *) x));
27659 }
27660 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27661 return (void *)((wxObject *) ((wxMenuItem *) x));
27662 }
27663 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27664 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27665 }
27666 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27668 }
27669 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27670 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27671 }
27672 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27673 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27674 }
27675 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27676 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27677 }
27678 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27679 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27680 }
27681 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27683 }
27684 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27685 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27686 }
27687 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27688 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27689 }
27690 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27691 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27692 }
27693 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27694 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27695 }
27696 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27697 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27698 }
27699 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27700 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27701 }
27702 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27704 }
27705 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27707 }
27708 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27710 }
27711 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27713 }
27714 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27716 }
27717 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) ((wxImageHandler *) x));
27719 }
27720 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27722 }
27723 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) ((wxEvtHandler *) x));
27725 }
27726 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27728 }
27729 static void *_p_wxImageTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) ((wxImage *) x));
27731 }
27732 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27734 }
27735 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) ((wxSystemOptions *) x));
27737 }
27738 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
27740 }
27741 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27743 }
27744 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27746 }
27747 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27749 }
27750 static void *_p_wxWindowTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27752 }
27753 static void *_p_wxMenuTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27755 }
27756 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27758 }
27759 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
27761 }
27762 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) ((wxFileSystem *) x));
27764 }
27765 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27767 }
27768 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27770 }
27771 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27773 }
27774 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27776 }
27777 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27779 }
27780 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27782 }
27783 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) ((wxBusyInfo *) x));
27785 }
27786 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27788 }
27789 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27791 }
27792 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27794 }
27795 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27797 }
27798 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27800 }
27801 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
27803 }
27804 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27806 }
27807 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27809 }
27810 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27812 }
27813 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
27815 }
27816 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
27817 return (void *)((wxLog *) ((wxLogStderr *) x));
27818 }
27819 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
27820 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
27821 }
27822 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
27823 return (void *)((wxLog *) ((wxLogWindow *) x));
27824 }
27825 static void *_p_wxLogChainTo_p_wxLog(void *x) {
27826 return (void *)((wxLog *) ((wxLogChain *) x));
27827 }
27828 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
27829 return (void *)((wxLog *) ((wxLogGui *) x));
27830 }
27831 static void *_p_wxPyLogTo_p_wxLog(void *x) {
27832 return (void *)((wxLog *) ((wxPyLog *) x));
27833 }
27834 static void *_p_wxControlTo_p_wxWindow(void *x) {
27835 return (void *)((wxWindow *) ((wxControl *) x));
27836 }
27837 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27838 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27839 }
27840 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27841 return (void *)((wxWindow *) ((wxMenuBar *) x));
27842 }
27843 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
27844 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
27845 }
27846 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
27847 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
27848 }
27849 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27850 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27851 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27852 static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog},{"_p_wxLog"},{0}};
27853 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27854 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27855 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
27856 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase},{"_p_wxConfigBase"},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase},{0}};
27857 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27858 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27859 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27860 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27861 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27862 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27863 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27864 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27865 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27866 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27867 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27868 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27869 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27870 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27871 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27872 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27873 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27874 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27875 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
27876 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
27877 static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject},{"_p_wxDataObject"},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject},{0}};
27878 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27879 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27880 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27881 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27882 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27883 static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27884 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27885 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27886 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27887 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27888 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27889 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27890 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
27891 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27892 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27893 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27894 static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0},{"_p_wxDataObjectSimple"},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple},{0}};
27895 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler},{0}};
27896 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27897 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27898 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27899 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27900 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27901 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27902 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27903 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27904 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27905 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
27906 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27907 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27908 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27909 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27910 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27911 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject},{0}};
27912 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27913 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27914 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27915 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{0}};
27916 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27917 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27918 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27919 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27920 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27921 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27922 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget},{0}};
27923 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27924 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27925 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27926 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27927 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27928 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27929 static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
27930 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27931 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27932 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27933
27934 static swig_type_info *swig_types_initial[] = {
27935 _swigt__p_wxLogChain,
27936 _swigt__p_wxMutexGuiLocker,
27937 _swigt__p_wxFileHistory,
27938 _swigt__p_wxLog,
27939 _swigt__p_wxDateTime__TimeZone,
27940 _swigt__p_wxMenu,
27941 _swigt__p_wxEvent,
27942 _swigt__p_wxConfigBase,
27943 _swigt__p_wxFileType,
27944 _swigt__p_wxLogGui,
27945 _swigt__p_wxFont,
27946 _swigt__p_wxDataFormat,
27947 _swigt__p_wxTimerEvent,
27948 _swigt__p_wxCaret,
27949 _swigt__p_int,
27950 _swigt__p_wxSize,
27951 _swigt__p_wxClipboard,
27952 _swigt__p_wxStopWatch,
27953 _swigt__p_wxDC,
27954 _swigt__p_wxClipboardLocker,
27955 _swigt__p_wxIcon,
27956 _swigt__p_wxLogStderr,
27957 _swigt__p_wxLogTextCtrl,
27958 _swigt__p_wxTextCtrl,
27959 _swigt__p_wxBusyCursor,
27960 _swigt__p_wxPyTextDataObject,
27961 _swigt__p_wxBitmapDataObject,
27962 _swigt__p_wxTextDataObject,
27963 _swigt__p_wxDataObject,
27964 _swigt__p_wxPyBitmapDataObject,
27965 _swigt__p_wxFileDataObject,
27966 _swigt__p_wxCustomDataObject,
27967 _swigt__p_wxURLDataObject,
27968 _swigt__p_wxMetafileDataObject,
27969 _swigt__p_wxSound,
27970 _swigt__p_wxTimerRunner,
27971 _swigt__p_wxLogWindow,
27972 _swigt__p_wxTimeSpan,
27973 _swigt__p_wxArrayString,
27974 _swigt__p_wxWindowDisabler,
27975 _swigt__p_wxToolTip,
27976 _swigt__p_wxDataObjectComposite,
27977 _swigt__p_wxFileConfig,
27978 _swigt__p_wxSystemSettings,
27979 _swigt__p_wxPyDataObjectSimple,
27980 _swigt__p_wxDataObjectSimple,
27981 _swigt__p_wxEvtHandler,
27982 _swigt__p_wxRect,
27983 _swigt__p_char,
27984 _swigt__p_wxSingleInstanceChecker,
27985 _swigt__p_wxFileTypeInfo,
27986 _swigt__p_wxFrame,
27987 _swigt__p_wxTimer,
27988 _swigt__p_wxMimeTypesManager,
27989 _swigt__p_wxPyArtProvider,
27990 _swigt__p_wxPyTipProvider,
27991 _swigt__p_wxTipProvider,
27992 _swigt__p_wxJoystick,
27993 _swigt__p_wxSystemOptions,
27994 _swigt__p_wxPoint,
27995 _swigt__p_wxJoystickEvent,
27996 _swigt__p_wxCursor,
27997 _swigt__p_wxObject,
27998 _swigt__p_wxOutputStream,
27999 _swigt__p_wxDateTime,
28000 _swigt__p_wxPyDropSource,
28001 _swigt__p_wxWindow,
28002 _swigt__p_wxString,
28003 _swigt__p_wxPyProcess,
28004 _swigt__p_wxBitmap,
28005 _swigt__p_wxConfig,
28006 _swigt__p_wxChar,
28007 _swigt__p_wxBusyInfo,
28008 _swigt__p_wxPyDropTarget,
28009 _swigt__p_wxPyTextDropTarget,
28010 _swigt__p_wxPyFileDropTarget,
28011 _swigt__p_wxProcessEvent,
28012 _swigt__p_wxPyLog,
28013 _swigt__p_wxLogNull,
28014 _swigt__p_wxColour,
28015 _swigt__p_wxByte,
28016 _swigt__p_wxConfigPathChanger,
28017 _swigt__p_wxPyTimer,
28018 _swigt__p_wxDateSpan,
28019 0
28020 };
28021
28022
28023 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28024
28025 static swig_const_info swig_const_table[] = {
28026 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28027 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28028 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28029 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28030 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28031 {0}};
28032
28033 #ifdef __cplusplus
28034 }
28035 #endif
28036
28037 #ifdef __cplusplus
28038 extern "C"
28039 #endif
28040 SWIGEXPORT(void) SWIG_init(void) {
28041 static PyObject *SWIG_globals = 0;
28042 static int typeinit = 0;
28043 PyObject *m, *d;
28044 int i;
28045 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28046 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28047 d = PyModule_GetDict(m);
28048
28049 if (!typeinit) {
28050 for (i = 0; swig_types_initial[i]; i++) {
28051 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28052 }
28053 typeinit = 1;
28054 }
28055 SWIG_InstallConstants(d,swig_const_table);
28056
28057 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT));
28058 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT));
28059 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT));
28060 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT));
28061 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
28062 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE));
28063 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
28064 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
28065 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT));
28066 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
28067 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND));
28068 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP));
28069 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
28070 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
28071 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU));
28072 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW));
28073 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
28074 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT));
28075 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
28076 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
28077 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
28078 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
28079 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
28080 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
28081 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
28082 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE));
28083 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE));
28084 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
28085 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW));
28086 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
28087 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT));
28088 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
28089 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
28090 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
28091 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
28092 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
28093 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
28094 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT));
28095 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT));
28096 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK));
28097 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX));
28098 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
28099 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
28100 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
28101 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
28102 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR));
28103 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX));
28104 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS));
28105 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X));
28106 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y));
28107 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X));
28108 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y));
28109 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X));
28110 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y));
28111 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X));
28112 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y));
28113 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X));
28114 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y));
28115 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X));
28116 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
28117 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X));
28118 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X));
28119 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y));
28120 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X));
28121 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y));
28122 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X));
28123 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y));
28124 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X));
28125 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y));
28126 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X));
28127 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y));
28128 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X));
28129 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y));
28130 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y));
28131 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X));
28132 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X));
28133 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
28134 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y));
28135 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y));
28136 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y));
28137 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT));
28138 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
28139 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS));
28140 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS));
28141 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
28142 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
28143 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE));
28144 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY));
28145 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA));
28146 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL));
28147 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP));
28148 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28149 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28150 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28151 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
28152 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF));
28153 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT));
28154 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS));
28155 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT));
28156 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
28157 PyDict_SetItemString(d,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError));
28158 PyDict_SetItemString(d,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error));
28159 PyDict_SetItemString(d,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning));
28160 PyDict_SetItemString(d,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message));
28161 PyDict_SetItemString(d,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status));
28162 PyDict_SetItemString(d,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info));
28163 PyDict_SetItemString(d,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug));
28164 PyDict_SetItemString(d,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace));
28165 PyDict_SetItemString(d,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress));
28166 PyDict_SetItemString(d,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User));
28167 PyDict_SetItemString(d,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max));
28168 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28169 PyDict_SetItemString(d,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28170 PyDict_SetItemString(d,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28171 PyDict_SetItemString(d,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28172 PyDict_SetItemString(d,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28173 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT));
28174 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT));
28175 PyDict_SetItemString(d,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK));
28176 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL));
28177 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED));
28178 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS));
28179 PyDict_SetItemString(d,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR));
28180 PyDict_SetItemString(d,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE));
28181 PyDict_SetItemString(d,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP));
28182 PyDict_SetItemString(d,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT));
28183 PyDict_SetItemString(d,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT));
28184 PyDict_SetItemString(d,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL));
28185 PyDict_SetItemString(d,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP));
28186 PyDict_SetItemString(d,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT));
28187 PyDict_SetItemString(d,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT));
28188 PyDict_SetItemString(d,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT));
28189 PyDict_SetItemString(d,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE));
28190 PyDict_SetItemString(d,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL));
28191 PyDict_SetItemString(d,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS));
28192 PyDict_SetItemString(d,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV));
28193 PyDict_SetItemString(d,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS));
28194 PyDict_SetItemString(d,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE));
28195 PyDict_SetItemString(d,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM));
28196 PyDict_SetItemString(d,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM));
28197 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
28198 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC));
28199 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC));
28200 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE));
28201 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
28202
28203 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28204
28205 PyDict_SetItemString(d,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1));
28206 PyDict_SetItemString(d,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2));
28207 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY));
28208 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1));
28209 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2));
28210 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3));
28211 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4));
28212 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
28213 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
28214 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
28215 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
28216 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC));
28217 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC));
28218 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP));
28219 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD));
28220 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE));
28221 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE));
28222 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME));
28223 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL));
28224 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
28225 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
28226 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
28227 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
28228 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
28229 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
28230 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
28231 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
28232 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
28233 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
28234 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
28235 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
28236 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
28237 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
28238 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
28239 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
28240 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
28241 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
28242 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
28243 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
28244 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
28245 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
28246 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
28247 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
28248 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
28249 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
28250 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28251 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28252 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28253 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28254 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28255 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28256 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28257 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28258 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28259 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28260 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28261 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28262 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28263
28264 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28265
28266 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28267 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28268 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28269 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28270 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown));
28271 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String));
28272 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean));
28273 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer));
28274 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float));
28275 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28276 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
28277 PyDict_SetItemString(d,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local));
28278 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12));
28279 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11));
28280 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10));
28281 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9));
28282 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8));
28283 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7));
28284 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6));
28285 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5));
28286 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4));
28287 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3));
28288 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2));
28289 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1));
28290 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0));
28291 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1));
28292 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2));
28293 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3));
28294 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4));
28295 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5));
28296 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6));
28297 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7));
28298 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8));
28299 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9));
28300 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10));
28301 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11));
28302 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12));
28303 PyDict_SetItemString(d,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET));
28304 PyDict_SetItemString(d,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST));
28305 PyDict_SetItemString(d,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET));
28306 PyDict_SetItemString(d,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST));
28307 PyDict_SetItemString(d,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET));
28308 PyDict_SetItemString(d,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST));
28309 PyDict_SetItemString(d,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK));
28310 PyDict_SetItemString(d,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD));
28311 PyDict_SetItemString(d,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST));
28312 PyDict_SetItemString(d,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT));
28313 PyDict_SetItemString(d,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST));
28314 PyDict_SetItemString(d,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT));
28315 PyDict_SetItemString(d,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST));
28316 PyDict_SetItemString(d,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT));
28317 PyDict_SetItemString(d,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST));
28318 PyDict_SetItemString(d,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT));
28319 PyDict_SetItemString(d,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST));
28320 PyDict_SetItemString(d,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT));
28321 PyDict_SetItemString(d,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST));
28322 PyDict_SetItemString(d,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST));
28323 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT));
28324 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST));
28325 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST));
28326 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST));
28327 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST));
28328 PyDict_SetItemString(d,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC));
28329 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian));
28330 PyDict_SetItemString(d,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian));
28331 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown));
28332 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard));
28333 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska));
28334 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania));
28335 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria));
28336 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28337 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28338 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28339 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28340 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria));
28341 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium));
28342 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria));
28343 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28344 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28345 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28346 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada));
28347 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China));
28348 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1));
28349 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2));
28350 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28351 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark));
28352 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt));
28353 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia));
28354 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland));
28355 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France));
28356 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace));
28357 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine));
28358 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28359 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany));
28360 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28361 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28362 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28363 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain));
28364 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece));
28365 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary));
28366 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland));
28367 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy));
28368 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan));
28369 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1));
28370 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2));
28371 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3));
28372 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia));
28373 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania));
28374 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg));
28375 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands));
28376 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28377 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28378 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28379 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28380 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway));
28381 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland));
28382 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal));
28383 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania));
28384 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia));
28385 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland));
28386 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain));
28387 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden));
28388 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland));
28389 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28390 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28391 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey));
28392 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA));
28393 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales));
28394 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia));
28395 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown));
28396 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default));
28397 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28398 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC));
28399 PyDict_SetItemString(d,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France));
28400 PyDict_SetItemString(d,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany));
28401 PyDict_SetItemString(d,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK));
28402 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End));
28403 PyDict_SetItemString(d,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia));
28404 PyDict_SetItemString(d,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA));
28405 PyDict_SetItemString(d,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan));
28406 PyDict_SetItemString(d,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb));
28407 PyDict_SetItemString(d,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar));
28408 PyDict_SetItemString(d,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr));
28409 PyDict_SetItemString(d,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May));
28410 PyDict_SetItemString(d,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun));
28411 PyDict_SetItemString(d,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul));
28412 PyDict_SetItemString(d,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug));
28413 PyDict_SetItemString(d,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep));
28414 PyDict_SetItemString(d,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct));
28415 PyDict_SetItemString(d,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov));
28416 PyDict_SetItemString(d,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec));
28417 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month));
28418 PyDict_SetItemString(d,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun));
28419 PyDict_SetItemString(d,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon));
28420 PyDict_SetItemString(d,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue));
28421 PyDict_SetItemString(d,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed));
28422 PyDict_SetItemString(d,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu));
28423 PyDict_SetItemString(d,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri));
28424 PyDict_SetItemString(d,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat));
28425 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay));
28426 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year));
28427 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full));
28428 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr));
28429 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First));
28430 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First));
28431 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First));
28432 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
28433 PyDict_SetItemString(d,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID));
28434 PyDict_SetItemString(d,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT));
28435 PyDict_SetItemString(d,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP));
28436 PyDict_SetItemString(d,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE));
28437 PyDict_SetItemString(d,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK));
28438 PyDict_SetItemString(d,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF));
28439 PyDict_SetItemString(d,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF));
28440 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT));
28441 PyDict_SetItemString(d,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB));
28442 PyDict_SetItemString(d,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE));
28443 PyDict_SetItemString(d,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA));
28444 PyDict_SetItemString(d,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF));
28445 PyDict_SetItemString(d,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE));
28446 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT));
28447 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE));
28448 PyDict_SetItemString(d,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME));
28449 PyDict_SetItemString(d,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE));
28450 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE));
28451 PyDict_SetItemString(d,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML));
28452 PyDict_SetItemString(d,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX));
28453 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
28454 PyDict_SetItemString(d,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get));
28455 PyDict_SetItemString(d,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set));
28456 PyDict_SetItemString(d,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both));
28457 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly));
28458 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove));
28459 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove));
28460 PyDict_SetItemString(d,"DragError", SWIG_PyObj_FromInt((int)wxDragError));
28461 PyDict_SetItemString(d,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone));
28462 PyDict_SetItemString(d,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy));
28463 PyDict_SetItemString(d,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove));
28464 PyDict_SetItemString(d,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink));
28465 PyDict_SetItemString(d,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel));
28466
28467 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28468 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28469 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28470 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28471
28472 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28473 }
28474