]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/misc_wrap.cpp
resolving conflicts in files I had forgot to commit (sorry)
[wxWidgets.git] / wxPython / src / msw / 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_wxMetafile swig_types[2]
236 #define SWIGTYPE_p_wxFileHistory swig_types[3]
237 #define SWIGTYPE_p_wxLog swig_types[4]
238 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
239 #define SWIGTYPE_p_wxMenu swig_types[6]
240 #define SWIGTYPE_p_wxEvent swig_types[7]
241 #define SWIGTYPE_p_wxConfigBase swig_types[8]
242 #define SWIGTYPE_p_wxFileType swig_types[9]
243 #define SWIGTYPE_p_wxLogGui swig_types[10]
244 #define SWIGTYPE_p_wxFont swig_types[11]
245 #define SWIGTYPE_p_wxDataFormat swig_types[12]
246 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
247 #define SWIGTYPE_p_wxCaret swig_types[14]
248 #define SWIGTYPE_p_int swig_types[15]
249 #define SWIGTYPE_p_wxSize swig_types[16]
250 #define SWIGTYPE_p_wxClipboard swig_types[17]
251 #define SWIGTYPE_p_wxStopWatch swig_types[18]
252 #define SWIGTYPE_p_wxDC swig_types[19]
253 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
254 #define SWIGTYPE_p_wxIcon swig_types[21]
255 #define SWIGTYPE_p_wxLogStderr swig_types[22]
256 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
257 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
258 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
259 #define SWIGTYPE_p_wxPyTextDataObject swig_types[26]
260 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
261 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
262 #define SWIGTYPE_p_wxDataObject swig_types[29]
263 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[30]
264 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
265 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
266 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
267 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
268 #define SWIGTYPE_p_wxSound swig_types[35]
269 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
270 #define SWIGTYPE_p_wxLogWindow swig_types[37]
271 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
272 #define SWIGTYPE_p_wxArrayString swig_types[39]
273 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
274 #define SWIGTYPE_p_wxToolTip swig_types[41]
275 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
276 #define SWIGTYPE_p_wxFileConfig swig_types[43]
277 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
278 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
280 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_char swig_types[49]
283 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[50]
284 #define SWIGTYPE_p_wxFileTypeInfo swig_types[51]
285 #define SWIGTYPE_p_wxFrame swig_types[52]
286 #define SWIGTYPE_p_wxTimer swig_types[53]
287 #define SWIGTYPE_p_wxMimeTypesManager swig_types[54]
288 #define SWIGTYPE_p_wxPyArtProvider swig_types[55]
289 #define SWIGTYPE_p_wxPyTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxTipProvider swig_types[57]
291 #define SWIGTYPE_p_wxJoystick swig_types[58]
292 #define SWIGTYPE_p_wxSystemOptions swig_types[59]
293 #define SWIGTYPE_p_wxPoint swig_types[60]
294 #define SWIGTYPE_p_wxJoystickEvent swig_types[61]
295 #define SWIGTYPE_p_wxCursor swig_types[62]
296 #define SWIGTYPE_p_wxObject swig_types[63]
297 #define SWIGTYPE_p_wxOutputStream swig_types[64]
298 #define SWIGTYPE_p_wxDateTime swig_types[65]
299 #define SWIGTYPE_p_wxPyDropSource swig_types[66]
300 #define SWIGTYPE_p_wxWindow swig_types[67]
301 #define SWIGTYPE_p_wxString swig_types[68]
302 #define SWIGTYPE_p_wxPyProcess swig_types[69]
303 #define SWIGTYPE_p_wxBitmap swig_types[70]
304 #define SWIGTYPE_p_wxConfig swig_types[71]
305 #define SWIGTYPE_p_wxChar swig_types[72]
306 #define SWIGTYPE_p_wxBusyInfo swig_types[73]
307 #define SWIGTYPE_p_wxPyDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[76]
310 #define SWIGTYPE_p_wxProcessEvent swig_types[77]
311 #define SWIGTYPE_p_wxPyLog swig_types[78]
312 #define SWIGTYPE_p_wxLogNull swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxByte swig_types[81]
315 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
316 #define SWIGTYPE_p_wxPyTimer swig_types[83]
317 #define SWIGTYPE_p_wxDateSpan swig_types[84]
318 static swig_type_info *swig_types[86];
319
320 /* -------- TYPES TABLE (END) -------- */
321
322
323 /*-----------------------------------------------
324 @(target):= _misc.so
325 ------------------------------------------------*/
326 #define SWIG_init init_misc
327
328 #define SWIG_name "_misc"
329
330 #include <limits.h>
331 #include <float.h>
332 #include <string.h>
333
334 #ifndef SWIGSTATIC
335 #ifdef __cplusplus
336 #define SWIGSTATIC(a) static inline a
337 #else
338 #define SWIGSTATIC(a) static a
339 #endif
340 #endif
341
342 #ifndef numeric_cast
343 #ifdef __cplusplus
344 #ifdef HAVE_NUMERIC_CAST
345 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #else
347 #define numeric_cast(type,a) static_cast<type>(a)
348 #endif
349 #else
350 #define numeric_cast(type,a) (type)(a)
351 #endif
352 #endif
353
354
355
356 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
358 #define SWIG_PyObj_FromShort PyInt_FromLong
359 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
360 #define SWIG_PyObj_FromInt PyInt_FromLong
361 #define SWIG_PyObj_FromLong PyInt_FromLong
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
364 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
365 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
366
367
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
370 #include "wx/wxPython/pyistream.h"
371
372
373 static const wxString wxPyEmptyString(wxEmptyString);
374
375
376
377 SWIGSTATIC(int)
378 SWIG_PyObj_AsInt(PyObject *obj)
379 {
380 return numeric_cast(int,
381 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
382 }
383
384 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
385 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
386 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
387
388 SWIGSTATIC(long)
389 SWIG_PyObj_AsLong(PyObject * obj)
390 {
391 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
392 }
393
394
395 SWIGSTATIC(bool)
396 SWIG_PyObj_AsBool(PyObject *obj)
397 {
398 return PyObject_IsTrue(obj) ? true : false;
399 }
400
401
402 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
403 PyObject* o2;
404 PyObject* o3;
405
406 if (!target) {
407 target = o;
408 } else if (target == Py_None) {
409 Py_DECREF(Py_None);
410 target = o;
411 } else {
412 if (!PyTuple_Check(target)) {
413 o2 = target;
414 target = PyTuple_New(1);
415 PyTuple_SetItem(target, 0, o2);
416 }
417 o3 = PyTuple_New(1);
418 PyTuple_SetItem(o3, 0, o);
419
420 o2 = target;
421 target = PySequence_Concat(o2, o3);
422 Py_DECREF(o2);
423 Py_DECREF(o3);
424 }
425 return target;
426 }
427
428
429 SWIGSTATIC(PyObject* )
430 SWIG_PyObj_FromUnsignedLong(unsigned long value)
431 {
432 return (value > (unsigned long)(LONG_MAX)) ?
433 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
434 }
435
436
437 bool wxThread_IsMain() {
438 #ifdef WXP_WITH_THREAD
439 return wxThread::IsMain();
440 #else
441 return True;
442 #endif
443 }
444
445
446 int wxCaret_GetBlinkTime() {
447 return wxCaret::GetBlinkTime();
448 }
449
450 void wxCaret_SetBlinkTime(int milliseconds) {
451 wxCaret::SetBlinkTime(milliseconds);
452 }
453
454
455 #include <wx/snglinst.h>
456
457
458 #ifdef __WXMSW__
459 #include <wx/msw/private.h>
460 #include <wx/dynload.h>
461 #endif
462
463
464
465 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
466 {
467 #ifdef __WXMSW__
468
469 switch (method)
470 {
471 case 1:
472 // This one only partially works. Appears to be an undocumented
473 // "standard" convention that not all widgets adhear to. For
474 // example, for some widgets backgrounds or non-client areas may
475 // not be painted.
476 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
477 break;
478
479 case 2:
480 // This one works much better, except for on XP. On Win2k nearly
481 // all widgets and their children are captured correctly[**]. On
482 // XP with Themes activated most native widgets draw only
483 // partially, if at all. Without themes it works just like on
484 // Win2k.
485 //
486 // ** For example the radio buttons in a wxRadioBox are not its
487 // children by default, but you can capture it via the panel
488 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
489 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
490 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
491 PRF_ERASEBKGND | PRF_OWNED );
492 break;
493
494 case 3:
495 // This one is only defined in the latest SDK and is only
496 // available on XP. MSDN says it is similar to sending WM_PRINT
497 // so I expect that it will work similar to the above. Since it
498 // is avaialble only on XP, it can't be compiled like this and
499 // will have to be loaded dynamically.
500 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
501
502 // fall through
503
504 case 4:
505 // Use PrintWindow if available, or fallback to WM_PRINT
506 // otherwise. Unfortunately using PrintWindow is even worse than
507 // WM_PRINT. For most native widgets nothing is drawn to the dc
508 // at all, with or without Themes.
509 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
510 static bool s_triedToLoad = False;
511 static PrintWindow_t pfnPrintWindow = NULL;
512 if ( !s_triedToLoad )
513 {
514
515 s_triedToLoad = True;
516 wxDynamicLibrary dllUser32(_T("user32.dll"));
517 if ( dllUser32.IsLoaded() )
518 {
519 wxLogNull nolog; // Don't report errors here
520 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
521 }
522 }
523 if (pfnPrintWindow)
524 {
525 printf("Using PrintWindow\n");
526 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
527 }
528 else
529 {
530 printf("Using WM_PRINT\n");
531 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
532 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
533 }
534 }
535 #endif
536 }
537
538
539
540 #include <wx/tipdlg.h>
541
542
543 class wxPyTipProvider : public wxTipProvider {
544 public:
545 wxPyTipProvider(size_t currentTip)
546 : wxTipProvider(currentTip) {}
547
548 DEC_PYCALLBACK_STRING__pure(GetTip);
549 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
550 PYPRIVATE;
551 };
552
553 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
554 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
555
556
557 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
558
559
560 SWIGSTATIC(unsigned int)
561 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
562 {
563 return numeric_cast(unsigned int,
564 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
565 }
566
567 wxString Log_TimeStamp(){
568 wxString msg;
569 wxLog::TimeStamp(&msg);
570 return msg;
571 }
572 void wxLog_Destroy(wxLog *self){ delete self; }
573
574 // A wxLog class that can be derived from in wxPython
575 class wxPyLog : public wxLog {
576 public:
577 wxPyLog() : wxLog() {}
578
579 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
580 bool found;
581 wxPyBeginBlockThreads();
582 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
583 PyObject* s = wx2PyString(szString);
584 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
585 Py_DECREF(s);
586 }
587 wxPyEndBlockThreads();
588 if (! found)
589 wxLog::DoLog(level, szString, t);
590 }
591
592 virtual void DoLogString(const wxChar *szString, time_t t) {
593 bool found;
594 wxPyBeginBlockThreads();
595 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
596 PyObject* s = wx2PyString(szString);
597 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
598 Py_DECREF(s);
599 }
600 wxPyEndBlockThreads();
601 if (! found)
602 wxLog::DoLogString(szString, t);
603 }
604
605 PYPRIVATE;
606 };
607
608
609
610
611 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
612
613
614 #include <wx/joystick.h>
615
616
617 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
618 // A C++ stub class for wxJoystick for platforms that don't have it.
619 class wxJoystick : public wxObject {
620 public:
621 wxJoystick(int joystick = wxJOYSTICK1) {
622 wxPyBeginBlockThreads();
623 PyErr_SetString(PyExc_NotImplementedError,
624 "wxJoystick is not available on this platform.");
625 wxPyEndBlockThreads();
626 }
627 wxPoint GetPosition() { return wxPoint(-1,-1); }
628 int GetZPosition() { return -1; }
629 int GetButtonState() { return -1; }
630 int GetPOVPosition() { return -1; }
631 int GetPOVCTSPosition() { return -1; }
632 int GetRudderPosition() { return -1; }
633 int GetUPosition() { return -1; }
634 int GetVPosition() { return -1; }
635 int GetMovementThreshold() { return -1; }
636 void SetMovementThreshold(int threshold) {}
637
638 bool IsOk(void) { return False; }
639 int GetNumberJoysticks() { return -1; }
640 int GetManufacturerId() { return -1; }
641 int GetProductId() { return -1; }
642 wxString GetProductName() { return ""; }
643 int GetXMin() { return -1; }
644 int GetYMin() { return -1; }
645 int GetZMin() { return -1; }
646 int GetXMax() { return -1; }
647 int GetYMax() { return -1; }
648 int GetZMax() { return -1; }
649 int GetNumberButtons() { return -1; }
650 int GetNumberAxes() { return -1; }
651 int GetMaxButtons() { return -1; }
652 int GetMaxAxes() { return -1; }
653 int GetPollingMin() { return -1; }
654 int GetPollingMax() { return -1; }
655 int GetRudderMin() { return -1; }
656 int GetRudderMax() { return -1; }
657 int GetUMin() { return -1; }
658 int GetUMax() { return -1; }
659 int GetVMin() { return -1; }
660 int GetVMax() { return -1; }
661
662 bool HasRudder() { return False; }
663 bool HasZ() { return False; }
664 bool HasU() { return False; }
665 bool HasV() { return False; }
666 bool HasPOV() { return False; }
667 bool HasPOV4Dir() { return False; }
668 bool HasPOVCTS() { return False; }
669
670 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
671 bool ReleaseCapture() { return False; }
672 };
673 #endif
674
675
676 #include <wx/sound.h>
677
678
679 #if !wxUSE_SOUND
680 // A C++ stub class for wxWave for platforms that don't have it.
681 class wxSound : public wxObject
682 {
683 public:
684 wxSound() {
685 wxPyBeginBlockThreads();
686 PyErr_SetString(PyExc_NotImplementedError,
687 "wxSound is not available on this platform.");
688 wxPyEndBlockThreads();
689 }
690 wxSound(const wxString&, bool) {
691 wxPyBeginBlockThreads();
692 PyErr_SetString(PyExc_NotImplementedError,
693 "wxSound is not available on this platform.");
694 wxPyEndBlockThreads();
695 }
696 wxSound(int, const wxByte*) {
697 wxPyBeginBlockThreads();
698 PyErr_SetString(PyExc_NotImplementedError,
699 "wxSound is not available on this platform.");
700 wxPyEndBlockThreads();
701 }
702
703 ~wxSound() {};
704
705 bool Create(const wxString&, bool) { return false; }
706 bool Create(int, const wxByte*) { return false; };
707 bool IsOk() { return false; };
708 bool Play(unsigned) const { return false; }
709 static bool Play(const wxString&, unsigned) { return false; }
710 static void Stop() {}
711 };
712
713 #endif
714
715
716 #include <wx/mimetype.h>
717
718 PyObject *wxFileType_GetMimeType(wxFileType *self){
719 wxString str;
720 if (self->GetMimeType(&str))
721 return wx2PyString(str);
722 else
723 RETURN_NONE();
724 }
725 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
726 wxArrayString arr;
727 if (self->GetMimeTypes(arr))
728 return wxArrayString2PyList_helper(arr);
729 else
730 RETURN_NONE();
731 }
732 PyObject *wxFileType_GetExtensions(wxFileType *self){
733 wxArrayString arr;
734 if (self->GetExtensions(arr))
735 return wxArrayString2PyList_helper(arr);
736 else
737 RETURN_NONE();
738 }
739 wxIcon *wxFileType_GetIcon(wxFileType *self){
740 wxIconLocation loc;
741 if (self->GetIcon(&loc))
742 return new wxIcon(loc);
743 else
744 return NULL;
745 }
746 PyObject *wxFileType_GetIconInfo(wxFileType *self){
747 wxIconLocation loc;
748 if (self->GetIcon(&loc)) {
749 wxString iconFile = loc.GetFileName();
750 int iconIndex = -1;
751
752 iconIndex = loc.GetIndex();
753
754 // Make a tuple and put the values in it
755 wxPyBeginBlockThreads();
756 PyObject* tuple = PyTuple_New(3);
757 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
758 wxT("wxIcon"), True));
759 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
760 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
761 wxPyEndBlockThreads();
762 return tuple;
763 }
764 else
765 RETURN_NONE();
766 }
767 PyObject *wxFileType_GetDescription(wxFileType *self){
768 wxString str;
769 if (self->GetDescription(&str))
770 return wx2PyString(str);
771 else
772 RETURN_NONE();
773 }
774 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
775 wxString str;
776 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
777 return wx2PyString(str);
778 else
779 RETURN_NONE();
780 }
781 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
782 wxString str;
783 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
784 return wx2PyString(str);
785 else
786 RETURN_NONE();
787 }
788 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
789 wxArrayString verbs;
790 wxArrayString commands;
791 if (self->GetAllCommands(&verbs, &commands,
792 wxFileType::MessageParameters(filename, mimetype))) {
793 wxPyBeginBlockThreads();
794 PyObject* tuple = PyTuple_New(2);
795 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
796 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
797 wxPyEndBlockThreads();
798 return tuple;
799 }
800 else
801 RETURN_NONE();
802 }
803 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
804 return wxFileType::ExpandCommand(command,
805 wxFileType::MessageParameters(filename, mimetype));
806 }
807 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
808 wxArrayString arr;
809 self->EnumAllFileTypes(arr);
810 return wxArrayString2PyList_helper(arr);
811 }
812
813 #include <wx/artprov.h>
814
815 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
816 static const wxString wxPyART_MENU(wxART_MENU);
817 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
818 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
819 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
820 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
821 static const wxString wxPyART_OTHER(wxART_OTHER);
822 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
823 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
824 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
825 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
826 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
827 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
828 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
829 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
830 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
831 static const wxString wxPyART_GO_UP(wxART_GO_UP);
832 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
833 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
834 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
835 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
836 static const wxString wxPyART_PRINT(wxART_PRINT);
837 static const wxString wxPyART_HELP(wxART_HELP);
838 static const wxString wxPyART_TIP(wxART_TIP);
839 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
840 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
841 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
842 static const wxString wxPyART_FOLDER(wxART_FOLDER);
843 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
844 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
845 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
846 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
847 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
848 static const wxString wxPyART_ERROR(wxART_ERROR);
849 static const wxString wxPyART_QUESTION(wxART_QUESTION);
850 static const wxString wxPyART_WARNING(wxART_WARNING);
851 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
852 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
853 // Python aware wxArtProvider
854 class wxPyArtProvider : public wxArtProvider {
855 public:
856
857 virtual wxBitmap CreateBitmap(const wxArtID& id,
858 const wxArtClient& client,
859 const wxSize& size) {
860 wxBitmap rval = wxNullBitmap;
861 wxPyBeginBlockThreads();
862 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
863 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
864 PyObject* ro;
865 wxBitmap* ptr;
866 PyObject* s1, *s2;
867 s1 = wx2PyString(id);
868 s2 = wx2PyString(client);
869 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
870 Py_DECREF(so);
871 Py_DECREF(s1);
872 Py_DECREF(s2);
873 if (ro) {
874 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
875 rval = *ptr;
876 Py_DECREF(ro);
877 }
878 }
879 wxPyEndBlockThreads();
880 return rval;
881 }
882
883 PYPRIVATE;
884 };
885
886 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
887
888
889
890 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
891 PyObject* ret = PyTuple_New(3);
892 if (ret) {
893 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
894 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
895 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
896 }
897 return ret;
898 }
899
900 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
901 bool cont;
902 long index = 0;
903 wxString value;
904
905 cont = self->GetFirstGroup(value, index);
906 return __EnumerationHelper(cont, value, index);
907 }
908 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
909 bool cont;
910 wxString value;
911
912 cont = self->GetNextGroup(value, index);
913 return __EnumerationHelper(cont, value, index);
914 }
915 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
916 bool cont;
917 long index = 0;
918 wxString value;
919
920 cont = self->GetFirstEntry(value, index);
921 return __EnumerationHelper(cont, value, index);
922 }
923 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
924 bool cont;
925 wxString value;
926
927 cont = self->GetNextEntry(value, index);
928 return __EnumerationHelper(cont, value, index);
929 }
930 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
931 long rv;
932 self->Read(key, &rv, defaultVal);
933 return rv;
934 }
935
936 SWIGSTATIC(double)
937 SWIG_PyObj_AsDouble(PyObject *obj)
938 {
939 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
940 #if HAVE_LONG_LONG
941 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
942 #else
943 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
944 #endif
945 if (PyErr_Occurred()) {
946 PyErr_Clear();
947 PyErr_SetString(PyExc_TypeError, "a double is expected");
948 }
949 }
950
951 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
952 double rv;
953 self->Read(key, &rv, defaultVal);
954 return rv;
955 }
956 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
957 bool rv;
958 self->Read(key, &rv, defaultVal);
959 return rv;
960 }
961
962 #include <wx/datetime.h>
963
964
965 static const wxString wxPyDateFormatStr(wxT("%c"));
966 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
967
968 #define LOCAL_TZ wxDateTime::Local
969
970
971 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
972
973 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
974 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
975 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
976 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
977 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
978 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
979 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
980 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
981 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
982 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
983 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
984 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
985 const wxChar* rv;
986 const wxChar* _date = date;
987 rv = self->ParseRfc822Date(_date);
988 if (rv == NULL) return -1;
989 return rv - _date;
990 }
991 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
992 const wxChar* rv;
993 const wxChar* _date = date;
994 rv = self->ParseFormat(_date, format, dateDef);
995 if (rv == NULL) return -1;
996 return rv - _date;
997 }
998 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
999 const wxChar* rv;
1000 const wxChar* _datetime = datetime;
1001 rv = self->ParseDateTime(_datetime);
1002 if (rv == NULL) return -1;
1003 return rv - _datetime;
1004 }
1005 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1006 const wxChar* rv;
1007 const wxChar* _date = date;
1008 rv = self->ParseDate(_date);
1009 if (rv == NULL) return -1;
1010 return rv - _date;
1011 }
1012 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1013 const wxChar* rv;
1014 const wxChar* _time = time;
1015 rv = self->ParseTime(_time);
1016 if (rv == NULL) return -1;
1017 return rv - _time;
1018 }
1019 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1020 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1021 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1022 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1023 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
1024 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
1025 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
1026 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
1027 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
1028 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
1029 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1030 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1031 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1032 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1033 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
1034 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
1035
1036 #include <wx/dataobj.h>
1037
1038 // Create a new class for wxPython to use
1039 class wxPyDataObjectSimple : public wxDataObjectSimple {
1040 public:
1041 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1042 : wxDataObjectSimple(format) {}
1043
1044 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1045 bool GetDataHere(void *buf) const;
1046 bool SetData(size_t len, const void *buf) const;
1047 PYPRIVATE;
1048 };
1049
1050 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1051
1052 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1053 // We need to get the data for this object and write it to buf. I think
1054 // the best way to do this for wxPython is to have the Python method
1055 // return either a string or None and then act appropriately with the
1056 // C++ version.
1057
1058 bool rval = False;
1059 wxPyBeginBlockThreads();
1060 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1061 PyObject* ro;
1062 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1063 if (ro) {
1064 rval = (ro != Py_None && PyString_Check(ro));
1065 if (rval)
1066 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1067 Py_DECREF(ro);
1068 }
1069 }
1070 wxPyEndBlockThreads();
1071 return rval;
1072 }
1073
1074 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1075 // For this one we simply need to make a string from buf and len
1076 // and send it to the Python method.
1077 bool rval = False;
1078 wxPyBeginBlockThreads();
1079 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1080 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1081 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1082 Py_DECREF(data);
1083 }
1084 wxPyEndBlockThreads();
1085 return rval;
1086 }
1087
1088 // Create a new class for wxPython to use
1089 class wxPyTextDataObject : public wxTextDataObject {
1090 public:
1091 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1092 : wxTextDataObject(text) {}
1093
1094 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1095 DEC_PYCALLBACK_STRING__const(GetText);
1096 DEC_PYCALLBACK__STRING(SetText);
1097 PYPRIVATE;
1098 };
1099
1100 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1101 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1102 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1103
1104
1105 // Create a new class for wxPython to use
1106 class wxPyBitmapDataObject : public wxBitmapDataObject {
1107 public:
1108 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1109 : wxBitmapDataObject(bitmap) {}
1110
1111 wxBitmap GetBitmap() const;
1112 void SetBitmap(const wxBitmap& bitmap);
1113 PYPRIVATE;
1114 };
1115
1116 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1117 wxBitmap* rval = &wxNullBitmap;
1118 wxPyBeginBlockThreads();
1119 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1120 PyObject* ro;
1121 wxBitmap* ptr;
1122 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1123 if (ro) {
1124 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1125 rval = ptr;
1126 Py_DECREF(ro);
1127 }
1128 }
1129 wxPyEndBlockThreads();
1130 return *rval;
1131 }
1132
1133 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1134 wxPyBeginBlockThreads();
1135 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1136 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1137 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1138 Py_DECREF(bo);
1139 }
1140 wxPyEndBlockThreads();
1141 }
1142
1143 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1144 if (PyString_Check(data)) {
1145 // for Python we just call SetData here since we always need it to make a copy.
1146 self->SetData(PyString_Size(data), PyString_AsString(data));
1147 }
1148 else {
1149 // raise a TypeError if not a string
1150 PyErr_SetString(PyExc_TypeError, "String expected.");
1151 }
1152 }
1153 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1154 if (PyString_Check(data)) {
1155 return self->SetData(PyString_Size(data), PyString_AsString(data));
1156 }
1157 else {
1158 // raise a TypeError if not a string
1159 PyErr_SetString(PyExc_TypeError, "String expected.");
1160 return False;
1161 }
1162 }
1163 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1164 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1165 }
1166
1167 #include <wx/metafile.h>
1168
1169
1170 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1171
1172
1173 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1174 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1175 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1176 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1177 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1178
1179
1180 class wxPyTextDropTarget : public wxTextDropTarget {
1181 public:
1182 wxPyTextDropTarget() {}
1183
1184 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1185
1186 DEC_PYCALLBACK__(OnLeave);
1187 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1188 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1189 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1190 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1191
1192 PYPRIVATE;
1193 };
1194
1195 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1196 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1197 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1198 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1199 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1200 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1201
1202
1203
1204 class wxPyFileDropTarget : public wxFileDropTarget {
1205 public:
1206 wxPyFileDropTarget() {}
1207
1208 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1209
1210 DEC_PYCALLBACK__(OnLeave);
1211 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1212 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1213 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1214 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1215
1216 PYPRIVATE;
1217 };
1218
1219 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1220 const wxArrayString& filenames) {
1221 bool rval = False;
1222 wxPyBeginBlockThreads();
1223 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1224 PyObject* list = wxArrayString2PyList_helper(filenames);
1225 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1226 Py_DECREF(list);
1227 }
1228 wxPyEndBlockThreads();
1229 return rval;
1230 }
1231
1232
1233
1234 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1235 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1236 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1237 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1238 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1239
1240
1241
1242
1243 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1244 #ifdef __cplusplus
1245 extern "C" {
1246 #endif
1247 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 int arg1 ;
1250 wxColour result;
1251 PyObject * obj0 = 0 ;
1252 char *kwnames[] = {
1253 (char *) "index", NULL
1254 };
1255
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1257 {
1258 arg1 = (wxSystemColour) SWIG_PyObj_AsInt(obj0);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 {
1262 PyThreadState* __tstate = wxPyBeginAllowThreads();
1263 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1264
1265 wxPyEndAllowThreads(__tstate);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 }
1268 {
1269 wxColour * resultptr;
1270 resultptr = new wxColour((wxColour &) result);
1271 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1272 }
1273 return resultobj;
1274 fail:
1275 return NULL;
1276 }
1277
1278
1279 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1280 PyObject *resultobj;
1281 int arg1 ;
1282 wxFont result;
1283 PyObject * obj0 = 0 ;
1284 char *kwnames[] = {
1285 (char *) "index", NULL
1286 };
1287
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1289 {
1290 arg1 = (wxSystemFont) SWIG_PyObj_AsInt(obj0);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 {
1301 wxFont * resultptr;
1302 resultptr = new wxFont((wxFont &) result);
1303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1304 }
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 int arg1 ;
1314 int result;
1315 PyObject * obj0 = 0 ;
1316 char *kwnames[] = {
1317 (char *) "index", NULL
1318 };
1319
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1321 {
1322 arg1 = (wxSystemMetric) SWIG_PyObj_AsInt(obj0);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 {
1326 PyThreadState* __tstate = wxPyBeginAllowThreads();
1327 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1328
1329 wxPyEndAllowThreads(__tstate);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 }
1332 resultobj = SWIG_PyObj_FromInt((int)result);
1333 return resultobj;
1334 fail:
1335 return NULL;
1336 }
1337
1338
1339 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1340 PyObject *resultobj;
1341 int arg1 ;
1342 bool result;
1343 PyObject * obj0 = 0 ;
1344 char *kwnames[] = {
1345 (char *) "index", NULL
1346 };
1347
1348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1349 {
1350 arg1 = (wxSystemFeature) SWIG_PyObj_AsInt(obj0);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 }
1353 {
1354 PyThreadState* __tstate = wxPyBeginAllowThreads();
1355 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1356
1357 wxPyEndAllowThreads(__tstate);
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1361 return resultobj;
1362 fail:
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 int result;
1370 char *kwnames[] = {
1371 NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1375 {
1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
1377 result = (int)wxSystemSettings::GetScreenType();
1378
1379 wxPyEndAllowThreads(__tstate);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 resultobj = SWIG_PyObj_FromInt((int)result);
1383 return resultobj;
1384 fail:
1385 return NULL;
1386 }
1387
1388
1389 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1390 PyObject *resultobj;
1391 int arg1 ;
1392 PyObject * obj0 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "screen", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1398 {
1399 arg1 = (wxSystemScreenType) SWIG_PyObj_AsInt(obj0);
1400 if (PyErr_Occurred()) SWIG_fail;
1401 }
1402 {
1403 PyThreadState* __tstate = wxPyBeginAllowThreads();
1404 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1405
1406 wxPyEndAllowThreads(__tstate);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 }
1409 Py_INCREF(Py_None); resultobj = Py_None;
1410 return resultobj;
1411 fail:
1412 return NULL;
1413 }
1414
1415
1416 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1417 PyObject *obj;
1418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1419 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1420 Py_INCREF(obj);
1421 return Py_BuildValue((char *)"");
1422 }
1423 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1424 PyObject *resultobj;
1425 wxSystemOptions *result;
1426 char *kwnames[] = {
1427 NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1431 {
1432 PyThreadState* __tstate = wxPyBeginAllowThreads();
1433 result = (wxSystemOptions *)new wxSystemOptions();
1434
1435 wxPyEndAllowThreads(__tstate);
1436 if (PyErr_Occurred()) SWIG_fail;
1437 }
1438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1439 return resultobj;
1440 fail:
1441 return NULL;
1442 }
1443
1444
1445 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxString *arg1 = 0 ;
1448 wxString *arg2 = 0 ;
1449 bool temp1 = False ;
1450 bool temp2 = False ;
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "name",(char *) "value", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1458 {
1459 arg1 = wxString_in_helper(obj0);
1460 if (arg1 == NULL) SWIG_fail;
1461 temp1 = True;
1462 }
1463 {
1464 arg2 = wxString_in_helper(obj1);
1465 if (arg2 == NULL) SWIG_fail;
1466 temp2 = True;
1467 }
1468 {
1469 PyThreadState* __tstate = wxPyBeginAllowThreads();
1470 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1471
1472 wxPyEndAllowThreads(__tstate);
1473 if (PyErr_Occurred()) SWIG_fail;
1474 }
1475 Py_INCREF(Py_None); resultobj = Py_None;
1476 {
1477 if (temp1)
1478 delete arg1;
1479 }
1480 {
1481 if (temp2)
1482 delete arg2;
1483 }
1484 return resultobj;
1485 fail:
1486 {
1487 if (temp1)
1488 delete arg1;
1489 }
1490 {
1491 if (temp2)
1492 delete arg2;
1493 }
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxString *arg1 = 0 ;
1501 int arg2 ;
1502 bool temp1 = False ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "name",(char *) "value", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1510 {
1511 arg1 = wxString_in_helper(obj0);
1512 if (arg1 == NULL) SWIG_fail;
1513 temp1 = True;
1514 }
1515 {
1516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1517 if (PyErr_Occurred()) SWIG_fail;
1518 }
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 Py_INCREF(Py_None); resultobj = Py_None;
1527 {
1528 if (temp1)
1529 delete arg1;
1530 }
1531 return resultobj;
1532 fail:
1533 {
1534 if (temp1)
1535 delete arg1;
1536 }
1537 return NULL;
1538 }
1539
1540
1541 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1542 PyObject *resultobj;
1543 wxString *arg1 = 0 ;
1544 wxString result;
1545 bool temp1 = False ;
1546 PyObject * obj0 = 0 ;
1547 char *kwnames[] = {
1548 (char *) "name", NULL
1549 };
1550
1551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1552 {
1553 arg1 = wxString_in_helper(obj0);
1554 if (arg1 == NULL) SWIG_fail;
1555 temp1 = True;
1556 }
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 {
1565 #if wxUSE_UNICODE
1566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1567 #else
1568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1569 #endif
1570 }
1571 {
1572 if (temp1)
1573 delete arg1;
1574 }
1575 return resultobj;
1576 fail:
1577 {
1578 if (temp1)
1579 delete arg1;
1580 }
1581 return NULL;
1582 }
1583
1584
1585 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxString *arg1 = 0 ;
1588 int result;
1589 bool temp1 = False ;
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "name", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1596 {
1597 arg1 = wxString_in_helper(obj0);
1598 if (arg1 == NULL) SWIG_fail;
1599 temp1 = True;
1600 }
1601 {
1602 PyThreadState* __tstate = wxPyBeginAllowThreads();
1603 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1604
1605 wxPyEndAllowThreads(__tstate);
1606 if (PyErr_Occurred()) SWIG_fail;
1607 }
1608 resultobj = SWIG_PyObj_FromInt((int)result);
1609 {
1610 if (temp1)
1611 delete arg1;
1612 }
1613 return resultobj;
1614 fail:
1615 {
1616 if (temp1)
1617 delete arg1;
1618 }
1619 return NULL;
1620 }
1621
1622
1623 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1624 PyObject *resultobj;
1625 wxString *arg1 = 0 ;
1626 bool result;
1627 bool temp1 = False ;
1628 PyObject * obj0 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "name", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1634 {
1635 arg1 = wxString_in_helper(obj0);
1636 if (arg1 == NULL) SWIG_fail;
1637 temp1 = True;
1638 }
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1647 {
1648 if (temp1)
1649 delete arg1;
1650 }
1651 return resultobj;
1652 fail:
1653 {
1654 if (temp1)
1655 delete arg1;
1656 }
1657 return NULL;
1658 }
1659
1660
1661 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1662 PyObject *obj;
1663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1664 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1665 Py_INCREF(obj);
1666 return Py_BuildValue((char *)"");
1667 }
1668 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
1669 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1670 return 1;
1671 }
1672
1673
1674 static PyObject *_wrap_FileSelectorPromptStr_get() {
1675 PyObject *pyobj;
1676
1677 {
1678 #if wxUSE_UNICODE
1679 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1680 #else
1681 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1682 #endif
1683 }
1684 return pyobj;
1685 }
1686
1687
1688 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
1689 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1690 return 1;
1691 }
1692
1693
1694 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1695 PyObject *pyobj;
1696
1697 {
1698 #if wxUSE_UNICODE
1699 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1700 #else
1701 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1702 #endif
1703 }
1704 return pyobj;
1705 }
1706
1707
1708 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
1709 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1710 return 1;
1711 }
1712
1713
1714 static PyObject *_wrap_DirSelectorPromptStr_get() {
1715 PyObject *pyobj;
1716
1717 {
1718 #if wxUSE_UNICODE
1719 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1720 #else
1721 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1722 #endif
1723 }
1724 return pyobj;
1725 }
1726
1727
1728 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1729 PyObject *resultobj;
1730 long result;
1731 char *kwnames[] = {
1732 NULL
1733 };
1734
1735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 result = (long)wxNewId();
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) SWIG_fail;
1742 }
1743 resultobj = SWIG_PyObj_FromLong((long)result);
1744 return resultobj;
1745 fail:
1746 return NULL;
1747 }
1748
1749
1750 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1751 PyObject *resultobj;
1752 long arg1 ;
1753 PyObject * obj0 = 0 ;
1754 char *kwnames[] = {
1755 (char *) "id", NULL
1756 };
1757
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1759 {
1760 arg1 = (long) SWIG_PyObj_AsLong(obj0);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 {
1764 PyThreadState* __tstate = wxPyBeginAllowThreads();
1765 wxRegisterId(arg1);
1766
1767 wxPyEndAllowThreads(__tstate);
1768 if (PyErr_Occurred()) SWIG_fail;
1769 }
1770 Py_INCREF(Py_None); resultobj = Py_None;
1771 return resultobj;
1772 fail:
1773 return NULL;
1774 }
1775
1776
1777 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1778 PyObject *resultobj;
1779 long result;
1780 char *kwnames[] = {
1781 NULL
1782 };
1783
1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1785 {
1786 PyThreadState* __tstate = wxPyBeginAllowThreads();
1787 result = (long)wxGetCurrentId();
1788
1789 wxPyEndAllowThreads(__tstate);
1790 if (PyErr_Occurred()) SWIG_fail;
1791 }
1792 resultobj = SWIG_PyObj_FromLong((long)result);
1793 return resultobj;
1794 fail:
1795 return NULL;
1796 }
1797
1798
1799 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 char *kwnames[] = {
1802 NULL
1803 };
1804
1805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1806 {
1807 PyThreadState* __tstate = wxPyBeginAllowThreads();
1808 wxBell();
1809
1810 wxPyEndAllowThreads(__tstate);
1811 if (PyErr_Occurred()) SWIG_fail;
1812 }
1813 Py_INCREF(Py_None); resultobj = Py_None;
1814 return resultobj;
1815 fail:
1816 return NULL;
1817 }
1818
1819
1820 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject *resultobj;
1822 char *kwnames[] = {
1823 NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 wxEndBusyCursor();
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 Py_INCREF(Py_None); resultobj = Py_None;
1835 return resultobj;
1836 fail:
1837 return NULL;
1838 }
1839
1840
1841 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject *resultobj;
1843 bool arg1 = (bool) True ;
1844 long result;
1845 PyObject * obj0 = 0 ;
1846 char *kwnames[] = {
1847 (char *) "resetTimer", NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1851 if (obj0) {
1852 {
1853 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 }
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (long)wxGetElapsedTime(arg1);
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 resultobj = SWIG_PyObj_FromLong((long)result);
1865 return resultobj;
1866 fail:
1867 return NULL;
1868 }
1869
1870
1871 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject *resultobj;
1873 int *arg1 = (int *) 0 ;
1874 int *arg2 = (int *) 0 ;
1875 int temp1 ;
1876 int temp2 ;
1877 char *kwnames[] = {
1878 NULL
1879 };
1880
1881 arg1 = &temp1;
1882 arg2 = &temp2;
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 wxGetMousePosition(arg1,arg2);
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 Py_INCREF(Py_None); resultobj = Py_None;
1892 {
1893 PyObject *o = PyInt_FromLong((long) (*arg1));
1894 resultobj = t_output_helper(resultobj,o);
1895 }
1896 {
1897 PyObject *o = PyInt_FromLong((long) (*arg2));
1898 resultobj = t_output_helper(resultobj,o);
1899 }
1900 return resultobj;
1901 fail:
1902 return NULL;
1903 }
1904
1905
1906 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 bool result;
1909 char *kwnames[] = {
1910 NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 result = (bool)wxIsBusy();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1922 return resultobj;
1923 fail:
1924 return NULL;
1925 }
1926
1927
1928 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxString result;
1931 char *kwnames[] = {
1932 NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = wxNow();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 {
1944 #if wxUSE_UNICODE
1945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1946 #else
1947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1948 #endif
1949 }
1950 return resultobj;
1951 fail:
1952 return NULL;
1953 }
1954
1955
1956 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1957 PyObject *resultobj;
1958 wxString const &arg1_defvalue = wxPyEmptyString ;
1959 wxString *arg1 = (wxString *) &arg1_defvalue ;
1960 bool result;
1961 bool temp1 = False ;
1962 PyObject * obj0 = 0 ;
1963 char *kwnames[] = {
1964 (char *) "command", NULL
1965 };
1966
1967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1968 if (obj0) {
1969 {
1970 arg1 = wxString_in_helper(obj0);
1971 if (arg1 == NULL) SWIG_fail;
1972 temp1 = True;
1973 }
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (bool)wxShell((wxString const &)*arg1);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1983 {
1984 if (temp1)
1985 delete arg1;
1986 }
1987 return resultobj;
1988 fail:
1989 {
1990 if (temp1)
1991 delete arg1;
1992 }
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 char *kwnames[] = {
2000 NULL
2001 };
2002
2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2004 {
2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
2006 wxStartTimer();
2007
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) SWIG_fail;
2010 }
2011 Py_INCREF(Py_None); resultobj = Py_None;
2012 return resultobj;
2013 fail:
2014 return NULL;
2015 }
2016
2017
2018 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2019 PyObject *resultobj;
2020 int *arg1 = (int *) 0 ;
2021 int *arg2 = (int *) 0 ;
2022 int result;
2023 int temp1 ;
2024 int temp2 ;
2025 char *kwnames[] = {
2026 NULL
2027 };
2028
2029 arg1 = &temp1;
2030 arg2 = &temp2;
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (int)wxGetOsVersion(arg1,arg2);
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = SWIG_PyObj_FromInt((int)result);
2040 {
2041 PyObject *o = PyInt_FromLong((long) (*arg1));
2042 resultobj = t_output_helper(resultobj,o);
2043 }
2044 {
2045 PyObject *o = PyInt_FromLong((long) (*arg2));
2046 resultobj = t_output_helper(resultobj,o);
2047 }
2048 return resultobj;
2049 fail:
2050 return NULL;
2051 }
2052
2053
2054 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2055 PyObject *resultobj;
2056 wxString result;
2057 char *kwnames[] = {
2058 NULL
2059 };
2060
2061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = wxGetOsDescription();
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070 #if wxUSE_UNICODE
2071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2072 #else
2073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2074 #endif
2075 }
2076 return resultobj;
2077 fail:
2078 return NULL;
2079 }
2080
2081
2082 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2083 PyObject *resultobj;
2084 long result;
2085 char *kwnames[] = {
2086 NULL
2087 };
2088
2089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (long)wxGetFreeMemory();
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 resultobj = SWIG_PyObj_FromLong((long)result);
2098 return resultobj;
2099 fail:
2100 return NULL;
2101 }
2102
2103
2104 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2105 PyObject *resultobj;
2106 int arg1 ;
2107 bool result;
2108 PyObject * obj0 = 0 ;
2109 char *kwnames[] = {
2110 (char *) "wFlags", NULL
2111 };
2112
2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2114 {
2115 arg1 = (wxShutdownFlags) SWIG_PyObj_AsInt(obj0);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 {
2119 PyThreadState* __tstate = wxPyBeginAllowThreads();
2120 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2121
2122 wxPyEndAllowThreads(__tstate);
2123 if (PyErr_Occurred()) SWIG_fail;
2124 }
2125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2126 return resultobj;
2127 fail:
2128 return NULL;
2129 }
2130
2131
2132 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2133 PyObject *resultobj;
2134 int arg1 ;
2135 PyObject * obj0 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "secs", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2141 {
2142 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2143 if (PyErr_Occurred()) SWIG_fail;
2144 }
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 wxSleep(arg1);
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 unsigned long arg1 ;
2162 PyObject * obj0 = 0 ;
2163 char *kwnames[] = {
2164 (char *) "milliseconds", NULL
2165 };
2166
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2168 {
2169 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 {
2173 PyThreadState* __tstate = wxPyBeginAllowThreads();
2174 wxUsleep(arg1);
2175
2176 wxPyEndAllowThreads(__tstate);
2177 if (PyErr_Occurred()) SWIG_fail;
2178 }
2179 Py_INCREF(Py_None); resultobj = Py_None;
2180 return resultobj;
2181 fail:
2182 return NULL;
2183 }
2184
2185
2186 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2187 PyObject *resultobj;
2188 bool arg1 ;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "enable", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2195 {
2196 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 wxEnableTopLevelWindows(arg1);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 Py_INCREF(Py_None); resultobj = Py_None;
2207 return resultobj;
2208 fail:
2209 return NULL;
2210 }
2211
2212
2213 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2214 PyObject *resultobj;
2215 wxString *arg1 = 0 ;
2216 wxString result;
2217 bool temp1 = False ;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "in", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2224 {
2225 arg1 = wxString_in_helper(obj0);
2226 if (arg1 == NULL) SWIG_fail;
2227 temp1 = True;
2228 }
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 result = wxStripMenuCodes((wxString const &)*arg1);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 {
2237 #if wxUSE_UNICODE
2238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2239 #else
2240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2241 #endif
2242 }
2243 {
2244 if (temp1)
2245 delete arg1;
2246 }
2247 return resultobj;
2248 fail:
2249 {
2250 if (temp1)
2251 delete arg1;
2252 }
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject *resultobj;
2259 wxString result;
2260 char *kwnames[] = {
2261 NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 result = wxGetEmailAddress();
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 {
2273 #if wxUSE_UNICODE
2274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2275 #else
2276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2277 #endif
2278 }
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxString result;
2288 char *kwnames[] = {
2289 NULL
2290 };
2291
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2293 {
2294 PyThreadState* __tstate = wxPyBeginAllowThreads();
2295 result = wxGetHostName();
2296
2297 wxPyEndAllowThreads(__tstate);
2298 if (PyErr_Occurred()) SWIG_fail;
2299 }
2300 {
2301 #if wxUSE_UNICODE
2302 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2303 #else
2304 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2305 #endif
2306 }
2307 return resultobj;
2308 fail:
2309 return NULL;
2310 }
2311
2312
2313 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2314 PyObject *resultobj;
2315 wxString result;
2316 char *kwnames[] = {
2317 NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2321 {
2322 PyThreadState* __tstate = wxPyBeginAllowThreads();
2323 result = wxGetFullHostName();
2324
2325 wxPyEndAllowThreads(__tstate);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 }
2328 {
2329 #if wxUSE_UNICODE
2330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2331 #else
2332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2333 #endif
2334 }
2335 return resultobj;
2336 fail:
2337 return NULL;
2338 }
2339
2340
2341 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxString result;
2344 char *kwnames[] = {
2345 NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 result = wxGetUserId();
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2356 {
2357 #if wxUSE_UNICODE
2358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2359 #else
2360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2361 #endif
2362 }
2363 return resultobj;
2364 fail:
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxString result;
2372 char *kwnames[] = {
2373 NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 result = wxGetUserName();
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 {
2385 #if wxUSE_UNICODE
2386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2387 #else
2388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2389 #endif
2390 }
2391 return resultobj;
2392 fail:
2393 return NULL;
2394 }
2395
2396
2397 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 wxString result;
2400 char *kwnames[] = {
2401 NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2405 {
2406 PyThreadState* __tstate = wxPyBeginAllowThreads();
2407 result = wxGetHomeDir();
2408
2409 wxPyEndAllowThreads(__tstate);
2410 if (PyErr_Occurred()) SWIG_fail;
2411 }
2412 {
2413 #if wxUSE_UNICODE
2414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2415 #else
2416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2417 #endif
2418 }
2419 return resultobj;
2420 fail:
2421 return NULL;
2422 }
2423
2424
2425 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject *resultobj;
2427 wxString const &arg1_defvalue = wxPyEmptyString ;
2428 wxString *arg1 = (wxString *) &arg1_defvalue ;
2429 wxString result;
2430 bool temp1 = False ;
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "user", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2437 if (obj0) {
2438 {
2439 arg1 = wxString_in_helper(obj0);
2440 if (arg1 == NULL) SWIG_fail;
2441 temp1 = True;
2442 }
2443 }
2444 {
2445 PyThreadState* __tstate = wxPyBeginAllowThreads();
2446 result = wxGetUserHome((wxString const &)*arg1);
2447
2448 wxPyEndAllowThreads(__tstate);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 {
2452 #if wxUSE_UNICODE
2453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2454 #else
2455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2456 #endif
2457 }
2458 {
2459 if (temp1)
2460 delete arg1;
2461 }
2462 return resultobj;
2463 fail:
2464 {
2465 if (temp1)
2466 delete arg1;
2467 }
2468 return NULL;
2469 }
2470
2471
2472 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2473 PyObject *resultobj;
2474 unsigned long result;
2475 char *kwnames[] = {
2476 NULL
2477 };
2478
2479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 result = (unsigned long)wxGetProcessId();
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 char *kwnames[] = {
2497 NULL
2498 };
2499
2500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 wxTrap();
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 Py_INCREF(Py_None); resultobj = Py_None;
2509 return resultobj;
2510 fail:
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2518 wxString *arg1 = (wxString *) &arg1_defvalue ;
2519 wxString const &arg2_defvalue = wxPyEmptyString ;
2520 wxString *arg2 = (wxString *) &arg2_defvalue ;
2521 wxString const &arg3_defvalue = wxPyEmptyString ;
2522 wxString *arg3 = (wxString *) &arg3_defvalue ;
2523 wxString const &arg4_defvalue = wxPyEmptyString ;
2524 wxString *arg4 = (wxString *) &arg4_defvalue ;
2525 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2526 wxString *arg5 = (wxString *) &arg5_defvalue ;
2527 int arg6 = (int) 0 ;
2528 wxWindow *arg7 = (wxWindow *) NULL ;
2529 int arg8 = (int) -1 ;
2530 int arg9 = (int) -1 ;
2531 wxString result;
2532 bool temp1 = False ;
2533 bool temp2 = False ;
2534 bool temp3 = False ;
2535 bool temp4 = False ;
2536 bool temp5 = False ;
2537 PyObject * obj0 = 0 ;
2538 PyObject * obj1 = 0 ;
2539 PyObject * obj2 = 0 ;
2540 PyObject * obj3 = 0 ;
2541 PyObject * obj4 = 0 ;
2542 PyObject * obj5 = 0 ;
2543 PyObject * obj6 = 0 ;
2544 PyObject * obj7 = 0 ;
2545 PyObject * obj8 = 0 ;
2546 char *kwnames[] = {
2547 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2548 };
2549
2550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2551 if (obj0) {
2552 {
2553 arg1 = wxString_in_helper(obj0);
2554 if (arg1 == NULL) SWIG_fail;
2555 temp1 = True;
2556 }
2557 }
2558 if (obj1) {
2559 {
2560 arg2 = wxString_in_helper(obj1);
2561 if (arg2 == NULL) SWIG_fail;
2562 temp2 = True;
2563 }
2564 }
2565 if (obj2) {
2566 {
2567 arg3 = wxString_in_helper(obj2);
2568 if (arg3 == NULL) SWIG_fail;
2569 temp3 = True;
2570 }
2571 }
2572 if (obj3) {
2573 {
2574 arg4 = wxString_in_helper(obj3);
2575 if (arg4 == NULL) SWIG_fail;
2576 temp4 = True;
2577 }
2578 }
2579 if (obj4) {
2580 {
2581 arg5 = wxString_in_helper(obj4);
2582 if (arg5 == NULL) SWIG_fail;
2583 temp5 = True;
2584 }
2585 }
2586 if (obj5) {
2587 {
2588 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 }
2592 if (obj6) {
2593 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2594 }
2595 if (obj7) {
2596 {
2597 arg8 = (int) SWIG_PyObj_AsInt(obj7);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 }
2601 if (obj8) {
2602 {
2603 arg9 = (int) SWIG_PyObj_AsInt(obj8);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 {
2615 #if wxUSE_UNICODE
2616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2617 #else
2618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2619 #endif
2620 }
2621 {
2622 if (temp1)
2623 delete arg1;
2624 }
2625 {
2626 if (temp2)
2627 delete arg2;
2628 }
2629 {
2630 if (temp3)
2631 delete arg3;
2632 }
2633 {
2634 if (temp4)
2635 delete arg4;
2636 }
2637 {
2638 if (temp5)
2639 delete arg5;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp1)
2645 delete arg1;
2646 }
2647 {
2648 if (temp2)
2649 delete arg2;
2650 }
2651 {
2652 if (temp3)
2653 delete arg3;
2654 }
2655 {
2656 if (temp4)
2657 delete arg4;
2658 }
2659 {
2660 if (temp5)
2661 delete arg5;
2662 }
2663 return NULL;
2664 }
2665
2666
2667 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2668 PyObject *resultobj;
2669 wxString *arg1 = 0 ;
2670 wxString *arg2 = 0 ;
2671 wxString const &arg3_defvalue = wxPyEmptyString ;
2672 wxString *arg3 = (wxString *) &arg3_defvalue ;
2673 wxWindow *arg4 = (wxWindow *) NULL ;
2674 wxString result;
2675 bool temp1 = False ;
2676 bool temp2 = False ;
2677 bool temp3 = False ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 PyObject * obj2 = 0 ;
2681 PyObject * obj3 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2684 };
2685
2686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2687 {
2688 arg1 = wxString_in_helper(obj0);
2689 if (arg1 == NULL) SWIG_fail;
2690 temp1 = True;
2691 }
2692 {
2693 arg2 = wxString_in_helper(obj1);
2694 if (arg2 == NULL) SWIG_fail;
2695 temp2 = True;
2696 }
2697 if (obj2) {
2698 {
2699 arg3 = wxString_in_helper(obj2);
2700 if (arg3 == NULL) SWIG_fail;
2701 temp3 = True;
2702 }
2703 }
2704 if (obj3) {
2705 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2706 }
2707 {
2708 PyThreadState* __tstate = wxPyBeginAllowThreads();
2709 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2710
2711 wxPyEndAllowThreads(__tstate);
2712 if (PyErr_Occurred()) SWIG_fail;
2713 }
2714 {
2715 #if wxUSE_UNICODE
2716 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2717 #else
2718 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2719 #endif
2720 }
2721 {
2722 if (temp1)
2723 delete arg1;
2724 }
2725 {
2726 if (temp2)
2727 delete arg2;
2728 }
2729 {
2730 if (temp3)
2731 delete arg3;
2732 }
2733 return resultobj;
2734 fail:
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 NULL;
2748 }
2749
2750
2751 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject *resultobj;
2753 wxString *arg1 = 0 ;
2754 wxString *arg2 = 0 ;
2755 wxString const &arg3_defvalue = wxPyEmptyString ;
2756 wxString *arg3 = (wxString *) &arg3_defvalue ;
2757 wxWindow *arg4 = (wxWindow *) NULL ;
2758 wxString result;
2759 bool temp1 = False ;
2760 bool temp2 = False ;
2761 bool temp3 = False ;
2762 PyObject * obj0 = 0 ;
2763 PyObject * obj1 = 0 ;
2764 PyObject * obj2 = 0 ;
2765 PyObject * obj3 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2771 {
2772 arg1 = wxString_in_helper(obj0);
2773 if (arg1 == NULL) SWIG_fail;
2774 temp1 = True;
2775 }
2776 {
2777 arg2 = wxString_in_helper(obj1);
2778 if (arg2 == NULL) SWIG_fail;
2779 temp2 = True;
2780 }
2781 if (obj2) {
2782 {
2783 arg3 = wxString_in_helper(obj2);
2784 if (arg3 == NULL) SWIG_fail;
2785 temp3 = True;
2786 }
2787 }
2788 if (obj3) {
2789 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2790 }
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 {
2799 #if wxUSE_UNICODE
2800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2801 #else
2802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2803 #endif
2804 }
2805 {
2806 if (temp1)
2807 delete arg1;
2808 }
2809 {
2810 if (temp2)
2811 delete arg2;
2812 }
2813 {
2814 if (temp3)
2815 delete arg3;
2816 }
2817 return resultobj;
2818 fail:
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 NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2838 wxString *arg1 = (wxString *) &arg1_defvalue ;
2839 wxString const &arg2_defvalue = wxPyEmptyString ;
2840 wxString *arg2 = (wxString *) &arg2_defvalue ;
2841 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2842 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2843 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2844 wxWindow *arg5 = (wxWindow *) NULL ;
2845 wxString result;
2846 bool temp1 = False ;
2847 bool temp2 = False ;
2848 wxPoint temp4 ;
2849 PyObject * obj0 = 0 ;
2850 PyObject * obj1 = 0 ;
2851 PyObject * obj2 = 0 ;
2852 PyObject * obj3 = 0 ;
2853 PyObject * obj4 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2859 if (obj0) {
2860 {
2861 arg1 = wxString_in_helper(obj0);
2862 if (arg1 == NULL) SWIG_fail;
2863 temp1 = True;
2864 }
2865 }
2866 if (obj1) {
2867 {
2868 arg2 = wxString_in_helper(obj1);
2869 if (arg2 == NULL) SWIG_fail;
2870 temp2 = True;
2871 }
2872 }
2873 if (obj2) {
2874 {
2875 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 }
2879 if (obj3) {
2880 {
2881 arg4 = &temp4;
2882 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2883 }
2884 }
2885 if (obj4) {
2886 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2887 }
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 {
2896 #if wxUSE_UNICODE
2897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2898 #else
2899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2900 #endif
2901 }
2902 {
2903 if (temp1)
2904 delete arg1;
2905 }
2906 {
2907 if (temp2)
2908 delete arg2;
2909 }
2910 return resultobj;
2911 fail:
2912 {
2913 if (temp1)
2914 delete arg1;
2915 }
2916 {
2917 if (temp2)
2918 delete arg2;
2919 }
2920 return NULL;
2921 }
2922
2923
2924 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject *resultobj;
2926 wxString *arg1 = 0 ;
2927 wxString const &arg2_defvalue = wxPyEmptyString ;
2928 wxString *arg2 = (wxString *) &arg2_defvalue ;
2929 wxString const &arg3_defvalue = wxPyEmptyString ;
2930 wxString *arg3 = (wxString *) &arg3_defvalue ;
2931 wxWindow *arg4 = (wxWindow *) NULL ;
2932 int arg5 = (int) -1 ;
2933 int arg6 = (int) -1 ;
2934 bool arg7 = (bool) True ;
2935 wxString result;
2936 bool temp1 = False ;
2937 bool temp2 = False ;
2938 bool temp3 = False ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 PyObject * obj2 = 0 ;
2942 PyObject * obj3 = 0 ;
2943 PyObject * obj4 = 0 ;
2944 PyObject * obj5 = 0 ;
2945 PyObject * obj6 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2951 {
2952 arg1 = wxString_in_helper(obj0);
2953 if (arg1 == NULL) SWIG_fail;
2954 temp1 = True;
2955 }
2956 if (obj1) {
2957 {
2958 arg2 = wxString_in_helper(obj1);
2959 if (arg2 == NULL) SWIG_fail;
2960 temp2 = True;
2961 }
2962 }
2963 if (obj2) {
2964 {
2965 arg3 = wxString_in_helper(obj2);
2966 if (arg3 == NULL) SWIG_fail;
2967 temp3 = True;
2968 }
2969 }
2970 if (obj3) {
2971 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2972 }
2973 if (obj4) {
2974 {
2975 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 }
2979 if (obj5) {
2980 {
2981 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 }
2985 if (obj6) {
2986 {
2987 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 }
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 {
2999 #if wxUSE_UNICODE
3000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3001 #else
3002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3003 #endif
3004 }
3005 {
3006 if (temp1)
3007 delete arg1;
3008 }
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 {
3014 if (temp3)
3015 delete arg3;
3016 }
3017 return resultobj;
3018 fail:
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 NULL;
3032 }
3033
3034
3035 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3036 PyObject *resultobj;
3037 wxString *arg1 = 0 ;
3038 wxString const &arg2_defvalue = wxPyEmptyString ;
3039 wxString *arg2 = (wxString *) &arg2_defvalue ;
3040 wxString const &arg3_defvalue = wxPyEmptyString ;
3041 wxString *arg3 = (wxString *) &arg3_defvalue ;
3042 wxWindow *arg4 = (wxWindow *) NULL ;
3043 wxString result;
3044 bool temp1 = False ;
3045 bool temp2 = False ;
3046 bool temp3 = False ;
3047 PyObject * obj0 = 0 ;
3048 PyObject * obj1 = 0 ;
3049 PyObject * obj2 = 0 ;
3050 PyObject * obj3 = 0 ;
3051 char *kwnames[] = {
3052 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3053 };
3054
3055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3056 {
3057 arg1 = wxString_in_helper(obj0);
3058 if (arg1 == NULL) SWIG_fail;
3059 temp1 = True;
3060 }
3061 if (obj1) {
3062 {
3063 arg2 = wxString_in_helper(obj1);
3064 if (arg2 == NULL) SWIG_fail;
3065 temp2 = True;
3066 }
3067 }
3068 if (obj2) {
3069 {
3070 arg3 = wxString_in_helper(obj2);
3071 if (arg3 == NULL) SWIG_fail;
3072 temp3 = True;
3073 }
3074 }
3075 if (obj3) {
3076 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 }
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086 #if wxUSE_UNICODE
3087 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3088 #else
3089 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3090 #endif
3091 }
3092 {
3093 if (temp1)
3094 delete arg1;
3095 }
3096 {
3097 if (temp2)
3098 delete arg2;
3099 }
3100 {
3101 if (temp3)
3102 delete arg3;
3103 }
3104 return resultobj;
3105 fail:
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 NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxString *arg1 = 0 ;
3125 wxString *arg2 = 0 ;
3126 int arg3 ;
3127 wxString *arg4 = (wxString *) 0 ;
3128 wxWindow *arg5 = (wxWindow *) NULL ;
3129 int arg6 = (int) -1 ;
3130 int arg7 = (int) -1 ;
3131 bool arg8 = (bool) True ;
3132 int arg9 = (int) 150 ;
3133 int arg10 = (int) 200 ;
3134 wxString result;
3135 bool temp1 = False ;
3136 bool temp2 = False ;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 PyObject * obj2 = 0 ;
3140 PyObject * obj3 = 0 ;
3141 PyObject * obj4 = 0 ;
3142 PyObject * obj5 = 0 ;
3143 PyObject * obj6 = 0 ;
3144 PyObject * obj7 = 0 ;
3145 PyObject * obj8 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3151 {
3152 arg1 = wxString_in_helper(obj0);
3153 if (arg1 == NULL) SWIG_fail;
3154 temp1 = True;
3155 }
3156 {
3157 arg2 = wxString_in_helper(obj1);
3158 if (arg2 == NULL) SWIG_fail;
3159 temp2 = True;
3160 }
3161 {
3162 arg3 = PyList_Size(obj2);
3163 arg4 = wxString_LIST_helper(obj2);
3164 if (arg4 == NULL) SWIG_fail;
3165 }
3166 if (obj3) {
3167 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 }
3169 if (obj4) {
3170 {
3171 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3172 if (PyErr_Occurred()) SWIG_fail;
3173 }
3174 }
3175 if (obj5) {
3176 {
3177 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
3180 }
3181 if (obj6) {
3182 {
3183 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3184 if (PyErr_Occurred()) SWIG_fail;
3185 }
3186 }
3187 if (obj7) {
3188 {
3189 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 }
3193 if (obj8) {
3194 {
3195 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 }
3199 {
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3202
3203 wxPyEndAllowThreads(__tstate);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 #if wxUSE_UNICODE
3208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3209 #else
3210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3211 #endif
3212 }
3213 {
3214 if (temp1)
3215 delete arg1;
3216 }
3217 {
3218 if (temp2)
3219 delete arg2;
3220 }
3221 {
3222 if (arg4) delete [] arg4;
3223 }
3224 return resultobj;
3225 fail:
3226 {
3227 if (temp1)
3228 delete arg1;
3229 }
3230 {
3231 if (temp2)
3232 delete arg2;
3233 }
3234 {
3235 if (arg4) delete [] arg4;
3236 }
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxString *arg1 = 0 ;
3244 wxString *arg2 = 0 ;
3245 int arg3 ;
3246 wxString *arg4 = (wxString *) 0 ;
3247 wxWindow *arg5 = (wxWindow *) NULL ;
3248 int arg6 = (int) -1 ;
3249 int arg7 = (int) -1 ;
3250 bool arg8 = (bool) True ;
3251 int arg9 = (int) 150 ;
3252 int arg10 = (int) 200 ;
3253 int result;
3254 bool temp1 = False ;
3255 bool temp2 = False ;
3256 PyObject * obj0 = 0 ;
3257 PyObject * obj1 = 0 ;
3258 PyObject * obj2 = 0 ;
3259 PyObject * obj3 = 0 ;
3260 PyObject * obj4 = 0 ;
3261 PyObject * obj5 = 0 ;
3262 PyObject * obj6 = 0 ;
3263 PyObject * obj7 = 0 ;
3264 PyObject * obj8 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3270 {
3271 arg1 = wxString_in_helper(obj0);
3272 if (arg1 == NULL) SWIG_fail;
3273 temp1 = True;
3274 }
3275 {
3276 arg2 = wxString_in_helper(obj1);
3277 if (arg2 == NULL) SWIG_fail;
3278 temp2 = True;
3279 }
3280 {
3281 arg3 = PyList_Size(obj2);
3282 arg4 = wxString_LIST_helper(obj2);
3283 if (arg4 == NULL) SWIG_fail;
3284 }
3285 if (obj3) {
3286 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3287 }
3288 if (obj4) {
3289 {
3290 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 }
3294 if (obj5) {
3295 {
3296 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 }
3300 if (obj6) {
3301 {
3302 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 }
3306 if (obj7) {
3307 {
3308 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 }
3312 if (obj8) {
3313 {
3314 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3315 if (PyErr_Occurred()) SWIG_fail;
3316 }
3317 }
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
3325 resultobj = SWIG_PyObj_FromInt((int)result);
3326 {
3327 if (temp1)
3328 delete arg1;
3329 }
3330 {
3331 if (temp2)
3332 delete arg2;
3333 }
3334 {
3335 if (arg4) delete [] arg4;
3336 }
3337 return resultobj;
3338 fail:
3339 {
3340 if (temp1)
3341 delete arg1;
3342 }
3343 {
3344 if (temp2)
3345 delete arg2;
3346 }
3347 {
3348 if (arg4) delete [] arg4;
3349 }
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3355 PyObject *resultobj;
3356 wxString *arg1 = 0 ;
3357 wxString const &arg2_defvalue = wxPyEmptyString ;
3358 wxString *arg2 = (wxString *) &arg2_defvalue ;
3359 int arg3 = (int) wxOK|wxCENTRE ;
3360 wxWindow *arg4 = (wxWindow *) NULL ;
3361 int arg5 = (int) -1 ;
3362 int arg6 = (int) -1 ;
3363 int result;
3364 bool temp1 = False ;
3365 bool temp2 = False ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 PyObject * obj4 = 0 ;
3371 PyObject * obj5 = 0 ;
3372 char *kwnames[] = {
3373 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3377 {
3378 arg1 = wxString_in_helper(obj0);
3379 if (arg1 == NULL) SWIG_fail;
3380 temp1 = True;
3381 }
3382 if (obj1) {
3383 {
3384 arg2 = wxString_in_helper(obj1);
3385 if (arg2 == NULL) SWIG_fail;
3386 temp2 = True;
3387 }
3388 }
3389 if (obj2) {
3390 {
3391 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 }
3395 if (obj3) {
3396 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3397 }
3398 if (obj4) {
3399 {
3400 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 }
3404 if (obj5) {
3405 {
3406 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 resultobj = SWIG_PyObj_FromInt((int)result);
3418 {
3419 if (temp1)
3420 delete arg1;
3421 }
3422 {
3423 if (temp2)
3424 delete arg2;
3425 }
3426 return resultobj;
3427 fail:
3428 {
3429 if (temp1)
3430 delete arg1;
3431 }
3432 {
3433 if (temp2)
3434 delete arg2;
3435 }
3436 return NULL;
3437 }
3438
3439
3440 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject *resultobj;
3442 wxString *arg1 = 0 ;
3443 wxString *arg2 = 0 ;
3444 wxString *arg3 = 0 ;
3445 long arg4 ;
3446 long arg5 = (long) 0 ;
3447 long arg6 = (long) 100 ;
3448 wxWindow *arg7 = (wxWindow *) NULL ;
3449 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3450 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3451 long result;
3452 bool temp1 = False ;
3453 bool temp2 = False ;
3454 bool temp3 = False ;
3455 wxPoint temp8 ;
3456 PyObject * obj0 = 0 ;
3457 PyObject * obj1 = 0 ;
3458 PyObject * obj2 = 0 ;
3459 PyObject * obj3 = 0 ;
3460 PyObject * obj4 = 0 ;
3461 PyObject * obj5 = 0 ;
3462 PyObject * obj6 = 0 ;
3463 PyObject * obj7 = 0 ;
3464 char *kwnames[] = {
3465 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3469 {
3470 arg1 = wxString_in_helper(obj0);
3471 if (arg1 == NULL) SWIG_fail;
3472 temp1 = True;
3473 }
3474 {
3475 arg2 = wxString_in_helper(obj1);
3476 if (arg2 == NULL) SWIG_fail;
3477 temp2 = True;
3478 }
3479 {
3480 arg3 = wxString_in_helper(obj2);
3481 if (arg3 == NULL) SWIG_fail;
3482 temp3 = True;
3483 }
3484 {
3485 arg4 = (long) SWIG_PyObj_AsLong(obj3);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 if (obj4) {
3489 {
3490 arg5 = (long) SWIG_PyObj_AsLong(obj4);
3491 if (PyErr_Occurred()) SWIG_fail;
3492 }
3493 }
3494 if (obj5) {
3495 {
3496 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 }
3500 if (obj6) {
3501 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 }
3503 if (obj7) {
3504 {
3505 arg8 = &temp8;
3506 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3507 }
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3512
3513 wxPyEndAllowThreads(__tstate);
3514 if (PyErr_Occurred()) SWIG_fail;
3515 }
3516 resultobj = SWIG_PyObj_FromLong((long)result);
3517 {
3518 if (temp1)
3519 delete arg1;
3520 }
3521 {
3522 if (temp2)
3523 delete arg2;
3524 }
3525 {
3526 if (temp3)
3527 delete arg3;
3528 }
3529 return resultobj;
3530 fail:
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 NULL;
3544 }
3545
3546
3547 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj;
3549 bool result;
3550 char *kwnames[] = {
3551 NULL
3552 };
3553
3554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (bool)wxColourDisplay();
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3563 return resultobj;
3564 fail:
3565 return NULL;
3566 }
3567
3568
3569 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj;
3571 int result;
3572 char *kwnames[] = {
3573 NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = (int)wxDisplayDepth();
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 resultobj = SWIG_PyObj_FromInt((int)result);
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 int result;
3594 char *kwnames[] = {
3595 NULL
3596 };
3597
3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3599 {
3600 PyThreadState* __tstate = wxPyBeginAllowThreads();
3601 result = (int)wxGetDisplayDepth();
3602
3603 wxPyEndAllowThreads(__tstate);
3604 if (PyErr_Occurred()) SWIG_fail;
3605 }
3606 resultobj = SWIG_PyObj_FromInt((int)result);
3607 return resultobj;
3608 fail:
3609 return NULL;
3610 }
3611
3612
3613 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3614 PyObject *resultobj;
3615 int *arg1 = (int *) 0 ;
3616 int *arg2 = (int *) 0 ;
3617 int temp1 ;
3618 int temp2 ;
3619 char *kwnames[] = {
3620 NULL
3621 };
3622
3623 arg1 = &temp1;
3624 arg2 = &temp2;
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 wxDisplaySize(arg1,arg2);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 Py_INCREF(Py_None); resultobj = Py_None;
3634 {
3635 PyObject *o = PyInt_FromLong((long) (*arg1));
3636 resultobj = t_output_helper(resultobj,o);
3637 }
3638 {
3639 PyObject *o = PyInt_FromLong((long) (*arg2));
3640 resultobj = t_output_helper(resultobj,o);
3641 }
3642 return resultobj;
3643 fail:
3644 return NULL;
3645 }
3646
3647
3648 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxSize result;
3651 char *kwnames[] = {
3652 NULL
3653 };
3654
3655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3656 {
3657 PyThreadState* __tstate = wxPyBeginAllowThreads();
3658 result = wxGetDisplaySize();
3659
3660 wxPyEndAllowThreads(__tstate);
3661 if (PyErr_Occurred()) SWIG_fail;
3662 }
3663 {
3664 wxSize * resultptr;
3665 resultptr = new wxSize((wxSize &) result);
3666 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3667 }
3668 return resultobj;
3669 fail:
3670 return NULL;
3671 }
3672
3673
3674 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3675 PyObject *resultobj;
3676 int *arg1 = (int *) 0 ;
3677 int *arg2 = (int *) 0 ;
3678 int temp1 ;
3679 int temp2 ;
3680 char *kwnames[] = {
3681 NULL
3682 };
3683
3684 arg1 = &temp1;
3685 arg2 = &temp2;
3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 wxDisplaySizeMM(arg1,arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 {
3696 PyObject *o = PyInt_FromLong((long) (*arg1));
3697 resultobj = t_output_helper(resultobj,o);
3698 }
3699 {
3700 PyObject *o = PyInt_FromLong((long) (*arg2));
3701 resultobj = t_output_helper(resultobj,o);
3702 }
3703 return resultobj;
3704 fail:
3705 return NULL;
3706 }
3707
3708
3709 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxSize result;
3712 char *kwnames[] = {
3713 NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = wxGetDisplaySizeMM();
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 wxSize * resultptr;
3726 resultptr = new wxSize((wxSize &) result);
3727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3728 }
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 int *arg1 = (int *) 0 ;
3738 int *arg2 = (int *) 0 ;
3739 int *arg3 = (int *) 0 ;
3740 int *arg4 = (int *) 0 ;
3741 int temp1 ;
3742 int temp2 ;
3743 int temp3 ;
3744 int temp4 ;
3745 char *kwnames[] = {
3746 NULL
3747 };
3748
3749 arg1 = &temp1;
3750 arg2 = &temp2;
3751 arg3 = &temp3;
3752 arg4 = &temp4;
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 Py_INCREF(Py_None); resultobj = Py_None;
3762 {
3763 PyObject *o = PyInt_FromLong((long) (*arg1));
3764 resultobj = t_output_helper(resultobj,o);
3765 }
3766 {
3767 PyObject *o = PyInt_FromLong((long) (*arg2));
3768 resultobj = t_output_helper(resultobj,o);
3769 }
3770 {
3771 PyObject *o = PyInt_FromLong((long) (*arg3));
3772 resultobj = t_output_helper(resultobj,o);
3773 }
3774 {
3775 PyObject *o = PyInt_FromLong((long) (*arg4));
3776 resultobj = t_output_helper(resultobj,o);
3777 }
3778 return resultobj;
3779 fail:
3780 return NULL;
3781 }
3782
3783
3784 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3785 PyObject *resultobj;
3786 wxRect result;
3787 char *kwnames[] = {
3788 NULL
3789 };
3790
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3792 {
3793 PyThreadState* __tstate = wxPyBeginAllowThreads();
3794 result = wxGetClientDisplayRect();
3795
3796 wxPyEndAllowThreads(__tstate);
3797 if (PyErr_Occurred()) SWIG_fail;
3798 }
3799 {
3800 wxRect * resultptr;
3801 resultptr = new wxRect((wxRect &) result);
3802 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3803 }
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxCursor *arg1 = 0 ;
3813 PyObject * obj0 = 0 ;
3814 char *kwnames[] = {
3815 (char *) "cursor", NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3820 if (arg1 == NULL) {
3821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3822 }
3823 {
3824 PyThreadState* __tstate = wxPyBeginAllowThreads();
3825 wxSetCursor(*arg1);
3826
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 Py_INCREF(Py_None); resultobj = Py_None;
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3838 PyObject *resultobj;
3839 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3840 PyObject * obj0 = 0 ;
3841 char *kwnames[] = {
3842 (char *) "cursor", NULL
3843 };
3844
3845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3846 if (obj0) {
3847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3848 }
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 wxBeginBusyCursor(arg1);
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 Py_INCREF(Py_None); resultobj = Py_None;
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxWindow *result;
3866 char *kwnames[] = {
3867 NULL
3868 };
3869
3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (wxWindow *)wxGetActiveWindow();
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 {
3879 resultobj = wxPyMake_wxObject(result);
3880 }
3881 return resultobj;
3882 fail:
3883 return NULL;
3884 }
3885
3886
3887 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxPoint *arg1 = 0 ;
3890 wxWindow *result;
3891 wxPoint temp1 ;
3892 PyObject * obj0 = 0 ;
3893 char *kwnames[] = {
3894 (char *) "pt", NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3898 {
3899 arg1 = &temp1;
3900 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3901 }
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 {
3910 resultobj = wxPyMake_wxObject(result);
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915 }
3916
3917
3918 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3919 PyObject *resultobj;
3920 wxPoint *arg1 = 0 ;
3921 wxWindow *result;
3922 wxPoint temp1 ;
3923 PyObject * obj0 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "pt", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3929 {
3930 arg1 = &temp1;
3931 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3932 }
3933 {
3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
3935 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3936
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = wxPyMake_wxObject(result);
3942 }
3943 return resultobj;
3944 fail:
3945 return NULL;
3946 }
3947
3948
3949 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxWindow *arg1 = (wxWindow *) 0 ;
3952 wxWindow *result;
3953 PyObject * obj0 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "win", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = (wxWindow *)wxGetTopLevelParent(arg1);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 {
3968 resultobj = wxPyMake_wxObject(result);
3969 }
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 int arg1 ;
3979 bool result;
3980 PyObject * obj0 = 0 ;
3981 char *kwnames[] = {
3982 (char *) "key", NULL
3983 };
3984
3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
3986 {
3987 arg1 = (wxKeyCode) SWIG_PyObj_AsInt(obj0);
3988 if (PyErr_Occurred()) SWIG_fail;
3989 }
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 result = (bool)wxGetKeyState((wxKeyCode )arg1);
3993
3994 wxPyEndAllowThreads(__tstate);
3995 if (PyErr_Occurred()) SWIG_fail;
3996 }
3997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3998 return resultobj;
3999 fail:
4000 return NULL;
4001 }
4002
4003
4004 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 char *kwnames[] = {
4007 NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 wxWakeUpMainThread();
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 char *kwnames[] = {
4028 NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4032 {
4033 PyThreadState* __tstate = wxPyBeginAllowThreads();
4034 wxMutexGuiEnter();
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
4039 Py_INCREF(Py_None); resultobj = Py_None;
4040 return resultobj;
4041 fail:
4042 return NULL;
4043 }
4044
4045
4046 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject *resultobj;
4048 char *kwnames[] = {
4049 NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 wxMutexGuiLeave();
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 Py_INCREF(Py_None); resultobj = Py_None;
4061 return resultobj;
4062 fail:
4063 return NULL;
4064 }
4065
4066
4067 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4068 PyObject *resultobj;
4069 wxMutexGuiLocker *result;
4070 char *kwnames[] = {
4071 NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
4083 return resultobj;
4084 fail:
4085 return NULL;
4086 }
4087
4088
4089 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4092 PyObject * obj0 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "self", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 delete arg1;
4102
4103 wxPyEndAllowThreads(__tstate);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
4106 Py_INCREF(Py_None); resultobj = Py_None;
4107 return resultobj;
4108 fail:
4109 return NULL;
4110 }
4111
4112
4113 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4114 PyObject *obj;
4115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4117 Py_INCREF(obj);
4118 return Py_BuildValue((char *)"");
4119 }
4120 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 bool result;
4123 char *kwnames[] = {
4124 NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (bool)wxThread_IsMain();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxString *arg1 = 0 ;
4145 wxToolTip *result;
4146 bool temp1 = False ;
4147 PyObject * obj0 = 0 ;
4148 char *kwnames[] = {
4149 (char *) "tip", NULL
4150 };
4151
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4153 {
4154 arg1 = wxString_in_helper(obj0);
4155 if (arg1 == NULL) SWIG_fail;
4156 temp1 = True;
4157 }
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 {
4166 resultobj = wxPyMake_wxObject(result);
4167 }
4168 {
4169 if (temp1)
4170 delete arg1;
4171 }
4172 return resultobj;
4173 fail:
4174 {
4175 if (temp1)
4176 delete arg1;
4177 }
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxToolTip *arg1 = (wxToolTip *) 0 ;
4185 wxString *arg2 = 0 ;
4186 bool temp2 = False ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self",(char *) "tip", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 arg2 = wxString_in_helper(obj1);
4197 if (arg2 == NULL) SWIG_fail;
4198 temp2 = True;
4199 }
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetTip((wxString const &)*arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 {
4209 if (temp2)
4210 delete arg2;
4211 }
4212 return resultobj;
4213 fail:
4214 {
4215 if (temp2)
4216 delete arg2;
4217 }
4218 return NULL;
4219 }
4220
4221
4222 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj;
4224 wxToolTip *arg1 = (wxToolTip *) 0 ;
4225 wxString result;
4226 PyObject * obj0 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "self", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (arg1)->GetTip();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 {
4241 #if wxUSE_UNICODE
4242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4243 #else
4244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4245 #endif
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxToolTip *arg1 = (wxToolTip *) 0 ;
4256 wxWindow *result;
4257 PyObject * obj0 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (wxWindow *)(arg1)->GetWindow();
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 {
4272 resultobj = wxPyMake_wxObject(result);
4273 }
4274 return resultobj;
4275 fail:
4276 return NULL;
4277 }
4278
4279
4280 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4281 PyObject *resultobj;
4282 bool arg1 ;
4283 PyObject * obj0 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "flag", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4289 {
4290 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 wxToolTip::Enable(arg1);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4308 PyObject *resultobj;
4309 long arg1 ;
4310 PyObject * obj0 = 0 ;
4311 char *kwnames[] = {
4312 (char *) "milliseconds", NULL
4313 };
4314
4315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4316 {
4317 arg1 = (long) SWIG_PyObj_AsLong(obj0);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 wxToolTip::SetDelay(arg1);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331 }
4332
4333
4334 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4335 PyObject *obj;
4336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4337 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4338 Py_INCREF(obj);
4339 return Py_BuildValue((char *)"");
4340 }
4341 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj;
4343 wxWindow *arg1 = (wxWindow *) 0 ;
4344 wxSize *arg2 = 0 ;
4345 wxCaret *result;
4346 wxSize temp2 ;
4347 PyObject * obj0 = 0 ;
4348 PyObject * obj1 = 0 ;
4349 char *kwnames[] = {
4350 (char *) "window",(char *) "size", NULL
4351 };
4352
4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4355 {
4356 arg2 = &temp2;
4357 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxCaret *arg1 = (wxCaret *) 0 ;
4376 PyObject * obj0 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 delete arg1;
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 return resultobj;
4392 fail:
4393 return NULL;
4394 }
4395
4396
4397 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxCaret *arg1 = (wxCaret *) 0 ;
4400 bool result;
4401 PyObject * obj0 = 0 ;
4402 char *kwnames[] = {
4403 (char *) "self", NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (bool)(arg1)->IsOk();
4411
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4416 return resultobj;
4417 fail:
4418 return NULL;
4419 }
4420
4421
4422 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxCaret *arg1 = (wxCaret *) 0 ;
4425 bool result;
4426 PyObject * obj0 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (bool)(arg1)->IsVisible();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxCaret *arg1 = (wxCaret *) 0 ;
4450 wxPoint result;
4451 PyObject * obj0 = 0 ;
4452 char *kwnames[] = {
4453 (char *) "self", NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (arg1)->GetPosition();
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 {
4466 wxPoint * resultptr;
4467 resultptr = new wxPoint((wxPoint &) result);
4468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4469 }
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxCaret *arg1 = (wxCaret *) 0 ;
4479 int *arg2 = (int *) 0 ;
4480 int *arg3 = (int *) 0 ;
4481 int temp2 ;
4482 int temp3 ;
4483 PyObject * obj0 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self", NULL
4486 };
4487
4488 arg2 = &temp2;
4489 arg3 = &temp3;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 {
4493 PyThreadState* __tstate = wxPyBeginAllowThreads();
4494 (arg1)->GetPosition(arg2,arg3);
4495
4496 wxPyEndAllowThreads(__tstate);
4497 if (PyErr_Occurred()) SWIG_fail;
4498 }
4499 Py_INCREF(Py_None); resultobj = Py_None;
4500 {
4501 PyObject *o = PyInt_FromLong((long) (*arg2));
4502 resultobj = t_output_helper(resultobj,o);
4503 }
4504 {
4505 PyObject *o = PyInt_FromLong((long) (*arg3));
4506 resultobj = t_output_helper(resultobj,o);
4507 }
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxCaret *arg1 = (wxCaret *) 0 ;
4517 wxSize result;
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (arg1)->GetSize();
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 {
4533 wxSize * resultptr;
4534 resultptr = new wxSize((wxSize &) result);
4535 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4536 }
4537 return resultobj;
4538 fail:
4539 return NULL;
4540 }
4541
4542
4543 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxCaret *arg1 = (wxCaret *) 0 ;
4546 int *arg2 = (int *) 0 ;
4547 int *arg3 = (int *) 0 ;
4548 int temp2 ;
4549 int temp3 ;
4550 PyObject * obj0 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self", NULL
4553 };
4554
4555 arg2 = &temp2;
4556 arg3 = &temp3;
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->GetSize(arg2,arg3);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 {
4568 PyObject *o = PyInt_FromLong((long) (*arg2));
4569 resultobj = t_output_helper(resultobj,o);
4570 }
4571 {
4572 PyObject *o = PyInt_FromLong((long) (*arg3));
4573 resultobj = t_output_helper(resultobj,o);
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj;
4583 wxCaret *arg1 = (wxCaret *) 0 ;
4584 wxWindow *result;
4585 PyObject * obj0 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (wxWindow *)(arg1)->GetWindow();
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 {
4600 resultobj = wxPyMake_wxObject(result);
4601 }
4602 return resultobj;
4603 fail:
4604 return NULL;
4605 }
4606
4607
4608 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject *resultobj;
4610 wxCaret *arg1 = (wxCaret *) 0 ;
4611 int arg2 ;
4612 int arg3 ;
4613 PyObject * obj0 = 0 ;
4614 PyObject * obj1 = 0 ;
4615 PyObject * obj2 = 0 ;
4616 char *kwnames[] = {
4617 (char *) "self",(char *) "x",(char *) "y", NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4622 {
4623 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 {
4627 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 (arg1)->Move(arg2,arg3);
4633
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 Py_INCREF(Py_None); resultobj = Py_None;
4638 return resultobj;
4639 fail:
4640 return NULL;
4641 }
4642
4643
4644 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4645 PyObject *resultobj;
4646 wxCaret *arg1 = (wxCaret *) 0 ;
4647 wxPoint *arg2 = 0 ;
4648 wxPoint temp2 ;
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 char *kwnames[] = {
4652 (char *) "self",(char *) "pt", NULL
4653 };
4654
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4657 {
4658 arg2 = &temp2;
4659 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->Move((wxPoint const &)*arg2);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxCaret *arg1 = (wxCaret *) 0 ;
4678 int arg2 ;
4679 int arg3 ;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 PyObject * obj2 = 0 ;
4683 char *kwnames[] = {
4684 (char *) "self",(char *) "width",(char *) "height", NULL
4685 };
4686
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4689 {
4690 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 {
4694 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->SetSize(arg2,arg3);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxCaret *arg1 = (wxCaret *) 0 ;
4714 wxSize *arg2 = 0 ;
4715 wxSize temp2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "size", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 {
4725 arg2 = &temp2;
4726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4727 }
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 (arg1)->SetSize((wxSize const &)*arg2);
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 Py_INCREF(Py_None); resultobj = Py_None;
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxCaret *arg1 = (wxCaret *) 0 ;
4745 int arg2 = (int) True ;
4746 PyObject * obj0 = 0 ;
4747 PyObject * obj1 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self",(char *) "show", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if (obj1) {
4755 {
4756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 }
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->Show(arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771 }
4772
4773
4774 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxCaret *arg1 = (wxCaret *) 0 ;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 (arg1)->Hide();
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 Py_INCREF(Py_None); resultobj = Py_None;
4792 return resultobj;
4793 fail:
4794 return NULL;
4795 }
4796
4797
4798 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4799 PyObject *obj;
4800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4801 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4802 Py_INCREF(obj);
4803 return Py_BuildValue((char *)"");
4804 }
4805 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4806 PyObject *resultobj;
4807 int result;
4808 char *kwnames[] = {
4809 NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (int)wxCaret_GetBlinkTime();
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_PyObj_FromInt((int)result);
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 int arg1 ;
4830 PyObject * obj0 = 0 ;
4831 char *kwnames[] = {
4832 (char *) "milliseconds", NULL
4833 };
4834
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4836 {
4837 arg1 = (int) SWIG_PyObj_AsInt(obj0);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 wxCaret_SetBlinkTime(arg1);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4857 wxBusyCursor *result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "cursor", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4864 if (obj0) {
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4875 return resultobj;
4876 fail:
4877 return NULL;
4878 }
4879
4880
4881 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 delete arg1;
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4906 PyObject *obj;
4907 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4908 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4909 Py_INCREF(obj);
4910 return Py_BuildValue((char *)"");
4911 }
4912 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxWindow *arg1 = (wxWindow *) NULL ;
4915 wxWindowDisabler *result;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "winToSkip", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4922 if (obj0) {
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 }
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4933 return resultobj;
4934 fail:
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4942 PyObject * obj0 = 0 ;
4943 char *kwnames[] = {
4944 (char *) "self", NULL
4945 };
4946
4947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 delete arg1;
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 Py_INCREF(Py_None); resultobj = Py_None;
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4964 PyObject *obj;
4965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4966 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4967 Py_INCREF(obj);
4968 return Py_BuildValue((char *)"");
4969 }
4970 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxString *arg1 = 0 ;
4973 wxBusyInfo *result;
4974 bool temp1 = False ;
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "message", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4981 {
4982 arg1 = wxString_in_helper(obj0);
4983 if (arg1 == NULL) SWIG_fail;
4984 temp1 = True;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
4994 {
4995 if (temp1)
4996 delete arg1;
4997 }
4998 return resultobj;
4999 fail:
5000 {
5001 if (temp1)
5002 delete arg1;
5003 }
5004 return NULL;
5005 }
5006
5007
5008 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5009 PyObject *resultobj;
5010 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5011 PyObject * obj0 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5018 {
5019 PyThreadState* __tstate = wxPyBeginAllowThreads();
5020 delete arg1;
5021
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 Py_INCREF(Py_None); resultobj = Py_None;
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5033 PyObject *obj;
5034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5035 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5036 Py_INCREF(obj);
5037 return Py_BuildValue((char *)"");
5038 }
5039 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxStopWatch *result;
5042 char *kwnames[] = {
5043 NULL
5044 };
5045
5046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5047 {
5048 PyThreadState* __tstate = wxPyBeginAllowThreads();
5049 result = (wxStopWatch *)new wxStopWatch();
5050
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj;
5063 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5064 long arg2 = (long) 0 ;
5065 PyObject * obj0 = 0 ;
5066 PyObject * obj1 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "t0", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5073 if (obj1) {
5074 {
5075 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 }
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 (arg1)->Start(arg2);
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 Py_INCREF(Py_None); resultobj = Py_None;
5087 return resultobj;
5088 fail:
5089 return NULL;
5090 }
5091
5092
5093 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj;
5095 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->Pause();
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114 }
5115
5116
5117 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5120 PyObject * obj0 = 0 ;
5121 char *kwnames[] = {
5122 (char *) "self", NULL
5123 };
5124
5125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5127 {
5128 PyThreadState* __tstate = wxPyBeginAllowThreads();
5129 (arg1)->Resume();
5130
5131 wxPyEndAllowThreads(__tstate);
5132 if (PyErr_Occurred()) SWIG_fail;
5133 }
5134 Py_INCREF(Py_None); resultobj = Py_None;
5135 return resultobj;
5136 fail:
5137 return NULL;
5138 }
5139
5140
5141 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5142 PyObject *resultobj;
5143 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5144 long result;
5145 PyObject * obj0 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 result = (long)((wxStopWatch const *)arg1)->Time();
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 resultobj = SWIG_PyObj_FromLong((long)result);
5160 return resultobj;
5161 fail:
5162 return NULL;
5163 }
5164
5165
5166 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5167 PyObject *obj;
5168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5169 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5170 Py_INCREF(obj);
5171 return Py_BuildValue((char *)"");
5172 }
5173 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 int arg1 = (int) 9 ;
5176 wxFileHistory *result;
5177 PyObject * obj0 = 0 ;
5178 char *kwnames[] = {
5179 (char *) "maxFiles", NULL
5180 };
5181
5182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5183 if (obj0) {
5184 {
5185 arg1 = (int) SWIG_PyObj_AsInt(obj0);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 }
5189 {
5190 PyThreadState* __tstate = wxPyBeginAllowThreads();
5191 result = (wxFileHistory *)new wxFileHistory(arg1);
5192
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5197 return resultobj;
5198 fail:
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5206 PyObject * obj0 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 delete arg1;
5216
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 Py_INCREF(Py_None); resultobj = Py_None;
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5228 PyObject *resultobj;
5229 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5230 wxString *arg2 = 0 ;
5231 bool temp2 = False ;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "file", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5240 {
5241 arg2 = wxString_in_helper(obj1);
5242 if (arg2 == NULL) SWIG_fail;
5243 temp2 = True;
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->AddFileToHistory((wxString const &)*arg2);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 {
5254 if (temp2)
5255 delete arg2;
5256 }
5257 return resultobj;
5258 fail:
5259 {
5260 if (temp2)
5261 delete arg2;
5262 }
5263 return NULL;
5264 }
5265
5266
5267 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject *resultobj;
5269 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5270 int arg2 ;
5271 PyObject * obj0 = 0 ;
5272 PyObject * obj1 = 0 ;
5273 char *kwnames[] = {
5274 (char *) "self",(char *) "i", NULL
5275 };
5276
5277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5279 {
5280 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->RemoveFileFromHistory(arg2);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5300 int result;
5301 PyObject * obj0 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5311
5312 wxPyEndAllowThreads(__tstate);
5313 if (PyErr_Occurred()) SWIG_fail;
5314 }
5315 resultobj = SWIG_PyObj_FromInt((int)result);
5316 return resultobj;
5317 fail:
5318 return NULL;
5319 }
5320
5321
5322 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5323 PyObject *resultobj;
5324 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5325 wxMenu *arg2 = (wxMenu *) 0 ;
5326 PyObject * obj0 = 0 ;
5327 PyObject * obj1 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "menu", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
5337 (arg1)->UseMenu(arg2);
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
5342 Py_INCREF(Py_None); resultobj = Py_None;
5343 return resultobj;
5344 fail:
5345 return NULL;
5346 }
5347
5348
5349 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5352 wxMenu *arg2 = (wxMenu *) 0 ;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char *kwnames[] = {
5356 (char *) "self",(char *) "menu", NULL
5357 };
5358
5359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 (arg1)->RemoveMenu(arg2);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 Py_INCREF(Py_None); resultobj = Py_None;
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5377 PyObject *resultobj;
5378 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5379 wxConfigBase *arg2 = 0 ;
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
5382 char *kwnames[] = {
5383 (char *) "self",(char *) "config", NULL
5384 };
5385
5386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5389 if (arg2 == NULL) {
5390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 (arg1)->Load(*arg2);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 Py_INCREF(Py_None); resultobj = Py_None;
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5407 PyObject *resultobj;
5408 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5409 wxConfigBase *arg2 = 0 ;
5410 PyObject * obj0 = 0 ;
5411 PyObject * obj1 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self",(char *) "config", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 if (arg2 == NULL) {
5420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5421 }
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->Save(*arg2);
5425
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 Py_INCREF(Py_None); resultobj = Py_None;
5430 return resultobj;
5431 fail:
5432 return NULL;
5433 }
5434
5435
5436 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj;
5438 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 (arg1)->AddFilesToMenu();
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 return resultobj;
5455 fail:
5456 return NULL;
5457 }
5458
5459
5460 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5461 PyObject *resultobj;
5462 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5463 wxMenu *arg2 = (wxMenu *) 0 ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "menu", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->AddFilesToMenu(arg2);
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 Py_INCREF(Py_None); resultobj = Py_None;
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5490 int arg2 ;
5491 wxString result;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "i", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5500 {
5501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 {
5512 #if wxUSE_UNICODE
5513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5514 #else
5515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5516 #endif
5517 }
5518 return resultobj;
5519 fail:
5520 return NULL;
5521 }
5522
5523
5524 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject *resultobj;
5526 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5527 int result;
5528 PyObject * obj0 = 0 ;
5529 char *kwnames[] = {
5530 (char *) "self", NULL
5531 };
5532
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 result = (int)((wxFileHistory const *)arg1)->GetCount();
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 resultobj = SWIG_PyObj_FromInt((int)result);
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5550 PyObject *obj;
5551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5552 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5553 Py_INCREF(obj);
5554 return Py_BuildValue((char *)"");
5555 }
5556 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxString *arg1 = 0 ;
5559 wxString const &arg2_defvalue = wxPyEmptyString ;
5560 wxString *arg2 = (wxString *) &arg2_defvalue ;
5561 wxSingleInstanceChecker *result;
5562 bool temp1 = False ;
5563 bool temp2 = False ;
5564 PyObject * obj0 = 0 ;
5565 PyObject * obj1 = 0 ;
5566 char *kwnames[] = {
5567 (char *) "name",(char *) "path", NULL
5568 };
5569
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5571 {
5572 arg1 = wxString_in_helper(obj0);
5573 if (arg1 == NULL) SWIG_fail;
5574 temp1 = True;
5575 }
5576 if (obj1) {
5577 {
5578 arg2 = wxString_in_helper(obj1);
5579 if (arg2 == NULL) SWIG_fail;
5580 temp2 = True;
5581 }
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5591 {
5592 if (temp1)
5593 delete arg1;
5594 }
5595 {
5596 if (temp2)
5597 delete arg2;
5598 }
5599 return resultobj;
5600 fail:
5601 {
5602 if (temp1)
5603 delete arg1;
5604 }
5605 {
5606 if (temp2)
5607 delete arg2;
5608 }
5609 return NULL;
5610 }
5611
5612
5613 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj;
5615 wxSingleInstanceChecker *result;
5616 char *kwnames[] = {
5617 NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5638 PyObject * obj0 = 0 ;
5639 char *kwnames[] = {
5640 (char *) "self", NULL
5641 };
5642
5643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 delete arg1;
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5662 wxString *arg2 = 0 ;
5663 wxString const &arg3_defvalue = wxPyEmptyString ;
5664 wxString *arg3 = (wxString *) &arg3_defvalue ;
5665 bool result;
5666 bool temp2 = False ;
5667 bool temp3 = False ;
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj1 = 0 ;
5670 PyObject * obj2 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self",(char *) "name",(char *) "path", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 {
5678 arg2 = wxString_in_helper(obj1);
5679 if (arg2 == NULL) SWIG_fail;
5680 temp2 = True;
5681 }
5682 if (obj2) {
5683 {
5684 arg3 = wxString_in_helper(obj2);
5685 if (arg3 == NULL) SWIG_fail;
5686 temp3 = True;
5687 }
5688 }
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5697 {
5698 if (temp2)
5699 delete arg2;
5700 }
5701 {
5702 if (temp3)
5703 delete arg3;
5704 }
5705 return resultobj;
5706 fail:
5707 {
5708 if (temp2)
5709 delete arg2;
5710 }
5711 {
5712 if (temp3)
5713 delete arg3;
5714 }
5715 return NULL;
5716 }
5717
5718
5719 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj;
5721 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5722 bool result;
5723 PyObject * obj0 = 0 ;
5724 char *kwnames[] = {
5725 (char *) "self", NULL
5726 };
5727
5728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5730 {
5731 PyThreadState* __tstate = wxPyBeginAllowThreads();
5732 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5733
5734 wxPyEndAllowThreads(__tstate);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5738 return resultobj;
5739 fail:
5740 return NULL;
5741 }
5742
5743
5744 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5745 PyObject *obj;
5746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5747 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5748 Py_INCREF(obj);
5749 return Py_BuildValue((char *)"");
5750 }
5751 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxWindow *arg1 = (wxWindow *) 0 ;
5754 wxDC *arg2 = 0 ;
5755 int arg3 ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 PyObject * obj2 = 0 ;
5759 char *kwnames[] = {
5760 (char *) "window",(char *) "dc",(char *) "method", NULL
5761 };
5762
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5766 if (arg2 == NULL) {
5767 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5768 }
5769 {
5770 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 Py_INCREF(Py_None); resultobj = Py_None;
5781 return resultobj;
5782 fail:
5783 return NULL;
5784 }
5785
5786
5787 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5788 PyObject *resultobj;
5789 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5790 PyObject * obj0 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 {
5798 PyThreadState* __tstate = wxPyBeginAllowThreads();
5799 delete arg1;
5800
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 Py_INCREF(Py_None); resultobj = Py_None;
5805 return resultobj;
5806 fail:
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5814 wxString result;
5815 PyObject * obj0 = 0 ;
5816 char *kwnames[] = {
5817 (char *) "self", NULL
5818 };
5819
5820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5822 {
5823 PyThreadState* __tstate = wxPyBeginAllowThreads();
5824 result = (arg1)->GetTip();
5825
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 {
5830 #if wxUSE_UNICODE
5831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5832 #else
5833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5834 #endif
5835 }
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5845 size_t result;
5846 PyObject * obj0 = 0 ;
5847 char *kwnames[] = {
5848 (char *) "self", NULL
5849 };
5850
5851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (size_t)(arg1)->GetCurrentTip();
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5870 wxString *arg2 = 0 ;
5871 wxString result;
5872 bool temp2 = False ;
5873 PyObject * obj0 = 0 ;
5874 PyObject * obj1 = 0 ;
5875 char *kwnames[] = {
5876 (char *) "self",(char *) "tip", NULL
5877 };
5878
5879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5881 {
5882 arg2 = wxString_in_helper(obj1);
5883 if (arg2 == NULL) SWIG_fail;
5884 temp2 = True;
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 {
5894 #if wxUSE_UNICODE
5895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5896 #else
5897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5898 #endif
5899 }
5900 {
5901 if (temp2)
5902 delete arg2;
5903 }
5904 return resultobj;
5905 fail:
5906 {
5907 if (temp2)
5908 delete arg2;
5909 }
5910 return NULL;
5911 }
5912
5913
5914 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5915 PyObject *obj;
5916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5917 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5918 Py_INCREF(obj);
5919 return Py_BuildValue((char *)"");
5920 }
5921 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj;
5923 size_t arg1 ;
5924 wxPyTipProvider *result;
5925 PyObject * obj0 = 0 ;
5926 char *kwnames[] = {
5927 (char *) "currentTip", NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5931 {
5932 arg1 = (size_t) SWIG_PyObj_AsUnsignedLong(obj0);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5943 return resultobj;
5944 fail:
5945 return NULL;
5946 }
5947
5948
5949 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5952 PyObject *arg2 = (PyObject *) 0 ;
5953 PyObject *arg3 = (PyObject *) 0 ;
5954 PyObject * obj0 = 0 ;
5955 PyObject * obj1 = 0 ;
5956 PyObject * obj2 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "self",(char *) "_class", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 arg2 = obj1;
5964 arg3 = obj2;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->_setCallbackInfo(arg2,arg3);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 Py_INCREF(Py_None); resultobj = Py_None;
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5980 PyObject *obj;
5981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5982 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5983 Py_INCREF(obj);
5984 return Py_BuildValue((char *)"");
5985 }
5986 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxWindow *arg1 = (wxWindow *) 0 ;
5989 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
5990 bool arg3 = (bool) True ;
5991 bool result;
5992 PyObject * obj0 = 0 ;
5993 PyObject * obj1 = 0 ;
5994 PyObject * obj2 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6002 if (obj2) {
6003 {
6004 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6005 if (PyErr_Occurred()) SWIG_fail;
6006 }
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (bool)wxShowTip(arg1,arg2,arg3);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxString *arg1 = 0 ;
6025 size_t arg2 ;
6026 wxTipProvider *result;
6027 bool temp1 = False ;
6028 PyObject * obj0 = 0 ;
6029 PyObject * obj1 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "filename",(char *) "currentTip", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6035 {
6036 arg1 = wxString_in_helper(obj0);
6037 if (arg1 == NULL) SWIG_fail;
6038 temp1 = True;
6039 }
6040 {
6041 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
6052 {
6053 if (temp1)
6054 delete arg1;
6055 }
6056 return resultobj;
6057 fail:
6058 {
6059 if (temp1)
6060 delete arg1;
6061 }
6062 return NULL;
6063 }
6064
6065
6066 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6069 int arg2 = (int) -1 ;
6070 wxPyTimer *result;
6071 PyObject * obj0 = 0 ;
6072 PyObject * obj1 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "owner",(char *) "id", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6078 if (obj0) {
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 }
6081 if (obj1) {
6082 {
6083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 }
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
6095 return resultobj;
6096 fail:
6097 return NULL;
6098 }
6099
6100
6101 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 delete arg1;
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122 }
6123
6124
6125 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6128 PyObject *arg2 = (PyObject *) 0 ;
6129 PyObject *arg3 = (PyObject *) 0 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 PyObject * obj2 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "self",(char *) "_class", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 arg2 = obj1;
6140 arg3 = obj2;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 (arg1)->_setCallbackInfo(arg2,arg3);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 Py_INCREF(Py_None); resultobj = Py_None;
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6158 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6159 int arg3 = (int) -1 ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 PyObject * obj2 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "owner",(char *) "id", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6170 if (obj2) {
6171 {
6172 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetOwner(arg2,arg3);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 Py_INCREF(Py_None); resultobj = Py_None;
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6193 int arg2 = (int) -1 ;
6194 bool arg3 = (bool) False ;
6195 bool result;
6196 PyObject * obj0 = 0 ;
6197 PyObject * obj1 = 0 ;
6198 PyObject * obj2 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 if (obj1) {
6206 {
6207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 }
6211 if (obj2) {
6212 {
6213 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 }
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (bool)(arg1)->Start(arg2,arg3);
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
6224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject *resultobj;
6233 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6234 PyObject * obj0 = 0 ;
6235 char *kwnames[] = {
6236 (char *) "self", NULL
6237 };
6238
6239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 (arg1)->Stop();
6244
6245 wxPyEndAllowThreads(__tstate);
6246 if (PyErr_Occurred()) SWIG_fail;
6247 }
6248 Py_INCREF(Py_None); resultobj = Py_None;
6249 return resultobj;
6250 fail:
6251 return NULL;
6252 }
6253
6254
6255 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6256 PyObject *resultobj;
6257 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6258 bool result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277 }
6278
6279
6280 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6283 int result;
6284 PyObject * obj0 = 0 ;
6285 char *kwnames[] = {
6286 (char *) "self", NULL
6287 };
6288
6289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6294
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 resultobj = SWIG_PyObj_FromInt((int)result);
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6308 bool result;
6309 PyObject * obj0 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6333 int result;
6334 PyObject * obj0 = 0 ;
6335 char *kwnames[] = {
6336 (char *) "self", NULL
6337 };
6338
6339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6341 {
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 result = (int)((wxPyTimer const *)arg1)->GetId();
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 resultobj = SWIG_PyObj_FromInt((int)result);
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6356 PyObject *obj;
6357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6358 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6359 Py_INCREF(obj);
6360 return Py_BuildValue((char *)"");
6361 }
6362 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject *resultobj;
6364 int arg1 = (int) 0 ;
6365 int arg2 = (int) 0 ;
6366 wxTimerEvent *result;
6367 PyObject * obj0 = 0 ;
6368 PyObject * obj1 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "timerid",(char *) "interval", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6374 if (obj0) {
6375 {
6376 arg1 = (int) SWIG_PyObj_AsInt(obj0);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 }
6380 if (obj1) {
6381 {
6382 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 }
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6389
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6394 return resultobj;
6395 fail:
6396 return NULL;
6397 }
6398
6399
6400 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj;
6402 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6403 int result;
6404 PyObject * obj0 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6414
6415 wxPyEndAllowThreads(__tstate);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 resultobj = SWIG_PyObj_FromInt((int)result);
6419 return resultobj;
6420 fail:
6421 return NULL;
6422 }
6423
6424
6425 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6426 PyObject *obj;
6427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6428 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6429 Py_INCREF(obj);
6430 return Py_BuildValue((char *)"");
6431 }
6432 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6433 PyObject *resultobj;
6434 wxTimer *arg1 = 0 ;
6435 wxTimerRunner *result;
6436 PyObject * obj0 = 0 ;
6437
6438 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 if (arg1 == NULL) {
6441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6442 }
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6451 return resultobj;
6452 fail:
6453 return NULL;
6454 }
6455
6456
6457 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6458 PyObject *resultobj;
6459 wxTimer *arg1 = 0 ;
6460 int arg2 ;
6461 bool arg3 = (bool) False ;
6462 wxTimerRunner *result;
6463 PyObject * obj0 = 0 ;
6464 PyObject * obj1 = 0 ;
6465 PyObject * obj2 = 0 ;
6466
6467 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 if (arg1 == NULL) {
6470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6471 }
6472 {
6473 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 if (obj2) {
6477 {
6478 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6490 return resultobj;
6491 fail:
6492 return NULL;
6493 }
6494
6495
6496 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6497 int argc;
6498 PyObject *argv[4];
6499 int ii;
6500
6501 argc = PyObject_Length(args);
6502 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6503 argv[ii] = PyTuple_GetItem(args,ii);
6504 }
6505 if (argc == 1) {
6506 int _v;
6507 {
6508 void *ptr;
6509 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6510 _v = 0;
6511 PyErr_Clear();
6512 } else {
6513 _v = 1;
6514 }
6515 }
6516 if (_v) {
6517 return _wrap_new_TimerRunner__SWIG_0(self,args);
6518 }
6519 }
6520 if ((argc >= 2) && (argc <= 3)) {
6521 int _v;
6522 {
6523 void *ptr;
6524 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6525 _v = 0;
6526 PyErr_Clear();
6527 } else {
6528 _v = 1;
6529 }
6530 }
6531 if (_v) {
6532 {
6533 SWIG_PyObj_AsInt(argv[1]);
6534 if (PyErr_Occurred()) {
6535 _v = 0;
6536 PyErr_Clear();
6537 } else {
6538 _v = 1;
6539 }
6540 }
6541 if (_v) {
6542 if (argc <= 2) {
6543 return _wrap_new_TimerRunner__SWIG_1(self,args);
6544 }
6545 {
6546 SWIG_PyObj_AsBool(argv[2]);
6547 if (PyErr_Occurred()) {
6548 _v = 0;
6549 PyErr_Clear();
6550 } else {
6551 _v = 1;
6552 }
6553 }
6554 if (_v) {
6555 return _wrap_new_TimerRunner__SWIG_1(self,args);
6556 }
6557 }
6558 }
6559 }
6560
6561 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 delete arg1;
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) SWIG_fail;
6582 }
6583 Py_INCREF(Py_None); resultobj = Py_None;
6584 return resultobj;
6585 fail:
6586 return NULL;
6587 }
6588
6589
6590 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj;
6592 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6593 int arg2 ;
6594 bool arg3 = (bool) False ;
6595 PyObject * obj0 = 0 ;
6596 PyObject * obj1 = 0 ;
6597 PyObject * obj2 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6604 {
6605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6606 if (PyErr_Occurred()) SWIG_fail;
6607 }
6608 if (obj2) {
6609 {
6610 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 }
6614 {
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 (arg1)->Start(arg2,arg3);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) SWIG_fail;
6620 }
6621 Py_INCREF(Py_None); resultobj = Py_None;
6622 return resultobj;
6623 fail:
6624 return NULL;
6625 }
6626
6627
6628 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6629 PyObject *obj;
6630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6631 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6632 Py_INCREF(obj);
6633 return Py_BuildValue((char *)"");
6634 }
6635 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject *resultobj;
6637 wxLog *result;
6638 char *kwnames[] = {
6639 NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (wxLog *)new wxLog();
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 bool result;
6660 char *kwnames[] = {
6661 NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (bool)wxLog::IsEnabled();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 bool arg1 = (bool) True ;
6682 bool result;
6683 PyObject * obj0 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "doIt", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6689 if (obj0) {
6690 {
6691 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 }
6695 {
6696 PyThreadState* __tstate = wxPyBeginAllowThreads();
6697 result = (bool)wxLog::EnableLogging(arg1);
6698
6699 wxPyEndAllowThreads(__tstate);
6700 if (PyErr_Occurred()) SWIG_fail;
6701 }
6702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxLogLevel arg1 ;
6712 wxChar *arg2 = (wxChar *) 0 ;
6713 time_t arg3 ;
6714 PyObject * obj0 = 0 ;
6715 PyObject * obj1 = 0 ;
6716 PyObject * obj2 = 0 ;
6717 char *kwnames[] = {
6718 (char *) "level",(char *) "szString",(char *) "t", NULL
6719 };
6720
6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6722 {
6723 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6727 {
6728 arg3 = (time_t) SWIG_PyObj_AsUnsignedInt(obj2);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6734
6735 wxPyEndAllowThreads(__tstate);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 Py_INCREF(Py_None); resultobj = Py_None;
6739 return resultobj;
6740 fail:
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxLog *arg1 = (wxLog *) 0 ;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 (arg1)->Flush();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 Py_INCREF(Py_None); resultobj = Py_None;
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 char *kwnames[] = {
6772 NULL
6773 };
6774
6775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 wxLog::FlushActive();
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 Py_INCREF(Py_None); resultobj = Py_None;
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj;
6792 wxLog *result;
6793 char *kwnames[] = {
6794 NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 result = (wxLog *)wxLog::GetActiveTarget();
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxLog *arg1 = (wxLog *) 0 ;
6815 wxLog *result;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "pLogger", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6831 return resultobj;
6832 fail:
6833 return NULL;
6834 }
6835
6836
6837 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 char *kwnames[] = {
6840 NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 wxLog::Suspend();
6847
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 Py_INCREF(Py_None); resultobj = Py_None;
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj;
6860 char *kwnames[] = {
6861 NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 wxLog::Resume();
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 Py_INCREF(Py_None); resultobj = Py_None;
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 bool arg1 = (bool) True ;
6882 PyObject * obj0 = 0 ;
6883 char *kwnames[] = {
6884 (char *) "bVerbose", NULL
6885 };
6886
6887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6888 if (obj0) {
6889 {
6890 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 }
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 wxLog::SetVerbose(arg1);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxLogLevel arg1 ;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "logLevel", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6917 {
6918 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 wxLog::SetLogLevel(arg1);
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 Py_INCREF(Py_None); resultobj = Py_None;
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 char *kwnames[] = {
6938 NULL
6939 };
6940
6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6942 {
6943 PyThreadState* __tstate = wxPyBeginAllowThreads();
6944 wxLog::DontCreateOnDemand();
6945
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 Py_INCREF(Py_None); resultobj = Py_None;
6950 return resultobj;
6951 fail:
6952 return NULL;
6953 }
6954
6955
6956 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj;
6958 wxTraceMask arg1 ;
6959 PyObject * obj0 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "ulMask", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6965 {
6966 arg1 = (wxTraceMask) SWIG_PyObj_AsUnsignedLong(obj0);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 {
6970 PyThreadState* __tstate = wxPyBeginAllowThreads();
6971 wxLog::SetTraceMask(arg1);
6972
6973 wxPyEndAllowThreads(__tstate);
6974 if (PyErr_Occurred()) SWIG_fail;
6975 }
6976 Py_INCREF(Py_None); resultobj = Py_None;
6977 return resultobj;
6978 fail:
6979 return NULL;
6980 }
6981
6982
6983 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6984 PyObject *resultobj;
6985 wxString *arg1 = 0 ;
6986 bool temp1 = False ;
6987 PyObject * obj0 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "str", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
6993 {
6994 arg1 = wxString_in_helper(obj0);
6995 if (arg1 == NULL) SWIG_fail;
6996 temp1 = True;
6997 }
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 wxLog::AddTraceMask((wxString const &)*arg1);
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 Py_INCREF(Py_None); resultobj = Py_None;
7006 {
7007 if (temp1)
7008 delete arg1;
7009 }
7010 return resultobj;
7011 fail:
7012 {
7013 if (temp1)
7014 delete arg1;
7015 }
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxString *arg1 = 0 ;
7023 bool temp1 = False ;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "str", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7030 {
7031 arg1 = wxString_in_helper(obj0);
7032 if (arg1 == NULL) SWIG_fail;
7033 temp1 = True;
7034 }
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 wxLog::RemoveTraceMask((wxString const &)*arg1);
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 Py_INCREF(Py_None); resultobj = Py_None;
7043 {
7044 if (temp1)
7045 delete arg1;
7046 }
7047 return resultobj;
7048 fail:
7049 {
7050 if (temp1)
7051 delete arg1;
7052 }
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 char *kwnames[] = {
7060 NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 wxLog::ClearTraceMasks();
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 Py_INCREF(Py_None); resultobj = Py_None;
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxArrayString *result;
7081 char *kwnames[] = {
7082 NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 {
7089 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7090 result = (wxArrayString *) &_result_ref;
7091 }
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097 resultobj = wxArrayString2PyList_helper(*result);
7098 }
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxChar *arg1 = (wxChar *) 0 ;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "ts", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 wxLog::SetTimestamp((wxChar const *)arg1);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 bool result;
7132 char *kwnames[] = {
7133 NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 result = (bool)wxLog::GetVerbose();
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7145 return resultobj;
7146 fail:
7147 return NULL;
7148 }
7149
7150
7151 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7152 PyObject *resultobj;
7153 wxTraceMask result;
7154 char *kwnames[] = {
7155 NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (wxTraceMask)wxLog::GetTraceMask();
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxChar *arg1 = (wxChar *) 0 ;
7176 bool result;
7177 PyObject * obj0 = 0 ;
7178 char *kwnames[] = {
7179 (char *) "mask", NULL
7180 };
7181
7182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7187
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxLogLevel result;
7201 char *kwnames[] = {
7202 NULL
7203 };
7204
7205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = (wxLogLevel)wxLog::GetLogLevel();
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7214 return resultobj;
7215 fail:
7216 return NULL;
7217 }
7218
7219
7220 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7221 PyObject *resultobj;
7222 wxChar *result;
7223 char *kwnames[] = {
7224 NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (wxChar *)wxLog::GetTimestamp();
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxString result;
7245 char *kwnames[] = {
7246 NULL
7247 };
7248
7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = Log_TimeStamp();
7253
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 {
7258 #if wxUSE_UNICODE
7259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7260 #else
7261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7262 #endif
7263 }
7264 return resultobj;
7265 fail:
7266 return NULL;
7267 }
7268
7269
7270 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7271 PyObject *resultobj;
7272 wxLog *arg1 = (wxLog *) 0 ;
7273 PyObject * obj0 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 wxLog_Destroy(arg1);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7295 PyObject *obj;
7296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7297 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7298 Py_INCREF(obj);
7299 return Py_BuildValue((char *)"");
7300 }
7301 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxLogStderr *result;
7304 char *kwnames[] = {
7305 NULL
7306 };
7307
7308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (wxLogStderr *)new wxLogStderr();
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7324 PyObject *obj;
7325 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7326 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7327 Py_INCREF(obj);
7328 return Py_BuildValue((char *)"");
7329 }
7330 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7333 wxLogTextCtrl *result;
7334 PyObject * obj0 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "pTextCtrl", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7349 return resultobj;
7350 fail:
7351 return NULL;
7352 }
7353
7354
7355 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7356 PyObject *obj;
7357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7359 Py_INCREF(obj);
7360 return Py_BuildValue((char *)"");
7361 }
7362 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxLogGui *result;
7365 char *kwnames[] = {
7366 NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = (wxLogGui *)new wxLogGui();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7385 PyObject *obj;
7386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7387 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7388 Py_INCREF(obj);
7389 return Py_BuildValue((char *)"");
7390 }
7391 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxFrame *arg1 = (wxFrame *) 0 ;
7394 wxString *arg2 = 0 ;
7395 bool arg3 = (bool) True ;
7396 bool arg4 = (bool) True ;
7397 wxLogWindow *result;
7398 bool temp2 = False ;
7399 PyObject * obj0 = 0 ;
7400 PyObject * obj1 = 0 ;
7401 PyObject * obj2 = 0 ;
7402 PyObject * obj3 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 {
7410 arg2 = wxString_in_helper(obj1);
7411 if (arg2 == NULL) SWIG_fail;
7412 temp2 = True;
7413 }
7414 if (obj2) {
7415 {
7416 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 }
7420 if (obj3) {
7421 {
7422 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7434 {
7435 if (temp2)
7436 delete arg2;
7437 }
7438 return resultobj;
7439 fail:
7440 {
7441 if (temp2)
7442 delete arg2;
7443 }
7444 return NULL;
7445 }
7446
7447
7448 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7451 bool arg2 = (bool) True ;
7452 PyObject * obj0 = 0 ;
7453 PyObject * obj1 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "bShow", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 if (obj1) {
7461 {
7462 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 (arg1)->Show(arg2);
7469
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 Py_INCREF(Py_None); resultobj = Py_None;
7474 return resultobj;
7475 fail:
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7483 wxFrame *result;
7484 PyObject * obj0 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 {
7499 resultobj = wxPyMake_wxObject(result);
7500 }
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7510 wxLog *result;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7518 {
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7521
7522 wxPyEndAllowThreads(__tstate);
7523 if (PyErr_Occurred()) SWIG_fail;
7524 }
7525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7526 return resultobj;
7527 fail:
7528 return NULL;
7529 }
7530
7531
7532 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7533 PyObject *resultobj;
7534 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7535 bool result;
7536 PyObject * obj0 = 0 ;
7537 char *kwnames[] = {
7538 (char *) "self", NULL
7539 };
7540
7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7560 bool arg2 ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "bDoPass", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 {
7570 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 (arg1)->PassMessages(arg2);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) SWIG_fail;
7579 }
7580 Py_INCREF(Py_None); resultobj = Py_None;
7581 return resultobj;
7582 fail:
7583 return NULL;
7584 }
7585
7586
7587 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7588 PyObject *obj;
7589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7590 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7591 Py_INCREF(obj);
7592 return Py_BuildValue((char *)"");
7593 }
7594 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxLog *arg1 = (wxLog *) 0 ;
7597 wxLogChain *result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "logger", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (wxLogChain *)new wxLogChain(arg1);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxLogChain *arg1 = (wxLogChain *) 0 ;
7622 wxLog *arg2 = (wxLog *) 0 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "logger", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 (arg1)->SetLog(arg2);
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 Py_INCREF(Py_None); resultobj = Py_None;
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxLogChain *arg1 = (wxLogChain *) 0 ;
7649 bool arg2 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self",(char *) "bDoPass", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7658 {
7659 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->PassMessages(arg2);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxLogChain *arg1 = (wxLogChain *) 0 ;
7679 bool result;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (bool)(arg1)->IsPassingMessages();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxLogChain *arg1 = (wxLogChain *) 0 ;
7704 wxLog *result;
7705 PyObject * obj0 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (wxLog *)(arg1)->GetOldLog();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723 }
7724
7725
7726 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7727 PyObject *obj;
7728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7729 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7730 Py_INCREF(obj);
7731 return Py_BuildValue((char *)"");
7732 }
7733 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 unsigned long result;
7736 char *kwnames[] = {
7737 NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (unsigned long)wxSysErrorCode();
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7749 return resultobj;
7750 fail:
7751 return NULL;
7752 }
7753
7754
7755 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 unsigned long arg1 = (unsigned long) 0 ;
7758 wxString result;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "nErrCode", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7765 if (obj0) {
7766 {
7767 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 }
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = wxSysErrorMsg(arg1);
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 {
7779 #if wxUSE_UNICODE
7780 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7781 #else
7782 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7783 #endif
7784 }
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxString *arg1 = 0 ;
7794 bool temp1 = False ;
7795 PyObject * obj0 = 0 ;
7796 char *kwnames[] = {
7797 (char *) "msg", NULL
7798 };
7799
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7801 {
7802 arg1 = wxString_in_helper(obj0);
7803 if (arg1 == NULL) SWIG_fail;
7804 temp1 = True;
7805 }
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 wxLogFatalError((wxString const &)*arg1);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 {
7815 if (temp1)
7816 delete arg1;
7817 }
7818 return resultobj;
7819 fail:
7820 {
7821 if (temp1)
7822 delete arg1;
7823 }
7824 return NULL;
7825 }
7826
7827
7828 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxString *arg1 = 0 ;
7831 bool temp1 = False ;
7832 PyObject * obj0 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "msg", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7838 {
7839 arg1 = wxString_in_helper(obj0);
7840 if (arg1 == NULL) SWIG_fail;
7841 temp1 = True;
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 wxLogError((wxString const &)*arg1);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 {
7852 if (temp1)
7853 delete arg1;
7854 }
7855 return resultobj;
7856 fail:
7857 {
7858 if (temp1)
7859 delete arg1;
7860 }
7861 return NULL;
7862 }
7863
7864
7865 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxString *arg1 = 0 ;
7868 bool temp1 = False ;
7869 PyObject * obj0 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "msg", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7875 {
7876 arg1 = wxString_in_helper(obj0);
7877 if (arg1 == NULL) SWIG_fail;
7878 temp1 = True;
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 wxLogWarning((wxString const &)*arg1);
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 {
7889 if (temp1)
7890 delete arg1;
7891 }
7892 return resultobj;
7893 fail:
7894 {
7895 if (temp1)
7896 delete arg1;
7897 }
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxString *arg1 = 0 ;
7905 bool temp1 = False ;
7906 PyObject * obj0 = 0 ;
7907 char *kwnames[] = {
7908 (char *) "msg", NULL
7909 };
7910
7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7912 {
7913 arg1 = wxString_in_helper(obj0);
7914 if (arg1 == NULL) SWIG_fail;
7915 temp1 = True;
7916 }
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 wxLogMessage((wxString const &)*arg1);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 Py_INCREF(Py_None); resultobj = Py_None;
7925 {
7926 if (temp1)
7927 delete arg1;
7928 }
7929 return resultobj;
7930 fail:
7931 {
7932 if (temp1)
7933 delete arg1;
7934 }
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxString *arg1 = 0 ;
7942 bool temp1 = False ;
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "msg", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7949 {
7950 arg1 = wxString_in_helper(obj0);
7951 if (arg1 == NULL) SWIG_fail;
7952 temp1 = True;
7953 }
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 wxLogInfo((wxString const &)*arg1);
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 Py_INCREF(Py_None); resultobj = Py_None;
7962 {
7963 if (temp1)
7964 delete arg1;
7965 }
7966 return resultobj;
7967 fail:
7968 {
7969 if (temp1)
7970 delete arg1;
7971 }
7972 return NULL;
7973 }
7974
7975
7976 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxString *arg1 = 0 ;
7979 bool temp1 = False ;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "msg", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
7986 {
7987 arg1 = wxString_in_helper(obj0);
7988 if (arg1 == NULL) SWIG_fail;
7989 temp1 = True;
7990 }
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 wxLogDebug((wxString const &)*arg1);
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 Py_INCREF(Py_None); resultobj = Py_None;
7999 {
8000 if (temp1)
8001 delete arg1;
8002 }
8003 return resultobj;
8004 fail:
8005 {
8006 if (temp1)
8007 delete arg1;
8008 }
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxString *arg1 = 0 ;
8016 bool temp1 = False ;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "msg", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8023 {
8024 arg1 = wxString_in_helper(obj0);
8025 if (arg1 == NULL) SWIG_fail;
8026 temp1 = True;
8027 }
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 wxLogVerbose((wxString const &)*arg1);
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 {
8037 if (temp1)
8038 delete arg1;
8039 }
8040 return resultobj;
8041 fail:
8042 {
8043 if (temp1)
8044 delete arg1;
8045 }
8046 return NULL;
8047 }
8048
8049
8050 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8051 PyObject *resultobj;
8052 wxString *arg1 = 0 ;
8053 bool temp1 = False ;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "msg", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8060 {
8061 arg1 = wxString_in_helper(obj0);
8062 if (arg1 == NULL) SWIG_fail;
8063 temp1 = True;
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 wxLogStatus((wxString const &)*arg1);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 {
8074 if (temp1)
8075 delete arg1;
8076 }
8077 return resultobj;
8078 fail:
8079 {
8080 if (temp1)
8081 delete arg1;
8082 }
8083 return NULL;
8084 }
8085
8086
8087 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxFrame *arg1 = (wxFrame *) 0 ;
8090 wxString *arg2 = 0 ;
8091 bool temp2 = False ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 char *kwnames[] = {
8095 (char *) "pFrame",(char *) "msg", NULL
8096 };
8097
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8100 {
8101 arg2 = wxString_in_helper(obj1);
8102 if (arg2 == NULL) SWIG_fail;
8103 temp2 = True;
8104 }
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 wxLogStatus(arg1,(wxString const &)*arg2);
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 Py_INCREF(Py_None); resultobj = Py_None;
8113 {
8114 if (temp2)
8115 delete arg2;
8116 }
8117 return resultobj;
8118 fail:
8119 {
8120 if (temp2)
8121 delete arg2;
8122 }
8123 return NULL;
8124 }
8125
8126
8127 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8128 PyObject *resultobj;
8129 wxString *arg1 = 0 ;
8130 bool temp1 = False ;
8131 PyObject * obj0 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "msg", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8137 {
8138 arg1 = wxString_in_helper(obj0);
8139 if (arg1 == NULL) SWIG_fail;
8140 temp1 = True;
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 wxLogSysError((wxString const &)*arg1);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 Py_INCREF(Py_None); resultobj = Py_None;
8150 {
8151 if (temp1)
8152 delete arg1;
8153 }
8154 return resultobj;
8155 fail:
8156 {
8157 if (temp1)
8158 delete arg1;
8159 }
8160 return NULL;
8161 }
8162
8163
8164 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8165 PyObject *resultobj;
8166 unsigned long arg1 ;
8167 wxString *arg2 = 0 ;
8168 bool temp2 = False ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171
8172 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8173 {
8174 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 arg2 = wxString_in_helper(obj1);
8179 if (arg2 == NULL) SWIG_fail;
8180 temp2 = True;
8181 }
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 wxLogTrace(arg1,(wxString const &)*arg2);
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 Py_INCREF(Py_None); resultobj = Py_None;
8190 {
8191 if (temp2)
8192 delete arg2;
8193 }
8194 return resultobj;
8195 fail:
8196 {
8197 if (temp2)
8198 delete arg2;
8199 }
8200 return NULL;
8201 }
8202
8203
8204 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8205 PyObject *resultobj;
8206 wxString *arg1 = 0 ;
8207 wxString *arg2 = 0 ;
8208 bool temp1 = False ;
8209 bool temp2 = False ;
8210 PyObject * obj0 = 0 ;
8211 PyObject * obj1 = 0 ;
8212
8213 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8214 {
8215 arg1 = wxString_in_helper(obj0);
8216 if (arg1 == NULL) SWIG_fail;
8217 temp1 = True;
8218 }
8219 {
8220 arg2 = wxString_in_helper(obj1);
8221 if (arg2 == NULL) SWIG_fail;
8222 temp2 = True;
8223 }
8224 {
8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
8226 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8227
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 Py_INCREF(Py_None); resultobj = Py_None;
8232 {
8233 if (temp1)
8234 delete arg1;
8235 }
8236 {
8237 if (temp2)
8238 delete arg2;
8239 }
8240 return resultobj;
8241 fail:
8242 {
8243 if (temp1)
8244 delete arg1;
8245 }
8246 {
8247 if (temp2)
8248 delete arg2;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8255 int argc;
8256 PyObject *argv[3];
8257 int ii;
8258
8259 argc = PyObject_Length(args);
8260 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8261 argv[ii] = PyTuple_GetItem(args,ii);
8262 }
8263 if (argc == 2) {
8264 int _v;
8265 {
8266 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
8267 }
8268 if (_v) {
8269 {
8270 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8271 }
8272 if (_v) {
8273 return _wrap_LogTrace__SWIG_1(self,args);
8274 }
8275 }
8276 }
8277 if (argc == 2) {
8278 int _v;
8279 {
8280 SWIG_PyObj_AsUnsignedLong(argv[0]);
8281 if (PyErr_Occurred()) {
8282 _v = 0;
8283 PyErr_Clear();
8284 } else {
8285 _v = 1;
8286 }
8287 }
8288 if (_v) {
8289 {
8290 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
8291 }
8292 if (_v) {
8293 return _wrap_LogTrace__SWIG_0(self,args);
8294 }
8295 }
8296 }
8297
8298 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8299 return NULL;
8300 }
8301
8302
8303 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj;
8305 unsigned long arg1 ;
8306 wxString *arg2 = 0 ;
8307 bool temp2 = False ;
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 char *kwnames[] = {
8311 (char *) "level",(char *) "msg", NULL
8312 };
8313
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8315 {
8316 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 {
8320 arg2 = wxString_in_helper(obj1);
8321 if (arg2 == NULL) SWIG_fail;
8322 temp2 = True;
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 wxLogGeneric(arg1,(wxString const &)*arg2);
8327
8328 wxPyEndAllowThreads(__tstate);
8329 if (PyErr_Occurred()) SWIG_fail;
8330 }
8331 Py_INCREF(Py_None); resultobj = Py_None;
8332 {
8333 if (temp2)
8334 delete arg2;
8335 }
8336 return resultobj;
8337 fail:
8338 {
8339 if (temp2)
8340 delete arg2;
8341 }
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxString *arg1 = 0 ;
8349 wxString *arg2 = 0 ;
8350 bool temp1 = False ;
8351 bool temp2 = False ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "title",(char *) "text", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8359 {
8360 arg1 = wxString_in_helper(obj0);
8361 if (arg1 == NULL) SWIG_fail;
8362 temp1 = True;
8363 }
8364 {
8365 arg2 = wxString_in_helper(obj1);
8366 if (arg2 == NULL) SWIG_fail;
8367 temp2 = True;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 Py_INCREF(Py_None); resultobj = Py_None;
8377 {
8378 if (temp1)
8379 delete arg1;
8380 }
8381 {
8382 if (temp2)
8383 delete arg2;
8384 }
8385 return resultobj;
8386 fail:
8387 {
8388 if (temp1)
8389 delete arg1;
8390 }
8391 {
8392 if (temp2)
8393 delete arg2;
8394 }
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxLogNull *result;
8402 char *kwnames[] = {
8403 NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxLogNull *)new wxLogNull();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxLogNull *arg1 = (wxLogNull *) 0 ;
8424 PyObject * obj0 = 0 ;
8425 char *kwnames[] = {
8426 (char *) "self", NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 delete arg1;
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 Py_INCREF(Py_None); resultobj = Py_None;
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8446 PyObject *obj;
8447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8448 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8449 Py_INCREF(obj);
8450 return Py_BuildValue((char *)"");
8451 }
8452 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8453 PyObject *resultobj;
8454 wxPyLog *result;
8455 char *kwnames[] = {
8456 NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 result = (wxPyLog *)new wxPyLog();
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 }
8467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8468 return resultobj;
8469 fail:
8470 return NULL;
8471 }
8472
8473
8474 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8475 PyObject *resultobj;
8476 wxPyLog *arg1 = (wxPyLog *) 0 ;
8477 PyObject *arg2 = (PyObject *) 0 ;
8478 PyObject *arg3 = (PyObject *) 0 ;
8479 PyObject * obj0 = 0 ;
8480 PyObject * obj1 = 0 ;
8481 PyObject * obj2 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self",(char *) "self",(char *) "_class", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 arg2 = obj1;
8489 arg3 = obj2;
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 (arg1)->_setCallbackInfo(arg2,arg3);
8493
8494 wxPyEndAllowThreads(__tstate);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 }
8497 Py_INCREF(Py_None); resultobj = Py_None;
8498 return resultobj;
8499 fail:
8500 return NULL;
8501 }
8502
8503
8504 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8505 PyObject *obj;
8506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8507 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8508 Py_INCREF(obj);
8509 return Py_BuildValue((char *)"");
8510 }
8511 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 int arg1 ;
8514 int arg2 = (int) wxSIGTERM ;
8515 int result;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "pid",(char *) "sig", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8523 {
8524 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 if (obj1) {
8528 {
8529 arg2 = (wxSignal) SWIG_PyObj_AsInt(obj1);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 }
8533 {
8534 PyThreadState* __tstate = wxPyBeginAllowThreads();
8535 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8536
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 resultobj = SWIG_PyObj_FromInt((int)result);
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 int arg1 ;
8550 bool result;
8551 PyObject * obj0 = 0 ;
8552 char *kwnames[] = {
8553 (char *) "pid", NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8557 {
8558 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (bool)wxPyProcess::Exists(arg1);
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxString *arg1 = 0 ;
8578 int arg2 = (int) wxEXEC_ASYNC ;
8579 wxPyProcess *result;
8580 bool temp1 = False ;
8581 PyObject * obj0 = 0 ;
8582 PyObject * obj1 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "cmd",(char *) "flags", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8588 {
8589 arg1 = wxString_in_helper(obj0);
8590 if (arg1 == NULL) SWIG_fail;
8591 temp1 = True;
8592 }
8593 if (obj1) {
8594 {
8595 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8607 {
8608 if (temp1)
8609 delete arg1;
8610 }
8611 return resultobj;
8612 fail:
8613 {
8614 if (temp1)
8615 delete arg1;
8616 }
8617 return NULL;
8618 }
8619
8620
8621 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8624 int arg2 = (int) -1 ;
8625 wxPyProcess *result;
8626 PyObject * obj0 = 0 ;
8627 PyObject * obj1 = 0 ;
8628 char *kwnames[] = {
8629 (char *) "parent",(char *) "id", NULL
8630 };
8631
8632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8633 if (obj0) {
8634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8635 }
8636 if (obj1) {
8637 {
8638 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 }
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8650 return resultobj;
8651 fail:
8652 return NULL;
8653 }
8654
8655
8656 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8659 PyObject *arg2 = (PyObject *) 0 ;
8660 PyObject *arg3 = (PyObject *) 0 ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 PyObject * obj2 = 0 ;
8664 char *kwnames[] = {
8665 (char *) "self",(char *) "self",(char *) "_class", NULL
8666 };
8667
8668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8670 arg2 = obj1;
8671 arg3 = obj2;
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->_setCallbackInfo(arg2,arg3);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8687 PyObject *resultobj;
8688 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8689 int arg2 ;
8690 int arg3 ;
8691 PyObject * obj0 = 0 ;
8692 PyObject * obj1 = 0 ;
8693 PyObject * obj2 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self",(char *) "pid",(char *) "status", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8700 {
8701 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 {
8705 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 (arg1)->base_OnTerminate(arg2,arg3);
8711
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 Py_INCREF(Py_None); resultobj = Py_None;
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8725 PyObject * obj0 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->Redirect();
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8749 bool result;
8750 PyObject * obj0 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "self", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (bool)(arg1)->IsRedirected();
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 (arg1)->Detach();
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 Py_INCREF(Py_None); resultobj = Py_None;
8789 return resultobj;
8790 fail:
8791 return NULL;
8792 }
8793
8794
8795 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8798 wxInputStream *result;
8799 PyObject * obj0 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (wxInputStream *)(arg1)->GetInputStream();
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 {
8814 wxPyInputStream * _ptr = NULL;
8815
8816 if (result) {
8817 _ptr = new wxPyInputStream(result);
8818 }
8819 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8820 }
8821 return resultobj;
8822 fail:
8823 return NULL;
8824 }
8825
8826
8827 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8830 wxInputStream *result;
8831 PyObject * obj0 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (wxInputStream *)(arg1)->GetErrorStream();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 {
8846 wxPyInputStream * _ptr = NULL;
8847
8848 if (result) {
8849 _ptr = new wxPyInputStream(result);
8850 }
8851 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8852 }
8853 return resultobj;
8854 fail:
8855 return NULL;
8856 }
8857
8858
8859 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8862 wxOutputStream *result;
8863 PyObject * obj0 = 0 ;
8864 char *kwnames[] = {
8865 (char *) "self", NULL
8866 };
8867
8868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 result = (wxOutputStream *)(arg1)->GetOutputStream();
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 }
8877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8878 return resultobj;
8879 fail:
8880 return NULL;
8881 }
8882
8883
8884 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj;
8886 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8887 PyObject * obj0 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->CloseOutput();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8911 bool result;
8912 PyObject * obj0 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8936 bool result;
8937 PyObject * obj0 = 0 ;
8938 char *kwnames[] = {
8939 (char *) "self", NULL
8940 };
8941
8942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8961 bool result;
8962 PyObject * obj0 = 0 ;
8963 char *kwnames[] = {
8964 (char *) "self", NULL
8965 };
8966
8967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
8968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
8984 PyObject *obj;
8985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
8987 Py_INCREF(obj);
8988 return Py_BuildValue((char *)"");
8989 }
8990 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 int arg1 = (int) 0 ;
8993 int arg2 = (int) 0 ;
8994 int arg3 = (int) 0 ;
8995 wxProcessEvent *result;
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 PyObject * obj2 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9004 if (obj0) {
9005 {
9006 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 }
9010 if (obj1) {
9011 {
9012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 }
9016 if (obj2) {
9017 {
9018 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)(arg1)->GetPid();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = SWIG_PyObj_FromInt((int)result);
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9064 int result;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (int)(arg1)->GetExitCode();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 resultobj = SWIG_PyObj_FromInt((int)result);
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9089 int arg2 ;
9090 PyObject * obj0 = 0 ;
9091 PyObject * obj1 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self",(char *) "m_pid", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9098 {
9099 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
9102 if (arg1) (arg1)->m_pid = arg2;
9103
9104 Py_INCREF(Py_None); resultobj = Py_None;
9105 return resultobj;
9106 fail:
9107 return NULL;
9108 }
9109
9110
9111 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9122 result = (int) ((arg1)->m_pid);
9123
9124 resultobj = SWIG_PyObj_FromInt((int)result);
9125 return resultobj;
9126 fail:
9127 return NULL;
9128 }
9129
9130
9131 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9132 PyObject *resultobj;
9133 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9134 int arg2 ;
9135 PyObject * obj0 = 0 ;
9136 PyObject * obj1 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "m_exitcode", NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9143 {
9144 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 if (arg1) (arg1)->m_exitcode = arg2;
9148
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153 }
9154
9155
9156 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9157 PyObject *resultobj;
9158 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9159 int result;
9160 PyObject * obj0 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9167 result = (int) ((arg1)->m_exitcode);
9168
9169 resultobj = SWIG_PyObj_FromInt((int)result);
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9177 PyObject *obj;
9178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9179 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9180 Py_INCREF(obj);
9181 return Py_BuildValue((char *)"");
9182 }
9183 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxString *arg1 = 0 ;
9186 int arg2 = (int) wxEXEC_ASYNC ;
9187 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9188 long result;
9189 bool temp1 = False ;
9190 PyObject * obj0 = 0 ;
9191 PyObject * obj1 = 0 ;
9192 PyObject * obj2 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "command",(char *) "flags",(char *) "process", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9198 {
9199 arg1 = wxString_in_helper(obj0);
9200 if (arg1 == NULL) SWIG_fail;
9201 temp1 = True;
9202 }
9203 if (obj1) {
9204 {
9205 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 }
9209 if (obj2) {
9210 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = SWIG_PyObj_FromLong((long)result);
9220 {
9221 if (temp1)
9222 delete arg1;
9223 }
9224 return resultobj;
9225 fail:
9226 {
9227 if (temp1)
9228 delete arg1;
9229 }
9230 return NULL;
9231 }
9232
9233
9234 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 int arg1 = (int) wxJOYSTICK1 ;
9237 wxJoystick *result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "joystick", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9244 if (obj0) {
9245 {
9246 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 }
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (wxJoystick *)new wxJoystick(arg1);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
9257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
9258 return resultobj;
9259 fail:
9260 return NULL;
9261 }
9262
9263
9264 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9265 PyObject *resultobj;
9266 wxJoystick *arg1 = (wxJoystick *) 0 ;
9267 PyObject * obj0 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 delete arg1;
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxJoystick *arg1 = (wxJoystick *) 0 ;
9291 wxPoint result;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 result = (arg1)->GetPosition();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 {
9307 wxPoint * resultptr;
9308 resultptr = new wxPoint((wxPoint &) result);
9309 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9310 }
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxJoystick *arg1 = (wxJoystick *) 0 ;
9320 int result;
9321 PyObject * obj0 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (int)(arg1)->GetZPosition();
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_PyObj_FromInt((int)result);
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxJoystick *arg1 = (wxJoystick *) 0 ;
9345 int result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (int)(arg1)->GetButtonState();
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_PyObj_FromInt((int)result);
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj;
9369 wxJoystick *arg1 = (wxJoystick *) 0 ;
9370 int result;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (int)(arg1)->GetPOVPosition();
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 resultobj = SWIG_PyObj_FromInt((int)result);
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxJoystick *arg1 = (wxJoystick *) 0 ;
9395 int result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (int)(arg1)->GetPOVCTSPosition();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = SWIG_PyObj_FromInt((int)result);
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxJoystick *arg1 = (wxJoystick *) 0 ;
9420 int result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (int)(arg1)->GetRudderPosition();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 resultobj = SWIG_PyObj_FromInt((int)result);
9436 return resultobj;
9437 fail:
9438 return NULL;
9439 }
9440
9441
9442 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxJoystick *arg1 = (wxJoystick *) 0 ;
9445 int result;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (int)(arg1)->GetUPosition();
9456
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 resultobj = SWIG_PyObj_FromInt((int)result);
9461 return resultobj;
9462 fail:
9463 return NULL;
9464 }
9465
9466
9467 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9468 PyObject *resultobj;
9469 wxJoystick *arg1 = (wxJoystick *) 0 ;
9470 int result;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (int)(arg1)->GetVPosition();
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 resultobj = SWIG_PyObj_FromInt((int)result);
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxJoystick *arg1 = (wxJoystick *) 0 ;
9495 int result;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (int)(arg1)->GetMovementThreshold();
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_PyObj_FromInt((int)result);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxJoystick *arg1 = (wxJoystick *) 0 ;
9520 int arg2 ;
9521 PyObject * obj0 = 0 ;
9522 PyObject * obj1 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self",(char *) "threshold", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 {
9530 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 (arg1)->SetMovementThreshold(arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 Py_INCREF(Py_None); resultobj = Py_None;
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxJoystick *arg1 = (wxJoystick *) 0 ;
9550 bool result;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (bool)(arg1)->IsOk();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxJoystick *arg1 = (wxJoystick *) 0 ;
9575 int result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (int)(arg1)->GetNumberJoysticks();
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 resultobj = SWIG_PyObj_FromInt((int)result);
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxJoystick *arg1 = (wxJoystick *) 0 ;
9600 int result;
9601 PyObject * obj0 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (int)(arg1)->GetManufacturerId();
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_PyObj_FromInt((int)result);
9616 return resultobj;
9617 fail:
9618 return NULL;
9619 }
9620
9621
9622 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxJoystick *arg1 = (wxJoystick *) 0 ;
9625 int result;
9626 PyObject * obj0 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (int)(arg1)->GetProductId();
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 resultobj = SWIG_PyObj_FromInt((int)result);
9641 return resultobj;
9642 fail:
9643 return NULL;
9644 }
9645
9646
9647 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxJoystick *arg1 = (wxJoystick *) 0 ;
9650 wxString result;
9651 PyObject * obj0 = 0 ;
9652 char *kwnames[] = {
9653 (char *) "self", NULL
9654 };
9655
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9658 {
9659 PyThreadState* __tstate = wxPyBeginAllowThreads();
9660 result = (arg1)->GetProductName();
9661
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 #if wxUSE_UNICODE
9667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9668 #else
9669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9670 #endif
9671 }
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxJoystick *arg1 = (wxJoystick *) 0 ;
9681 int result;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 result = (int)(arg1)->GetXMin();
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 resultobj = SWIG_PyObj_FromInt((int)result);
9697 return resultobj;
9698 fail:
9699 return NULL;
9700 }
9701
9702
9703 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxJoystick *arg1 = (wxJoystick *) 0 ;
9706 int result;
9707 PyObject * obj0 = 0 ;
9708 char *kwnames[] = {
9709 (char *) "self", NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 result = (int)(arg1)->GetYMin();
9717
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) SWIG_fail;
9720 }
9721 resultobj = SWIG_PyObj_FromInt((int)result);
9722 return resultobj;
9723 fail:
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxJoystick *arg1 = (wxJoystick *) 0 ;
9731 int result;
9732 PyObject * obj0 = 0 ;
9733 char *kwnames[] = {
9734 (char *) "self", NULL
9735 };
9736
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9739 {
9740 PyThreadState* __tstate = wxPyBeginAllowThreads();
9741 result = (int)(arg1)->GetZMin();
9742
9743 wxPyEndAllowThreads(__tstate);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 }
9746 resultobj = SWIG_PyObj_FromInt((int)result);
9747 return resultobj;
9748 fail:
9749 return NULL;
9750 }
9751
9752
9753 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject *resultobj;
9755 wxJoystick *arg1 = (wxJoystick *) 0 ;
9756 int result;
9757 PyObject * obj0 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (int)(arg1)->GetXMax();
9767
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = SWIG_PyObj_FromInt((int)result);
9772 return resultobj;
9773 fail:
9774 return NULL;
9775 }
9776
9777
9778 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj;
9780 wxJoystick *arg1 = (wxJoystick *) 0 ;
9781 int result;
9782 PyObject * obj0 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "self", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 result = (int)(arg1)->GetYMax();
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 resultobj = SWIG_PyObj_FromInt((int)result);
9797 return resultobj;
9798 fail:
9799 return NULL;
9800 }
9801
9802
9803 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9804 PyObject *resultobj;
9805 wxJoystick *arg1 = (wxJoystick *) 0 ;
9806 int result;
9807 PyObject * obj0 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 result = (int)(arg1)->GetZMax();
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 resultobj = SWIG_PyObj_FromInt((int)result);
9822 return resultobj;
9823 fail:
9824 return NULL;
9825 }
9826
9827
9828 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9829 PyObject *resultobj;
9830 wxJoystick *arg1 = (wxJoystick *) 0 ;
9831 int result;
9832 PyObject * obj0 = 0 ;
9833 char *kwnames[] = {
9834 (char *) "self", NULL
9835 };
9836
9837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 result = (int)(arg1)->GetNumberButtons();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_PyObj_FromInt((int)result);
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj;
9855 wxJoystick *arg1 = (wxJoystick *) 0 ;
9856 int result;
9857 PyObject * obj0 = 0 ;
9858 char *kwnames[] = {
9859 (char *) "self", NULL
9860 };
9861
9862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 result = (int)(arg1)->GetNumberAxes();
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 resultobj = SWIG_PyObj_FromInt((int)result);
9872 return resultobj;
9873 fail:
9874 return NULL;
9875 }
9876
9877
9878 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxJoystick *arg1 = (wxJoystick *) 0 ;
9881 int result;
9882 PyObject * obj0 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "self", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (int)(arg1)->GetMaxButtons();
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = SWIG_PyObj_FromInt((int)result);
9897 return resultobj;
9898 fail:
9899 return NULL;
9900 }
9901
9902
9903 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxJoystick *arg1 = (wxJoystick *) 0 ;
9906 int result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
9916 result = (int)(arg1)->GetMaxAxes();
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
9921 resultobj = SWIG_PyObj_FromInt((int)result);
9922 return resultobj;
9923 fail:
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxJoystick *arg1 = (wxJoystick *) 0 ;
9931 int result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (int)(arg1)->GetPollingMin();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = SWIG_PyObj_FromInt((int)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxJoystick *arg1 = (wxJoystick *) 0 ;
9956 int result;
9957 PyObject * obj0 = 0 ;
9958 char *kwnames[] = {
9959 (char *) "self", NULL
9960 };
9961
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 result = (int)(arg1)->GetPollingMax();
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_PyObj_FromInt((int)result);
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxJoystick *arg1 = (wxJoystick *) 0 ;
9981 int result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (int)(arg1)->GetRudderMin();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = SWIG_PyObj_FromInt((int)result);
9997 return resultobj;
9998 fail:
9999 return NULL;
10000 }
10001
10002
10003 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxJoystick *arg1 = (wxJoystick *) 0 ;
10006 int result;
10007 PyObject * obj0 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 {
10015 PyThreadState* __tstate = wxPyBeginAllowThreads();
10016 result = (int)(arg1)->GetRudderMax();
10017
10018 wxPyEndAllowThreads(__tstate);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 }
10021 resultobj = SWIG_PyObj_FromInt((int)result);
10022 return resultobj;
10023 fail:
10024 return NULL;
10025 }
10026
10027
10028 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10029 PyObject *resultobj;
10030 wxJoystick *arg1 = (wxJoystick *) 0 ;
10031 int result;
10032 PyObject * obj0 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 result = (int)(arg1)->GetUMin();
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_PyObj_FromInt((int)result);
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxJoystick *arg1 = (wxJoystick *) 0 ;
10056 int result;
10057 PyObject * obj0 = 0 ;
10058 char *kwnames[] = {
10059 (char *) "self", NULL
10060 };
10061
10062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (int)(arg1)->GetUMax();
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 resultobj = SWIG_PyObj_FromInt((int)result);
10072 return resultobj;
10073 fail:
10074 return NULL;
10075 }
10076
10077
10078 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10079 PyObject *resultobj;
10080 wxJoystick *arg1 = (wxJoystick *) 0 ;
10081 int result;
10082 PyObject * obj0 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "self", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 result = (int)(arg1)->GetVMin();
10092
10093 wxPyEndAllowThreads(__tstate);
10094 if (PyErr_Occurred()) SWIG_fail;
10095 }
10096 resultobj = SWIG_PyObj_FromInt((int)result);
10097 return resultobj;
10098 fail:
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxJoystick *arg1 = (wxJoystick *) 0 ;
10106 int result;
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "self", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 result = (int)(arg1)->GetVMax();
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 resultobj = SWIG_PyObj_FromInt((int)result);
10122 return resultobj;
10123 fail:
10124 return NULL;
10125 }
10126
10127
10128 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxJoystick *arg1 = (wxJoystick *) 0 ;
10131 bool result;
10132 PyObject * obj0 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (bool)(arg1)->HasRudder();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxJoystick *arg1 = (wxJoystick *) 0 ;
10156 bool result;
10157 PyObject * obj0 = 0 ;
10158 char *kwnames[] = {
10159 (char *) "self", NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10164 {
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (bool)(arg1)->HasZ();
10167
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10172 return resultobj;
10173 fail:
10174 return NULL;
10175 }
10176
10177
10178 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject *resultobj;
10180 wxJoystick *arg1 = (wxJoystick *) 0 ;
10181 bool result;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 result = (bool)(arg1)->HasU();
10192
10193 wxPyEndAllowThreads(__tstate);
10194 if (PyErr_Occurred()) SWIG_fail;
10195 }
10196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxJoystick *arg1 = (wxJoystick *) 0 ;
10206 bool result;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "self", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 result = (bool)(arg1)->HasV();
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxJoystick *arg1 = (wxJoystick *) 0 ;
10231 bool result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (bool)(arg1)->HasPOV();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxJoystick *arg1 = (wxJoystick *) 0 ;
10256 bool result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 {
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (bool)(arg1)->HasPOV4Dir();
10267
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275 }
10276
10277
10278 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxJoystick *arg1 = (wxJoystick *) 0 ;
10281 bool result;
10282 PyObject * obj0 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 result = (bool)(arg1)->HasPOVCTS();
10292
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj;
10305 wxJoystick *arg1 = (wxJoystick *) 0 ;
10306 wxWindow *arg2 = (wxWindow *) 0 ;
10307 int arg3 = (int) 0 ;
10308 bool result;
10309 PyObject * obj0 = 0 ;
10310 PyObject * obj1 = 0 ;
10311 PyObject * obj2 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10319 if (obj2) {
10320 {
10321 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 }
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (bool)(arg1)->SetCapture(arg2,arg3);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxJoystick *arg1 = (wxJoystick *) 0 ;
10342 bool result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 {
10351 PyThreadState* __tstate = wxPyBeginAllowThreads();
10352 result = (bool)(arg1)->ReleaseCapture();
10353
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10365 PyObject *obj;
10366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10367 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10368 Py_INCREF(obj);
10369 return Py_BuildValue((char *)"");
10370 }
10371 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10374 wxPoint *arg2 = (wxPoint *) 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "m_pos", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10384 if (arg1) (arg1)->m_pos = *arg2;
10385
10386 Py_INCREF(Py_None); resultobj = Py_None;
10387 return resultobj;
10388 fail:
10389 return NULL;
10390 }
10391
10392
10393 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10394 PyObject *resultobj;
10395 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10396 wxPoint *result;
10397 PyObject * obj0 = 0 ;
10398 char *kwnames[] = {
10399 (char *) "self", NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10404 result = (wxPoint *)& ((arg1)->m_pos);
10405
10406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10416 int arg2 ;
10417 PyObject * obj0 = 0 ;
10418 PyObject * obj1 = 0 ;
10419 char *kwnames[] = {
10420 (char *) "self",(char *) "m_zPosition", NULL
10421 };
10422
10423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10425 {
10426 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 }
10429 if (arg1) (arg1)->m_zPosition = arg2;
10430
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10441 int result;
10442 PyObject * obj0 = 0 ;
10443 char *kwnames[] = {
10444 (char *) "self", NULL
10445 };
10446
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10449 result = (int) ((arg1)->m_zPosition);
10450
10451 resultobj = SWIG_PyObj_FromInt((int)result);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10461 int arg2 ;
10462 PyObject * obj0 = 0 ;
10463 PyObject * obj1 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "m_buttonChange", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10470 {
10471 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 if (arg1) (arg1)->m_buttonChange = arg2;
10475
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10486 int result;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 result = (int) ((arg1)->m_buttonChange);
10495
10496 resultobj = SWIG_PyObj_FromInt((int)result);
10497 return resultobj;
10498 fail:
10499 return NULL;
10500 }
10501
10502
10503 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10506 int arg2 ;
10507 PyObject * obj0 = 0 ;
10508 PyObject * obj1 = 0 ;
10509 char *kwnames[] = {
10510 (char *) "self",(char *) "m_buttonState", NULL
10511 };
10512
10513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10515 {
10516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 if (arg1) (arg1)->m_buttonState = arg2;
10520
10521 Py_INCREF(Py_None); resultobj = Py_None;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10531 int result;
10532 PyObject * obj0 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "self", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10539 result = (int) ((arg1)->m_buttonState);
10540
10541 resultobj = SWIG_PyObj_FromInt((int)result);
10542 return resultobj;
10543 fail:
10544 return NULL;
10545 }
10546
10547
10548 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10549 PyObject *resultobj;
10550 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10551 int arg2 ;
10552 PyObject * obj0 = 0 ;
10553 PyObject * obj1 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self",(char *) "m_joyStick", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10560 {
10561 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 if (arg1) (arg1)->m_joyStick = arg2;
10565
10566 Py_INCREF(Py_None); resultobj = Py_None;
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj;
10575 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10576 int result;
10577 PyObject * obj0 = 0 ;
10578 char *kwnames[] = {
10579 (char *) "self", NULL
10580 };
10581
10582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10584 result = (int) ((arg1)->m_joyStick);
10585
10586 resultobj = SWIG_PyObj_FromInt((int)result);
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj;
10595 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10596 int arg2 = (int) 0 ;
10597 int arg3 = (int) wxJOYSTICK1 ;
10598 int arg4 = (int) 0 ;
10599 wxJoystickEvent *result;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 PyObject * obj2 = 0 ;
10603 PyObject * obj3 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10609 if (obj0) {
10610 {
10611 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 }
10615 if (obj1) {
10616 {
10617 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 }
10621 if (obj2) {
10622 {
10623 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 }
10627 if (obj3) {
10628 {
10629 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 }
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10636
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10641 return resultobj;
10642 fail:
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10650 wxPoint result;
10651 PyObject * obj0 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 {
10666 wxPoint * resultptr;
10667 resultptr = new wxPoint((wxPoint &) result);
10668 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10669 }
10670 return resultobj;
10671 fail:
10672 return NULL;
10673 }
10674
10675
10676 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10677 PyObject *resultobj;
10678 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10679 int result;
10680 PyObject * obj0 = 0 ;
10681 char *kwnames[] = {
10682 (char *) "self", NULL
10683 };
10684
10685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10687 {
10688 PyThreadState* __tstate = wxPyBeginAllowThreads();
10689 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10690
10691 wxPyEndAllowThreads(__tstate);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 resultobj = SWIG_PyObj_FromInt((int)result);
10695 return resultobj;
10696 fail:
10697 return NULL;
10698 }
10699
10700
10701 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10704 int result;
10705 PyObject * obj0 = 0 ;
10706 char *kwnames[] = {
10707 (char *) "self", NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_PyObj_FromInt((int)result);
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10729 int result;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_PyObj_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10754 int result;
10755 PyObject * obj0 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 resultobj = SWIG_PyObj_FromInt((int)result);
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10779 int arg2 ;
10780 PyObject * obj0 = 0 ;
10781 PyObject * obj1 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self",(char *) "stick", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 (arg1)->SetJoystick(arg2);
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 Py_INCREF(Py_None); resultobj = Py_None;
10800 return resultobj;
10801 fail:
10802 return NULL;
10803 }
10804
10805
10806 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj;
10808 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10809 int arg2 ;
10810 PyObject * obj0 = 0 ;
10811 PyObject * obj1 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self",(char *) "state", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10818 {
10819 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10820 if (PyErr_Occurred()) SWIG_fail;
10821 }
10822 {
10823 PyThreadState* __tstate = wxPyBeginAllowThreads();
10824 (arg1)->SetButtonState(arg2);
10825
10826 wxPyEndAllowThreads(__tstate);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 }
10829 Py_INCREF(Py_None); resultobj = Py_None;
10830 return resultobj;
10831 fail:
10832 return NULL;
10833 }
10834
10835
10836 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10837 PyObject *resultobj;
10838 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10839 int arg2 ;
10840 PyObject * obj0 = 0 ;
10841 PyObject * obj1 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self",(char *) "change", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 {
10849 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10850 if (PyErr_Occurred()) SWIG_fail;
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 (arg1)->SetButtonChange(arg2);
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 Py_INCREF(Py_None); resultobj = Py_None;
10860 return resultobj;
10861 fail:
10862 return NULL;
10863 }
10864
10865
10866 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10867 PyObject *resultobj;
10868 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10869 wxPoint *arg2 = 0 ;
10870 wxPoint temp2 ;
10871 PyObject * obj0 = 0 ;
10872 PyObject * obj1 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self",(char *) "pos", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 arg2 = &temp2;
10881 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10882 }
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 (arg1)->SetPosition((wxPoint const &)*arg2);
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 Py_INCREF(Py_None); resultobj = Py_None;
10891 return resultobj;
10892 fail:
10893 return NULL;
10894 }
10895
10896
10897 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10900 int arg2 ;
10901 PyObject * obj0 = 0 ;
10902 PyObject * obj1 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self",(char *) "zPos", NULL
10905 };
10906
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
10908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10909 {
10910 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->SetZPosition(arg2);
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924 }
10925
10926
10927 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10930 bool result;
10931 PyObject * obj0 = 0 ;
10932 char *kwnames[] = {
10933 (char *) "self", NULL
10934 };
10935
10936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10946 return resultobj;
10947 fail:
10948 return NULL;
10949 }
10950
10951
10952 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10955 bool result;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10971 return resultobj;
10972 fail:
10973 return NULL;
10974 }
10975
10976
10977 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10980 bool result;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10996 return resultobj;
10997 fail:
10998 return NULL;
10999 }
11000
11001
11002 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject *resultobj;
11004 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11005 int arg2 = (int) wxJOY_BUTTON_ANY ;
11006 bool result;
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "but", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 if (obj1) {
11016 {
11017 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11018 if (PyErr_Occurred()) SWIG_fail;
11019 }
11020 }
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj;
11037 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11038 int arg2 = (int) wxJOY_BUTTON_ANY ;
11039 bool result;
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "but", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 if (obj1) {
11049 {
11050 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11051 if (PyErr_Occurred()) SWIG_fail;
11052 }
11053 }
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11071 int arg2 = (int) wxJOY_BUTTON_ANY ;
11072 bool result;
11073 PyObject * obj0 = 0 ;
11074 PyObject * obj1 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "but", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11081 if (obj1) {
11082 {
11083 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 }
11087 {
11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
11089 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11102 PyObject *obj;
11103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11104 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11105 Py_INCREF(obj);
11106 return Py_BuildValue((char *)"");
11107 }
11108 static PyObject *_wrap_new_Sound__SWIG_0(PyObject *self, PyObject *args) {
11109 PyObject *resultobj;
11110 wxSound *result;
11111
11112 if(!PyArg_ParseTuple(args,(char *)":new_Sound")) goto fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (wxSound *)new wxSound();
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject *_wrap_new_Sound__SWIG_1(PyObject *self, PyObject *args) {
11128 PyObject *resultobj;
11129 wxString *arg1 = 0 ;
11130 bool arg2 = (bool) false ;
11131 wxSound *result;
11132 bool temp1 = False ;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135
11136 if(!PyArg_ParseTuple(args,(char *)"O|O:new_Sound",&obj0,&obj1)) goto fail;
11137 {
11138 arg1 = wxString_in_helper(obj0);
11139 if (arg1 == NULL) SWIG_fail;
11140 temp1 = True;
11141 }
11142 if (obj1) {
11143 {
11144 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 }
11148 {
11149 PyThreadState* __tstate = wxPyBeginAllowThreads();
11150 result = (wxSound *)new wxSound((wxString const &)*arg1,arg2);
11151
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11156 {
11157 if (temp1)
11158 delete arg1;
11159 }
11160 return resultobj;
11161 fail:
11162 {
11163 if (temp1)
11164 delete arg1;
11165 }
11166 return NULL;
11167 }
11168
11169
11170 static PyObject *_wrap_new_Sound__SWIG_2(PyObject *self, PyObject *args) {
11171 PyObject *resultobj;
11172 int arg1 ;
11173 wxByte *arg2 = (wxByte *) 0 ;
11174 wxSound *result;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177
11178 if(!PyArg_ParseTuple(args,(char *)"OO:new_Sound",&obj0,&obj1)) goto fail;
11179 {
11180 arg1 = (int) SWIG_PyObj_AsInt(obj0);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11184 {
11185 PyThreadState* __tstate = wxPyBeginAllowThreads();
11186 result = (wxSound *)new wxSound(arg1,(wxByte const *)arg2);
11187
11188 wxPyEndAllowThreads(__tstate);
11189 if (PyErr_Occurred()) SWIG_fail;
11190 }
11191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSound, 1);
11192 return resultobj;
11193 fail:
11194 return NULL;
11195 }
11196
11197
11198 static PyObject *_wrap_new_Sound(PyObject *self, PyObject *args) {
11199 int argc;
11200 PyObject *argv[3];
11201 int ii;
11202
11203 argc = PyObject_Length(args);
11204 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11205 argv[ii] = PyTuple_GetItem(args,ii);
11206 }
11207 if (argc == 0) {
11208 return _wrap_new_Sound__SWIG_0(self,args);
11209 }
11210 if ((argc >= 1) && (argc <= 2)) {
11211 int _v;
11212 {
11213 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11214 }
11215 if (_v) {
11216 if (argc <= 1) {
11217 return _wrap_new_Sound__SWIG_1(self,args);
11218 }
11219 {
11220 SWIG_PyObj_AsBool(argv[1]);
11221 if (PyErr_Occurred()) {
11222 _v = 0;
11223 PyErr_Clear();
11224 } else {
11225 _v = 1;
11226 }
11227 }
11228 if (_v) {
11229 return _wrap_new_Sound__SWIG_1(self,args);
11230 }
11231 }
11232 }
11233 if (argc == 2) {
11234 int _v;
11235 {
11236 SWIG_PyObj_AsInt(argv[0]);
11237 if (PyErr_Occurred()) {
11238 _v = 0;
11239 PyErr_Clear();
11240 } else {
11241 _v = 1;
11242 }
11243 }
11244 if (_v) {
11245 {
11246 void *ptr;
11247 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11248 _v = 0;
11249 PyErr_Clear();
11250 } else {
11251 _v = 1;
11252 }
11253 }
11254 if (_v) {
11255 return _wrap_new_Sound__SWIG_2(self,args);
11256 }
11257 }
11258 }
11259
11260 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_Sound'");
11261 return NULL;
11262 }
11263
11264
11265 static PyObject *_wrap_delete_Sound(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxSound *arg1 = (wxSound *) 0 ;
11268 PyObject * obj0 = 0 ;
11269 char *kwnames[] = {
11270 (char *) "self", NULL
11271 };
11272
11273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
11274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 delete arg1;
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 Py_INCREF(Py_None); resultobj = Py_None;
11283 return resultobj;
11284 fail:
11285 return NULL;
11286 }
11287
11288
11289 static PyObject *_wrap_Sound_Create__SWIG_0(PyObject *self, PyObject *args) {
11290 PyObject *resultobj;
11291 wxSound *arg1 = (wxSound *) 0 ;
11292 wxString *arg2 = 0 ;
11293 bool arg3 = (bool) false ;
11294 bool result;
11295 bool temp2 = False ;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 PyObject * obj2 = 0 ;
11299
11300 if(!PyArg_ParseTuple(args,(char *)"OO|O:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11302 {
11303 arg2 = wxString_in_helper(obj1);
11304 if (arg2 == NULL) SWIG_fail;
11305 temp2 = True;
11306 }
11307 if (obj2) {
11308 {
11309 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (bool)(arg1)->Create((wxString const &)*arg2,arg3);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11321 {
11322 if (temp2)
11323 delete arg2;
11324 }
11325 return resultobj;
11326 fail:
11327 {
11328 if (temp2)
11329 delete arg2;
11330 }
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_Sound_Create__SWIG_1(PyObject *self, PyObject *args) {
11336 PyObject *resultobj;
11337 wxSound *arg1 = (wxSound *) 0 ;
11338 int arg2 ;
11339 wxByte *arg3 = (wxByte *) 0 ;
11340 bool result;
11341 PyObject * obj0 = 0 ;
11342 PyObject * obj1 = 0 ;
11343 PyObject * obj2 = 0 ;
11344
11345 if(!PyArg_ParseTuple(args,(char *)"OOO:Sound_Create",&obj0,&obj1,&obj2)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11347 {
11348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxByte,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 result = (bool)(arg1)->Create(arg2,(wxByte const *)arg3);
11355
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 static PyObject *_wrap_Sound_Create(PyObject *self, PyObject *args) {
11367 int argc;
11368 PyObject *argv[4];
11369 int ii;
11370
11371 argc = PyObject_Length(args);
11372 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
11373 argv[ii] = PyTuple_GetItem(args,ii);
11374 }
11375 if ((argc >= 2) && (argc <= 3)) {
11376 int _v;
11377 {
11378 void *ptr;
11379 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11380 _v = 0;
11381 PyErr_Clear();
11382 } else {
11383 _v = 1;
11384 }
11385 }
11386 if (_v) {
11387 {
11388 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11389 }
11390 if (_v) {
11391 if (argc <= 2) {
11392 return _wrap_Sound_Create__SWIG_0(self,args);
11393 }
11394 {
11395 SWIG_PyObj_AsBool(argv[2]);
11396 if (PyErr_Occurred()) {
11397 _v = 0;
11398 PyErr_Clear();
11399 } else {
11400 _v = 1;
11401 }
11402 }
11403 if (_v) {
11404 return _wrap_Sound_Create__SWIG_0(self,args);
11405 }
11406 }
11407 }
11408 }
11409 if (argc == 3) {
11410 int _v;
11411 {
11412 void *ptr;
11413 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxSound, 0) == -1) {
11414 _v = 0;
11415 PyErr_Clear();
11416 } else {
11417 _v = 1;
11418 }
11419 }
11420 if (_v) {
11421 {
11422 SWIG_PyObj_AsInt(argv[1]);
11423 if (PyErr_Occurred()) {
11424 _v = 0;
11425 PyErr_Clear();
11426 } else {
11427 _v = 1;
11428 }
11429 }
11430 if (_v) {
11431 {
11432 void *ptr;
11433 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxByte, 0) == -1) {
11434 _v = 0;
11435 PyErr_Clear();
11436 } else {
11437 _v = 1;
11438 }
11439 }
11440 if (_v) {
11441 return _wrap_Sound_Create__SWIG_1(self,args);
11442 }
11443 }
11444 }
11445 }
11446
11447 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Sound_Create'");
11448 return NULL;
11449 }
11450
11451
11452 static PyObject *_wrap_Sound_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11453 PyObject *resultobj;
11454 wxSound *arg1 = (wxSound *) 0 ;
11455 bool result;
11456 PyObject * obj0 = 0 ;
11457 char *kwnames[] = {
11458 (char *) "self", NULL
11459 };
11460
11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
11462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (bool)(arg1)->IsOk();
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11471 return resultobj;
11472 fail:
11473 return NULL;
11474 }
11475
11476
11477 static PyObject *_wrap_Sound_Play(PyObject *self, PyObject *args) {
11478 PyObject *resultobj;
11479 wxSound *arg1 = (wxSound *) 0 ;
11480 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11481 bool result;
11482 PyObject * obj0 = 0 ;
11483 PyObject * obj1 = 0 ;
11484
11485 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_Play",&obj0,&obj1)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSound,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11487 if (obj1) {
11488 {
11489 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 }
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (bool)((wxSound const *)arg1)->Play(arg2);
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 static PyObject *_wrap_Sound_PlaySound(PyObject *self, PyObject *args) {
11508 PyObject *resultobj;
11509 wxString *arg1 = 0 ;
11510 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
11511 bool result;
11512 bool temp1 = False ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515
11516 if(!PyArg_ParseTuple(args,(char *)"O|O:Sound_PlaySound",&obj0,&obj1)) goto fail;
11517 {
11518 arg1 = wxString_in_helper(obj0);
11519 if (arg1 == NULL) SWIG_fail;
11520 temp1 = True;
11521 }
11522 if (obj1) {
11523 {
11524 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 }
11528 {
11529 PyThreadState* __tstate = wxPyBeginAllowThreads();
11530 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
11531
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11536 {
11537 if (temp1)
11538 delete arg1;
11539 }
11540 return resultobj;
11541 fail:
11542 {
11543 if (temp1)
11544 delete arg1;
11545 }
11546 return NULL;
11547 }
11548
11549
11550 static PyObject *_wrap_Sound_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj;
11552 char *kwnames[] = {
11553 NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 wxSound::Stop();
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject * Sound_swigregister(PyObject *self, PyObject *args) {
11572 PyObject *obj;
11573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
11575 Py_INCREF(obj);
11576 return Py_BuildValue((char *)"");
11577 }
11578 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxString *arg1 = 0 ;
11581 wxString *arg2 = 0 ;
11582 wxString *arg3 = 0 ;
11583 wxString *arg4 = 0 ;
11584 wxFileTypeInfo *result;
11585 bool temp1 = False ;
11586 bool temp2 = False ;
11587 bool temp3 = False ;
11588 bool temp4 = False ;
11589 PyObject * obj0 = 0 ;
11590 PyObject * obj1 = 0 ;
11591 PyObject * obj2 = 0 ;
11592 PyObject * obj3 = 0 ;
11593 char *kwnames[] = {
11594 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11595 };
11596
11597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11598 {
11599 arg1 = wxString_in_helper(obj0);
11600 if (arg1 == NULL) SWIG_fail;
11601 temp1 = True;
11602 }
11603 {
11604 arg2 = wxString_in_helper(obj1);
11605 if (arg2 == NULL) SWIG_fail;
11606 temp2 = True;
11607 }
11608 {
11609 arg3 = wxString_in_helper(obj2);
11610 if (arg3 == NULL) SWIG_fail;
11611 temp3 = True;
11612 }
11613 {
11614 arg4 = wxString_in_helper(obj3);
11615 if (arg4 == NULL) SWIG_fail;
11616 temp4 = True;
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11626 {
11627 if (temp1)
11628 delete arg1;
11629 }
11630 {
11631 if (temp2)
11632 delete arg2;
11633 }
11634 {
11635 if (temp3)
11636 delete arg3;
11637 }
11638 {
11639 if (temp4)
11640 delete arg4;
11641 }
11642 return resultobj;
11643 fail:
11644 {
11645 if (temp1)
11646 delete arg1;
11647 }
11648 {
11649 if (temp2)
11650 delete arg2;
11651 }
11652 {
11653 if (temp3)
11654 delete arg3;
11655 }
11656 {
11657 if (temp4)
11658 delete arg4;
11659 }
11660 return NULL;
11661 }
11662
11663
11664 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11665 PyObject *resultobj;
11666 wxArrayString *arg1 = 0 ;
11667 wxFileTypeInfo *result;
11668 PyObject * obj0 = 0 ;
11669 char *kwnames[] = {
11670 (char *) "sArray", NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11674 {
11675 if (! PySequence_Check(obj0)) {
11676 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11677 SWIG_fail;
11678 }
11679 arg1 = new wxArrayString;
11680 int i, len=PySequence_Length(obj0);
11681 for (i=0; i<len; i++) {
11682 PyObject* item = PySequence_GetItem(obj0, i);
11683 #if wxUSE_UNICODE
11684 PyObject* str = PyObject_Unicode(item);
11685 #else
11686 PyObject* str = PyObject_Str(item);
11687 #endif
11688 arg1->Add(Py2wxString(str));
11689 Py_DECREF(item);
11690 Py_DECREF(str);
11691 }
11692 }
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11701 {
11702 if (arg1) delete arg1;
11703 }
11704 return resultobj;
11705 fail:
11706 {
11707 if (arg1) delete arg1;
11708 }
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxFileTypeInfo *result;
11716 char *kwnames[] = {
11717 NULL
11718 };
11719
11720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11738 bool result;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11749
11750 wxPyEndAllowThreads(__tstate);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11754 return resultobj;
11755 fail:
11756 return NULL;
11757 }
11758
11759
11760 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11761 PyObject *resultobj;
11762 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11763 wxString *arg2 = 0 ;
11764 int arg3 = (int) 0 ;
11765 bool temp2 = False ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 PyObject * obj2 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 {
11776 arg2 = wxString_in_helper(obj1);
11777 if (arg2 == NULL) SWIG_fail;
11778 temp2 = True;
11779 }
11780 if (obj2) {
11781 {
11782 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 }
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11789
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 Py_INCREF(Py_None); resultobj = Py_None;
11794 {
11795 if (temp2)
11796 delete arg2;
11797 }
11798 return resultobj;
11799 fail:
11800 {
11801 if (temp2)
11802 delete arg2;
11803 }
11804 return NULL;
11805 }
11806
11807
11808 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11809 PyObject *resultobj;
11810 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11811 wxString *arg2 = 0 ;
11812 bool temp2 = False ;
11813 PyObject * obj0 = 0 ;
11814 PyObject * obj1 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self",(char *) "shortDesc", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11821 {
11822 arg2 = wxString_in_helper(obj1);
11823 if (arg2 == NULL) SWIG_fail;
11824 temp2 = True;
11825 }
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 (arg1)->SetShortDesc((wxString const &)*arg2);
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 Py_INCREF(Py_None); resultobj = Py_None;
11834 {
11835 if (temp2)
11836 delete arg2;
11837 }
11838 return resultobj;
11839 fail:
11840 {
11841 if (temp2)
11842 delete arg2;
11843 }
11844 return NULL;
11845 }
11846
11847
11848 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11849 PyObject *resultobj;
11850 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11851 wxString *result;
11852 PyObject * obj0 = 0 ;
11853 char *kwnames[] = {
11854 (char *) "self", NULL
11855 };
11856
11857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 {
11862 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11863 result = (wxString *) &_result_ref;
11864 }
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
11870 #if wxUSE_UNICODE
11871 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11872 #else
11873 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11874 #endif
11875 }
11876 return resultobj;
11877 fail:
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11885 wxString *result;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 {
11896 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11897 result = (wxString *) &_result_ref;
11898 }
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904 #if wxUSE_UNICODE
11905 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11906 #else
11907 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11908 #endif
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913 }
11914
11915
11916 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11919 wxString *result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 {
11930 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11931 result = (wxString *) &_result_ref;
11932 }
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 {
11938 #if wxUSE_UNICODE
11939 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11940 #else
11941 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11942 #endif
11943 }
11944 return resultobj;
11945 fail:
11946 return NULL;
11947 }
11948
11949
11950 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11951 PyObject *resultobj;
11952 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11953 wxString *result;
11954 PyObject * obj0 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 {
11964 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11965 result = (wxString *) &_result_ref;
11966 }
11967
11968 wxPyEndAllowThreads(__tstate);
11969 if (PyErr_Occurred()) SWIG_fail;
11970 }
11971 {
11972 #if wxUSE_UNICODE
11973 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11974 #else
11975 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11976 #endif
11977 }
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11987 wxString *result;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 {
11998 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11999 result = (wxString *) &_result_ref;
12000 }
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 {
12006 #if wxUSE_UNICODE
12007 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12008 #else
12009 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12010 #endif
12011 }
12012 return resultobj;
12013 fail:
12014 return NULL;
12015 }
12016
12017
12018 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12019 PyObject *resultobj;
12020 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12021 wxArrayString *result;
12022 PyObject * obj0 = 0 ;
12023 char *kwnames[] = {
12024 (char *) "self", NULL
12025 };
12026
12027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
12028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 {
12032 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
12033 result = (wxArrayString *) &_result_ref;
12034 }
12035
12036 wxPyEndAllowThreads(__tstate);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 {
12040 resultobj = wxArrayString2PyList_helper(*result);
12041 }
12042 return resultobj;
12043 fail:
12044 return NULL;
12045 }
12046
12047
12048 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12051 int result;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
12062
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 resultobj = SWIG_PyObj_FromInt((int)result);
12067 return resultobj;
12068 fail:
12069 return NULL;
12070 }
12071
12072
12073 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj;
12075 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12076 wxString *result;
12077 PyObject * obj0 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 {
12087 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
12088 result = (wxString *) &_result_ref;
12089 }
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 {
12095 #if wxUSE_UNICODE
12096 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12097 #else
12098 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12099 #endif
12100 }
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
12110 int result;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 resultobj = SWIG_PyObj_FromInt((int)result);
12126 return resultobj;
12127 fail:
12128 return NULL;
12129 }
12130
12131
12132 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
12133 PyObject *obj;
12134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12135 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
12136 Py_INCREF(obj);
12137 return Py_BuildValue((char *)"");
12138 }
12139 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj;
12141 wxFileTypeInfo *arg1 = 0 ;
12142 wxFileType *result;
12143 PyObject * obj0 = 0 ;
12144 char *kwnames[] = {
12145 (char *) "ftInfo", NULL
12146 };
12147
12148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
12149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12150 if (arg1 == NULL) {
12151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12152 }
12153 {
12154 PyThreadState* __tstate = wxPyBeginAllowThreads();
12155 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
12156
12157 wxPyEndAllowThreads(__tstate);
12158 if (PyErr_Occurred()) SWIG_fail;
12159 }
12160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12161 return resultobj;
12162 fail:
12163 return NULL;
12164 }
12165
12166
12167 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
12168 PyObject *resultobj;
12169 wxFileType *arg1 = (wxFileType *) 0 ;
12170 PyObject * obj0 = 0 ;
12171 char *kwnames[] = {
12172 (char *) "self", NULL
12173 };
12174
12175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
12176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 delete arg1;
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
12184 Py_INCREF(Py_None); resultobj = Py_None;
12185 return resultobj;
12186 fail:
12187 return NULL;
12188 }
12189
12190
12191 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12192 PyObject *resultobj;
12193 wxFileType *arg1 = (wxFileType *) 0 ;
12194 PyObject *result;
12195 PyObject * obj0 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "self", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (PyObject *)wxFileType_GetMimeType(arg1);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = result;
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxFileType *arg1 = (wxFileType *) 0 ;
12219 PyObject *result;
12220 PyObject * obj0 = 0 ;
12221 char *kwnames[] = {
12222 (char *) "self", NULL
12223 };
12224
12225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
12226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = result;
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxFileType *arg1 = (wxFileType *) 0 ;
12244 PyObject *result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (PyObject *)wxFileType_GetExtensions(arg1);
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = result;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxFileType *arg1 = (wxFileType *) 0 ;
12269 wxIcon *result;
12270 PyObject * obj0 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 result = (wxIcon *)wxFileType_GetIcon(arg1);
12280
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
12285 return resultobj;
12286 fail:
12287 return NULL;
12288 }
12289
12290
12291 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12292 PyObject *resultobj;
12293 wxFileType *arg1 = (wxFileType *) 0 ;
12294 PyObject *result;
12295 PyObject * obj0 = 0 ;
12296 char *kwnames[] = {
12297 (char *) "self", NULL
12298 };
12299
12300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12302 {
12303 PyThreadState* __tstate = wxPyBeginAllowThreads();
12304 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12305
12306 wxPyEndAllowThreads(__tstate);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 resultobj = result;
12310 return resultobj;
12311 fail:
12312 return NULL;
12313 }
12314
12315
12316 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12317 PyObject *resultobj;
12318 wxFileType *arg1 = (wxFileType *) 0 ;
12319 PyObject *result;
12320 PyObject * obj0 = 0 ;
12321 char *kwnames[] = {
12322 (char *) "self", NULL
12323 };
12324
12325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = (PyObject *)wxFileType_GetDescription(arg1);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 resultobj = result;
12335 return resultobj;
12336 fail:
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxFileType *arg1 = (wxFileType *) 0 ;
12344 wxString *arg2 = 0 ;
12345 wxString const &arg3_defvalue = wxPyEmptyString ;
12346 wxString *arg3 = (wxString *) &arg3_defvalue ;
12347 PyObject *result;
12348 bool temp2 = False ;
12349 bool temp3 = False ;
12350 PyObject * obj0 = 0 ;
12351 PyObject * obj1 = 0 ;
12352 PyObject * obj2 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12359 {
12360 arg2 = wxString_in_helper(obj1);
12361 if (arg2 == NULL) SWIG_fail;
12362 temp2 = True;
12363 }
12364 if (obj2) {
12365 {
12366 arg3 = wxString_in_helper(obj2);
12367 if (arg3 == NULL) SWIG_fail;
12368 temp3 = True;
12369 }
12370 }
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = result;
12379 {
12380 if (temp2)
12381 delete arg2;
12382 }
12383 {
12384 if (temp3)
12385 delete arg3;
12386 }
12387 return resultobj;
12388 fail:
12389 {
12390 if (temp2)
12391 delete arg2;
12392 }
12393 {
12394 if (temp3)
12395 delete arg3;
12396 }
12397 return NULL;
12398 }
12399
12400
12401 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj;
12403 wxFileType *arg1 = (wxFileType *) 0 ;
12404 wxString *arg2 = 0 ;
12405 wxString const &arg3_defvalue = wxPyEmptyString ;
12406 wxString *arg3 = (wxString *) &arg3_defvalue ;
12407 PyObject *result;
12408 bool temp2 = False ;
12409 bool temp3 = False ;
12410 PyObject * obj0 = 0 ;
12411 PyObject * obj1 = 0 ;
12412 PyObject * obj2 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12419 {
12420 arg2 = wxString_in_helper(obj1);
12421 if (arg2 == NULL) SWIG_fail;
12422 temp2 = True;
12423 }
12424 if (obj2) {
12425 {
12426 arg3 = wxString_in_helper(obj2);
12427 if (arg3 == NULL) SWIG_fail;
12428 temp3 = True;
12429 }
12430 }
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12434
12435 wxPyEndAllowThreads(__tstate);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 resultobj = result;
12439 {
12440 if (temp2)
12441 delete arg2;
12442 }
12443 {
12444 if (temp3)
12445 delete arg3;
12446 }
12447 return resultobj;
12448 fail:
12449 {
12450 if (temp2)
12451 delete arg2;
12452 }
12453 {
12454 if (temp3)
12455 delete arg3;
12456 }
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxFileType *arg1 = (wxFileType *) 0 ;
12464 wxString *arg2 = 0 ;
12465 wxString const &arg3_defvalue = wxPyEmptyString ;
12466 wxString *arg3 = (wxString *) &arg3_defvalue ;
12467 PyObject *result;
12468 bool temp2 = False ;
12469 bool temp3 = False ;
12470 PyObject * obj0 = 0 ;
12471 PyObject * obj1 = 0 ;
12472 PyObject * obj2 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12479 {
12480 arg2 = wxString_in_helper(obj1);
12481 if (arg2 == NULL) SWIG_fail;
12482 temp2 = True;
12483 }
12484 if (obj2) {
12485 {
12486 arg3 = wxString_in_helper(obj2);
12487 if (arg3 == NULL) SWIG_fail;
12488 temp3 = True;
12489 }
12490 }
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 resultobj = result;
12499 {
12500 if (temp2)
12501 delete arg2;
12502 }
12503 {
12504 if (temp3)
12505 delete arg3;
12506 }
12507 return resultobj;
12508 fail:
12509 {
12510 if (temp2)
12511 delete arg2;
12512 }
12513 {
12514 if (temp3)
12515 delete arg3;
12516 }
12517 return NULL;
12518 }
12519
12520
12521 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxFileType *arg1 = (wxFileType *) 0 ;
12524 wxString *arg2 = 0 ;
12525 wxString *arg3 = 0 ;
12526 bool arg4 = (bool) True ;
12527 bool result;
12528 bool temp2 = False ;
12529 bool temp3 = False ;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 PyObject * obj2 = 0 ;
12533 PyObject * obj3 = 0 ;
12534 char *kwnames[] = {
12535 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12536 };
12537
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12540 {
12541 arg2 = wxString_in_helper(obj1);
12542 if (arg2 == NULL) SWIG_fail;
12543 temp2 = True;
12544 }
12545 {
12546 arg3 = wxString_in_helper(obj2);
12547 if (arg3 == NULL) SWIG_fail;
12548 temp3 = True;
12549 }
12550 if (obj3) {
12551 {
12552 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 }
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12564 {
12565 if (temp2)
12566 delete arg2;
12567 }
12568 {
12569 if (temp3)
12570 delete arg3;
12571 }
12572 return resultobj;
12573 fail:
12574 {
12575 if (temp2)
12576 delete arg2;
12577 }
12578 {
12579 if (temp3)
12580 delete arg3;
12581 }
12582 return NULL;
12583 }
12584
12585
12586 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxFileType *arg1 = (wxFileType *) 0 ;
12589 wxString const &arg2_defvalue = wxPyEmptyString ;
12590 wxString *arg2 = (wxString *) &arg2_defvalue ;
12591 int arg3 = (int) 0 ;
12592 bool result;
12593 bool temp2 = False ;
12594 PyObject * obj0 = 0 ;
12595 PyObject * obj1 = 0 ;
12596 PyObject * obj2 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self",(char *) "cmd",(char *) "index", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12603 if (obj1) {
12604 {
12605 arg2 = wxString_in_helper(obj1);
12606 if (arg2 == NULL) SWIG_fail;
12607 temp2 = True;
12608 }
12609 }
12610 if (obj2) {
12611 {
12612 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 }
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12624 {
12625 if (temp2)
12626 delete arg2;
12627 }
12628 return resultobj;
12629 fail:
12630 {
12631 if (temp2)
12632 delete arg2;
12633 }
12634 return NULL;
12635 }
12636
12637
12638 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12639 PyObject *resultobj;
12640 wxFileType *arg1 = (wxFileType *) 0 ;
12641 bool result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (bool)(arg1)->Unassociate();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
12656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12657 return resultobj;
12658 fail:
12659 return NULL;
12660 }
12661
12662
12663 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12664 PyObject *resultobj;
12665 wxString *arg1 = 0 ;
12666 wxString *arg2 = 0 ;
12667 wxString const &arg3_defvalue = wxPyEmptyString ;
12668 wxString *arg3 = (wxString *) &arg3_defvalue ;
12669 wxString result;
12670 bool temp1 = False ;
12671 bool temp2 = False ;
12672 bool temp3 = False ;
12673 PyObject * obj0 = 0 ;
12674 PyObject * obj1 = 0 ;
12675 PyObject * obj2 = 0 ;
12676 char *kwnames[] = {
12677 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12678 };
12679
12680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12681 {
12682 arg1 = wxString_in_helper(obj0);
12683 if (arg1 == NULL) SWIG_fail;
12684 temp1 = True;
12685 }
12686 {
12687 arg2 = wxString_in_helper(obj1);
12688 if (arg2 == NULL) SWIG_fail;
12689 temp2 = True;
12690 }
12691 if (obj2) {
12692 {
12693 arg3 = wxString_in_helper(obj2);
12694 if (arg3 == NULL) SWIG_fail;
12695 temp3 = True;
12696 }
12697 }
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 {
12706 #if wxUSE_UNICODE
12707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12708 #else
12709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12710 #endif
12711 }
12712 {
12713 if (temp1)
12714 delete arg1;
12715 }
12716 {
12717 if (temp2)
12718 delete arg2;
12719 }
12720 {
12721 if (temp3)
12722 delete arg3;
12723 }
12724 return resultobj;
12725 fail:
12726 {
12727 if (temp1)
12728 delete arg1;
12729 }
12730 {
12731 if (temp2)
12732 delete arg2;
12733 }
12734 {
12735 if (temp3)
12736 delete arg3;
12737 }
12738 return NULL;
12739 }
12740
12741
12742 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12743 PyObject *obj;
12744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12745 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12746 Py_INCREF(obj);
12747 return Py_BuildValue((char *)"");
12748 }
12749 static int _wrap_TheMimeTypesManager_set(PyObject *) {
12750 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12751 return 1;
12752 }
12753
12754
12755 static PyObject *_wrap_TheMimeTypesManager_get() {
12756 PyObject *pyobj;
12757
12758 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12759 return pyobj;
12760 }
12761
12762
12763 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxString *arg1 = 0 ;
12766 wxString *arg2 = 0 ;
12767 bool result;
12768 bool temp1 = False ;
12769 bool temp2 = False ;
12770 PyObject * obj0 = 0 ;
12771 PyObject * obj1 = 0 ;
12772 char *kwnames[] = {
12773 (char *) "mimeType",(char *) "wildcard", NULL
12774 };
12775
12776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12777 {
12778 arg1 = wxString_in_helper(obj0);
12779 if (arg1 == NULL) SWIG_fail;
12780 temp1 = True;
12781 }
12782 {
12783 arg2 = wxString_in_helper(obj1);
12784 if (arg2 == NULL) SWIG_fail;
12785 temp2 = True;
12786 }
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12795 {
12796 if (temp1)
12797 delete arg1;
12798 }
12799 {
12800 if (temp2)
12801 delete arg2;
12802 }
12803 return resultobj;
12804 fail:
12805 {
12806 if (temp1)
12807 delete arg1;
12808 }
12809 {
12810 if (temp2)
12811 delete arg2;
12812 }
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxMimeTypesManager *result;
12820 char *kwnames[] = {
12821 NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12833 return resultobj;
12834 fail:
12835 return NULL;
12836 }
12837
12838
12839 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12840 PyObject *resultobj;
12841 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12842 int arg2 = (int) wxMAILCAP_ALL ;
12843 wxString const &arg3_defvalue = wxPyEmptyString ;
12844 wxString *arg3 = (wxString *) &arg3_defvalue ;
12845 bool temp3 = False ;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 PyObject * obj2 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12855 if (obj1) {
12856 {
12857 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 }
12861 if (obj2) {
12862 {
12863 arg3 = wxString_in_helper(obj2);
12864 if (arg3 == NULL) SWIG_fail;
12865 temp3 = True;
12866 }
12867 }
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12871
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 Py_INCREF(Py_None); resultobj = Py_None;
12876 {
12877 if (temp3)
12878 delete arg3;
12879 }
12880 return resultobj;
12881 fail:
12882 {
12883 if (temp3)
12884 delete arg3;
12885 }
12886 return NULL;
12887 }
12888
12889
12890 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12891 PyObject *resultobj;
12892 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12893 PyObject * obj0 = 0 ;
12894 char *kwnames[] = {
12895 (char *) "self", NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 (arg1)->ClearData();
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911 }
12912
12913
12914 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12917 wxString *arg2 = 0 ;
12918 wxFileType *result;
12919 bool temp2 = False ;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "ext", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12928 {
12929 arg2 = wxString_in_helper(obj1);
12930 if (arg2 == NULL) SWIG_fail;
12931 temp2 = True;
12932 }
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12941 {
12942 if (temp2)
12943 delete arg2;
12944 }
12945 return resultobj;
12946 fail:
12947 {
12948 if (temp2)
12949 delete arg2;
12950 }
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12958 wxString *arg2 = 0 ;
12959 wxFileType *result;
12960 bool temp2 = False ;
12961 PyObject * obj0 = 0 ;
12962 PyObject * obj1 = 0 ;
12963 char *kwnames[] = {
12964 (char *) "self",(char *) "mimeType", NULL
12965 };
12966
12967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12969 {
12970 arg2 = wxString_in_helper(obj1);
12971 if (arg2 == NULL) SWIG_fail;
12972 temp2 = True;
12973 }
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12982 {
12983 if (temp2)
12984 delete arg2;
12985 }
12986 return resultobj;
12987 fail:
12988 {
12989 if (temp2)
12990 delete arg2;
12991 }
12992 return NULL;
12993 }
12994
12995
12996 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12997 PyObject *resultobj;
12998 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12999 wxString *arg2 = 0 ;
13000 bool arg3 = (bool) False ;
13001 bool result;
13002 bool temp2 = False ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 PyObject * obj2 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 {
13013 arg2 = wxString_in_helper(obj1);
13014 if (arg2 == NULL) SWIG_fail;
13015 temp2 = True;
13016 }
13017 if (obj2) {
13018 {
13019 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 }
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
13026
13027 wxPyEndAllowThreads(__tstate);
13028 if (PyErr_Occurred()) SWIG_fail;
13029 }
13030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13031 {
13032 if (temp2)
13033 delete arg2;
13034 }
13035 return resultobj;
13036 fail:
13037 {
13038 if (temp2)
13039 delete arg2;
13040 }
13041 return NULL;
13042 }
13043
13044
13045 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13046 PyObject *resultobj;
13047 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13048 wxString *arg2 = 0 ;
13049 bool result;
13050 bool temp2 = False ;
13051 PyObject * obj0 = 0 ;
13052 PyObject * obj1 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self",(char *) "filename", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 arg2 = wxString_in_helper(obj1);
13061 if (arg2 == NULL) SWIG_fail;
13062 temp2 = True;
13063 }
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 return resultobj;
13077 fail:
13078 {
13079 if (temp2)
13080 delete arg2;
13081 }
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13089 PyObject *result;
13090 PyObject * obj0 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self", NULL
13093 };
13094
13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
13096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 resultobj = result;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108 }
13109
13110
13111 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj;
13113 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13114 wxFileTypeInfo *arg2 = 0 ;
13115 PyObject * obj0 = 0 ;
13116 PyObject * obj1 = 0 ;
13117 char *kwnames[] = {
13118 (char *) "self",(char *) "ft", NULL
13119 };
13120
13121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
13122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13124 if (arg2 == NULL) {
13125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13126 }
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 Py_INCREF(Py_None); resultobj = Py_None;
13135 return resultobj;
13136 fail:
13137 return NULL;
13138 }
13139
13140
13141 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13144 wxFileTypeInfo *arg2 = 0 ;
13145 wxFileType *result;
13146 PyObject * obj0 = 0 ;
13147 PyObject * obj1 = 0 ;
13148 char *kwnames[] = {
13149 (char *) "self",(char *) "ftInfo", NULL
13150 };
13151
13152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
13153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13155 if (arg2 == NULL) {
13156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13157 }
13158 {
13159 PyThreadState* __tstate = wxPyBeginAllowThreads();
13160 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
13161
13162 wxPyEndAllowThreads(__tstate);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
13173 PyObject *resultobj;
13174 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13175 wxFileType *arg2 = (wxFileType *) 0 ;
13176 bool result;
13177 PyObject * obj0 = 0 ;
13178 PyObject * obj1 = 0 ;
13179 char *kwnames[] = {
13180 (char *) "self",(char *) "ft", NULL
13181 };
13182
13183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
13184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 result = (bool)(arg1)->Unassociate(arg2);
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13194 return resultobj;
13195 fail:
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
13203 PyObject * obj0 = 0 ;
13204 char *kwnames[] = {
13205 (char *) "self", NULL
13206 };
13207
13208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
13209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 delete arg1;
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 Py_INCREF(Py_None); resultobj = Py_None;
13218 return resultobj;
13219 fail:
13220 return NULL;
13221 }
13222
13223
13224 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
13225 PyObject *obj;
13226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
13228 Py_INCREF(obj);
13229 return Py_BuildValue((char *)"");
13230 }
13231 static int _wrap_ART_TOOLBAR_set(PyObject *) {
13232 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
13233 return 1;
13234 }
13235
13236
13237 static PyObject *_wrap_ART_TOOLBAR_get() {
13238 PyObject *pyobj;
13239
13240 {
13241 #if wxUSE_UNICODE
13242 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13243 #else
13244 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
13245 #endif
13246 }
13247 return pyobj;
13248 }
13249
13250
13251 static int _wrap_ART_MENU_set(PyObject *) {
13252 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
13253 return 1;
13254 }
13255
13256
13257 static PyObject *_wrap_ART_MENU_get() {
13258 PyObject *pyobj;
13259
13260 {
13261 #if wxUSE_UNICODE
13262 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13263 #else
13264 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13265 #endif
13266 }
13267 return pyobj;
13268 }
13269
13270
13271 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
13272 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13273 return 1;
13274 }
13275
13276
13277 static PyObject *_wrap_ART_FRAME_ICON_get() {
13278 PyObject *pyobj;
13279
13280 {
13281 #if wxUSE_UNICODE
13282 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13283 #else
13284 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13285 #endif
13286 }
13287 return pyobj;
13288 }
13289
13290
13291 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
13292 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13293 return 1;
13294 }
13295
13296
13297 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13298 PyObject *pyobj;
13299
13300 {
13301 #if wxUSE_UNICODE
13302 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13303 #else
13304 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13305 #endif
13306 }
13307 return pyobj;
13308 }
13309
13310
13311 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
13312 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13313 return 1;
13314 }
13315
13316
13317 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13318 PyObject *pyobj;
13319
13320 {
13321 #if wxUSE_UNICODE
13322 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13323 #else
13324 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13325 #endif
13326 }
13327 return pyobj;
13328 }
13329
13330
13331 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
13332 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13333 return 1;
13334 }
13335
13336
13337 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13338 PyObject *pyobj;
13339
13340 {
13341 #if wxUSE_UNICODE
13342 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13343 #else
13344 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13345 #endif
13346 }
13347 return pyobj;
13348 }
13349
13350
13351 static int _wrap_ART_OTHER_set(PyObject *) {
13352 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13353 return 1;
13354 }
13355
13356
13357 static PyObject *_wrap_ART_OTHER_get() {
13358 PyObject *pyobj;
13359
13360 {
13361 #if wxUSE_UNICODE
13362 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13363 #else
13364 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13365 #endif
13366 }
13367 return pyobj;
13368 }
13369
13370
13371 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
13372 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13373 return 1;
13374 }
13375
13376
13377 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13378 PyObject *pyobj;
13379
13380 {
13381 #if wxUSE_UNICODE
13382 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13383 #else
13384 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13385 #endif
13386 }
13387 return pyobj;
13388 }
13389
13390
13391 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
13392 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13393 return 1;
13394 }
13395
13396
13397 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13398 PyObject *pyobj;
13399
13400 {
13401 #if wxUSE_UNICODE
13402 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13403 #else
13404 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13405 #endif
13406 }
13407 return pyobj;
13408 }
13409
13410
13411 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
13412 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13413 return 1;
13414 }
13415
13416
13417 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13418 PyObject *pyobj;
13419
13420 {
13421 #if wxUSE_UNICODE
13422 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13423 #else
13424 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13425 #endif
13426 }
13427 return pyobj;
13428 }
13429
13430
13431 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
13432 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13433 return 1;
13434 }
13435
13436
13437 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13438 PyObject *pyobj;
13439
13440 {
13441 #if wxUSE_UNICODE
13442 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13443 #else
13444 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13445 #endif
13446 }
13447 return pyobj;
13448 }
13449
13450
13451 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
13452 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13453 return 1;
13454 }
13455
13456
13457 static PyObject *_wrap_ART_HELP_BOOK_get() {
13458 PyObject *pyobj;
13459
13460 {
13461 #if wxUSE_UNICODE
13462 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13463 #else
13464 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13465 #endif
13466 }
13467 return pyobj;
13468 }
13469
13470
13471 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
13472 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13473 return 1;
13474 }
13475
13476
13477 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13478 PyObject *pyobj;
13479
13480 {
13481 #if wxUSE_UNICODE
13482 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13483 #else
13484 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13485 #endif
13486 }
13487 return pyobj;
13488 }
13489
13490
13491 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
13492 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13493 return 1;
13494 }
13495
13496
13497 static PyObject *_wrap_ART_HELP_PAGE_get() {
13498 PyObject *pyobj;
13499
13500 {
13501 #if wxUSE_UNICODE
13502 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13503 #else
13504 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13505 #endif
13506 }
13507 return pyobj;
13508 }
13509
13510
13511 static int _wrap_ART_GO_BACK_set(PyObject *) {
13512 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13513 return 1;
13514 }
13515
13516
13517 static PyObject *_wrap_ART_GO_BACK_get() {
13518 PyObject *pyobj;
13519
13520 {
13521 #if wxUSE_UNICODE
13522 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13523 #else
13524 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13525 #endif
13526 }
13527 return pyobj;
13528 }
13529
13530
13531 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
13532 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13533 return 1;
13534 }
13535
13536
13537 static PyObject *_wrap_ART_GO_FORWARD_get() {
13538 PyObject *pyobj;
13539
13540 {
13541 #if wxUSE_UNICODE
13542 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13543 #else
13544 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13545 #endif
13546 }
13547 return pyobj;
13548 }
13549
13550
13551 static int _wrap_ART_GO_UP_set(PyObject *) {
13552 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13553 return 1;
13554 }
13555
13556
13557 static PyObject *_wrap_ART_GO_UP_get() {
13558 PyObject *pyobj;
13559
13560 {
13561 #if wxUSE_UNICODE
13562 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13563 #else
13564 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13565 #endif
13566 }
13567 return pyobj;
13568 }
13569
13570
13571 static int _wrap_ART_GO_DOWN_set(PyObject *) {
13572 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13573 return 1;
13574 }
13575
13576
13577 static PyObject *_wrap_ART_GO_DOWN_get() {
13578 PyObject *pyobj;
13579
13580 {
13581 #if wxUSE_UNICODE
13582 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13583 #else
13584 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13585 #endif
13586 }
13587 return pyobj;
13588 }
13589
13590
13591 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
13592 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13593 return 1;
13594 }
13595
13596
13597 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13598 PyObject *pyobj;
13599
13600 {
13601 #if wxUSE_UNICODE
13602 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13603 #else
13604 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13605 #endif
13606 }
13607 return pyobj;
13608 }
13609
13610
13611 static int _wrap_ART_GO_HOME_set(PyObject *) {
13612 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13613 return 1;
13614 }
13615
13616
13617 static PyObject *_wrap_ART_GO_HOME_get() {
13618 PyObject *pyobj;
13619
13620 {
13621 #if wxUSE_UNICODE
13622 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13623 #else
13624 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13625 #endif
13626 }
13627 return pyobj;
13628 }
13629
13630
13631 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
13632 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13633 return 1;
13634 }
13635
13636
13637 static PyObject *_wrap_ART_FILE_OPEN_get() {
13638 PyObject *pyobj;
13639
13640 {
13641 #if wxUSE_UNICODE
13642 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13643 #else
13644 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13645 #endif
13646 }
13647 return pyobj;
13648 }
13649
13650
13651 static int _wrap_ART_PRINT_set(PyObject *) {
13652 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13653 return 1;
13654 }
13655
13656
13657 static PyObject *_wrap_ART_PRINT_get() {
13658 PyObject *pyobj;
13659
13660 {
13661 #if wxUSE_UNICODE
13662 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13663 #else
13664 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13665 #endif
13666 }
13667 return pyobj;
13668 }
13669
13670
13671 static int _wrap_ART_HELP_set(PyObject *) {
13672 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13673 return 1;
13674 }
13675
13676
13677 static PyObject *_wrap_ART_HELP_get() {
13678 PyObject *pyobj;
13679
13680 {
13681 #if wxUSE_UNICODE
13682 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13683 #else
13684 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13685 #endif
13686 }
13687 return pyobj;
13688 }
13689
13690
13691 static int _wrap_ART_TIP_set(PyObject *) {
13692 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13693 return 1;
13694 }
13695
13696
13697 static PyObject *_wrap_ART_TIP_get() {
13698 PyObject *pyobj;
13699
13700 {
13701 #if wxUSE_UNICODE
13702 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13703 #else
13704 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13705 #endif
13706 }
13707 return pyobj;
13708 }
13709
13710
13711 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
13712 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13713 return 1;
13714 }
13715
13716
13717 static PyObject *_wrap_ART_REPORT_VIEW_get() {
13718 PyObject *pyobj;
13719
13720 {
13721 #if wxUSE_UNICODE
13722 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13723 #else
13724 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13725 #endif
13726 }
13727 return pyobj;
13728 }
13729
13730
13731 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
13732 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13733 return 1;
13734 }
13735
13736
13737 static PyObject *_wrap_ART_LIST_VIEW_get() {
13738 PyObject *pyobj;
13739
13740 {
13741 #if wxUSE_UNICODE
13742 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13743 #else
13744 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13745 #endif
13746 }
13747 return pyobj;
13748 }
13749
13750
13751 static int _wrap_ART_NEW_DIR_set(PyObject *) {
13752 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13753 return 1;
13754 }
13755
13756
13757 static PyObject *_wrap_ART_NEW_DIR_get() {
13758 PyObject *pyobj;
13759
13760 {
13761 #if wxUSE_UNICODE
13762 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13763 #else
13764 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13765 #endif
13766 }
13767 return pyobj;
13768 }
13769
13770
13771 static int _wrap_ART_FOLDER_set(PyObject *) {
13772 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13773 return 1;
13774 }
13775
13776
13777 static PyObject *_wrap_ART_FOLDER_get() {
13778 PyObject *pyobj;
13779
13780 {
13781 #if wxUSE_UNICODE
13782 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13783 #else
13784 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13785 #endif
13786 }
13787 return pyobj;
13788 }
13789
13790
13791 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
13792 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13793 return 1;
13794 }
13795
13796
13797 static PyObject *_wrap_ART_GO_DIR_UP_get() {
13798 PyObject *pyobj;
13799
13800 {
13801 #if wxUSE_UNICODE
13802 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13803 #else
13804 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13805 #endif
13806 }
13807 return pyobj;
13808 }
13809
13810
13811 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
13812 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13813 return 1;
13814 }
13815
13816
13817 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13818 PyObject *pyobj;
13819
13820 {
13821 #if wxUSE_UNICODE
13822 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13823 #else
13824 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13825 #endif
13826 }
13827 return pyobj;
13828 }
13829
13830
13831 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
13832 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13833 return 1;
13834 }
13835
13836
13837 static PyObject *_wrap_ART_NORMAL_FILE_get() {
13838 PyObject *pyobj;
13839
13840 {
13841 #if wxUSE_UNICODE
13842 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13843 #else
13844 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13845 #endif
13846 }
13847 return pyobj;
13848 }
13849
13850
13851 static int _wrap_ART_TICK_MARK_set(PyObject *) {
13852 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13853 return 1;
13854 }
13855
13856
13857 static PyObject *_wrap_ART_TICK_MARK_get() {
13858 PyObject *pyobj;
13859
13860 {
13861 #if wxUSE_UNICODE
13862 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13863 #else
13864 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13865 #endif
13866 }
13867 return pyobj;
13868 }
13869
13870
13871 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
13872 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13873 return 1;
13874 }
13875
13876
13877 static PyObject *_wrap_ART_CROSS_MARK_get() {
13878 PyObject *pyobj;
13879
13880 {
13881 #if wxUSE_UNICODE
13882 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13883 #else
13884 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13885 #endif
13886 }
13887 return pyobj;
13888 }
13889
13890
13891 static int _wrap_ART_ERROR_set(PyObject *) {
13892 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13893 return 1;
13894 }
13895
13896
13897 static PyObject *_wrap_ART_ERROR_get() {
13898 PyObject *pyobj;
13899
13900 {
13901 #if wxUSE_UNICODE
13902 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13903 #else
13904 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13905 #endif
13906 }
13907 return pyobj;
13908 }
13909
13910
13911 static int _wrap_ART_QUESTION_set(PyObject *) {
13912 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13913 return 1;
13914 }
13915
13916
13917 static PyObject *_wrap_ART_QUESTION_get() {
13918 PyObject *pyobj;
13919
13920 {
13921 #if wxUSE_UNICODE
13922 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13923 #else
13924 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13925 #endif
13926 }
13927 return pyobj;
13928 }
13929
13930
13931 static int _wrap_ART_WARNING_set(PyObject *) {
13932 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13933 return 1;
13934 }
13935
13936
13937 static PyObject *_wrap_ART_WARNING_get() {
13938 PyObject *pyobj;
13939
13940 {
13941 #if wxUSE_UNICODE
13942 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13943 #else
13944 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13945 #endif
13946 }
13947 return pyobj;
13948 }
13949
13950
13951 static int _wrap_ART_INFORMATION_set(PyObject *) {
13952 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13953 return 1;
13954 }
13955
13956
13957 static PyObject *_wrap_ART_INFORMATION_get() {
13958 PyObject *pyobj;
13959
13960 {
13961 #if wxUSE_UNICODE
13962 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13963 #else
13964 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13965 #endif
13966 }
13967 return pyobj;
13968 }
13969
13970
13971 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
13972 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13973 return 1;
13974 }
13975
13976
13977 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13978 PyObject *pyobj;
13979
13980 {
13981 #if wxUSE_UNICODE
13982 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13983 #else
13984 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13985 #endif
13986 }
13987 return pyobj;
13988 }
13989
13990
13991 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13992 PyObject *resultobj;
13993 wxPyArtProvider *result;
13994 char *kwnames[] = {
13995 NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13999 {
14000 PyThreadState* __tstate = wxPyBeginAllowThreads();
14001 result = (wxPyArtProvider *)new wxPyArtProvider();
14002
14003 wxPyEndAllowThreads(__tstate);
14004 if (PyErr_Occurred()) SWIG_fail;
14005 }
14006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
14007 return resultobj;
14008 fail:
14009 return NULL;
14010 }
14011
14012
14013 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14014 PyObject *resultobj;
14015 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14016 PyObject *arg2 = (PyObject *) 0 ;
14017 PyObject *arg3 = (PyObject *) 0 ;
14018 PyObject * obj0 = 0 ;
14019 PyObject * obj1 = 0 ;
14020 PyObject * obj2 = 0 ;
14021 char *kwnames[] = {
14022 (char *) "self",(char *) "self",(char *) "_class", NULL
14023 };
14024
14025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14027 arg2 = obj1;
14028 arg3 = obj2;
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 (arg1)->_setCallbackInfo(arg2,arg3);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 Py_INCREF(Py_None); resultobj = Py_None;
14037 return resultobj;
14038 fail:
14039 return NULL;
14040 }
14041
14042
14043 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "provider", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 wxPyArtProvider::PushProvider(arg1);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 bool result;
14070 char *kwnames[] = {
14071 NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (bool)wxPyArtProvider::PopProvider();
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14083 return resultobj;
14084 fail:
14085 return NULL;
14086 }
14087
14088
14089 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
14090 PyObject *resultobj;
14091 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14092 bool result;
14093 PyObject * obj0 = 0 ;
14094 char *kwnames[] = {
14095 (char *) "provider", NULL
14096 };
14097
14098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
14099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14108 return resultobj;
14109 fail:
14110 return NULL;
14111 }
14112
14113
14114 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxString *arg1 = 0 ;
14117 wxString const &arg2_defvalue = wxPyART_OTHER ;
14118 wxString *arg2 = (wxString *) &arg2_defvalue ;
14119 wxSize const &arg3_defvalue = wxDefaultSize ;
14120 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14121 wxBitmap result;
14122 bool temp1 = False ;
14123 bool temp2 = False ;
14124 wxSize temp3 ;
14125 PyObject * obj0 = 0 ;
14126 PyObject * obj1 = 0 ;
14127 PyObject * obj2 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "id",(char *) "client",(char *) "size", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
14133 {
14134 arg1 = wxString_in_helper(obj0);
14135 if (arg1 == NULL) SWIG_fail;
14136 temp1 = True;
14137 }
14138 if (obj1) {
14139 {
14140 arg2 = wxString_in_helper(obj1);
14141 if (arg2 == NULL) SWIG_fail;
14142 temp2 = True;
14143 }
14144 }
14145 if (obj2) {
14146 {
14147 arg3 = &temp3;
14148 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14149 }
14150 }
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14154
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 {
14159 wxBitmap * resultptr;
14160 resultptr = new wxBitmap((wxBitmap &) result);
14161 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14162 }
14163 {
14164 if (temp1)
14165 delete arg1;
14166 }
14167 {
14168 if (temp2)
14169 delete arg2;
14170 }
14171 return resultobj;
14172 fail:
14173 {
14174 if (temp1)
14175 delete arg1;
14176 }
14177 {
14178 if (temp2)
14179 delete arg2;
14180 }
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 wxString *arg1 = 0 ;
14188 wxString const &arg2_defvalue = wxPyART_OTHER ;
14189 wxString *arg2 = (wxString *) &arg2_defvalue ;
14190 wxSize const &arg3_defvalue = wxDefaultSize ;
14191 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
14192 wxIcon result;
14193 bool temp1 = False ;
14194 bool temp2 = False ;
14195 wxSize temp3 ;
14196 PyObject * obj0 = 0 ;
14197 PyObject * obj1 = 0 ;
14198 PyObject * obj2 = 0 ;
14199 char *kwnames[] = {
14200 (char *) "id",(char *) "client",(char *) "size", NULL
14201 };
14202
14203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14204 {
14205 arg1 = wxString_in_helper(obj0);
14206 if (arg1 == NULL) SWIG_fail;
14207 temp1 = True;
14208 }
14209 if (obj1) {
14210 {
14211 arg2 = wxString_in_helper(obj1);
14212 if (arg2 == NULL) SWIG_fail;
14213 temp2 = True;
14214 }
14215 }
14216 if (obj2) {
14217 {
14218 arg3 = &temp3;
14219 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
14220 }
14221 }
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 {
14230 wxIcon * resultptr;
14231 resultptr = new wxIcon((wxIcon &) result);
14232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
14233 }
14234 {
14235 if (temp1)
14236 delete arg1;
14237 }
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp1)
14246 delete arg1;
14247 }
14248 {
14249 if (temp2)
14250 delete arg2;
14251 }
14252 return NULL;
14253 }
14254
14255
14256 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14259 PyObject * obj0 = 0 ;
14260 char *kwnames[] = {
14261 (char *) "self", NULL
14262 };
14263
14264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 wxPyArtProvider_Destroy(arg1);
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 Py_INCREF(Py_None); resultobj = Py_None;
14274 return resultobj;
14275 fail:
14276 return NULL;
14277 }
14278
14279
14280 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14281 PyObject *obj;
14282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14283 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14284 Py_INCREF(obj);
14285 return Py_BuildValue((char *)"");
14286 }
14287 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14288 PyObject *resultobj;
14289 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 delete arg1;
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 Py_INCREF(Py_None); resultobj = Py_None;
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14314 wxConfigBase *result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "pConfig", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 bool arg1 = (bool) True ;
14339 wxConfigBase *result;
14340 PyObject * obj0 = 0 ;
14341 char *kwnames[] = {
14342 (char *) "createOnDemand", NULL
14343 };
14344
14345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14346 if (obj0) {
14347 {
14348 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
14349 if (PyErr_Occurred()) SWIG_fail;
14350 }
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxConfigBase *result;
14369 char *kwnames[] = {
14370 NULL
14371 };
14372
14373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14374 {
14375 PyThreadState* __tstate = wxPyBeginAllowThreads();
14376 result = (wxConfigBase *)wxConfigBase::Create();
14377
14378 wxPyEndAllowThreads(__tstate);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14382 return resultobj;
14383 fail:
14384 return NULL;
14385 }
14386
14387
14388 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14389 PyObject *resultobj;
14390 char *kwnames[] = {
14391 NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 wxConfigBase::DontCreateOnDemand();
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14412 wxString *arg2 = 0 ;
14413 bool temp2 = False ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self",(char *) "strPath", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14422 {
14423 arg2 = wxString_in_helper(obj1);
14424 if (arg2 == NULL) SWIG_fail;
14425 temp2 = True;
14426 }
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 (arg1)->SetPath((wxString const &)*arg2);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 Py_INCREF(Py_None); resultobj = Py_None;
14435 {
14436 if (temp2)
14437 delete arg2;
14438 }
14439 return resultobj;
14440 fail:
14441 {
14442 if (temp2)
14443 delete arg2;
14444 }
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14452 wxString *result;
14453 PyObject * obj0 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 {
14463 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14464 result = (wxString *) &_result_ref;
14465 }
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 {
14471 #if wxUSE_UNICODE
14472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14473 #else
14474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14475 #endif
14476 }
14477 return resultobj;
14478 fail:
14479 return NULL;
14480 }
14481
14482
14483 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14486 PyObject *result;
14487 PyObject * obj0 = 0 ;
14488 char *kwnames[] = {
14489 (char *) "self", NULL
14490 };
14491
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 resultobj = result;
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14511 long arg2 ;
14512 PyObject *result;
14513 PyObject * obj0 = 0 ;
14514 PyObject * obj1 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "index", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 resultobj = result;
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14542 PyObject *result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = result;
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14567 long arg2 ;
14568 PyObject *result;
14569 PyObject * obj0 = 0 ;
14570 PyObject * obj1 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self",(char *) "index", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14577 {
14578 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14584
14585 wxPyEndAllowThreads(__tstate);
14586 if (PyErr_Occurred()) SWIG_fail;
14587 }
14588 resultobj = result;
14589 return resultobj;
14590 fail:
14591 return NULL;
14592 }
14593
14594
14595 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14598 bool arg2 = (bool) False ;
14599 size_t result;
14600 PyObject * obj0 = 0 ;
14601 PyObject * obj1 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self",(char *) "bRecursive", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 if (obj1) {
14609 {
14610 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 }
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14622 return resultobj;
14623 fail:
14624 return NULL;
14625 }
14626
14627
14628 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14629 PyObject *resultobj;
14630 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14631 bool arg2 = (bool) False ;
14632 size_t result;
14633 PyObject * obj0 = 0 ;
14634 PyObject * obj1 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self",(char *) "bRecursive", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14641 if (obj1) {
14642 {
14643 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 }
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14655 return resultobj;
14656 fail:
14657 return NULL;
14658 }
14659
14660
14661 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14662 PyObject *resultobj;
14663 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14664 wxString *arg2 = 0 ;
14665 bool result;
14666 bool temp2 = False ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 char *kwnames[] = {
14670 (char *) "self",(char *) "strName", NULL
14671 };
14672
14673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14675 {
14676 arg2 = wxString_in_helper(obj1);
14677 if (arg2 == NULL) SWIG_fail;
14678 temp2 = True;
14679 }
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14688 {
14689 if (temp2)
14690 delete arg2;
14691 }
14692 return resultobj;
14693 fail:
14694 {
14695 if (temp2)
14696 delete arg2;
14697 }
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14705 wxString *arg2 = 0 ;
14706 bool result;
14707 bool temp2 = False ;
14708 PyObject * obj0 = 0 ;
14709 PyObject * obj1 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "self",(char *) "strName", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14716 {
14717 arg2 = wxString_in_helper(obj1);
14718 if (arg2 == NULL) SWIG_fail;
14719 temp2 = True;
14720 }
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14724
14725 wxPyEndAllowThreads(__tstate);
14726 if (PyErr_Occurred()) SWIG_fail;
14727 }
14728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14729 {
14730 if (temp2)
14731 delete arg2;
14732 }
14733 return resultobj;
14734 fail:
14735 {
14736 if (temp2)
14737 delete arg2;
14738 }
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14746 wxString *arg2 = 0 ;
14747 bool result;
14748 bool temp2 = False ;
14749 PyObject * obj0 = 0 ;
14750 PyObject * obj1 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self",(char *) "strName", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14757 {
14758 arg2 = wxString_in_helper(obj1);
14759 if (arg2 == NULL) SWIG_fail;
14760 temp2 = True;
14761 }
14762 {
14763 PyThreadState* __tstate = wxPyBeginAllowThreads();
14764 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14765
14766 wxPyEndAllowThreads(__tstate);
14767 if (PyErr_Occurred()) SWIG_fail;
14768 }
14769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14770 {
14771 if (temp2)
14772 delete arg2;
14773 }
14774 return resultobj;
14775 fail:
14776 {
14777 if (temp2)
14778 delete arg2;
14779 }
14780 return NULL;
14781 }
14782
14783
14784 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14787 wxString *arg2 = 0 ;
14788 int result;
14789 bool temp2 = False ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj1 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "self",(char *) "name", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14798 {
14799 arg2 = wxString_in_helper(obj1);
14800 if (arg2 == NULL) SWIG_fail;
14801 temp2 = True;
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_PyObj_FromInt((int)result);
14811 {
14812 if (temp2)
14813 delete arg2;
14814 }
14815 return resultobj;
14816 fail:
14817 {
14818 if (temp2)
14819 delete arg2;
14820 }
14821 return NULL;
14822 }
14823
14824
14825 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14826 PyObject *resultobj;
14827 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14828 wxString *arg2 = 0 ;
14829 wxString const &arg3_defvalue = wxPyEmptyString ;
14830 wxString *arg3 = (wxString *) &arg3_defvalue ;
14831 wxString result;
14832 bool temp2 = False ;
14833 bool temp3 = False ;
14834 PyObject * obj0 = 0 ;
14835 PyObject * obj1 = 0 ;
14836 PyObject * obj2 = 0 ;
14837 char *kwnames[] = {
14838 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14839 };
14840
14841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14843 {
14844 arg2 = wxString_in_helper(obj1);
14845 if (arg2 == NULL) SWIG_fail;
14846 temp2 = True;
14847 }
14848 if (obj2) {
14849 {
14850 arg3 = wxString_in_helper(obj2);
14851 if (arg3 == NULL) SWIG_fail;
14852 temp3 = True;
14853 }
14854 }
14855 {
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14858
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 {
14863 #if wxUSE_UNICODE
14864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14865 #else
14866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14867 #endif
14868 }
14869 {
14870 if (temp2)
14871 delete arg2;
14872 }
14873 {
14874 if (temp3)
14875 delete arg3;
14876 }
14877 return resultobj;
14878 fail:
14879 {
14880 if (temp2)
14881 delete arg2;
14882 }
14883 {
14884 if (temp3)
14885 delete arg3;
14886 }
14887 return NULL;
14888 }
14889
14890
14891 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14894 wxString *arg2 = 0 ;
14895 long arg3 = (long) 0 ;
14896 long result;
14897 bool temp2 = False ;
14898 PyObject * obj0 = 0 ;
14899 PyObject * obj1 = 0 ;
14900 PyObject * obj2 = 0 ;
14901 char *kwnames[] = {
14902 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
14906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14907 {
14908 arg2 = wxString_in_helper(obj1);
14909 if (arg2 == NULL) SWIG_fail;
14910 temp2 = True;
14911 }
14912 if (obj2) {
14913 {
14914 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 }
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 resultobj = SWIG_PyObj_FromLong((long)result);
14926 {
14927 if (temp2)
14928 delete arg2;
14929 }
14930 return resultobj;
14931 fail:
14932 {
14933 if (temp2)
14934 delete arg2;
14935 }
14936 return NULL;
14937 }
14938
14939
14940 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14941 PyObject *resultobj;
14942 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14943 wxString *arg2 = 0 ;
14944 double arg3 = (double) 0.0 ;
14945 double result;
14946 bool temp2 = False ;
14947 PyObject * obj0 = 0 ;
14948 PyObject * obj1 = 0 ;
14949 PyObject * obj2 = 0 ;
14950 char *kwnames[] = {
14951 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14952 };
14953
14954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
14955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14956 {
14957 arg2 = wxString_in_helper(obj1);
14958 if (arg2 == NULL) SWIG_fail;
14959 temp2 = True;
14960 }
14961 if (obj2) {
14962 {
14963 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 resultobj = SWIG_PyObj_FromDouble((double)result);
14975 {
14976 if (temp2)
14977 delete arg2;
14978 }
14979 return resultobj;
14980 fail:
14981 {
14982 if (temp2)
14983 delete arg2;
14984 }
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14992 wxString *arg2 = 0 ;
14993 bool arg3 = (bool) False ;
14994 bool result;
14995 bool temp2 = False ;
14996 PyObject * obj0 = 0 ;
14997 PyObject * obj1 = 0 ;
14998 PyObject * obj2 = 0 ;
14999 char *kwnames[] = {
15000 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15001 };
15002
15003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15005 {
15006 arg2 = wxString_in_helper(obj1);
15007 if (arg2 == NULL) SWIG_fail;
15008 temp2 = True;
15009 }
15010 if (obj2) {
15011 {
15012 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 }
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15024 {
15025 if (temp2)
15026 delete arg2;
15027 }
15028 return resultobj;
15029 fail:
15030 {
15031 if (temp2)
15032 delete arg2;
15033 }
15034 return NULL;
15035 }
15036
15037
15038 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15041 wxString *arg2 = 0 ;
15042 wxString *arg3 = 0 ;
15043 bool result;
15044 bool temp2 = False ;
15045 bool temp3 = False ;
15046 PyObject * obj0 = 0 ;
15047 PyObject * obj1 = 0 ;
15048 PyObject * obj2 = 0 ;
15049 char *kwnames[] = {
15050 (char *) "self",(char *) "key",(char *) "value", NULL
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
15054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15055 {
15056 arg2 = wxString_in_helper(obj1);
15057 if (arg2 == NULL) SWIG_fail;
15058 temp2 = True;
15059 }
15060 {
15061 arg3 = wxString_in_helper(obj2);
15062 if (arg3 == NULL) SWIG_fail;
15063 temp3 = True;
15064 }
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15073 {
15074 if (temp2)
15075 delete arg2;
15076 }
15077 {
15078 if (temp3)
15079 delete arg3;
15080 }
15081 return resultobj;
15082 fail:
15083 {
15084 if (temp2)
15085 delete arg2;
15086 }
15087 {
15088 if (temp3)
15089 delete arg3;
15090 }
15091 return NULL;
15092 }
15093
15094
15095 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15098 wxString *arg2 = 0 ;
15099 long arg3 ;
15100 bool result;
15101 bool temp2 = False ;
15102 PyObject * obj0 = 0 ;
15103 PyObject * obj1 = 0 ;
15104 PyObject * obj2 = 0 ;
15105 char *kwnames[] = {
15106 (char *) "self",(char *) "key",(char *) "value", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15111 {
15112 arg2 = wxString_in_helper(obj1);
15113 if (arg2 == NULL) SWIG_fail;
15114 temp2 = True;
15115 }
15116 {
15117 arg3 = (long) SWIG_PyObj_AsLong(obj2);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 {
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15128 {
15129 if (temp2)
15130 delete arg2;
15131 }
15132 return resultobj;
15133 fail:
15134 {
15135 if (temp2)
15136 delete arg2;
15137 }
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15145 wxString *arg2 = 0 ;
15146 double arg3 ;
15147 bool result;
15148 bool temp2 = False ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 PyObject * obj2 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "key",(char *) "value", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15158 {
15159 arg2 = wxString_in_helper(obj1);
15160 if (arg2 == NULL) SWIG_fail;
15161 temp2 = True;
15162 }
15163 {
15164 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15170
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15175 {
15176 if (temp2)
15177 delete arg2;
15178 }
15179 return resultobj;
15180 fail:
15181 {
15182 if (temp2)
15183 delete arg2;
15184 }
15185 return NULL;
15186 }
15187
15188
15189 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15192 wxString *arg2 = 0 ;
15193 bool arg3 ;
15194 bool result;
15195 bool temp2 = False ;
15196 PyObject * obj0 = 0 ;
15197 PyObject * obj1 = 0 ;
15198 PyObject * obj2 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "self",(char *) "key",(char *) "value", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15205 {
15206 arg2 = wxString_in_helper(obj1);
15207 if (arg2 == NULL) SWIG_fail;
15208 temp2 = True;
15209 }
15210 {
15211 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15222 {
15223 if (temp2)
15224 delete arg2;
15225 }
15226 return resultobj;
15227 fail:
15228 {
15229 if (temp2)
15230 delete arg2;
15231 }
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15239 bool arg2 = (bool) False ;
15240 bool result;
15241 PyObject * obj0 = 0 ;
15242 PyObject * obj1 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "bCurrentOnly", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15249 if (obj1) {
15250 {
15251 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 }
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 result = (bool)(arg1)->Flush(arg2);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15263 return resultobj;
15264 fail:
15265 return NULL;
15266 }
15267
15268
15269 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15272 wxString *arg2 = 0 ;
15273 wxString *arg3 = 0 ;
15274 bool result;
15275 bool temp2 = False ;
15276 bool temp3 = False ;
15277 PyObject * obj0 = 0 ;
15278 PyObject * obj1 = 0 ;
15279 PyObject * obj2 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15286 {
15287 arg2 = wxString_in_helper(obj1);
15288 if (arg2 == NULL) SWIG_fail;
15289 temp2 = True;
15290 }
15291 {
15292 arg3 = wxString_in_helper(obj2);
15293 if (arg3 == NULL) SWIG_fail;
15294 temp3 = True;
15295 }
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15304 {
15305 if (temp2)
15306 delete arg2;
15307 }
15308 {
15309 if (temp3)
15310 delete arg3;
15311 }
15312 return resultobj;
15313 fail:
15314 {
15315 if (temp2)
15316 delete arg2;
15317 }
15318 {
15319 if (temp3)
15320 delete arg3;
15321 }
15322 return NULL;
15323 }
15324
15325
15326 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj;
15328 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15329 wxString *arg2 = 0 ;
15330 wxString *arg3 = 0 ;
15331 bool result;
15332 bool temp2 = False ;
15333 bool temp3 = False ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 PyObject * obj2 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15343 {
15344 arg2 = wxString_in_helper(obj1);
15345 if (arg2 == NULL) SWIG_fail;
15346 temp2 = True;
15347 }
15348 {
15349 arg3 = wxString_in_helper(obj2);
15350 if (arg3 == NULL) SWIG_fail;
15351 temp3 = True;
15352 }
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15361 {
15362 if (temp2)
15363 delete arg2;
15364 }
15365 {
15366 if (temp3)
15367 delete arg3;
15368 }
15369 return resultobj;
15370 fail:
15371 {
15372 if (temp2)
15373 delete arg2;
15374 }
15375 {
15376 if (temp3)
15377 delete arg3;
15378 }
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15386 wxString *arg2 = 0 ;
15387 bool arg3 = (bool) True ;
15388 bool result;
15389 bool temp2 = False ;
15390 PyObject * obj0 = 0 ;
15391 PyObject * obj1 = 0 ;
15392 PyObject * obj2 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 arg2 = wxString_in_helper(obj1);
15401 if (arg2 == NULL) SWIG_fail;
15402 temp2 = True;
15403 }
15404 if (obj2) {
15405 {
15406 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 }
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15418 {
15419 if (temp2)
15420 delete arg2;
15421 }
15422 return resultobj;
15423 fail:
15424 {
15425 if (temp2)
15426 delete arg2;
15427 }
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15435 wxString *arg2 = 0 ;
15436 bool result;
15437 bool temp2 = False ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "key", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15446 {
15447 arg2 = wxString_in_helper(obj1);
15448 if (arg2 == NULL) SWIG_fail;
15449 temp2 = True;
15450 }
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15459 {
15460 if (temp2)
15461 delete arg2;
15462 }
15463 return resultobj;
15464 fail:
15465 {
15466 if (temp2)
15467 delete arg2;
15468 }
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15476 bool result;
15477 PyObject * obj0 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (bool)(arg1)->DeleteAll();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15501 bool result;
15502 PyObject * obj0 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15509 {
15510 PyThreadState* __tstate = wxPyBeginAllowThreads();
15511 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15512
15513 wxPyEndAllowThreads(__tstate);
15514 if (PyErr_Occurred()) SWIG_fail;
15515 }
15516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15517 return resultobj;
15518 fail:
15519 return NULL;
15520 }
15521
15522
15523 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15526 bool arg2 = (bool) True ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "bDoIt", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15535 if (obj1) {
15536 {
15537 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 }
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 (arg1)->SetExpandEnvVars(arg2);
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 Py_INCREF(Py_None); resultobj = Py_None;
15549 return resultobj;
15550 fail:
15551 return NULL;
15552 }
15553
15554
15555 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15556 PyObject *resultobj;
15557 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15558 bool arg2 = (bool) True ;
15559 PyObject * obj0 = 0 ;
15560 PyObject * obj1 = 0 ;
15561 char *kwnames[] = {
15562 (char *) "self",(char *) "bDoIt", NULL
15563 };
15564
15565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15567 if (obj1) {
15568 {
15569 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15570 if (PyErr_Occurred()) SWIG_fail;
15571 }
15572 }
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 (arg1)->SetRecordDefaults(arg2);
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 Py_INCREF(Py_None); resultobj = Py_None;
15581 return resultobj;
15582 fail:
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15590 bool result;
15591 PyObject * obj0 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15606 return resultobj;
15607 fail:
15608 return NULL;
15609 }
15610
15611
15612 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15613 PyObject *resultobj;
15614 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15615 wxString *arg2 = 0 ;
15616 wxString result;
15617 bool temp2 = False ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "str", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15626 {
15627 arg2 = wxString_in_helper(obj1);
15628 if (arg2 == NULL) SWIG_fail;
15629 temp2 = True;
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 {
15639 #if wxUSE_UNICODE
15640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15641 #else
15642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15643 #endif
15644 }
15645 {
15646 if (temp2)
15647 delete arg2;
15648 }
15649 return resultobj;
15650 fail:
15651 {
15652 if (temp2)
15653 delete arg2;
15654 }
15655 return NULL;
15656 }
15657
15658
15659 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj;
15661 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15662 wxString result;
15663 PyObject * obj0 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "self", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 result = ((wxConfigBase const *)arg1)->GetAppName();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 {
15678 #if wxUSE_UNICODE
15679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15680 #else
15681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15682 #endif
15683 }
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15691 PyObject *resultobj;
15692 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15693 wxString result;
15694 PyObject * obj0 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 result = ((wxConfigBase const *)arg1)->GetVendorName();
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 {
15709 #if wxUSE_UNICODE
15710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15711 #else
15712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15713 #endif
15714 }
15715 return resultobj;
15716 fail:
15717 return NULL;
15718 }
15719
15720
15721 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15722 PyObject *resultobj;
15723 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15724 wxString *arg2 = 0 ;
15725 bool temp2 = False ;
15726 PyObject * obj0 = 0 ;
15727 PyObject * obj1 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self",(char *) "appName", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 {
15735 arg2 = wxString_in_helper(obj1);
15736 if (arg2 == NULL) SWIG_fail;
15737 temp2 = True;
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 (arg1)->SetAppName((wxString const &)*arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 Py_INCREF(Py_None); resultobj = Py_None;
15747 {
15748 if (temp2)
15749 delete arg2;
15750 }
15751 return resultobj;
15752 fail:
15753 {
15754 if (temp2)
15755 delete arg2;
15756 }
15757 return NULL;
15758 }
15759
15760
15761 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15764 wxString *arg2 = 0 ;
15765 bool temp2 = False ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self",(char *) "vendorName", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15774 {
15775 arg2 = wxString_in_helper(obj1);
15776 if (arg2 == NULL) SWIG_fail;
15777 temp2 = True;
15778 }
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->SetVendorName((wxString const &)*arg2);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 Py_INCREF(Py_None); resultobj = Py_None;
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 return resultobj;
15792 fail:
15793 {
15794 if (temp2)
15795 delete arg2;
15796 }
15797 return NULL;
15798 }
15799
15800
15801 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15804 long arg2 ;
15805 PyObject * obj0 = 0 ;
15806 PyObject * obj1 = 0 ;
15807 char *kwnames[] = {
15808 (char *) "self",(char *) "style", NULL
15809 };
15810
15811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15813 {
15814 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 (arg1)->SetStyle(arg2);
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 Py_INCREF(Py_None); resultobj = Py_None;
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15834 long result;
15835 PyObject * obj0 = 0 ;
15836 char *kwnames[] = {
15837 (char *) "self", NULL
15838 };
15839
15840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15842 {
15843 PyThreadState* __tstate = wxPyBeginAllowThreads();
15844 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15845
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 resultobj = SWIG_PyObj_FromLong((long)result);
15850 return resultobj;
15851 fail:
15852 return NULL;
15853 }
15854
15855
15856 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15857 PyObject *obj;
15858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15859 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15860 Py_INCREF(obj);
15861 return Py_BuildValue((char *)"");
15862 }
15863 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15864 PyObject *resultobj;
15865 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15866 wxString *arg2 = 0 ;
15867 wxConfigPathChanger *result;
15868 bool temp2 = False ;
15869 PyObject * obj0 = 0 ;
15870 PyObject * obj1 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "pContainer",(char *) "strEntry", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15877 {
15878 arg2 = wxString_in_helper(obj1);
15879 if (arg2 == NULL) SWIG_fail;
15880 temp2 = True;
15881 }
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
15890 {
15891 if (temp2)
15892 delete arg2;
15893 }
15894 return resultobj;
15895 fail:
15896 {
15897 if (temp2)
15898 delete arg2;
15899 }
15900 return NULL;
15901 }
15902
15903
15904 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15907 PyObject * obj0 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 delete arg1;
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 Py_INCREF(Py_None); resultobj = Py_None;
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15931 wxString *result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 {
15942 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
15943 result = (wxString *) &_result_ref;
15944 }
15945
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 {
15950 #if wxUSE_UNICODE
15951 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15952 #else
15953 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15954 #endif
15955 }
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
15963 PyObject *obj;
15964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15965 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
15966 Py_INCREF(obj);
15967 return Py_BuildValue((char *)"");
15968 }
15969 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxString const &arg1_defvalue = wxPyEmptyString ;
15972 wxString *arg1 = (wxString *) &arg1_defvalue ;
15973 wxString const &arg2_defvalue = wxPyEmptyString ;
15974 wxString *arg2 = (wxString *) &arg2_defvalue ;
15975 wxString const &arg3_defvalue = wxPyEmptyString ;
15976 wxString *arg3 = (wxString *) &arg3_defvalue ;
15977 wxString const &arg4_defvalue = wxPyEmptyString ;
15978 wxString *arg4 = (wxString *) &arg4_defvalue ;
15979 long arg5 = (long) 0 ;
15980 wxConfig *result;
15981 bool temp1 = False ;
15982 bool temp2 = False ;
15983 bool temp3 = False ;
15984 bool temp4 = False ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 PyObject * obj2 = 0 ;
15988 PyObject * obj3 = 0 ;
15989 PyObject * obj4 = 0 ;
15990 char *kwnames[] = {
15991 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15992 };
15993
15994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15995 if (obj0) {
15996 {
15997 arg1 = wxString_in_helper(obj0);
15998 if (arg1 == NULL) SWIG_fail;
15999 temp1 = True;
16000 }
16001 }
16002 if (obj1) {
16003 {
16004 arg2 = wxString_in_helper(obj1);
16005 if (arg2 == NULL) SWIG_fail;
16006 temp2 = True;
16007 }
16008 }
16009 if (obj2) {
16010 {
16011 arg3 = wxString_in_helper(obj2);
16012 if (arg3 == NULL) SWIG_fail;
16013 temp3 = True;
16014 }
16015 }
16016 if (obj3) {
16017 {
16018 arg4 = wxString_in_helper(obj3);
16019 if (arg4 == NULL) SWIG_fail;
16020 temp4 = True;
16021 }
16022 }
16023 if (obj4) {
16024 {
16025 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 }
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
16037 {
16038 if (temp1)
16039 delete arg1;
16040 }
16041 {
16042 if (temp2)
16043 delete arg2;
16044 }
16045 {
16046 if (temp3)
16047 delete arg3;
16048 }
16049 {
16050 if (temp4)
16051 delete arg4;
16052 }
16053 return resultobj;
16054 fail:
16055 {
16056 if (temp1)
16057 delete arg1;
16058 }
16059 {
16060 if (temp2)
16061 delete arg2;
16062 }
16063 {
16064 if (temp3)
16065 delete arg3;
16066 }
16067 {
16068 if (temp4)
16069 delete arg4;
16070 }
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxConfig *arg1 = (wxConfig *) 0 ;
16078 PyObject * obj0 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 delete arg1;
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 Py_INCREF(Py_None); resultobj = Py_None;
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
16100 PyObject *obj;
16101 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16102 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
16103 Py_INCREF(obj);
16104 return Py_BuildValue((char *)"");
16105 }
16106 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxString const &arg1_defvalue = wxPyEmptyString ;
16109 wxString *arg1 = (wxString *) &arg1_defvalue ;
16110 wxString const &arg2_defvalue = wxPyEmptyString ;
16111 wxString *arg2 = (wxString *) &arg2_defvalue ;
16112 wxString const &arg3_defvalue = wxPyEmptyString ;
16113 wxString *arg3 = (wxString *) &arg3_defvalue ;
16114 wxString const &arg4_defvalue = wxPyEmptyString ;
16115 wxString *arg4 = (wxString *) &arg4_defvalue ;
16116 long arg5 = (long) 0 ;
16117 wxFileConfig *result;
16118 bool temp1 = False ;
16119 bool temp2 = False ;
16120 bool temp3 = False ;
16121 bool temp4 = False ;
16122 PyObject * obj0 = 0 ;
16123 PyObject * obj1 = 0 ;
16124 PyObject * obj2 = 0 ;
16125 PyObject * obj3 = 0 ;
16126 PyObject * obj4 = 0 ;
16127 char *kwnames[] = {
16128 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16129 };
16130
16131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
16132 if (obj0) {
16133 {
16134 arg1 = wxString_in_helper(obj0);
16135 if (arg1 == NULL) SWIG_fail;
16136 temp1 = True;
16137 }
16138 }
16139 if (obj1) {
16140 {
16141 arg2 = wxString_in_helper(obj1);
16142 if (arg2 == NULL) SWIG_fail;
16143 temp2 = True;
16144 }
16145 }
16146 if (obj2) {
16147 {
16148 arg3 = wxString_in_helper(obj2);
16149 if (arg3 == NULL) SWIG_fail;
16150 temp3 = True;
16151 }
16152 }
16153 if (obj3) {
16154 {
16155 arg4 = wxString_in_helper(obj3);
16156 if (arg4 == NULL) SWIG_fail;
16157 temp4 = True;
16158 }
16159 }
16160 if (obj4) {
16161 {
16162 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
16174 {
16175 if (temp1)
16176 delete arg1;
16177 }
16178 {
16179 if (temp2)
16180 delete arg2;
16181 }
16182 {
16183 if (temp3)
16184 delete arg3;
16185 }
16186 {
16187 if (temp4)
16188 delete arg4;
16189 }
16190 return resultobj;
16191 fail:
16192 {
16193 if (temp1)
16194 delete arg1;
16195 }
16196 {
16197 if (temp2)
16198 delete arg2;
16199 }
16200 {
16201 if (temp3)
16202 delete arg3;
16203 }
16204 {
16205 if (temp4)
16206 delete arg4;
16207 }
16208 return NULL;
16209 }
16210
16211
16212 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj;
16214 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 delete arg1;
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 return resultobj;
16231 fail:
16232 return NULL;
16233 }
16234
16235
16236 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
16237 PyObject *obj;
16238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16239 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
16240 Py_INCREF(obj);
16241 return Py_BuildValue((char *)"");
16242 }
16243 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
16244 PyObject *resultobj;
16245 wxString *arg1 = 0 ;
16246 wxString result;
16247 bool temp1 = False ;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "sz", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
16254 {
16255 arg1 = wxString_in_helper(obj0);
16256 if (arg1 == NULL) SWIG_fail;
16257 temp1 = True;
16258 }
16259 {
16260 PyThreadState* __tstate = wxPyBeginAllowThreads();
16261 result = wxExpandEnvVars((wxString const &)*arg1);
16262
16263 wxPyEndAllowThreads(__tstate);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 {
16267 #if wxUSE_UNICODE
16268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16269 #else
16270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16271 #endif
16272 }
16273 {
16274 if (temp1)
16275 delete arg1;
16276 }
16277 return resultobj;
16278 fail:
16279 {
16280 if (temp1)
16281 delete arg1;
16282 }
16283 return NULL;
16284 }
16285
16286
16287 static int _wrap_DateFormatStr_set(PyObject *) {
16288 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16289 return 1;
16290 }
16291
16292
16293 static PyObject *_wrap_DateFormatStr_get() {
16294 PyObject *pyobj;
16295
16296 {
16297 #if wxUSE_UNICODE
16298 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16299 #else
16300 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16301 #endif
16302 }
16303 return pyobj;
16304 }
16305
16306
16307 static int _wrap_TimeSpanFormatStr_set(PyObject *) {
16308 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16309 return 1;
16310 }
16311
16312
16313 static PyObject *_wrap_TimeSpanFormatStr_get() {
16314 PyObject *pyobj;
16315
16316 {
16317 #if wxUSE_UNICODE
16318 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16319 #else
16320 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16321 #endif
16322 }
16323 return pyobj;
16324 }
16325
16326
16327 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 int arg1 ;
16330 PyObject * obj0 = 0 ;
16331 char *kwnames[] = {
16332 (char *) "country", NULL
16333 };
16334
16335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16336 {
16337 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 {
16341 PyThreadState* __tstate = wxPyBeginAllowThreads();
16342 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16343
16344 wxPyEndAllowThreads(__tstate);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 Py_INCREF(Py_None); resultobj = Py_None;
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 int result;
16357 char *kwnames[] = {
16358 NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 result = (int)wxDateTime::GetCountry();
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 resultobj = SWIG_PyObj_FromInt((int)result);
16370 return resultobj;
16371 fail:
16372 return NULL;
16373 }
16374
16375
16376 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16377 PyObject *resultobj;
16378 int arg1 = (int) wxDateTime::Country_Default ;
16379 bool result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "country", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16386 if (obj0) {
16387 {
16388 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16389 if (PyErr_Occurred()) SWIG_fail;
16390 }
16391 }
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 int arg1 = (int) wxDateTime::Gregorian ;
16409 int result;
16410 PyObject * obj0 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "cal", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16416 if (obj0) {
16417 {
16418 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 }
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 resultobj = SWIG_PyObj_FromInt((int)result);
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 int arg1 ;
16439 int result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "year", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16446 {
16447 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 result = (int)wxDateTime::ConvertYearToBC(arg1);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 resultobj = SWIG_PyObj_FromInt((int)result);
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 int arg1 = (int) wxDateTime::Gregorian ;
16467 int result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "cal", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16474 if (obj0) {
16475 {
16476 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16477 if (PyErr_Occurred()) SWIG_fail;
16478 }
16479 }
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 resultobj = SWIG_PyObj_FromInt((int)result);
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 int arg1 = (int) wxDateTime::Inv_Year ;
16497 int arg2 = (int) wxDateTime::Gregorian ;
16498 bool result;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "year",(char *) "cal", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16506 if (obj0) {
16507 {
16508 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 }
16512 if (obj1) {
16513 {
16514 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16515 if (PyErr_Occurred()) SWIG_fail;
16516 }
16517 }
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16526 return resultobj;
16527 fail:
16528 return NULL;
16529 }
16530
16531
16532 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16533 PyObject *resultobj;
16534 int arg1 = (int) wxDateTime::Inv_Year ;
16535 int result;
16536 PyObject * obj0 = 0 ;
16537 char *kwnames[] = {
16538 (char *) "year", NULL
16539 };
16540
16541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16542 if (obj0) {
16543 {
16544 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 }
16548 {
16549 PyThreadState* __tstate = wxPyBeginAllowThreads();
16550 result = (int)wxDateTime::GetCentury(arg1);
16551
16552 wxPyEndAllowThreads(__tstate);
16553 if (PyErr_Occurred()) SWIG_fail;
16554 }
16555 resultobj = SWIG_PyObj_FromInt((int)result);
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 int arg1 ;
16565 int arg2 = (int) wxDateTime::Gregorian ;
16566 int result;
16567 PyObject * obj0 = 0 ;
16568 PyObject * obj1 = 0 ;
16569 char *kwnames[] = {
16570 (char *) "year",(char *) "cal", NULL
16571 };
16572
16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16574 {
16575 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 if (obj1) {
16579 {
16580 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 }
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 resultobj = SWIG_PyObj_FromInt((int)result);
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 int arg1 ;
16601 int arg2 = (int) wxDateTime::Inv_Year ;
16602 int arg3 = (int) wxDateTime::Gregorian ;
16603 int result;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 PyObject * obj2 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "month",(char *) "year",(char *) "cal", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16612 {
16613 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 if (obj1) {
16617 {
16618 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 }
16622 if (obj2) {
16623 {
16624 arg3 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj2);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 resultobj = SWIG_PyObj_FromInt((int)result);
16636 return resultobj;
16637 fail:
16638 return NULL;
16639 }
16640
16641
16642 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 int arg1 ;
16645 int arg2 = (int) wxDateTime::Name_Full ;
16646 wxString result;
16647 PyObject * obj0 = 0 ;
16648 PyObject * obj1 = 0 ;
16649 char *kwnames[] = {
16650 (char *) "month",(char *) "flags", NULL
16651 };
16652
16653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16654 {
16655 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
16658 if (obj1) {
16659 {
16660 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 }
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 {
16672 #if wxUSE_UNICODE
16673 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16674 #else
16675 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16676 #endif
16677 }
16678 return resultobj;
16679 fail:
16680 return NULL;
16681 }
16682
16683
16684 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16685 PyObject *resultobj;
16686 int arg1 ;
16687 int arg2 = (int) wxDateTime::Name_Full ;
16688 wxString result;
16689 PyObject * obj0 = 0 ;
16690 PyObject * obj1 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "weekday",(char *) "flags", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16696 {
16697 arg1 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj0);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 if (obj1) {
16701 {
16702 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 }
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 {
16714 #if wxUSE_UNICODE
16715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16716 #else
16717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16718 #endif
16719 }
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxString *arg1 = (wxString *) 0 ;
16729 wxString *arg2 = (wxString *) 0 ;
16730 bool temp1 = False ;
16731 bool temp2 = False ;
16732 PyObject * obj0 = 0 ;
16733 PyObject * obj1 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
16739 {
16740 arg1 = wxString_in_helper(obj0);
16741 if (arg1 == NULL) SWIG_fail;
16742 temp1 = True;
16743 }
16744 {
16745 arg2 = wxString_in_helper(obj1);
16746 if (arg2 == NULL) SWIG_fail;
16747 temp2 = True;
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 wxDateTime::GetAmPmStrings(arg1,arg2);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 Py_INCREF(Py_None); resultobj = Py_None;
16757 {
16758 if (temp1)
16759 delete arg1;
16760 }
16761 {
16762 if (temp2)
16763 delete arg2;
16764 }
16765 return resultobj;
16766 fail:
16767 {
16768 if (temp1)
16769 delete arg1;
16770 }
16771 {
16772 if (temp2)
16773 delete arg2;
16774 }
16775 return NULL;
16776 }
16777
16778
16779 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 int arg1 = (int) wxDateTime::Inv_Year ;
16782 int arg2 = (int) wxDateTime::Country_Default ;
16783 bool result;
16784 PyObject * obj0 = 0 ;
16785 PyObject * obj1 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "year",(char *) "country", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16791 if (obj0) {
16792 {
16793 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
16796 }
16797 if (obj1) {
16798 {
16799 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 }
16803 {
16804 PyThreadState* __tstate = wxPyBeginAllowThreads();
16805 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16806
16807 wxPyEndAllowThreads(__tstate);
16808 if (PyErr_Occurred()) SWIG_fail;
16809 }
16810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16811 return resultobj;
16812 fail:
16813 return NULL;
16814 }
16815
16816
16817 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16818 PyObject *resultobj;
16819 int arg1 = (int) wxDateTime::Inv_Year ;
16820 int arg2 = (int) wxDateTime::Country_Default ;
16821 wxDateTime result;
16822 PyObject * obj0 = 0 ;
16823 PyObject * obj1 = 0 ;
16824 char *kwnames[] = {
16825 (char *) "year",(char *) "country", NULL
16826 };
16827
16828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16829 if (obj0) {
16830 {
16831 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 }
16835 if (obj1) {
16836 {
16837 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 }
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
16843 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
16848 {
16849 wxDateTime * resultptr;
16850 resultptr = new wxDateTime((wxDateTime &) result);
16851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16852 }
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 int arg1 = (int) wxDateTime::Inv_Year ;
16862 int arg2 = (int) wxDateTime::Country_Default ;
16863 wxDateTime result;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "year",(char *) "country", NULL
16868 };
16869
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16871 if (obj0) {
16872 {
16873 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16874 if (PyErr_Occurred()) SWIG_fail;
16875 }
16876 }
16877 if (obj1) {
16878 {
16879 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 }
16883 {
16884 PyThreadState* __tstate = wxPyBeginAllowThreads();
16885 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16886
16887 wxPyEndAllowThreads(__tstate);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 {
16891 wxDateTime * resultptr;
16892 resultptr = new wxDateTime((wxDateTime &) result);
16893 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16894 }
16895 return resultobj;
16896 fail:
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxDateTime result;
16904 char *kwnames[] = {
16905 NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = wxDateTime::Now();
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 {
16917 wxDateTime * resultptr;
16918 resultptr = new wxDateTime((wxDateTime &) result);
16919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16920 }
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxDateTime result;
16930 char *kwnames[] = {
16931 NULL
16932 };
16933
16934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 result = wxDateTime::UNow();
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 {
16943 wxDateTime * resultptr;
16944 resultptr = new wxDateTime((wxDateTime &) result);
16945 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16946 }
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxDateTime result;
16956 char *kwnames[] = {
16957 NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = wxDateTime::Today();
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 wxDateTime * resultptr;
16970 resultptr = new wxDateTime((wxDateTime &) result);
16971 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16972 }
16973 return resultobj;
16974 fail:
16975 return NULL;
16976 }
16977
16978
16979 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16980 PyObject *resultobj;
16981 wxDateTime *result;
16982 char *kwnames[] = {
16983 NULL
16984 };
16985
16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 result = (wxDateTime *)new wxDateTime();
16990
16991 wxPyEndAllowThreads(__tstate);
16992 if (PyErr_Occurred()) SWIG_fail;
16993 }
16994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 time_t arg1 ;
17004 wxDateTime *result;
17005 PyObject * obj0 = 0 ;
17006 char *kwnames[] = {
17007 (char *) "timet", NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
17011 {
17012 arg1 = (time_t) SWIG_PyObj_AsUnsignedInt(obj0);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 result = (wxDateTime *)new wxDateTime(arg1);
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj;
17031 double arg1 ;
17032 wxDateTime *result;
17033 PyObject * obj0 = 0 ;
17034 char *kwnames[] = {
17035 (char *) "jdn", NULL
17036 };
17037
17038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
17039 {
17040 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 result = (wxDateTime *)new wxDateTime(arg1);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17051 return resultobj;
17052 fail:
17053 return NULL;
17054 }
17055
17056
17057 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 int arg1 ;
17060 int arg2 = (int) 0 ;
17061 int arg3 = (int) 0 ;
17062 int arg4 = (int) 0 ;
17063 wxDateTime *result;
17064 PyObject * obj0 = 0 ;
17065 PyObject * obj1 = 0 ;
17066 PyObject * obj2 = 0 ;
17067 PyObject * obj3 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17073 {
17074 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 if (obj1) {
17078 {
17079 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 }
17083 if (obj2) {
17084 {
17085 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 }
17089 if (obj3) {
17090 {
17091 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 }
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
17098
17099 wxPyEndAllowThreads(__tstate);
17100 if (PyErr_Occurred()) SWIG_fail;
17101 }
17102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17103 return resultobj;
17104 fail:
17105 return NULL;
17106 }
17107
17108
17109 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 int arg1 ;
17112 int arg2 = (int) wxDateTime::Inv_Month ;
17113 int arg3 = (int) wxDateTime::Inv_Year ;
17114 int arg4 = (int) 0 ;
17115 int arg5 = (int) 0 ;
17116 int arg6 = (int) 0 ;
17117 int arg7 = (int) 0 ;
17118 wxDateTime *result;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 PyObject * obj2 = 0 ;
17122 PyObject * obj3 = 0 ;
17123 PyObject * obj4 = 0 ;
17124 PyObject * obj5 = 0 ;
17125 PyObject * obj6 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17131 {
17132 arg1 = (int) SWIG_PyObj_AsInt(obj0);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 if (obj1) {
17136 {
17137 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17138 if (PyErr_Occurred()) SWIG_fail;
17139 }
17140 }
17141 if (obj2) {
17142 {
17143 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17144 if (PyErr_Occurred()) SWIG_fail;
17145 }
17146 }
17147 if (obj3) {
17148 {
17149 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17150 if (PyErr_Occurred()) SWIG_fail;
17151 }
17152 }
17153 if (obj4) {
17154 {
17155 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 }
17159 if (obj5) {
17160 {
17161 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
17164 }
17165 if (obj6) {
17166 {
17167 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 }
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxDateTime *arg1 = (wxDateTime *) 0 ;
17188 PyObject * obj0 = 0 ;
17189 char *kwnames[] = {
17190 (char *) "self", NULL
17191 };
17192
17193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
17194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17195 {
17196 PyThreadState* __tstate = wxPyBeginAllowThreads();
17197 delete arg1;
17198
17199 wxPyEndAllowThreads(__tstate);
17200 if (PyErr_Occurred()) SWIG_fail;
17201 }
17202 Py_INCREF(Py_None); resultobj = Py_None;
17203 return resultobj;
17204 fail:
17205 return NULL;
17206 }
17207
17208
17209 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
17210 PyObject *resultobj;
17211 wxDateTime *arg1 = (wxDateTime *) 0 ;
17212 wxDateTime *result;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 {
17223 wxDateTime &_result_ref = (arg1)->SetToCurrent();
17224 result = (wxDateTime *) &_result_ref;
17225 }
17226
17227 wxPyEndAllowThreads(__tstate);
17228 if (PyErr_Occurred()) SWIG_fail;
17229 }
17230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxDateTime *arg1 = (wxDateTime *) 0 ;
17240 time_t arg2 ;
17241 wxDateTime *result;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "timet", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17250 {
17251 arg2 = (time_t) SWIG_PyObj_AsUnsignedInt(obj1);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 {
17257 wxDateTime &_result_ref = (arg1)->Set(arg2);
17258 result = (wxDateTime *) &_result_ref;
17259 }
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxDateTime *arg1 = (wxDateTime *) 0 ;
17274 double arg2 ;
17275 wxDateTime *result;
17276 PyObject * obj0 = 0 ;
17277 PyObject * obj1 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "self",(char *) "jdn", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17284 {
17285 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 {
17291 wxDateTime &_result_ref = (arg1)->Set(arg2);
17292 result = (wxDateTime *) &_result_ref;
17293 }
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17299 return resultobj;
17300 fail:
17301 return NULL;
17302 }
17303
17304
17305 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17306 PyObject *resultobj;
17307 wxDateTime *arg1 = (wxDateTime *) 0 ;
17308 int arg2 ;
17309 int arg3 = (int) 0 ;
17310 int arg4 = (int) 0 ;
17311 int arg5 = (int) 0 ;
17312 wxDateTime *result;
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
17315 PyObject * obj2 = 0 ;
17316 PyObject * obj3 = 0 ;
17317 PyObject * obj4 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17324 {
17325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 if (obj2) {
17329 {
17330 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 }
17334 if (obj3) {
17335 {
17336 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 }
17340 if (obj4) {
17341 {
17342 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 }
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 {
17349 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17350 result = (wxDateTime *) &_result_ref;
17351 }
17352
17353 wxPyEndAllowThreads(__tstate);
17354 if (PyErr_Occurred()) SWIG_fail;
17355 }
17356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17357 return resultobj;
17358 fail:
17359 return NULL;
17360 }
17361
17362
17363 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17364 PyObject *resultobj;
17365 wxDateTime *arg1 = (wxDateTime *) 0 ;
17366 int arg2 ;
17367 int arg3 = (int) wxDateTime::Inv_Month ;
17368 int arg4 = (int) wxDateTime::Inv_Year ;
17369 int arg5 = (int) 0 ;
17370 int arg6 = (int) 0 ;
17371 int arg7 = (int) 0 ;
17372 int arg8 = (int) 0 ;
17373 wxDateTime *result;
17374 PyObject * obj0 = 0 ;
17375 PyObject * obj1 = 0 ;
17376 PyObject * obj2 = 0 ;
17377 PyObject * obj3 = 0 ;
17378 PyObject * obj4 = 0 ;
17379 PyObject * obj5 = 0 ;
17380 PyObject * obj6 = 0 ;
17381 PyObject * obj7 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17388 {
17389 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 if (obj2) {
17393 {
17394 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17395 if (PyErr_Occurred()) SWIG_fail;
17396 }
17397 }
17398 if (obj3) {
17399 {
17400 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 }
17404 if (obj4) {
17405 {
17406 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 }
17410 if (obj5) {
17411 {
17412 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 }
17416 if (obj6) {
17417 {
17418 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 }
17422 if (obj7) {
17423 {
17424 arg8 = (int) SWIG_PyObj_AsInt(obj7);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 {
17431 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17432 result = (wxDateTime *) &_result_ref;
17433 }
17434
17435 wxPyEndAllowThreads(__tstate);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxDateTime *arg1 = (wxDateTime *) 0 ;
17448 wxDateTime *result;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 {
17459 wxDateTime &_result_ref = (arg1)->ResetTime();
17460 result = (wxDateTime *) &_result_ref;
17461 }
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxDateTime *arg1 = (wxDateTime *) 0 ;
17476 int arg2 ;
17477 wxDateTime *result;
17478 PyObject * obj0 = 0 ;
17479 PyObject * obj1 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self",(char *) "year", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17486 {
17487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 {
17493 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17494 result = (wxDateTime *) &_result_ref;
17495 }
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17501 return resultobj;
17502 fail:
17503 return NULL;
17504 }
17505
17506
17507 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxDateTime *arg1 = (wxDateTime *) 0 ;
17510 int arg2 ;
17511 wxDateTime *result;
17512 PyObject * obj0 = 0 ;
17513 PyObject * obj1 = 0 ;
17514 char *kwnames[] = {
17515 (char *) "self",(char *) "month", NULL
17516 };
17517
17518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17520 {
17521 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 {
17527 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17528 result = (wxDateTime *) &_result_ref;
17529 }
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxDateTime *arg1 = (wxDateTime *) 0 ;
17544 int arg2 ;
17545 wxDateTime *result;
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj1 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "day", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 {
17555 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 {
17561 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17562 result = (wxDateTime *) &_result_ref;
17563 }
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17569 return resultobj;
17570 fail:
17571 return NULL;
17572 }
17573
17574
17575 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17576 PyObject *resultobj;
17577 wxDateTime *arg1 = (wxDateTime *) 0 ;
17578 int arg2 ;
17579 wxDateTime *result;
17580 PyObject * obj0 = 0 ;
17581 PyObject * obj1 = 0 ;
17582 char *kwnames[] = {
17583 (char *) "self",(char *) "hour", NULL
17584 };
17585
17586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17588 {
17589 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17590 if (PyErr_Occurred()) SWIG_fail;
17591 }
17592 {
17593 PyThreadState* __tstate = wxPyBeginAllowThreads();
17594 {
17595 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17596 result = (wxDateTime *) &_result_ref;
17597 }
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17610 PyObject *resultobj;
17611 wxDateTime *arg1 = (wxDateTime *) 0 ;
17612 int arg2 ;
17613 wxDateTime *result;
17614 PyObject * obj0 = 0 ;
17615 PyObject * obj1 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "minute", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17622 {
17623 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 {
17629 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17630 result = (wxDateTime *) &_result_ref;
17631 }
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
17636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17637 return resultobj;
17638 fail:
17639 return NULL;
17640 }
17641
17642
17643 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17644 PyObject *resultobj;
17645 wxDateTime *arg1 = (wxDateTime *) 0 ;
17646 int arg2 ;
17647 wxDateTime *result;
17648 PyObject * obj0 = 0 ;
17649 PyObject * obj1 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "second", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17656 {
17657 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 {
17663 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17664 result = (wxDateTime *) &_result_ref;
17665 }
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxDateTime *arg1 = (wxDateTime *) 0 ;
17680 int arg2 ;
17681 wxDateTime *result;
17682 PyObject * obj0 = 0 ;
17683 PyObject * obj1 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "millisecond", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17690 {
17691 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 {
17695 PyThreadState* __tstate = wxPyBeginAllowThreads();
17696 {
17697 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17698 result = (wxDateTime *) &_result_ref;
17699 }
17700
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxDateTime *arg1 = (wxDateTime *) 0 ;
17714 int arg2 ;
17715 int arg3 = (int) wxDateTime::Monday_First ;
17716 wxDateTime *result;
17717 PyObject * obj0 = 0 ;
17718 PyObject * obj1 = 0 ;
17719 PyObject * obj2 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 {
17727 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 if (obj2) {
17731 {
17732 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 }
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 {
17739 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17740 result = (wxDateTime *) &_result_ref;
17741 }
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxDateTime *arg1 = (wxDateTime *) 0 ;
17756 int arg2 ;
17757 int arg3 = (int) wxDateTime::Monday_First ;
17758 wxDateTime result;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 PyObject * obj2 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 if (obj2) {
17773 {
17774 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
17785 {
17786 wxDateTime * resultptr;
17787 resultptr = new wxDateTime((wxDateTime &) result);
17788 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17789 }
17790 return resultobj;
17791 fail:
17792 return NULL;
17793 }
17794
17795
17796 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj;
17798 wxDateTime *arg1 = (wxDateTime *) 0 ;
17799 int arg2 ;
17800 wxDateTime *result;
17801 PyObject * obj0 = 0 ;
17802 PyObject * obj1 = 0 ;
17803 char *kwnames[] = {
17804 (char *) "self",(char *) "weekday", NULL
17805 };
17806
17807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17809 {
17810 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 {
17816 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17817 result = (wxDateTime *) &_result_ref;
17818 }
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17824 return resultobj;
17825 fail:
17826 return NULL;
17827 }
17828
17829
17830 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17831 PyObject *resultobj;
17832 wxDateTime *arg1 = (wxDateTime *) 0 ;
17833 int arg2 ;
17834 wxDateTime result;
17835 PyObject * obj0 = 0 ;
17836 PyObject * obj1 = 0 ;
17837 char *kwnames[] = {
17838 (char *) "self",(char *) "weekday", NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17843 {
17844 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 {
17855 wxDateTime * resultptr;
17856 resultptr = new wxDateTime((wxDateTime &) result);
17857 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17858 }
17859 return resultobj;
17860 fail:
17861 return NULL;
17862 }
17863
17864
17865 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17866 PyObject *resultobj;
17867 wxDateTime *arg1 = (wxDateTime *) 0 ;
17868 int arg2 ;
17869 wxDateTime *result;
17870 PyObject * obj0 = 0 ;
17871 PyObject * obj1 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self",(char *) "weekday", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17878 {
17879 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 {
17885 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
17886 result = (wxDateTime *) &_result_ref;
17887 }
17888
17889 wxPyEndAllowThreads(__tstate);
17890 if (PyErr_Occurred()) SWIG_fail;
17891 }
17892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17893 return resultobj;
17894 fail:
17895 return NULL;
17896 }
17897
17898
17899 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj;
17901 wxDateTime *arg1 = (wxDateTime *) 0 ;
17902 int arg2 ;
17903 wxDateTime result;
17904 PyObject * obj0 = 0 ;
17905 PyObject * obj1 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self",(char *) "weekday", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924 wxDateTime * resultptr;
17925 resultptr = new wxDateTime((wxDateTime &) result);
17926 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17927 }
17928 return resultobj;
17929 fail:
17930 return NULL;
17931 }
17932
17933
17934 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxDateTime *arg1 = (wxDateTime *) 0 ;
17937 int arg2 ;
17938 int arg3 = (int) 1 ;
17939 int arg4 = (int) wxDateTime::Inv_Month ;
17940 int arg5 = (int) wxDateTime::Inv_Year ;
17941 bool result;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 PyObject * obj2 = 0 ;
17945 PyObject * obj3 = 0 ;
17946 PyObject * obj4 = 0 ;
17947 char *kwnames[] = {
17948 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17949 };
17950
17951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17953 {
17954 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 if (obj2) {
17958 {
17959 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 }
17963 if (obj3) {
17964 {
17965 arg4 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj3);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 }
17969 if (obj4) {
17970 {
17971 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17972 if (PyErr_Occurred()) SWIG_fail;
17973 }
17974 }
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17983 return resultobj;
17984 fail:
17985 return NULL;
17986 }
17987
17988
17989 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17990 PyObject *resultobj;
17991 wxDateTime *arg1 = (wxDateTime *) 0 ;
17992 int arg2 ;
17993 int arg3 = (int) wxDateTime::Inv_Month ;
17994 int arg4 = (int) wxDateTime::Inv_Year ;
17995 bool result;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj1 = 0 ;
17998 PyObject * obj2 = 0 ;
17999 PyObject * obj3 = 0 ;
18000 char *kwnames[] = {
18001 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18002 };
18003
18004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18006 {
18007 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 if (obj2) {
18011 {
18012 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 }
18016 if (obj3) {
18017 {
18018 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 }
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18030 return resultobj;
18031 fail:
18032 return NULL;
18033 }
18034
18035
18036 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxDateTime *arg1 = (wxDateTime *) 0 ;
18039 int arg2 ;
18040 int arg3 = (int) wxDateTime::Inv_Month ;
18041 int arg4 = (int) wxDateTime::Inv_Year ;
18042 wxDateTime result;
18043 PyObject * obj0 = 0 ;
18044 PyObject * obj1 = 0 ;
18045 PyObject * obj2 = 0 ;
18046 PyObject * obj3 = 0 ;
18047 char *kwnames[] = {
18048 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18049 };
18050
18051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 {
18054 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 if (obj2) {
18058 {
18059 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 }
18063 if (obj3) {
18064 {
18065 arg4 = (int) SWIG_PyObj_AsInt(obj3);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 }
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 {
18077 wxDateTime * resultptr;
18078 resultptr = new wxDateTime((wxDateTime &) result);
18079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18080 }
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxDateTime *arg1 = (wxDateTime *) 0 ;
18090 int arg2 ;
18091 int arg3 = (int) wxDateTime::Mon ;
18092 int arg4 = (int) wxDateTime::Monday_First ;
18093 bool result;
18094 PyObject * obj0 = 0 ;
18095 PyObject * obj1 = 0 ;
18096 PyObject * obj2 = 0 ;
18097 PyObject * obj3 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 {
18105 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 }
18108 if (obj2) {
18109 {
18110 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 }
18114 if (obj3) {
18115 {
18116 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18117 if (PyErr_Occurred()) SWIG_fail;
18118 }
18119 }
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18128 return resultobj;
18129 fail:
18130 return NULL;
18131 }
18132
18133
18134 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
18135 PyObject *resultobj;
18136 wxDateTime *arg1 = (wxDateTime *) 0 ;
18137 int arg2 ;
18138 int arg3 = (int) wxDateTime::Mon ;
18139 int arg4 = (int) wxDateTime::Monday_First ;
18140 wxDateTime result;
18141 PyObject * obj0 = 0 ;
18142 PyObject * obj1 = 0 ;
18143 PyObject * obj2 = 0 ;
18144 PyObject * obj3 = 0 ;
18145 char *kwnames[] = {
18146 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18147 };
18148
18149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18151 {
18152 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 if (obj2) {
18156 {
18157 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 }
18161 if (obj3) {
18162 {
18163 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 }
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
18170
18171 wxPyEndAllowThreads(__tstate);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 {
18175 wxDateTime * resultptr;
18176 resultptr = new wxDateTime((wxDateTime &) result);
18177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18178 }
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxDateTime *arg1 = (wxDateTime *) 0 ;
18188 int arg2 = (int) wxDateTime::Inv_Month ;
18189 int arg3 = (int) wxDateTime::Inv_Year ;
18190 wxDateTime *result;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 PyObject * obj2 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self",(char *) "month",(char *) "year", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 if (obj1) {
18201 {
18202 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 }
18206 if (obj2) {
18207 {
18208 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 }
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 {
18215 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
18216 result = (wxDateTime *) &_result_ref;
18217 }
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18223 return resultobj;
18224 fail:
18225 return NULL;
18226 }
18227
18228
18229 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18230 PyObject *resultobj;
18231 wxDateTime *arg1 = (wxDateTime *) 0 ;
18232 int arg2 = (int) wxDateTime::Inv_Month ;
18233 int arg3 = (int) wxDateTime::Inv_Year ;
18234 wxDateTime result;
18235 PyObject * obj0 = 0 ;
18236 PyObject * obj1 = 0 ;
18237 PyObject * obj2 = 0 ;
18238 char *kwnames[] = {
18239 (char *) "self",(char *) "month",(char *) "year", NULL
18240 };
18241
18242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
18243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18244 if (obj1) {
18245 {
18246 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 }
18250 if (obj2) {
18251 {
18252 arg3 = (int) SWIG_PyObj_AsInt(obj2);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 }
18256 {
18257 PyThreadState* __tstate = wxPyBeginAllowThreads();
18258 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18259
18260 wxPyEndAllowThreads(__tstate);
18261 if (PyErr_Occurred()) SWIG_fail;
18262 }
18263 {
18264 wxDateTime * resultptr;
18265 resultptr = new wxDateTime((wxDateTime &) result);
18266 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxDateTime *arg1 = (wxDateTime *) 0 ;
18277 int arg2 ;
18278 wxDateTime *result;
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "yday", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 {
18294 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18295 result = (wxDateTime *) &_result_ref;
18296 }
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxDateTime *arg1 = (wxDateTime *) 0 ;
18311 int arg2 ;
18312 wxDateTime result;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "yday", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18321 {
18322 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 {
18326 PyThreadState* __tstate = wxPyBeginAllowThreads();
18327 result = (arg1)->GetYearDay(arg2);
18328
18329 wxPyEndAllowThreads(__tstate);
18330 if (PyErr_Occurred()) SWIG_fail;
18331 }
18332 {
18333 wxDateTime * resultptr;
18334 resultptr = new wxDateTime((wxDateTime &) result);
18335 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18336 }
18337 return resultobj;
18338 fail:
18339 return NULL;
18340 }
18341
18342
18343 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18344 PyObject *resultobj;
18345 wxDateTime *arg1 = (wxDateTime *) 0 ;
18346 double result;
18347 PyObject * obj0 = 0 ;
18348 char *kwnames[] = {
18349 (char *) "self", NULL
18350 };
18351
18352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 result = (double)(arg1)->GetJulianDayNumber();
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 resultobj = SWIG_PyObj_FromDouble((double)result);
18362 return resultobj;
18363 fail:
18364 return NULL;
18365 }
18366
18367
18368 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18369 PyObject *resultobj;
18370 wxDateTime *arg1 = (wxDateTime *) 0 ;
18371 double result;
18372 PyObject * obj0 = 0 ;
18373 char *kwnames[] = {
18374 (char *) "self", NULL
18375 };
18376
18377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
18381 result = (double)(arg1)->GetJDN();
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 resultobj = SWIG_PyObj_FromDouble((double)result);
18387 return resultobj;
18388 fail:
18389 return NULL;
18390 }
18391
18392
18393 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18394 PyObject *resultobj;
18395 wxDateTime *arg1 = (wxDateTime *) 0 ;
18396 double result;
18397 PyObject * obj0 = 0 ;
18398 char *kwnames[] = {
18399 (char *) "self", NULL
18400 };
18401
18402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18404 {
18405 PyThreadState* __tstate = wxPyBeginAllowThreads();
18406 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18407
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 resultobj = SWIG_PyObj_FromDouble((double)result);
18412 return resultobj;
18413 fail:
18414 return NULL;
18415 }
18416
18417
18418 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18419 PyObject *resultobj;
18420 wxDateTime *arg1 = (wxDateTime *) 0 ;
18421 double result;
18422 PyObject * obj0 = 0 ;
18423 char *kwnames[] = {
18424 (char *) "self", NULL
18425 };
18426
18427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18429 {
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 result = (double)(arg1)->GetMJD();
18432
18433 wxPyEndAllowThreads(__tstate);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 resultobj = SWIG_PyObj_FromDouble((double)result);
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18444 PyObject *resultobj;
18445 wxDateTime *arg1 = (wxDateTime *) 0 ;
18446 double result;
18447 PyObject * obj0 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18454 {
18455 PyThreadState* __tstate = wxPyBeginAllowThreads();
18456 result = (double)(arg1)->GetRataDie();
18457
18458 wxPyEndAllowThreads(__tstate);
18459 if (PyErr_Occurred()) SWIG_fail;
18460 }
18461 resultobj = SWIG_PyObj_FromDouble((double)result);
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxDateTime *arg1 = (wxDateTime *) 0 ;
18471 wxDateTime::TimeZone *arg2 = 0 ;
18472 bool arg3 = (bool) False ;
18473 wxDateTime result;
18474 bool temp2 = False ;
18475 PyObject * obj0 = 0 ;
18476 PyObject * obj1 = 0 ;
18477 PyObject * obj2 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18484 {
18485 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18486 temp2 = True;
18487 }
18488 if (obj2) {
18489 {
18490 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18491 if (PyErr_Occurred()) SWIG_fail;
18492 }
18493 }
18494 {
18495 PyThreadState* __tstate = wxPyBeginAllowThreads();
18496 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18497
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 {
18502 wxDateTime * resultptr;
18503 resultptr = new wxDateTime((wxDateTime &) result);
18504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18505 }
18506 {
18507 if (temp2) delete arg2;
18508 }
18509 return resultobj;
18510 fail:
18511 {
18512 if (temp2) delete arg2;
18513 }
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxDateTime *arg1 = (wxDateTime *) 0 ;
18521 wxDateTime::TimeZone *arg2 = 0 ;
18522 bool arg3 = (bool) False ;
18523 wxDateTime *result;
18524 bool temp2 = False ;
18525 PyObject * obj0 = 0 ;
18526 PyObject * obj1 = 0 ;
18527 PyObject * obj2 = 0 ;
18528 char *kwnames[] = {
18529 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18530 };
18531
18532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18534 {
18535 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18536 temp2 = True;
18537 }
18538 if (obj2) {
18539 {
18540 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 }
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 {
18547 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18548 result = (wxDateTime *) &_result_ref;
18549 }
18550
18551 wxPyEndAllowThreads(__tstate);
18552 if (PyErr_Occurred()) SWIG_fail;
18553 }
18554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18555 {
18556 if (temp2) delete arg2;
18557 }
18558 return resultobj;
18559 fail:
18560 {
18561 if (temp2) delete arg2;
18562 }
18563 return NULL;
18564 }
18565
18566
18567 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj;
18569 wxDateTime *arg1 = (wxDateTime *) 0 ;
18570 bool arg2 = (bool) False ;
18571 wxDateTime result;
18572 PyObject * obj0 = 0 ;
18573 PyObject * obj1 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self",(char *) "noDST", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18580 if (obj1) {
18581 {
18582 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 }
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 result = (arg1)->ToGMT(arg2);
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 {
18594 wxDateTime * resultptr;
18595 resultptr = new wxDateTime((wxDateTime &) result);
18596 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18597 }
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxDateTime *arg1 = (wxDateTime *) 0 ;
18607 bool arg2 = (bool) False ;
18608 wxDateTime *result;
18609 PyObject * obj0 = 0 ;
18610 PyObject * obj1 = 0 ;
18611 char *kwnames[] = {
18612 (char *) "self",(char *) "noDST", NULL
18613 };
18614
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 if (obj1) {
18618 {
18619 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 }
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 {
18626 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18627 result = (wxDateTime *) &_result_ref;
18628 }
18629
18630 wxPyEndAllowThreads(__tstate);
18631 if (PyErr_Occurred()) SWIG_fail;
18632 }
18633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18634 return resultobj;
18635 fail:
18636 return NULL;
18637 }
18638
18639
18640 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxDateTime *arg1 = (wxDateTime *) 0 ;
18643 int arg2 = (int) wxDateTime::Country_Default ;
18644 int result;
18645 PyObject * obj0 = 0 ;
18646 PyObject * obj1 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self",(char *) "country", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18653 if (obj1) {
18654 {
18655 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 }
18659 {
18660 PyThreadState* __tstate = wxPyBeginAllowThreads();
18661 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18662
18663 wxPyEndAllowThreads(__tstate);
18664 if (PyErr_Occurred()) SWIG_fail;
18665 }
18666 resultobj = SWIG_PyObj_FromInt((int)result);
18667 return resultobj;
18668 fail:
18669 return NULL;
18670 }
18671
18672
18673 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18674 PyObject *resultobj;
18675 wxDateTime *arg1 = (wxDateTime *) 0 ;
18676 bool result;
18677 PyObject * obj0 = 0 ;
18678 char *kwnames[] = {
18679 (char *) "self", NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (bool)((wxDateTime const *)arg1)->IsValid();
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18692 return resultobj;
18693 fail:
18694 return NULL;
18695 }
18696
18697
18698 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj;
18700 wxDateTime *arg1 = (wxDateTime *) 0 ;
18701 time_t result;
18702 PyObject * obj0 = 0 ;
18703 char *kwnames[] = {
18704 (char *) "self", NULL
18705 };
18706
18707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
18717 return resultobj;
18718 fail:
18719 return NULL;
18720 }
18721
18722
18723 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxDateTime *arg1 = (wxDateTime *) 0 ;
18726 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18727 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18728 int result;
18729 bool temp2 = False ;
18730 PyObject * obj0 = 0 ;
18731 PyObject * obj1 = 0 ;
18732 char *kwnames[] = {
18733 (char *) "self",(char *) "tz", NULL
18734 };
18735
18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18738 if (obj1) {
18739 {
18740 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18741 temp2 = True;
18742 }
18743 }
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_PyObj_FromInt((int)result);
18752 {
18753 if (temp2) delete arg2;
18754 }
18755 return resultobj;
18756 fail:
18757 {
18758 if (temp2) delete arg2;
18759 }
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxDateTime *arg1 = (wxDateTime *) 0 ;
18767 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18768 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18769 int result;
18770 bool temp2 = False ;
18771 PyObject * obj0 = 0 ;
18772 PyObject * obj1 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self",(char *) "tz", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18779 if (obj1) {
18780 {
18781 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18782 temp2 = True;
18783 }
18784 }
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 resultobj = SWIG_PyObj_FromInt((int)result);
18793 {
18794 if (temp2) delete arg2;
18795 }
18796 return resultobj;
18797 fail:
18798 {
18799 if (temp2) delete arg2;
18800 }
18801 return NULL;
18802 }
18803
18804
18805 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxDateTime *arg1 = (wxDateTime *) 0 ;
18808 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18809 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18810 int result;
18811 bool temp2 = False ;
18812 PyObject * obj0 = 0 ;
18813 PyObject * obj1 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self",(char *) "tz", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18820 if (obj1) {
18821 {
18822 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18823 temp2 = True;
18824 }
18825 }
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 resultobj = SWIG_PyObj_FromInt((int)result);
18834 {
18835 if (temp2) delete arg2;
18836 }
18837 return resultobj;
18838 fail:
18839 {
18840 if (temp2) delete arg2;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxDateTime *arg1 = (wxDateTime *) 0 ;
18849 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18850 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18851 int result;
18852 bool temp2 = False ;
18853 PyObject * obj0 = 0 ;
18854 PyObject * obj1 = 0 ;
18855 char *kwnames[] = {
18856 (char *) "self",(char *) "tz", NULL
18857 };
18858
18859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
18860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18861 if (obj1) {
18862 {
18863 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18864 temp2 = True;
18865 }
18866 }
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 resultobj = SWIG_PyObj_FromInt((int)result);
18875 {
18876 if (temp2) delete arg2;
18877 }
18878 return resultobj;
18879 fail:
18880 {
18881 if (temp2) delete arg2;
18882 }
18883 return NULL;
18884 }
18885
18886
18887 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18888 PyObject *resultobj;
18889 wxDateTime *arg1 = (wxDateTime *) 0 ;
18890 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18891 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18892 int result;
18893 bool temp2 = False ;
18894 PyObject * obj0 = 0 ;
18895 PyObject * obj1 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self",(char *) "tz", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
18901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18902 if (obj1) {
18903 {
18904 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18905 temp2 = True;
18906 }
18907 }
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 resultobj = SWIG_PyObj_FromInt((int)result);
18916 {
18917 if (temp2) delete arg2;
18918 }
18919 return resultobj;
18920 fail:
18921 {
18922 if (temp2) delete arg2;
18923 }
18924 return NULL;
18925 }
18926
18927
18928 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxDateTime *arg1 = (wxDateTime *) 0 ;
18931 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18932 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18933 int result;
18934 bool temp2 = False ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "tz", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18943 if (obj1) {
18944 {
18945 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18946 temp2 = True;
18947 }
18948 }
18949 {
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
18952
18953 wxPyEndAllowThreads(__tstate);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 }
18956 resultobj = SWIG_PyObj_FromInt((int)result);
18957 {
18958 if (temp2) delete arg2;
18959 }
18960 return resultobj;
18961 fail:
18962 {
18963 if (temp2) delete arg2;
18964 }
18965 return NULL;
18966 }
18967
18968
18969 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18970 PyObject *resultobj;
18971 wxDateTime *arg1 = (wxDateTime *) 0 ;
18972 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18973 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18974 int result;
18975 bool temp2 = False ;
18976 PyObject * obj0 = 0 ;
18977 PyObject * obj1 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "tz", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
18983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18984 if (obj1) {
18985 {
18986 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18987 temp2 = True;
18988 }
18989 }
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 resultobj = SWIG_PyObj_FromInt((int)result);
18998 {
18999 if (temp2) delete arg2;
19000 }
19001 return resultobj;
19002 fail:
19003 {
19004 if (temp2) delete arg2;
19005 }
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxDateTime *arg1 = (wxDateTime *) 0 ;
19013 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19014 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19015 int result;
19016 bool temp2 = False ;
19017 PyObject * obj0 = 0 ;
19018 PyObject * obj1 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self",(char *) "tz", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 if (obj1) {
19026 {
19027 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19028 temp2 = True;
19029 }
19030 }
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
19034
19035 wxPyEndAllowThreads(__tstate);
19036 if (PyErr_Occurred()) SWIG_fail;
19037 }
19038 resultobj = SWIG_PyObj_FromInt((int)result);
19039 {
19040 if (temp2) delete arg2;
19041 }
19042 return resultobj;
19043 fail:
19044 {
19045 if (temp2) delete arg2;
19046 }
19047 return NULL;
19048 }
19049
19050
19051 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19052 PyObject *resultobj;
19053 wxDateTime *arg1 = (wxDateTime *) 0 ;
19054 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
19055 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
19056 int result;
19057 bool temp2 = False ;
19058 PyObject * obj0 = 0 ;
19059 PyObject * obj1 = 0 ;
19060 char *kwnames[] = {
19061 (char *) "self",(char *) "tz", NULL
19062 };
19063
19064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
19065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19066 if (obj1) {
19067 {
19068 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
19069 temp2 = True;
19070 }
19071 }
19072 {
19073 PyThreadState* __tstate = wxPyBeginAllowThreads();
19074 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
19075
19076 wxPyEndAllowThreads(__tstate);
19077 if (PyErr_Occurred()) SWIG_fail;
19078 }
19079 resultobj = SWIG_PyObj_FromInt((int)result);
19080 {
19081 if (temp2) delete arg2;
19082 }
19083 return resultobj;
19084 fail:
19085 {
19086 if (temp2) delete arg2;
19087 }
19088 return NULL;
19089 }
19090
19091
19092 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxDateTime *arg1 = (wxDateTime *) 0 ;
19095 int arg2 = (int) wxDateTime::Monday_First ;
19096 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19097 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19098 int result;
19099 bool temp3 = False ;
19100 PyObject * obj0 = 0 ;
19101 PyObject * obj1 = 0 ;
19102 PyObject * obj2 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self",(char *) "flags",(char *) "tz", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19109 if (obj1) {
19110 {
19111 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 }
19115 if (obj2) {
19116 {
19117 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19118 temp3 = True;
19119 }
19120 }
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = SWIG_PyObj_FromInt((int)result);
19129 {
19130 if (temp3) delete arg3;
19131 }
19132 return resultobj;
19133 fail:
19134 {
19135 if (temp3) delete arg3;
19136 }
19137 return NULL;
19138 }
19139
19140
19141 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
19142 PyObject *resultobj;
19143 wxDateTime *arg1 = (wxDateTime *) 0 ;
19144 int arg2 = (int) wxDateTime::Monday_First ;
19145 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
19146 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
19147 int result;
19148 bool temp3 = False ;
19149 PyObject * obj0 = 0 ;
19150 PyObject * obj1 = 0 ;
19151 PyObject * obj2 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "flags",(char *) "tz", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 if (obj1) {
19159 {
19160 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
19161 if (PyErr_Occurred()) SWIG_fail;
19162 }
19163 }
19164 if (obj2) {
19165 {
19166 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
19167 temp3 = True;
19168 }
19169 }
19170 {
19171 PyThreadState* __tstate = wxPyBeginAllowThreads();
19172 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
19173
19174 wxPyEndAllowThreads(__tstate);
19175 if (PyErr_Occurred()) SWIG_fail;
19176 }
19177 resultobj = SWIG_PyObj_FromInt((int)result);
19178 {
19179 if (temp3) delete arg3;
19180 }
19181 return resultobj;
19182 fail:
19183 {
19184 if (temp3) delete arg3;
19185 }
19186 return NULL;
19187 }
19188
19189
19190 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
19191 PyObject *resultobj;
19192 wxDateTime *arg1 = (wxDateTime *) 0 ;
19193 int arg2 = (int) wxDateTime::Country_Default ;
19194 bool result;
19195 PyObject * obj0 = 0 ;
19196 PyObject * obj1 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "country", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19203 if (obj1) {
19204 {
19205 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
19206 if (PyErr_Occurred()) SWIG_fail;
19207 }
19208 }
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxDateTime *arg1 = (wxDateTime *) 0 ;
19226 wxDateTime *arg2 = 0 ;
19227 bool result;
19228 PyObject * obj0 = 0 ;
19229 PyObject * obj1 = 0 ;
19230 char *kwnames[] = {
19231 (char *) "self",(char *) "datetime", NULL
19232 };
19233
19234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
19235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19237 if (arg2 == NULL) {
19238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxDateTime *arg1 = (wxDateTime *) 0 ;
19257 wxDateTime *arg2 = 0 ;
19258 bool result;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "datetime", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 if (arg2 == NULL) {
19269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19279 return resultobj;
19280 fail:
19281 return NULL;
19282 }
19283
19284
19285 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19286 PyObject *resultobj;
19287 wxDateTime *arg1 = (wxDateTime *) 0 ;
19288 wxDateTime *arg2 = 0 ;
19289 bool result;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "datetime", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19299 if (arg2 == NULL) {
19300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19301 }
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19310 return resultobj;
19311 fail:
19312 return NULL;
19313 }
19314
19315
19316 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxDateTime *arg1 = (wxDateTime *) 0 ;
19319 wxDateTime *arg2 = 0 ;
19320 wxDateTime *arg3 = 0 ;
19321 bool result;
19322 PyObject * obj0 = 0 ;
19323 PyObject * obj1 = 0 ;
19324 PyObject * obj2 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "t1",(char *) "t2", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19332 if (arg2 == NULL) {
19333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19334 }
19335 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19336 if (arg3 == NULL) {
19337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19338 }
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxDateTime *arg1 = (wxDateTime *) 0 ;
19356 wxDateTime *arg2 = 0 ;
19357 wxDateTime *arg3 = 0 ;
19358 bool result;
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 PyObject * obj2 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self",(char *) "t1",(char *) "t2", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19369 if (arg2 == NULL) {
19370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19371 }
19372 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19373 if (arg3 == NULL) {
19374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19375 }
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19384 return resultobj;
19385 fail:
19386 return NULL;
19387 }
19388
19389
19390 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxDateTime *arg1 = (wxDateTime *) 0 ;
19393 wxDateTime *arg2 = 0 ;
19394 bool result;
19395 PyObject * obj0 = 0 ;
19396 PyObject * obj1 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "dt", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19404 if (arg2 == NULL) {
19405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19406 }
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxDateTime *arg1 = (wxDateTime *) 0 ;
19424 wxDateTime *arg2 = 0 ;
19425 bool result;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "dt", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 if (arg2 == NULL) {
19436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19437 }
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19441
19442 wxPyEndAllowThreads(__tstate);
19443 if (PyErr_Occurred()) SWIG_fail;
19444 }
19445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxDateTime *arg1 = (wxDateTime *) 0 ;
19455 wxDateTime *arg2 = 0 ;
19456 wxTimeSpan *arg3 = 0 ;
19457 bool result;
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj1 = 0 ;
19460 PyObject * obj2 = 0 ;
19461 char *kwnames[] = {
19462 (char *) "self",(char *) "dt",(char *) "ts", NULL
19463 };
19464
19465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19468 if (arg2 == NULL) {
19469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19470 }
19471 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19472 if (arg3 == NULL) {
19473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19474 }
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19478
19479 wxPyEndAllowThreads(__tstate);
19480 if (PyErr_Occurred()) SWIG_fail;
19481 }
19482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxDateTime *arg1 = (wxDateTime *) 0 ;
19492 wxTimeSpan *arg2 = 0 ;
19493 wxDateTime *result;
19494 PyObject * obj0 = 0 ;
19495 PyObject * obj1 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self",(char *) "diff", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19503 if (arg2 == NULL) {
19504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19505 }
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 {
19509 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19510 result = (wxDateTime *) &_result_ref;
19511 }
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxDateTime *arg1 = (wxDateTime *) 0 ;
19526 wxDateSpan *arg2 = 0 ;
19527 wxDateTime *result;
19528 PyObject * obj0 = 0 ;
19529 PyObject * obj1 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self",(char *) "diff", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19537 if (arg2 == NULL) {
19538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19539 }
19540 {
19541 PyThreadState* __tstate = wxPyBeginAllowThreads();
19542 {
19543 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19544 result = (wxDateTime *) &_result_ref;
19545 }
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxDateTime *arg1 = (wxDateTime *) 0 ;
19560 wxTimeSpan *arg2 = 0 ;
19561 wxDateTime *result;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self",(char *) "diff", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 if (arg2 == NULL) {
19572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19573 }
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 {
19577 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19578 result = (wxDateTime *) &_result_ref;
19579 }
19580
19581 wxPyEndAllowThreads(__tstate);
19582 if (PyErr_Occurred()) SWIG_fail;
19583 }
19584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxDateTime *arg1 = (wxDateTime *) 0 ;
19594 wxDateSpan *arg2 = 0 ;
19595 wxDateTime *result;
19596 PyObject * obj0 = 0 ;
19597 PyObject * obj1 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self",(char *) "diff", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 if (arg2 == NULL) {
19606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19607 }
19608 {
19609 PyThreadState* __tstate = wxPyBeginAllowThreads();
19610 {
19611 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19612 result = (wxDateTime *) &_result_ref;
19613 }
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19619 return resultobj;
19620 fail:
19621 return NULL;
19622 }
19623
19624
19625 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19626 PyObject *resultobj;
19627 wxDateTime *arg1 = (wxDateTime *) 0 ;
19628 wxDateTime *arg2 = 0 ;
19629 wxTimeSpan result;
19630 PyObject * obj0 = 0 ;
19631 PyObject * obj1 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "dt", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 if (arg2 == NULL) {
19640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19641 }
19642 {
19643 PyThreadState* __tstate = wxPyBeginAllowThreads();
19644 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19645
19646 wxPyEndAllowThreads(__tstate);
19647 if (PyErr_Occurred()) SWIG_fail;
19648 }
19649 {
19650 wxTimeSpan * resultptr;
19651 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19653 }
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19661 PyObject *resultobj;
19662 wxDateTime *arg1 = (wxDateTime *) 0 ;
19663 wxTimeSpan *arg2 = 0 ;
19664 wxDateTime *result;
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
19667
19668 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 if (arg2 == NULL) {
19672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19673 }
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 {
19677 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19678 result = (wxDateTime *) &_result_ref;
19679 }
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19685 return resultobj;
19686 fail:
19687 return NULL;
19688 }
19689
19690
19691 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19692 PyObject *resultobj;
19693 wxDateTime *arg1 = (wxDateTime *) 0 ;
19694 wxDateSpan *arg2 = 0 ;
19695 wxDateTime *result;
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698
19699 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 if (arg2 == NULL) {
19703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19704 }
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 {
19708 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19709 result = (wxDateTime *) &_result_ref;
19710 }
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19723 int argc;
19724 PyObject *argv[3];
19725 int ii;
19726
19727 argc = PyObject_Length(args);
19728 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19729 argv[ii] = PyTuple_GetItem(args,ii);
19730 }
19731 if (argc == 2) {
19732 int _v;
19733 {
19734 void *ptr;
19735 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19736 _v = 0;
19737 PyErr_Clear();
19738 } else {
19739 _v = 1;
19740 }
19741 }
19742 if (_v) {
19743 {
19744 void *ptr;
19745 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19746 _v = 0;
19747 PyErr_Clear();
19748 } else {
19749 _v = 1;
19750 }
19751 }
19752 if (_v) {
19753 return _wrap_DateTime___iadd____SWIG_0(self,args);
19754 }
19755 }
19756 }
19757 if (argc == 2) {
19758 int _v;
19759 {
19760 void *ptr;
19761 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19762 _v = 0;
19763 PyErr_Clear();
19764 } else {
19765 _v = 1;
19766 }
19767 }
19768 if (_v) {
19769 {
19770 void *ptr;
19771 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19772 _v = 0;
19773 PyErr_Clear();
19774 } else {
19775 _v = 1;
19776 }
19777 }
19778 if (_v) {
19779 return _wrap_DateTime___iadd____SWIG_1(self,args);
19780 }
19781 }
19782 }
19783
19784 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19785 return NULL;
19786 }
19787
19788
19789 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
19790 PyObject *resultobj;
19791 wxDateTime *arg1 = (wxDateTime *) 0 ;
19792 wxTimeSpan *arg2 = 0 ;
19793 wxDateTime *result;
19794 PyObject * obj0 = 0 ;
19795 PyObject * obj1 = 0 ;
19796
19797 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 if (arg2 == NULL) {
19801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19802 }
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 {
19806 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19807 result = (wxDateTime *) &_result_ref;
19808 }
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
19821 PyObject *resultobj;
19822 wxDateTime *arg1 = (wxDateTime *) 0 ;
19823 wxDateSpan *arg2 = 0 ;
19824 wxDateTime *result;
19825 PyObject * obj0 = 0 ;
19826 PyObject * obj1 = 0 ;
19827
19828 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19831 if (arg2 == NULL) {
19832 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19833 }
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 {
19837 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19838 result = (wxDateTime *) &_result_ref;
19839 }
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19845 return resultobj;
19846 fail:
19847 return NULL;
19848 }
19849
19850
19851 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19852 int argc;
19853 PyObject *argv[3];
19854 int ii;
19855
19856 argc = PyObject_Length(args);
19857 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19858 argv[ii] = PyTuple_GetItem(args,ii);
19859 }
19860 if (argc == 2) {
19861 int _v;
19862 {
19863 void *ptr;
19864 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19865 _v = 0;
19866 PyErr_Clear();
19867 } else {
19868 _v = 1;
19869 }
19870 }
19871 if (_v) {
19872 {
19873 void *ptr;
19874 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19875 _v = 0;
19876 PyErr_Clear();
19877 } else {
19878 _v = 1;
19879 }
19880 }
19881 if (_v) {
19882 return _wrap_DateTime___isub____SWIG_0(self,args);
19883 }
19884 }
19885 }
19886 if (argc == 2) {
19887 int _v;
19888 {
19889 void *ptr;
19890 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19891 _v = 0;
19892 PyErr_Clear();
19893 } else {
19894 _v = 1;
19895 }
19896 }
19897 if (_v) {
19898 {
19899 void *ptr;
19900 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19901 _v = 0;
19902 PyErr_Clear();
19903 } else {
19904 _v = 1;
19905 }
19906 }
19907 if (_v) {
19908 return _wrap_DateTime___isub____SWIG_1(self,args);
19909 }
19910 }
19911 }
19912
19913 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
19914 return NULL;
19915 }
19916
19917
19918 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
19919 PyObject *resultobj;
19920 wxDateTime *arg1 = (wxDateTime *) 0 ;
19921 wxTimeSpan *arg2 = 0 ;
19922 wxDateTime result;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925
19926 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19929 if (arg2 == NULL) {
19930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19931 }
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 {
19940 wxDateTime * resultptr;
19941 resultptr = new wxDateTime((wxDateTime &) result);
19942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19943 }
19944 return resultobj;
19945 fail:
19946 return NULL;
19947 }
19948
19949
19950 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
19951 PyObject *resultobj;
19952 wxDateTime *arg1 = (wxDateTime *) 0 ;
19953 wxDateSpan *arg2 = 0 ;
19954 wxDateTime result;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957
19958 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19961 if (arg2 == NULL) {
19962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19963 }
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 wxDateTime * resultptr;
19973 resultptr = new wxDateTime((wxDateTime &) result);
19974 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19975 }
19976 return resultobj;
19977 fail:
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
19983 int argc;
19984 PyObject *argv[3];
19985 int ii;
19986
19987 argc = PyObject_Length(args);
19988 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19989 argv[ii] = PyTuple_GetItem(args,ii);
19990 }
19991 if (argc == 2) {
19992 int _v;
19993 {
19994 void *ptr;
19995 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19996 _v = 0;
19997 PyErr_Clear();
19998 } else {
19999 _v = 1;
20000 }
20001 }
20002 if (_v) {
20003 {
20004 void *ptr;
20005 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20006 _v = 0;
20007 PyErr_Clear();
20008 } else {
20009 _v = 1;
20010 }
20011 }
20012 if (_v) {
20013 return _wrap_DateTime___add____SWIG_0(self,args);
20014 }
20015 }
20016 }
20017 if (argc == 2) {
20018 int _v;
20019 {
20020 void *ptr;
20021 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20022 _v = 0;
20023 PyErr_Clear();
20024 } else {
20025 _v = 1;
20026 }
20027 }
20028 if (_v) {
20029 {
20030 void *ptr;
20031 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20032 _v = 0;
20033 PyErr_Clear();
20034 } else {
20035 _v = 1;
20036 }
20037 }
20038 if (_v) {
20039 return _wrap_DateTime___add____SWIG_1(self,args);
20040 }
20041 }
20042 }
20043
20044 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
20050 PyObject *resultobj;
20051 wxDateTime *arg1 = (wxDateTime *) 0 ;
20052 wxDateTime *arg2 = 0 ;
20053 wxTimeSpan result;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056
20057 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 if (arg2 == NULL) {
20061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20062 }
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 {
20071 wxTimeSpan * resultptr;
20072 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20073 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20074 }
20075 return resultobj;
20076 fail:
20077 return NULL;
20078 }
20079
20080
20081 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
20082 PyObject *resultobj;
20083 wxDateTime *arg1 = (wxDateTime *) 0 ;
20084 wxTimeSpan *arg2 = 0 ;
20085 wxDateTime result;
20086 PyObject * obj0 = 0 ;
20087 PyObject * obj1 = 0 ;
20088
20089 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20092 if (arg2 == NULL) {
20093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20094 }
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 {
20103 wxDateTime * resultptr;
20104 resultptr = new wxDateTime((wxDateTime &) result);
20105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20106 }
20107 return resultobj;
20108 fail:
20109 return NULL;
20110 }
20111
20112
20113 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
20114 PyObject *resultobj;
20115 wxDateTime *arg1 = (wxDateTime *) 0 ;
20116 wxDateSpan *arg2 = 0 ;
20117 wxDateTime result;
20118 PyObject * obj0 = 0 ;
20119 PyObject * obj1 = 0 ;
20120
20121 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 if (arg2 == NULL) {
20125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20126 }
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
20130
20131 wxPyEndAllowThreads(__tstate);
20132 if (PyErr_Occurred()) SWIG_fail;
20133 }
20134 {
20135 wxDateTime * resultptr;
20136 resultptr = new wxDateTime((wxDateTime &) result);
20137 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
20138 }
20139 return resultobj;
20140 fail:
20141 return NULL;
20142 }
20143
20144
20145 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
20146 int argc;
20147 PyObject *argv[3];
20148 int ii;
20149
20150 argc = PyObject_Length(args);
20151 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
20152 argv[ii] = PyTuple_GetItem(args,ii);
20153 }
20154 if (argc == 2) {
20155 int _v;
20156 {
20157 void *ptr;
20158 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20159 _v = 0;
20160 PyErr_Clear();
20161 } else {
20162 _v = 1;
20163 }
20164 }
20165 if (_v) {
20166 {
20167 void *ptr;
20168 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20169 _v = 0;
20170 PyErr_Clear();
20171 } else {
20172 _v = 1;
20173 }
20174 }
20175 if (_v) {
20176 return _wrap_DateTime___sub____SWIG_0(self,args);
20177 }
20178 }
20179 }
20180 if (argc == 2) {
20181 int _v;
20182 {
20183 void *ptr;
20184 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20185 _v = 0;
20186 PyErr_Clear();
20187 } else {
20188 _v = 1;
20189 }
20190 }
20191 if (_v) {
20192 {
20193 void *ptr;
20194 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
20195 _v = 0;
20196 PyErr_Clear();
20197 } else {
20198 _v = 1;
20199 }
20200 }
20201 if (_v) {
20202 return _wrap_DateTime___sub____SWIG_1(self,args);
20203 }
20204 }
20205 }
20206 if (argc == 2) {
20207 int _v;
20208 {
20209 void *ptr;
20210 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
20211 _v = 0;
20212 PyErr_Clear();
20213 } else {
20214 _v = 1;
20215 }
20216 }
20217 if (_v) {
20218 {
20219 void *ptr;
20220 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
20221 _v = 0;
20222 PyErr_Clear();
20223 } else {
20224 _v = 1;
20225 }
20226 }
20227 if (_v) {
20228 return _wrap_DateTime___sub____SWIG_2(self,args);
20229 }
20230 }
20231 }
20232
20233 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
20239 PyObject *resultobj;
20240 wxDateTime *arg1 = (wxDateTime *) 0 ;
20241 wxDateTime *arg2 = 0 ;
20242 bool result;
20243 PyObject * obj0 = 0 ;
20244 PyObject * obj1 = 0 ;
20245
20246 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 if (arg2 == NULL) {
20250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20251 }
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20267 PyObject *resultobj;
20268 wxDateTime *arg1 = (wxDateTime *) 0 ;
20269 wxDateTime *arg2 = 0 ;
20270 bool result;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273
20274 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20277 if (arg2 == NULL) {
20278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
20282 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
20287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20288 return resultobj;
20289 fail:
20290 return NULL;
20291 }
20292
20293
20294 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20295 PyObject *resultobj;
20296 wxDateTime *arg1 = (wxDateTime *) 0 ;
20297 wxDateTime *arg2 = 0 ;
20298 bool result;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301
20302 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20305 if (arg2 == NULL) {
20306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20307 }
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20316 return resultobj;
20317 fail:
20318 return NULL;
20319 }
20320
20321
20322 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20323 PyObject *resultobj;
20324 wxDateTime *arg1 = (wxDateTime *) 0 ;
20325 wxDateTime *arg2 = 0 ;
20326 bool result;
20327 PyObject * obj0 = 0 ;
20328 PyObject * obj1 = 0 ;
20329
20330 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 if (arg2 == NULL) {
20334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20335 }
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20351 PyObject *resultobj;
20352 wxDateTime *arg1 = (wxDateTime *) 0 ;
20353 wxDateTime *arg2 = 0 ;
20354 bool result;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357
20358 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 if (arg2 == NULL) {
20362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20372 return resultobj;
20373 fail:
20374 return NULL;
20375 }
20376
20377
20378 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20379 PyObject *resultobj;
20380 wxDateTime *arg1 = (wxDateTime *) 0 ;
20381 wxDateTime *arg2 = 0 ;
20382 bool result;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385
20386 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20389 if (arg2 == NULL) {
20390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20391 }
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxDateTime *arg1 = (wxDateTime *) 0 ;
20409 wxString *arg2 = 0 ;
20410 int result;
20411 bool temp2 = False ;
20412 PyObject * obj0 = 0 ;
20413 PyObject * obj1 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "self",(char *) "date", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 {
20421 arg2 = wxString_in_helper(obj1);
20422 if (arg2 == NULL) SWIG_fail;
20423 temp2 = True;
20424 }
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 resultobj = SWIG_PyObj_FromInt((int)result);
20433 {
20434 if (temp2)
20435 delete arg2;
20436 }
20437 return resultobj;
20438 fail:
20439 {
20440 if (temp2)
20441 delete arg2;
20442 }
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj;
20449 wxDateTime *arg1 = (wxDateTime *) 0 ;
20450 wxString *arg2 = 0 ;
20451 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20452 wxString *arg3 = (wxString *) &arg3_defvalue ;
20453 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20454 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20455 int result;
20456 bool temp2 = False ;
20457 bool temp3 = False ;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj1 = 0 ;
20460 PyObject * obj2 = 0 ;
20461 PyObject * obj3 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20464 };
20465
20466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20468 {
20469 arg2 = wxString_in_helper(obj1);
20470 if (arg2 == NULL) SWIG_fail;
20471 temp2 = True;
20472 }
20473 if (obj2) {
20474 {
20475 arg3 = wxString_in_helper(obj2);
20476 if (arg3 == NULL) SWIG_fail;
20477 temp3 = True;
20478 }
20479 }
20480 if (obj3) {
20481 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20482 if (arg4 == NULL) {
20483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20484 }
20485 }
20486 {
20487 PyThreadState* __tstate = wxPyBeginAllowThreads();
20488 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20489
20490 wxPyEndAllowThreads(__tstate);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 }
20493 resultobj = SWIG_PyObj_FromInt((int)result);
20494 {
20495 if (temp2)
20496 delete arg2;
20497 }
20498 {
20499 if (temp3)
20500 delete arg3;
20501 }
20502 return resultobj;
20503 fail:
20504 {
20505 if (temp2)
20506 delete arg2;
20507 }
20508 {
20509 if (temp3)
20510 delete arg3;
20511 }
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxDateTime *arg1 = (wxDateTime *) 0 ;
20519 wxString *arg2 = 0 ;
20520 int result;
20521 bool temp2 = False ;
20522 PyObject * obj0 = 0 ;
20523 PyObject * obj1 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self",(char *) "datetime", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20530 {
20531 arg2 = wxString_in_helper(obj1);
20532 if (arg2 == NULL) SWIG_fail;
20533 temp2 = True;
20534 }
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 resultobj = SWIG_PyObj_FromInt((int)result);
20543 {
20544 if (temp2)
20545 delete arg2;
20546 }
20547 return resultobj;
20548 fail:
20549 {
20550 if (temp2)
20551 delete arg2;
20552 }
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxDateTime *arg1 = (wxDateTime *) 0 ;
20560 wxString *arg2 = 0 ;
20561 int result;
20562 bool temp2 = False ;
20563 PyObject * obj0 = 0 ;
20564 PyObject * obj1 = 0 ;
20565 char *kwnames[] = {
20566 (char *) "self",(char *) "date", NULL
20567 };
20568
20569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20571 {
20572 arg2 = wxString_in_helper(obj1);
20573 if (arg2 == NULL) SWIG_fail;
20574 temp2 = True;
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 resultobj = SWIG_PyObj_FromInt((int)result);
20584 {
20585 if (temp2)
20586 delete arg2;
20587 }
20588 return resultobj;
20589 fail:
20590 {
20591 if (temp2)
20592 delete arg2;
20593 }
20594 return NULL;
20595 }
20596
20597
20598 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxDateTime *arg1 = (wxDateTime *) 0 ;
20601 wxString *arg2 = 0 ;
20602 int result;
20603 bool temp2 = False ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "time", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 {
20613 arg2 = wxString_in_helper(obj1);
20614 if (arg2 == NULL) SWIG_fail;
20615 temp2 = True;
20616 }
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 resultobj = SWIG_PyObj_FromInt((int)result);
20625 {
20626 if (temp2)
20627 delete arg2;
20628 }
20629 return resultobj;
20630 fail:
20631 {
20632 if (temp2)
20633 delete arg2;
20634 }
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxDateTime *arg1 = (wxDateTime *) 0 ;
20642 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20643 wxString *arg2 = (wxString *) &arg2_defvalue ;
20644 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20645 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20646 wxString result;
20647 bool temp2 = False ;
20648 bool temp3 = False ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 PyObject * obj2 = 0 ;
20652 char *kwnames[] = {
20653 (char *) "self",(char *) "format",(char *) "tz", NULL
20654 };
20655
20656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20658 if (obj1) {
20659 {
20660 arg2 = wxString_in_helper(obj1);
20661 if (arg2 == NULL) SWIG_fail;
20662 temp2 = True;
20663 }
20664 }
20665 if (obj2) {
20666 {
20667 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
20668 temp3 = True;
20669 }
20670 }
20671 {
20672 PyThreadState* __tstate = wxPyBeginAllowThreads();
20673 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20674
20675 wxPyEndAllowThreads(__tstate);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 }
20678 {
20679 #if wxUSE_UNICODE
20680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20681 #else
20682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20683 #endif
20684 }
20685 {
20686 if (temp2)
20687 delete arg2;
20688 }
20689 {
20690 if (temp3) delete arg3;
20691 }
20692 return resultobj;
20693 fail:
20694 {
20695 if (temp2)
20696 delete arg2;
20697 }
20698 {
20699 if (temp3) delete arg3;
20700 }
20701 return NULL;
20702 }
20703
20704
20705 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20706 PyObject *resultobj;
20707 wxDateTime *arg1 = (wxDateTime *) 0 ;
20708 wxString result;
20709 PyObject * obj0 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
20715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 result = ((wxDateTime const *)arg1)->FormatDate();
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 {
20724 #if wxUSE_UNICODE
20725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20726 #else
20727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20728 #endif
20729 }
20730 return resultobj;
20731 fail:
20732 return NULL;
20733 }
20734
20735
20736 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20737 PyObject *resultobj;
20738 wxDateTime *arg1 = (wxDateTime *) 0 ;
20739 wxString result;
20740 PyObject * obj0 = 0 ;
20741 char *kwnames[] = {
20742 (char *) "self", NULL
20743 };
20744
20745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
20746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = ((wxDateTime const *)arg1)->FormatTime();
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 {
20755 #if wxUSE_UNICODE
20756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20757 #else
20758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20759 #endif
20760 }
20761 return resultobj;
20762 fail:
20763 return NULL;
20764 }
20765
20766
20767 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
20768 PyObject *resultobj;
20769 wxDateTime *arg1 = (wxDateTime *) 0 ;
20770 wxString result;
20771 PyObject * obj0 = 0 ;
20772 char *kwnames[] = {
20773 (char *) "self", NULL
20774 };
20775
20776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
20777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 result = ((wxDateTime const *)arg1)->FormatISODate();
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 {
20786 #if wxUSE_UNICODE
20787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20788 #else
20789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20790 #endif
20791 }
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxDateTime *arg1 = (wxDateTime *) 0 ;
20801 wxString result;
20802 PyObject * obj0 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
20808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = ((wxDateTime const *)arg1)->FormatISOTime();
20812
20813 wxPyEndAllowThreads(__tstate);
20814 if (PyErr_Occurred()) SWIG_fail;
20815 }
20816 {
20817 #if wxUSE_UNICODE
20818 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20819 #else
20820 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20821 #endif
20822 }
20823 return resultobj;
20824 fail:
20825 return NULL;
20826 }
20827
20828
20829 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
20830 PyObject *obj;
20831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20832 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20833 Py_INCREF(obj);
20834 return Py_BuildValue((char *)"");
20835 }
20836 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 long arg1 ;
20839 wxTimeSpan result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "sec", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
20846 {
20847 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = wxTimeSpan::Seconds(arg1);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 {
20858 wxTimeSpan * resultptr;
20859 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20861 }
20862 return resultobj;
20863 fail:
20864 return NULL;
20865 }
20866
20867
20868 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
20869 PyObject *resultobj;
20870 wxTimeSpan result;
20871 char *kwnames[] = {
20872 NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = wxTimeSpan::Second();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 {
20884 wxTimeSpan * resultptr;
20885 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20887 }
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 long arg1 ;
20897 wxTimeSpan result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "min", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
20904 {
20905 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 result = wxTimeSpan::Minutes(arg1);
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 {
20916 wxTimeSpan * resultptr;
20917 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20919 }
20920 return resultobj;
20921 fail:
20922 return NULL;
20923 }
20924
20925
20926 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxTimeSpan result;
20929 char *kwnames[] = {
20930 NULL
20931 };
20932
20933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 result = wxTimeSpan::Minute();
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 {
20942 wxTimeSpan * resultptr;
20943 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20945 }
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj;
20954 long arg1 ;
20955 wxTimeSpan result;
20956 PyObject * obj0 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "hours", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
20962 {
20963 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 result = wxTimeSpan::Hours(arg1);
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 {
20974 wxTimeSpan * resultptr;
20975 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20977 }
20978 return resultobj;
20979 fail:
20980 return NULL;
20981 }
20982
20983
20984 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
20985 PyObject *resultobj;
20986 wxTimeSpan result;
20987 char *kwnames[] = {
20988 NULL
20989 };
20990
20991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = wxTimeSpan::Hour();
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 {
21000 wxTimeSpan * resultptr;
21001 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21002 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21003 }
21004 return resultobj;
21005 fail:
21006 return NULL;
21007 }
21008
21009
21010 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
21011 PyObject *resultobj;
21012 long arg1 ;
21013 wxTimeSpan result;
21014 PyObject * obj0 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "days", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
21020 {
21021 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 {
21025 PyThreadState* __tstate = wxPyBeginAllowThreads();
21026 result = wxTimeSpan::Days(arg1);
21027
21028 wxPyEndAllowThreads(__tstate);
21029 if (PyErr_Occurred()) SWIG_fail;
21030 }
21031 {
21032 wxTimeSpan * resultptr;
21033 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21034 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21035 }
21036 return resultobj;
21037 fail:
21038 return NULL;
21039 }
21040
21041
21042 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
21043 PyObject *resultobj;
21044 wxTimeSpan result;
21045 char *kwnames[] = {
21046 NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = wxTimeSpan::Day();
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 {
21058 wxTimeSpan * resultptr;
21059 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21061 }
21062 return resultobj;
21063 fail:
21064 return NULL;
21065 }
21066
21067
21068 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 long arg1 ;
21071 wxTimeSpan result;
21072 PyObject * obj0 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "days", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
21078 {
21079 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 result = wxTimeSpan::Weeks(arg1);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 {
21090 wxTimeSpan * resultptr;
21091 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21092 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21093 }
21094 return resultobj;
21095 fail:
21096 return NULL;
21097 }
21098
21099
21100 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
21101 PyObject *resultobj;
21102 wxTimeSpan result;
21103 char *kwnames[] = {
21104 NULL
21105 };
21106
21107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
21108 {
21109 PyThreadState* __tstate = wxPyBeginAllowThreads();
21110 result = wxTimeSpan::Week();
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 {
21116 wxTimeSpan * resultptr;
21117 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21118 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21119 }
21120 return resultobj;
21121 fail:
21122 return NULL;
21123 }
21124
21125
21126 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 long arg1 = (long) 0 ;
21129 long arg2 = (long) 0 ;
21130 long arg3 = (long) 0 ;
21131 long arg4 = (long) 0 ;
21132 wxTimeSpan *result;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 PyObject * obj2 = 0 ;
21136 PyObject * obj3 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21142 if (obj0) {
21143 {
21144 arg1 = (long) SWIG_PyObj_AsLong(obj0);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 }
21148 if (obj1) {
21149 {
21150 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 }
21154 if (obj2) {
21155 {
21156 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 }
21160 if (obj3) {
21161 {
21162 arg4 = (long) SWIG_PyObj_AsLong(obj3);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
21174 return resultobj;
21175 fail:
21176 return NULL;
21177 }
21178
21179
21180 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21183 PyObject * obj0 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self", NULL
21186 };
21187
21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
21189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 delete arg1;
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 Py_INCREF(Py_None); resultobj = Py_None;
21198 return resultobj;
21199 fail:
21200 return NULL;
21201 }
21202
21203
21204 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21207 wxTimeSpan *arg2 = 0 ;
21208 wxTimeSpan *result;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "diff", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21218 if (arg2 == NULL) {
21219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21220 }
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 {
21224 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
21225 result = (wxTimeSpan *) &_result_ref;
21226 }
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21241 wxTimeSpan *arg2 = 0 ;
21242 wxTimeSpan *result;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "diff", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21252 if (arg2 == NULL) {
21253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 {
21258 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21259 result = (wxTimeSpan *) &_result_ref;
21260 }
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21275 int arg2 ;
21276 wxTimeSpan *result;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self",(char *) "n", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 {
21286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 {
21292 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21293 result = (wxTimeSpan *) &_result_ref;
21294 }
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21300 return resultobj;
21301 fail:
21302 return NULL;
21303 }
21304
21305
21306 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj;
21308 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21309 wxTimeSpan *result;
21310 PyObject * obj0 = 0 ;
21311 char *kwnames[] = {
21312 (char *) "self", NULL
21313 };
21314
21315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 {
21320 wxTimeSpan &_result_ref = (arg1)->Neg();
21321 result = (wxTimeSpan *) &_result_ref;
21322 }
21323
21324 wxPyEndAllowThreads(__tstate);
21325 if (PyErr_Occurred()) SWIG_fail;
21326 }
21327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21328 return resultobj;
21329 fail:
21330 return NULL;
21331 }
21332
21333
21334 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21335 PyObject *resultobj;
21336 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21337 wxTimeSpan result;
21338 PyObject * obj0 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "self", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = ((wxTimeSpan const *)arg1)->Abs();
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 wxTimeSpan * resultptr;
21354 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21356 }
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21366 wxTimeSpan *arg2 = 0 ;
21367 wxTimeSpan *result;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self",(char *) "diff", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21377 if (arg2 == NULL) {
21378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 {
21383 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21384 result = (wxTimeSpan *) &_result_ref;
21385 }
21386
21387 wxPyEndAllowThreads(__tstate);
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21391 return resultobj;
21392 fail:
21393 return NULL;
21394 }
21395
21396
21397 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21398 PyObject *resultobj;
21399 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21400 wxTimeSpan *arg2 = 0 ;
21401 wxTimeSpan *result;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "diff", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 if (arg2 == NULL) {
21412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21413 }
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 {
21417 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21418 result = (wxTimeSpan *) &_result_ref;
21419 }
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21425 return resultobj;
21426 fail:
21427 return NULL;
21428 }
21429
21430
21431 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj;
21433 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21434 int arg2 ;
21435 wxTimeSpan *result;
21436 PyObject * obj0 = 0 ;
21437 PyObject * obj1 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "n", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 {
21445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 {
21451 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21452 result = (wxTimeSpan *) &_result_ref;
21453 }
21454
21455 wxPyEndAllowThreads(__tstate);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21468 wxTimeSpan *result;
21469 PyObject * obj0 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "self", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21476 {
21477 PyThreadState* __tstate = wxPyBeginAllowThreads();
21478 {
21479 wxTimeSpan &_result_ref = (arg1)->operator -();
21480 result = (wxTimeSpan *) &_result_ref;
21481 }
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21496 wxTimeSpan *arg2 = 0 ;
21497 wxTimeSpan result;
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self",(char *) "other", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21507 if (arg2 == NULL) {
21508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21509 }
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 wxTimeSpan * resultptr;
21519 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21521 }
21522 return resultobj;
21523 fail:
21524 return NULL;
21525 }
21526
21527
21528 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21529 PyObject *resultobj;
21530 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21531 wxTimeSpan *arg2 = 0 ;
21532 wxTimeSpan result;
21533 PyObject * obj0 = 0 ;
21534 PyObject * obj1 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self",(char *) "other", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21542 if (arg2 == NULL) {
21543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21544 }
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 {
21553 wxTimeSpan * resultptr;
21554 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21555 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21556 }
21557 return resultobj;
21558 fail:
21559 return NULL;
21560 }
21561
21562
21563 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21566 int arg2 ;
21567 wxTimeSpan result;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "n", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 {
21577 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = wxTimeSpan___mul__(arg1,arg2);
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 {
21588 wxTimeSpan * resultptr;
21589 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21590 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21591 }
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21601 int arg2 ;
21602 wxTimeSpan result;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 char *kwnames[] = {
21606 (char *) "self",(char *) "n", NULL
21607 };
21608
21609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21611 {
21612 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = wxTimeSpan___rmul__(arg1,arg2);
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 {
21623 wxTimeSpan * resultptr;
21624 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21625 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21626 }
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21636 wxTimeSpan *arg2 = 0 ;
21637 bool result;
21638 PyObject * obj0 = 0 ;
21639 PyObject * obj1 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self",(char *) "other", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21647 if (arg2 == NULL) {
21648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21649 }
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21667 wxTimeSpan *arg2 = 0 ;
21668 bool result;
21669 PyObject * obj0 = 0 ;
21670 PyObject * obj1 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self",(char *) "other", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21678 if (arg2 == NULL) {
21679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21698 wxTimeSpan *arg2 = 0 ;
21699 bool result;
21700 PyObject * obj0 = 0 ;
21701 PyObject * obj1 = 0 ;
21702 char *kwnames[] = {
21703 (char *) "self",(char *) "other", NULL
21704 };
21705
21706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
21707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21709 if (arg2 == NULL) {
21710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21711 }
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj;
21728 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21729 wxTimeSpan *arg2 = 0 ;
21730 bool result;
21731 PyObject * obj0 = 0 ;
21732 PyObject * obj1 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self",(char *) "other", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
21738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21740 if (arg2 == NULL) {
21741 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21742 }
21743 {
21744 PyThreadState* __tstate = wxPyBeginAllowThreads();
21745 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
21746
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21751 return resultobj;
21752 fail:
21753 return NULL;
21754 }
21755
21756
21757 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21758 PyObject *resultobj;
21759 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21760 wxTimeSpan *arg2 = 0 ;
21761 bool result;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "other", NULL
21766 };
21767
21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21771 if (arg2 == NULL) {
21772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21773 }
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21782 return resultobj;
21783 fail:
21784 return NULL;
21785 }
21786
21787
21788 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21791 wxTimeSpan *arg2 = 0 ;
21792 bool result;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "other", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21802 if (arg2 == NULL) {
21803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21804 }
21805 {
21806 PyThreadState* __tstate = wxPyBeginAllowThreads();
21807 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
21808
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21813 return resultobj;
21814 fail:
21815 return NULL;
21816 }
21817
21818
21819 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj;
21821 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21822 bool result;
21823 PyObject * obj0 = 0 ;
21824 char *kwnames[] = {
21825 (char *) "self", NULL
21826 };
21827
21828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
21829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21830 {
21831 PyThreadState* __tstate = wxPyBeginAllowThreads();
21832 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21833
21834 wxPyEndAllowThreads(__tstate);
21835 if (PyErr_Occurred()) SWIG_fail;
21836 }
21837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21838 return resultobj;
21839 fail:
21840 return NULL;
21841 }
21842
21843
21844 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
21845 PyObject *resultobj;
21846 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21847 bool result;
21848 PyObject * obj0 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21872 bool result;
21873 PyObject * obj0 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21888 return resultobj;
21889 fail:
21890 return NULL;
21891 }
21892
21893
21894 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj;
21896 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21897 wxTimeSpan *arg2 = 0 ;
21898 bool result;
21899 PyObject * obj0 = 0 ;
21900 PyObject * obj1 = 0 ;
21901 char *kwnames[] = {
21902 (char *) "self",(char *) "ts", NULL
21903 };
21904
21905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21908 if (arg2 == NULL) {
21909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21910 }
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21928 wxTimeSpan *arg2 = 0 ;
21929 bool result;
21930 PyObject * obj0 = 0 ;
21931 PyObject * obj1 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "ts", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 if (arg2 == NULL) {
21940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21941 }
21942 {
21943 PyThreadState* __tstate = wxPyBeginAllowThreads();
21944 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
21945
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21959 wxTimeSpan *arg2 = 0 ;
21960 bool result;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "t", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if (arg2 == NULL) {
21971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21972 }
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21981 return resultobj;
21982 fail:
21983 return NULL;
21984 }
21985
21986
21987 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21990 int result;
21991 PyObject * obj0 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
21997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 resultobj = SWIG_PyObj_FromInt((int)result);
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22015 int result;
22016 PyObject * obj0 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self", NULL
22019 };
22020
22021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
22022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 result = (int)((wxTimeSpan const *)arg1)->GetDays();
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 resultobj = SWIG_PyObj_FromInt((int)result);
22031 return resultobj;
22032 fail:
22033 return NULL;
22034 }
22035
22036
22037 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
22038 PyObject *resultobj;
22039 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22040 int result;
22041 PyObject * obj0 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "self", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
22047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 result = (int)((wxTimeSpan const *)arg1)->GetHours();
22051
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 resultobj = SWIG_PyObj_FromInt((int)result);
22056 return resultobj;
22057 fail:
22058 return NULL;
22059 }
22060
22061
22062 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
22063 PyObject *resultobj;
22064 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22065 int result;
22066 PyObject * obj0 = 0 ;
22067 char *kwnames[] = {
22068 (char *) "self", NULL
22069 };
22070
22071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
22072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
22076
22077 wxPyEndAllowThreads(__tstate);
22078 if (PyErr_Occurred()) SWIG_fail;
22079 }
22080 resultobj = SWIG_PyObj_FromInt((int)result);
22081 return resultobj;
22082 fail:
22083 return NULL;
22084 }
22085
22086
22087 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22088 PyObject *resultobj;
22089 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22090 wxLongLong result;
22091 PyObject * obj0 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "self", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
22097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22098 {
22099 PyThreadState* __tstate = wxPyBeginAllowThreads();
22100 result = ((wxTimeSpan const *)arg1)->GetSeconds();
22101
22102 wxPyEndAllowThreads(__tstate);
22103 if (PyErr_Occurred()) SWIG_fail;
22104 }
22105 {
22106 PyObject *hi, *lo, *shifter, *shifted;
22107 hi = PyLong_FromLong( (&result)->GetHi() );
22108 lo = PyLong_FromLong( (&result)->GetLo() );
22109 shifter = PyLong_FromLong(32);
22110 shifted = PyNumber_Lshift(hi, shifter);
22111 resultobj = PyNumber_Or(shifted, lo);
22112 Py_DECREF(hi);
22113 Py_DECREF(lo);
22114 Py_DECREF(shifter);
22115 Py_DECREF(shifted);
22116 }
22117 return resultobj;
22118 fail:
22119 return NULL;
22120 }
22121
22122
22123 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
22124 PyObject *resultobj;
22125 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22126 wxLongLong result;
22127 PyObject * obj0 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 {
22142 PyObject *hi, *lo, *shifter, *shifted;
22143 hi = PyLong_FromLong( (&result)->GetHi() );
22144 lo = PyLong_FromLong( (&result)->GetLo() );
22145 shifter = PyLong_FromLong(32);
22146 shifted = PyNumber_Lshift(hi, shifter);
22147 resultobj = PyNumber_Or(shifted, lo);
22148 Py_DECREF(hi);
22149 Py_DECREF(lo);
22150 Py_DECREF(shifter);
22151 Py_DECREF(shifted);
22152 }
22153 return resultobj;
22154 fail:
22155 return NULL;
22156 }
22157
22158
22159 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
22160 PyObject *resultobj;
22161 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
22162 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
22163 wxString *arg2 = (wxString *) &arg2_defvalue ;
22164 wxString result;
22165 bool temp2 = False ;
22166 PyObject * obj0 = 0 ;
22167 PyObject * obj1 = 0 ;
22168 char *kwnames[] = {
22169 (char *) "self",(char *) "format", NULL
22170 };
22171
22172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
22173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22174 if (obj1) {
22175 {
22176 arg2 = wxString_in_helper(obj1);
22177 if (arg2 == NULL) SWIG_fail;
22178 temp2 = True;
22179 }
22180 }
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 {
22189 #if wxUSE_UNICODE
22190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22191 #else
22192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22193 #endif
22194 }
22195 {
22196 if (temp2)
22197 delete arg2;
22198 }
22199 return resultobj;
22200 fail:
22201 {
22202 if (temp2)
22203 delete arg2;
22204 }
22205 return NULL;
22206 }
22207
22208
22209 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
22210 PyObject *obj;
22211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22212 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
22213 Py_INCREF(obj);
22214 return Py_BuildValue((char *)"");
22215 }
22216 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22217 PyObject *resultobj;
22218 int arg1 = (int) 0 ;
22219 int arg2 = (int) 0 ;
22220 int arg3 = (int) 0 ;
22221 int arg4 = (int) 0 ;
22222 wxDateSpan *result;
22223 PyObject * obj0 = 0 ;
22224 PyObject * obj1 = 0 ;
22225 PyObject * obj2 = 0 ;
22226 PyObject * obj3 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22232 if (obj0) {
22233 {
22234 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 }
22238 if (obj1) {
22239 {
22240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 }
22244 if (obj2) {
22245 {
22246 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 }
22250 if (obj3) {
22251 {
22252 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 }
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22273 PyObject * obj0 = 0 ;
22274 char *kwnames[] = {
22275 (char *) "self", NULL
22276 };
22277
22278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 delete arg1;
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 Py_INCREF(Py_None); resultobj = Py_None;
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 int arg1 ;
22297 wxDateSpan result;
22298 PyObject * obj0 = 0 ;
22299 char *kwnames[] = {
22300 (char *) "days", NULL
22301 };
22302
22303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22304 {
22305 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = wxDateSpan::Days(arg1);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 {
22316 wxDateSpan * resultptr;
22317 resultptr = new wxDateSpan((wxDateSpan &) result);
22318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22319 }
22320 return resultobj;
22321 fail:
22322 return NULL;
22323 }
22324
22325
22326 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22327 PyObject *resultobj;
22328 wxDateSpan result;
22329 char *kwnames[] = {
22330 NULL
22331 };
22332
22333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 result = wxDateSpan::Day();
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 {
22342 wxDateSpan * resultptr;
22343 resultptr = new wxDateSpan((wxDateSpan &) result);
22344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22345 }
22346 return resultobj;
22347 fail:
22348 return NULL;
22349 }
22350
22351
22352 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22353 PyObject *resultobj;
22354 int arg1 ;
22355 wxDateSpan result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "weeks", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22362 {
22363 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 {
22367 PyThreadState* __tstate = wxPyBeginAllowThreads();
22368 result = wxDateSpan::Weeks(arg1);
22369
22370 wxPyEndAllowThreads(__tstate);
22371 if (PyErr_Occurred()) SWIG_fail;
22372 }
22373 {
22374 wxDateSpan * resultptr;
22375 resultptr = new wxDateSpan((wxDateSpan &) result);
22376 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22377 }
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxDateSpan result;
22387 char *kwnames[] = {
22388 NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = wxDateSpan::Week();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 wxDateSpan * resultptr;
22401 resultptr = new wxDateSpan((wxDateSpan &) result);
22402 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22403 }
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 int arg1 ;
22413 wxDateSpan result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "mon", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22420 {
22421 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 result = wxDateSpan::Months(arg1);
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 {
22432 wxDateSpan * resultptr;
22433 resultptr = new wxDateSpan((wxDateSpan &) result);
22434 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22435 }
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxDateSpan result;
22445 char *kwnames[] = {
22446 NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = wxDateSpan::Month();
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 {
22458 wxDateSpan * resultptr;
22459 resultptr = new wxDateSpan((wxDateSpan &) result);
22460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22461 }
22462 return resultobj;
22463 fail:
22464 return NULL;
22465 }
22466
22467
22468 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj;
22470 int arg1 ;
22471 wxDateSpan result;
22472 PyObject * obj0 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "years", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22478 {
22479 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 result = wxDateSpan::Years(arg1);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 {
22490 wxDateSpan * resultptr;
22491 resultptr = new wxDateSpan((wxDateSpan &) result);
22492 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22493 }
22494 return resultobj;
22495 fail:
22496 return NULL;
22497 }
22498
22499
22500 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj;
22502 wxDateSpan result;
22503 char *kwnames[] = {
22504 NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22508 {
22509 PyThreadState* __tstate = wxPyBeginAllowThreads();
22510 result = wxDateSpan::Year();
22511
22512 wxPyEndAllowThreads(__tstate);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 }
22515 {
22516 wxDateSpan * resultptr;
22517 resultptr = new wxDateSpan((wxDateSpan &) result);
22518 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22519 }
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22529 int arg2 ;
22530 wxDateSpan *result;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self",(char *) "n", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 {
22540 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 {
22544 PyThreadState* __tstate = wxPyBeginAllowThreads();
22545 {
22546 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22547 result = (wxDateSpan *) &_result_ref;
22548 }
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22563 int arg2 ;
22564 wxDateSpan *result;
22565 PyObject * obj0 = 0 ;
22566 PyObject * obj1 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "n", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 {
22574 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 {
22580 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22581 result = (wxDateSpan *) &_result_ref;
22582 }
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22597 int arg2 ;
22598 wxDateSpan *result;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "n", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22607 {
22608 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 {
22614 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22615 result = (wxDateSpan *) &_result_ref;
22616 }
22617
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22622 return resultobj;
22623 fail:
22624 return NULL;
22625 }
22626
22627
22628 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22629 PyObject *resultobj;
22630 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22631 int arg2 ;
22632 wxDateSpan *result;
22633 PyObject * obj0 = 0 ;
22634 PyObject * obj1 = 0 ;
22635 char *kwnames[] = {
22636 (char *) "self",(char *) "n", NULL
22637 };
22638
22639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
22640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22641 {
22642 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 {
22648 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22649 result = (wxDateSpan *) &_result_ref;
22650 }
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22665 int result;
22666 PyObject * obj0 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 result = (int)((wxDateSpan const *)arg1)->GetYears();
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 resultobj = SWIG_PyObj_FromInt((int)result);
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22690 int result;
22691 PyObject * obj0 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22698 {
22699 PyThreadState* __tstate = wxPyBeginAllowThreads();
22700 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22701
22702 wxPyEndAllowThreads(__tstate);
22703 if (PyErr_Occurred()) SWIG_fail;
22704 }
22705 resultobj = SWIG_PyObj_FromInt((int)result);
22706 return resultobj;
22707 fail:
22708 return NULL;
22709 }
22710
22711
22712 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22713 PyObject *resultobj;
22714 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22715 int result;
22716 PyObject * obj0 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 {
22724 PyThreadState* __tstate = wxPyBeginAllowThreads();
22725 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22726
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 resultobj = SWIG_PyObj_FromInt((int)result);
22731 return resultobj;
22732 fail:
22733 return NULL;
22734 }
22735
22736
22737 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22738 PyObject *resultobj;
22739 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22740 int result;
22741 PyObject * obj0 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
22747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 result = (int)((wxDateSpan const *)arg1)->GetDays();
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 resultobj = SWIG_PyObj_FromInt((int)result);
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22765 int result;
22766 PyObject * obj0 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
22772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 resultobj = SWIG_PyObj_FromInt((int)result);
22781 return resultobj;
22782 fail:
22783 return NULL;
22784 }
22785
22786
22787 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22790 wxDateSpan *arg2 = 0 ;
22791 wxDateSpan *result;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self",(char *) "other", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22801 if (arg2 == NULL) {
22802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 {
22807 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22808 result = (wxDateSpan *) &_result_ref;
22809 }
22810
22811 wxPyEndAllowThreads(__tstate);
22812 if (PyErr_Occurred()) SWIG_fail;
22813 }
22814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
22822 PyObject *resultobj;
22823 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22824 wxDateSpan *arg2 = 0 ;
22825 wxDateSpan *result;
22826 PyObject * obj0 = 0 ;
22827 PyObject * obj1 = 0 ;
22828 char *kwnames[] = {
22829 (char *) "self",(char *) "other", NULL
22830 };
22831
22832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22835 if (arg2 == NULL) {
22836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22837 }
22838 {
22839 PyThreadState* __tstate = wxPyBeginAllowThreads();
22840 {
22841 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22842 result = (wxDateSpan *) &_result_ref;
22843 }
22844
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22849 return resultobj;
22850 fail:
22851 return NULL;
22852 }
22853
22854
22855 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
22856 PyObject *resultobj;
22857 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22858 wxDateSpan *result;
22859 PyObject * obj0 = 0 ;
22860 char *kwnames[] = {
22861 (char *) "self", NULL
22862 };
22863
22864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
22865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22866 {
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 {
22869 wxDateSpan &_result_ref = (arg1)->Neg();
22870 result = (wxDateSpan *) &_result_ref;
22871 }
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
22876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22877 return resultobj;
22878 fail:
22879 return NULL;
22880 }
22881
22882
22883 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
22884 PyObject *resultobj;
22885 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22886 int arg2 ;
22887 wxDateSpan *result;
22888 PyObject * obj0 = 0 ;
22889 PyObject * obj1 = 0 ;
22890 char *kwnames[] = {
22891 (char *) "self",(char *) "factor", NULL
22892 };
22893
22894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22896 {
22897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 {
22903 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
22904 result = (wxDateSpan *) &_result_ref;
22905 }
22906
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22911 return resultobj;
22912 fail:
22913 return NULL;
22914 }
22915
22916
22917 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22920 wxDateSpan *arg2 = 0 ;
22921 wxDateSpan *result;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "other", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 if (arg2 == NULL) {
22932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22933 }
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 {
22937 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22938 result = (wxDateSpan *) &_result_ref;
22939 }
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22945 return resultobj;
22946 fail:
22947 return NULL;
22948 }
22949
22950
22951 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22952 PyObject *resultobj;
22953 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22954 wxDateSpan *arg2 = 0 ;
22955 wxDateSpan *result;
22956 PyObject * obj0 = 0 ;
22957 PyObject * obj1 = 0 ;
22958 char *kwnames[] = {
22959 (char *) "self",(char *) "other", NULL
22960 };
22961
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22965 if (arg2 == NULL) {
22966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 {
22971 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22972 result = (wxDateSpan *) &_result_ref;
22973 }
22974
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22979 return resultobj;
22980 fail:
22981 return NULL;
22982 }
22983
22984
22985 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22988 wxDateSpan *result;
22989 PyObject * obj0 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 {
22999 wxDateSpan &_result_ref = (arg1)->operator -();
23000 result = (wxDateSpan *) &_result_ref;
23001 }
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23016 int arg2 ;
23017 wxDateSpan *result;
23018 PyObject * obj0 = 0 ;
23019 PyObject * obj1 = 0 ;
23020 char *kwnames[] = {
23021 (char *) "self",(char *) "factor", NULL
23022 };
23023
23024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
23025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23026 {
23027 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 {
23033 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
23034 result = (wxDateSpan *) &_result_ref;
23035 }
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
23041 return resultobj;
23042 fail:
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23050 wxDateSpan *arg2 = 0 ;
23051 wxDateSpan result;
23052 PyObject * obj0 = 0 ;
23053 PyObject * obj1 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self",(char *) "other", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23061 if (arg2 == NULL) {
23062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23063 }
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072 wxDateSpan * resultptr;
23073 resultptr = new wxDateSpan((wxDateSpan &) result);
23074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23075 }
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23085 wxDateSpan *arg2 = 0 ;
23086 wxDateSpan result;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self",(char *) "other", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 if (arg2 == NULL) {
23097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23098 }
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 {
23107 wxDateSpan * resultptr;
23108 resultptr = new wxDateSpan((wxDateSpan &) result);
23109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23110 }
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj;
23119 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23120 int arg2 ;
23121 wxDateSpan result;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "n", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23130 {
23131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 result = wxDateSpan___mul__(arg1,arg2);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 {
23142 wxDateSpan * resultptr;
23143 resultptr = new wxDateSpan((wxDateSpan &) result);
23144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23155 int arg2 ;
23156 wxDateSpan result;
23157 PyObject * obj0 = 0 ;
23158 PyObject * obj1 = 0 ;
23159 char *kwnames[] = {
23160 (char *) "self",(char *) "n", NULL
23161 };
23162
23163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
23164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23165 {
23166 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 result = wxDateSpan___rmul__(arg1,arg2);
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 {
23177 wxDateSpan * resultptr;
23178 resultptr = new wxDateSpan((wxDateSpan &) result);
23179 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
23180 }
23181 return resultobj;
23182 fail:
23183 return NULL;
23184 }
23185
23186
23187 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23188 PyObject *resultobj;
23189 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23190 wxDateSpan *arg2 = 0 ;
23191 bool result;
23192 PyObject * obj0 = 0 ;
23193 PyObject * obj1 = 0 ;
23194 char *kwnames[] = {
23195 (char *) "self",(char *) "other", NULL
23196 };
23197
23198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
23199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23200 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23201 if (arg2 == NULL) {
23202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23203 }
23204 {
23205 PyThreadState* __tstate = wxPyBeginAllowThreads();
23206 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
23207
23208 wxPyEndAllowThreads(__tstate);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23212 return resultobj;
23213 fail:
23214 return NULL;
23215 }
23216
23217
23218 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23219 PyObject *resultobj;
23220 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
23221 wxDateSpan *arg2 = 0 ;
23222 bool result;
23223 PyObject * obj0 = 0 ;
23224 PyObject * obj1 = 0 ;
23225 char *kwnames[] = {
23226 (char *) "self",(char *) "other", NULL
23227 };
23228
23229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
23230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23232 if (arg2 == NULL) {
23233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23234 }
23235 {
23236 PyThreadState* __tstate = wxPyBeginAllowThreads();
23237 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
23238
23239 wxPyEndAllowThreads(__tstate);
23240 if (PyErr_Occurred()) SWIG_fail;
23241 }
23242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23243 return resultobj;
23244 fail:
23245 return NULL;
23246 }
23247
23248
23249 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
23250 PyObject *obj;
23251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23252 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
23253 Py_INCREF(obj);
23254 return Py_BuildValue((char *)"");
23255 }
23256 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23257 PyObject *resultobj;
23258 long result;
23259 char *kwnames[] = {
23260 NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 result = (long)wxGetLocalTime();
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 resultobj = SWIG_PyObj_FromLong((long)result);
23272 return resultobj;
23273 fail:
23274 return NULL;
23275 }
23276
23277
23278 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23279 PyObject *resultobj;
23280 long result;
23281 char *kwnames[] = {
23282 NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 result = (long)wxGetUTCTime();
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_PyObj_FromLong((long)result);
23294 return resultobj;
23295 fail:
23296 return NULL;
23297 }
23298
23299
23300 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23301 PyObject *resultobj;
23302 long result;
23303 char *kwnames[] = {
23304 NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (long)wxGetCurrentTime();
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 resultobj = SWIG_PyObj_FromLong((long)result);
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxLongLong result;
23325 char *kwnames[] = {
23326 NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = wxGetLocalTimeMillis();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 {
23338 PyObject *hi, *lo, *shifter, *shifted;
23339 hi = PyLong_FromLong( (&result)->GetHi() );
23340 lo = PyLong_FromLong( (&result)->GetLo() );
23341 shifter = PyLong_FromLong(32);
23342 shifted = PyNumber_Lshift(hi, shifter);
23343 resultobj = PyNumber_Or(shifted, lo);
23344 Py_DECREF(hi);
23345 Py_DECREF(lo);
23346 Py_DECREF(shifter);
23347 Py_DECREF(shifted);
23348 }
23349 return resultobj;
23350 fail:
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 int arg1 ;
23358 wxDataFormat *result;
23359 PyObject * obj0 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "type", NULL
23362 };
23363
23364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23365 {
23366 arg1 = (wxDataFormatId) SWIG_PyObj_AsInt(obj0);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 }
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxString *arg1 = 0 ;
23386 wxDataFormat *result;
23387 bool temp1 = False ;
23388 PyObject * obj0 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "format", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23394 {
23395 arg1 = wxString_in_helper(obj0);
23396 if (arg1 == NULL) SWIG_fail;
23397 temp1 = True;
23398 }
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23407 {
23408 if (temp1)
23409 delete arg1;
23410 }
23411 return resultobj;
23412 fail:
23413 {
23414 if (temp1)
23415 delete arg1;
23416 }
23417 return NULL;
23418 }
23419
23420
23421 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23422 PyObject *resultobj;
23423 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 delete arg1;
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23446 PyObject *resultobj;
23447 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23448 int arg2 ;
23449 bool result;
23450 PyObject * obj0 = 0 ;
23451 PyObject * obj1 = 0 ;
23452
23453 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23455 {
23456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23457 if (PyErr_Occurred()) SWIG_fail;
23458 }
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23467 return resultobj;
23468 fail:
23469 return NULL;
23470 }
23471
23472
23473 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23474 PyObject *resultobj;
23475 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23476 int arg2 ;
23477 bool result;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480
23481 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23483 {
23484 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23495 return resultobj;
23496 fail:
23497 return NULL;
23498 }
23499
23500
23501 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23502 PyObject *resultobj;
23503 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23504 wxDataFormat *arg2 = 0 ;
23505 bool result;
23506 PyObject * obj0 = 0 ;
23507 PyObject * obj1 = 0 ;
23508
23509 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23512 if (arg2 == NULL) {
23513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23514 }
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23530 int argc;
23531 PyObject *argv[3];
23532 int ii;
23533
23534 argc = PyObject_Length(args);
23535 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23536 argv[ii] = PyTuple_GetItem(args,ii);
23537 }
23538 if (argc == 2) {
23539 int _v;
23540 {
23541 void *ptr;
23542 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23543 _v = 0;
23544 PyErr_Clear();
23545 } else {
23546 _v = 1;
23547 }
23548 }
23549 if (_v) {
23550 {
23551 void *ptr;
23552 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23553 _v = 0;
23554 PyErr_Clear();
23555 } else {
23556 _v = 1;
23557 }
23558 }
23559 if (_v) {
23560 return _wrap_DataFormat___eq____SWIG_1(self,args);
23561 }
23562 }
23563 }
23564 if (argc == 2) {
23565 int _v;
23566 {
23567 void *ptr;
23568 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23569 _v = 0;
23570 PyErr_Clear();
23571 } else {
23572 _v = 1;
23573 }
23574 }
23575 if (_v) {
23576 {
23577 SWIG_PyObj_AsInt(argv[1]);
23578 if (PyErr_Occurred()) {
23579 _v = 0;
23580 PyErr_Clear();
23581 } else {
23582 _v = 1;
23583 }
23584 }
23585 if (_v) {
23586 return _wrap_DataFormat___eq____SWIG_0(self,args);
23587 }
23588 }
23589 }
23590
23591 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
23597 PyObject *resultobj;
23598 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23599 wxDataFormat *arg2 = 0 ;
23600 bool result;
23601 PyObject * obj0 = 0 ;
23602 PyObject * obj1 = 0 ;
23603
23604 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23607 if (arg2 == NULL) {
23608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23609 }
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23618 return resultobj;
23619 fail:
23620 return NULL;
23621 }
23622
23623
23624 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23625 int argc;
23626 PyObject *argv[3];
23627 int ii;
23628
23629 argc = PyObject_Length(args);
23630 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23631 argv[ii] = PyTuple_GetItem(args,ii);
23632 }
23633 if (argc == 2) {
23634 int _v;
23635 {
23636 void *ptr;
23637 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23638 _v = 0;
23639 PyErr_Clear();
23640 } else {
23641 _v = 1;
23642 }
23643 }
23644 if (_v) {
23645 {
23646 void *ptr;
23647 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23648 _v = 0;
23649 PyErr_Clear();
23650 } else {
23651 _v = 1;
23652 }
23653 }
23654 if (_v) {
23655 return _wrap_DataFormat___ne____SWIG_1(self,args);
23656 }
23657 }
23658 }
23659 if (argc == 2) {
23660 int _v;
23661 {
23662 void *ptr;
23663 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23664 _v = 0;
23665 PyErr_Clear();
23666 } else {
23667 _v = 1;
23668 }
23669 }
23670 if (_v) {
23671 {
23672 SWIG_PyObj_AsInt(argv[1]);
23673 if (PyErr_Occurred()) {
23674 _v = 0;
23675 PyErr_Clear();
23676 } else {
23677 _v = 1;
23678 }
23679 }
23680 if (_v) {
23681 return _wrap_DataFormat___ne____SWIG_0(self,args);
23682 }
23683 }
23684 }
23685
23686 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23694 int arg2 ;
23695 PyObject * obj0 = 0 ;
23696 PyObject * obj1 = 0 ;
23697 char *kwnames[] = {
23698 (char *) "self",(char *) "format", NULL
23699 };
23700
23701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
23702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23703 {
23704 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23705 if (PyErr_Occurred()) SWIG_fail;
23706 }
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 (arg1)->SetType((wxDataFormatId )arg2);
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 Py_INCREF(Py_None); resultobj = Py_None;
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23724 int result;
23725 PyObject * obj0 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
23731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (int)((wxDataFormat const *)arg1)->GetType();
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 resultobj = SWIG_PyObj_FromInt((int)result);
23740 return resultobj;
23741 fail:
23742 return NULL;
23743 }
23744
23745
23746 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23747 PyObject *resultobj;
23748 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23749 wxString result;
23750 PyObject * obj0 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
23756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 result = ((wxDataFormat const *)arg1)->GetId();
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 {
23765 #if wxUSE_UNICODE
23766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23767 #else
23768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23769 #endif
23770 }
23771 return resultobj;
23772 fail:
23773 return NULL;
23774 }
23775
23776
23777 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23780 wxString *arg2 = 0 ;
23781 bool temp2 = False ;
23782 PyObject * obj0 = 0 ;
23783 PyObject * obj1 = 0 ;
23784 char *kwnames[] = {
23785 (char *) "self",(char *) "format", NULL
23786 };
23787
23788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
23789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23790 {
23791 arg2 = wxString_in_helper(obj1);
23792 if (arg2 == NULL) SWIG_fail;
23793 temp2 = True;
23794 }
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 (arg1)->SetId((wxString const &)*arg2);
23798
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 Py_INCREF(Py_None); resultobj = Py_None;
23803 {
23804 if (temp2)
23805 delete arg2;
23806 }
23807 return resultobj;
23808 fail:
23809 {
23810 if (temp2)
23811 delete arg2;
23812 }
23813 return NULL;
23814 }
23815
23816
23817 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
23818 PyObject *obj;
23819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23821 Py_INCREF(obj);
23822 return Py_BuildValue((char *)"");
23823 }
23824 static int _wrap_FormatInvalid_set(PyObject *) {
23825 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23826 return 1;
23827 }
23828
23829
23830 static PyObject *_wrap_FormatInvalid_get() {
23831 PyObject *pyobj;
23832
23833 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
23834 return pyobj;
23835 }
23836
23837
23838 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23839 PyObject *resultobj;
23840 wxDataObject *arg1 = (wxDataObject *) 0 ;
23841 PyObject * obj0 = 0 ;
23842 char *kwnames[] = {
23843 (char *) "self", NULL
23844 };
23845
23846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
23847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 delete arg1;
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 Py_INCREF(Py_None); resultobj = Py_None;
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxDataObject *arg1 = (wxDataObject *) 0 ;
23865 int arg2 = (int) wxDataObject::Get ;
23866 SwigValueWrapper< wxDataFormat > result;
23867 PyObject * obj0 = 0 ;
23868 PyObject * obj1 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self",(char *) "dir", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
23874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23875 if (obj1) {
23876 {
23877 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 }
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
23884
23885 wxPyEndAllowThreads(__tstate);
23886 if (PyErr_Occurred()) SWIG_fail;
23887 }
23888 {
23889 wxDataFormat * resultptr;
23890 resultptr = new wxDataFormat((wxDataFormat &) result);
23891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
23892 }
23893 return resultobj;
23894 fail:
23895 return NULL;
23896 }
23897
23898
23899 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23900 PyObject *resultobj;
23901 wxDataObject *arg1 = (wxDataObject *) 0 ;
23902 int arg2 = (int) wxDataObject::Get ;
23903 size_t result;
23904 PyObject * obj0 = 0 ;
23905 PyObject * obj1 = 0 ;
23906 char *kwnames[] = {
23907 (char *) "self",(char *) "dir", NULL
23908 };
23909
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
23911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23912 if (obj1) {
23913 {
23914 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 }
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23926 return resultobj;
23927 fail:
23928 return NULL;
23929 }
23930
23931
23932 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 wxDataObject *arg1 = (wxDataObject *) 0 ;
23935 wxDataFormat *arg2 = 0 ;
23936 int arg3 = (int) wxDataObject::Get ;
23937 bool result;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 PyObject * obj2 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self",(char *) "format",(char *) "dir", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23948 if (arg2 == NULL) {
23949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23950 }
23951 if (obj2) {
23952 {
23953 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23954 if (PyErr_Occurred()) SWIG_fail;
23955 }
23956 }
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
23960
23961 wxPyEndAllowThreads(__tstate);
23962 if (PyErr_Occurred()) SWIG_fail;
23963 }
23964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23965 return resultobj;
23966 fail:
23967 return NULL;
23968 }
23969
23970
23971 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23972 PyObject *resultobj;
23973 wxDataObject *arg1 = (wxDataObject *) 0 ;
23974 wxDataFormat *arg2 = 0 ;
23975 size_t result;
23976 PyObject * obj0 = 0 ;
23977 PyObject * obj1 = 0 ;
23978 char *kwnames[] = {
23979 (char *) "self",(char *) "format", NULL
23980 };
23981
23982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
23983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23985 if (arg2 == NULL) {
23986 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23996 return resultobj;
23997 fail:
23998 return NULL;
23999 }
24000
24001
24002 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxDataObject *arg1 = (wxDataObject *) 0 ;
24005 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
24006 int arg3 = (int) wxDataObject::Get ;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 PyObject * obj2 = 0 ;
24010 char *kwnames[] = {
24011 (char *) "self",(char *) "formats",(char *) "dir", NULL
24012 };
24013
24014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
24015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24017 if (obj2) {
24018 {
24019 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
24020 if (PyErr_Occurred()) SWIG_fail;
24021 }
24022 }
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 Py_INCREF(Py_None); resultobj = Py_None;
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj;
24039 wxDataObject *arg1 = (wxDataObject *) 0 ;
24040 wxDataFormat *arg2 = 0 ;
24041 void *arg3 = (void *) 0 ;
24042 bool result;
24043 PyObject * obj0 = 0 ;
24044 PyObject * obj1 = 0 ;
24045 PyObject * obj2 = 0 ;
24046 char *kwnames[] = {
24047 (char *) "self",(char *) "format",(char *) "buf", NULL
24048 };
24049
24050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
24051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24053 if (arg2 == NULL) {
24054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24055 }
24056 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
24060
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24065 return resultobj;
24066 fail:
24067 return NULL;
24068 }
24069
24070
24071 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24072 PyObject *resultobj;
24073 wxDataObject *arg1 = (wxDataObject *) 0 ;
24074 wxDataFormat *arg2 = 0 ;
24075 size_t arg3 ;
24076 void *arg4 = (void *) 0 ;
24077 bool result;
24078 PyObject * obj0 = 0 ;
24079 PyObject * obj1 = 0 ;
24080 PyObject * obj2 = 0 ;
24081 PyObject * obj3 = 0 ;
24082 char *kwnames[] = {
24083 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24084 };
24085
24086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24089 if (arg2 == NULL) {
24090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24091 }
24092 {
24093 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24105 return resultobj;
24106 fail:
24107 return NULL;
24108 }
24109
24110
24111 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
24112 PyObject *obj;
24113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24114 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
24115 Py_INCREF(obj);
24116 return Py_BuildValue((char *)"");
24117 }
24118 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24121 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24122 wxDataObjectSimple *result;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "format", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
24129 if (obj0) {
24130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24131 if (arg1 == NULL) {
24132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24133 }
24134 }
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
24143 return resultobj;
24144 fail:
24145 return NULL;
24146 }
24147
24148
24149 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24152 wxDataFormat *result;
24153 PyObject * obj0 = 0 ;
24154 char *kwnames[] = {
24155 (char *) "self", NULL
24156 };
24157
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
24159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 {
24163 wxDataFormat const &_result_ref = (arg1)->GetFormat();
24164 result = (wxDataFormat *) &_result_ref;
24165 }
24166
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
24171 return resultobj;
24172 fail:
24173 return NULL;
24174 }
24175
24176
24177 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
24180 wxDataFormat *arg2 = 0 ;
24181 PyObject * obj0 = 0 ;
24182 PyObject * obj1 = 0 ;
24183 char *kwnames[] = {
24184 (char *) "self",(char *) "format", NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
24188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24190 if (arg2 == NULL) {
24191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24192 }
24193 {
24194 PyThreadState* __tstate = wxPyBeginAllowThreads();
24195 (arg1)->SetFormat((wxDataFormat const &)*arg2);
24196
24197 wxPyEndAllowThreads(__tstate);
24198 if (PyErr_Occurred()) SWIG_fail;
24199 }
24200 Py_INCREF(Py_None); resultobj = Py_None;
24201 return resultobj;
24202 fail:
24203 return NULL;
24204 }
24205
24206
24207 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24208 PyObject *obj;
24209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24210 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
24211 Py_INCREF(obj);
24212 return Py_BuildValue((char *)"");
24213 }
24214 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj;
24216 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24217 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24218 wxPyDataObjectSimple *result;
24219 PyObject * obj0 = 0 ;
24220 char *kwnames[] = {
24221 (char *) "format", NULL
24222 };
24223
24224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
24225 if (obj0) {
24226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24227 if (arg1 == NULL) {
24228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24229 }
24230 }
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
24234
24235 wxPyEndAllowThreads(__tstate);
24236 if (PyErr_Occurred()) SWIG_fail;
24237 }
24238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
24239 return resultobj;
24240 fail:
24241 return NULL;
24242 }
24243
24244
24245 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24246 PyObject *resultobj;
24247 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
24248 PyObject *arg2 = (PyObject *) 0 ;
24249 PyObject *arg3 = (PyObject *) 0 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 PyObject * obj2 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self",(char *) "self",(char *) "_class", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24259 arg2 = obj1;
24260 arg3 = obj2;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->_setCallbackInfo(arg2,arg3);
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 Py_INCREF(Py_None); resultobj = Py_None;
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24276 PyObject *obj;
24277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24278 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24279 Py_INCREF(obj);
24280 return Py_BuildValue((char *)"");
24281 }
24282 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24283 PyObject *resultobj;
24284 wxDataObjectComposite *result;
24285 char *kwnames[] = {
24286 NULL
24287 };
24288
24289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24307 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24308 int arg3 = (int) False ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 PyObject * obj2 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24319 if (obj2) {
24320 {
24321 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 }
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 (arg1)->Add(arg2,arg3);
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 Py_INCREF(Py_None); resultobj = Py_None;
24333 return resultobj;
24334 fail:
24335 return NULL;
24336 }
24337
24338
24339 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24340 PyObject *obj;
24341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24342 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24343 Py_INCREF(obj);
24344 return Py_BuildValue((char *)"");
24345 }
24346 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24347 PyObject *resultobj;
24348 wxString const &arg1_defvalue = wxPyEmptyString ;
24349 wxString *arg1 = (wxString *) &arg1_defvalue ;
24350 wxTextDataObject *result;
24351 bool temp1 = False ;
24352 PyObject * obj0 = 0 ;
24353 char *kwnames[] = {
24354 (char *) "text", NULL
24355 };
24356
24357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24358 if (obj0) {
24359 {
24360 arg1 = wxString_in_helper(obj0);
24361 if (arg1 == NULL) SWIG_fail;
24362 temp1 = True;
24363 }
24364 }
24365 {
24366 PyThreadState* __tstate = wxPyBeginAllowThreads();
24367 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24368
24369 wxPyEndAllowThreads(__tstate);
24370 if (PyErr_Occurred()) SWIG_fail;
24371 }
24372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
24373 {
24374 if (temp1)
24375 delete arg1;
24376 }
24377 return resultobj;
24378 fail:
24379 {
24380 if (temp1)
24381 delete arg1;
24382 }
24383 return NULL;
24384 }
24385
24386
24387 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24388 PyObject *resultobj;
24389 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24390 size_t result;
24391 PyObject * obj0 = 0 ;
24392 char *kwnames[] = {
24393 (char *) "self", NULL
24394 };
24395
24396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 result = (size_t)(arg1)->GetTextLength();
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24415 wxString result;
24416 PyObject * obj0 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = (arg1)->GetText();
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 {
24431 #if wxUSE_UNICODE
24432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24433 #else
24434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24435 #endif
24436 }
24437 return resultobj;
24438 fail:
24439 return NULL;
24440 }
24441
24442
24443 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24444 PyObject *resultobj;
24445 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24446 wxString *arg2 = 0 ;
24447 bool temp2 = False ;
24448 PyObject * obj0 = 0 ;
24449 PyObject * obj1 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self",(char *) "text", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24456 {
24457 arg2 = wxString_in_helper(obj1);
24458 if (arg2 == NULL) SWIG_fail;
24459 temp2 = True;
24460 }
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 (arg1)->SetText((wxString const &)*arg2);
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
24468 Py_INCREF(Py_None); resultobj = Py_None;
24469 {
24470 if (temp2)
24471 delete arg2;
24472 }
24473 return resultobj;
24474 fail:
24475 {
24476 if (temp2)
24477 delete arg2;
24478 }
24479 return NULL;
24480 }
24481
24482
24483 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24484 PyObject *obj;
24485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24486 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24487 Py_INCREF(obj);
24488 return Py_BuildValue((char *)"");
24489 }
24490 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24491 PyObject *resultobj;
24492 wxString const &arg1_defvalue = wxPyEmptyString ;
24493 wxString *arg1 = (wxString *) &arg1_defvalue ;
24494 wxPyTextDataObject *result;
24495 bool temp1 = False ;
24496 PyObject * obj0 = 0 ;
24497 char *kwnames[] = {
24498 (char *) "text", NULL
24499 };
24500
24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24502 if (obj0) {
24503 {
24504 arg1 = wxString_in_helper(obj0);
24505 if (arg1 == NULL) SWIG_fail;
24506 temp1 = True;
24507 }
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
24517 {
24518 if (temp1)
24519 delete arg1;
24520 }
24521 return resultobj;
24522 fail:
24523 {
24524 if (temp1)
24525 delete arg1;
24526 }
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj;
24533 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24534 PyObject *arg2 = (PyObject *) 0 ;
24535 PyObject *arg3 = (PyObject *) 0 ;
24536 PyObject * obj0 = 0 ;
24537 PyObject * obj1 = 0 ;
24538 PyObject * obj2 = 0 ;
24539 char *kwnames[] = {
24540 (char *) "self",(char *) "self",(char *) "_class", NULL
24541 };
24542
24543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24545 arg2 = obj1;
24546 arg3 = obj2;
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 (arg1)->_setCallbackInfo(arg2,arg3);
24550
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 Py_INCREF(Py_None); resultobj = Py_None;
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
24562 PyObject *obj;
24563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24564 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24565 Py_INCREF(obj);
24566 return Py_BuildValue((char *)"");
24567 }
24568 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj;
24570 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24571 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24572 wxBitmapDataObject *result;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "bitmap", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24579 if (obj0) {
24580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 if (arg1 == NULL) {
24582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24583 }
24584 }
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24602 wxBitmap result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 {
24618 wxBitmap * resultptr;
24619 resultptr = new wxBitmap((wxBitmap &) result);
24620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
24621 }
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj;
24630 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24631 wxBitmap *arg2 = 0 ;
24632 PyObject * obj0 = 0 ;
24633 PyObject * obj1 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self",(char *) "bitmap", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24641 if (arg2 == NULL) {
24642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24643 }
24644 {
24645 PyThreadState* __tstate = wxPyBeginAllowThreads();
24646 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24647
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 Py_INCREF(Py_None); resultobj = Py_None;
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24659 PyObject *obj;
24660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24661 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24662 Py_INCREF(obj);
24663 return Py_BuildValue((char *)"");
24664 }
24665 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj;
24667 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24668 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24669 wxPyBitmapDataObject *result;
24670 PyObject * obj0 = 0 ;
24671 char *kwnames[] = {
24672 (char *) "bitmap", NULL
24673 };
24674
24675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24676 if (obj0) {
24677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24678 if (arg1 == NULL) {
24679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24680 }
24681 }
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24685
24686 wxPyEndAllowThreads(__tstate);
24687 if (PyErr_Occurred()) SWIG_fail;
24688 }
24689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
24690 return resultobj;
24691 fail:
24692 return NULL;
24693 }
24694
24695
24696 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24699 PyObject *arg2 = (PyObject *) 0 ;
24700 PyObject *arg3 = (PyObject *) 0 ;
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 PyObject * obj2 = 0 ;
24704 char *kwnames[] = {
24705 (char *) "self",(char *) "self",(char *) "_class", NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24710 arg2 = obj1;
24711 arg3 = obj2;
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 (arg1)->_setCallbackInfo(arg2,arg3);
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 Py_INCREF(Py_None); resultobj = Py_None;
24720 return resultobj;
24721 fail:
24722 return NULL;
24723 }
24724
24725
24726 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24727 PyObject *obj;
24728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24729 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24730 Py_INCREF(obj);
24731 return Py_BuildValue((char *)"");
24732 }
24733 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24734 PyObject *resultobj;
24735 wxFileDataObject *result;
24736 char *kwnames[] = {
24737 NULL
24738 };
24739
24740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 result = (wxFileDataObject *)new wxFileDataObject();
24744
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj;
24757 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24758 wxArrayString *result;
24759 PyObject * obj0 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
24765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24766 {
24767 PyThreadState* __tstate = wxPyBeginAllowThreads();
24768 {
24769 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24770 result = (wxArrayString *) &_result_ref;
24771 }
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 {
24777 resultobj = wxArrayString2PyList_helper(*result);
24778 }
24779 return resultobj;
24780 fail:
24781 return NULL;
24782 }
24783
24784
24785 static PyObject *_wrap_FileDataObject_AddFile(PyObject *self, PyObject *args, PyObject *kwargs) {
24786 PyObject *resultobj;
24787 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24788 wxString *arg2 = 0 ;
24789 bool temp2 = False ;
24790 PyObject * obj0 = 0 ;
24791 PyObject * obj1 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self",(char *) "filename", NULL
24794 };
24795
24796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
24797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24798 {
24799 arg2 = wxString_in_helper(obj1);
24800 if (arg2 == NULL) SWIG_fail;
24801 temp2 = True;
24802 }
24803 {
24804 PyThreadState* __tstate = wxPyBeginAllowThreads();
24805 (arg1)->AddFile((wxString const &)*arg2);
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 Py_INCREF(Py_None); resultobj = Py_None;
24811 {
24812 if (temp2)
24813 delete arg2;
24814 }
24815 return resultobj;
24816 fail:
24817 {
24818 if (temp2)
24819 delete arg2;
24820 }
24821 return NULL;
24822 }
24823
24824
24825 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
24826 PyObject *obj;
24827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24828 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
24829 Py_INCREF(obj);
24830 return Py_BuildValue((char *)"");
24831 }
24832 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24833 PyObject *resultobj;
24834 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24835 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24836 wxCustomDataObject *result;
24837 PyObject * obj0 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "format", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
24843 if (obj0) {
24844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24845 if (arg1 == NULL) {
24846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24847 }
24848 }
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
24857 return resultobj;
24858 fail:
24859 return NULL;
24860 }
24861
24862
24863 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
24864 PyObject *resultobj;
24865 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24866 PyObject *arg2 = (PyObject *) 0 ;
24867 PyObject * obj0 = 0 ;
24868 PyObject * obj1 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self",(char *) "data", NULL
24871 };
24872
24873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
24874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24875 arg2 = obj1;
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 wxCustomDataObject_TakeData(arg1,arg2);
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 Py_INCREF(Py_None); resultobj = Py_None;
24884 return resultobj;
24885 fail:
24886 return NULL;
24887 }
24888
24889
24890 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj;
24892 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24893 PyObject *arg2 = (PyObject *) 0 ;
24894 bool result;
24895 PyObject * obj0 = 0 ;
24896 PyObject * obj1 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "self",(char *) "data", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
24902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24903 arg2 = obj1;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24919 PyObject *resultobj;
24920 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24921 size_t result;
24922 PyObject * obj0 = 0 ;
24923 char *kwnames[] = {
24924 (char *) "self", NULL
24925 };
24926
24927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
24928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24929 {
24930 PyThreadState* __tstate = wxPyBeginAllowThreads();
24931 result = (size_t)(arg1)->GetSize();
24932
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
24936 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24937 return resultobj;
24938 fail:
24939 return NULL;
24940 }
24941
24942
24943 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24944 PyObject *resultobj;
24945 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24946 PyObject *result;
24947 PyObject * obj0 = 0 ;
24948 char *kwnames[] = {
24949 (char *) "self", NULL
24950 };
24951
24952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
24953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 result = (PyObject *)wxCustomDataObject_GetData(arg1);
24957
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 resultobj = result;
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
24969 PyObject *obj;
24970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24971 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
24972 Py_INCREF(obj);
24973 return Py_BuildValue((char *)"");
24974 }
24975 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxURLDataObject *result;
24978 char *kwnames[] = {
24979 NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (wxURLDataObject *)new wxURLDataObject();
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
24991 return resultobj;
24992 fail:
24993 return NULL;
24994 }
24995
24996
24997 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24998 PyObject *resultobj;
24999 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25000 wxString result;
25001 PyObject * obj0 = 0 ;
25002 char *kwnames[] = {
25003 (char *) "self", NULL
25004 };
25005
25006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
25007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25008 {
25009 PyThreadState* __tstate = wxPyBeginAllowThreads();
25010 result = (arg1)->GetURL();
25011
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 {
25016 #if wxUSE_UNICODE
25017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25018 #else
25019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25020 #endif
25021 }
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
25031 wxString *arg2 = 0 ;
25032 bool temp2 = False ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 char *kwnames[] = {
25036 (char *) "self",(char *) "url", NULL
25037 };
25038
25039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
25040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25041 {
25042 arg2 = wxString_in_helper(obj1);
25043 if (arg2 == NULL) SWIG_fail;
25044 temp2 = True;
25045 }
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 (arg1)->SetURL((wxString const &)*arg2);
25049
25050 wxPyEndAllowThreads(__tstate);
25051 if (PyErr_Occurred()) SWIG_fail;
25052 }
25053 Py_INCREF(Py_None); resultobj = Py_None;
25054 {
25055 if (temp2)
25056 delete arg2;
25057 }
25058 return resultobj;
25059 fail:
25060 {
25061 if (temp2)
25062 delete arg2;
25063 }
25064 return NULL;
25065 }
25066
25067
25068 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
25069 PyObject *obj;
25070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25071 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
25072 Py_INCREF(obj);
25073 return Py_BuildValue((char *)"");
25074 }
25075 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25076 PyObject *resultobj;
25077 wxMetafileDataObject *result;
25078 char *kwnames[] = {
25079 NULL
25080 };
25081
25082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
25083 {
25084 PyThreadState* __tstate = wxPyBeginAllowThreads();
25085 result = (wxMetafileDataObject *)new wxMetafileDataObject();
25086
25087 wxPyEndAllowThreads(__tstate);
25088 if (PyErr_Occurred()) SWIG_fail;
25089 }
25090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
25091 return resultobj;
25092 fail:
25093 return NULL;
25094 }
25095
25096
25097 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25098 PyObject *resultobj;
25099 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25100 wxMetafile *arg2 = 0 ;
25101 PyObject * obj0 = 0 ;
25102 PyObject * obj1 = 0 ;
25103 char *kwnames[] = {
25104 (char *) "self",(char *) "metafile", NULL
25105 };
25106
25107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
25108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMetafile,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25110 if (arg2 == NULL) {
25111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25112 }
25113 {
25114 PyThreadState* __tstate = wxPyBeginAllowThreads();
25115 (arg1)->SetMetafile((wxMetafile const &)*arg2);
25116
25117 wxPyEndAllowThreads(__tstate);
25118 if (PyErr_Occurred()) SWIG_fail;
25119 }
25120 Py_INCREF(Py_None); resultobj = Py_None;
25121 return resultobj;
25122 fail:
25123 return NULL;
25124 }
25125
25126
25127 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *self, PyObject *args, PyObject *kwargs) {
25128 PyObject *resultobj;
25129 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
25130 wxMetafile result;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
25137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMetafileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 {
25146 wxMetafile * resultptr;
25147 resultptr = new wxMetafile((wxMetafile &) result);
25148 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMetafile, 1);
25149 }
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
25157 PyObject *obj;
25158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25159 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
25160 Py_INCREF(obj);
25161 return Py_BuildValue((char *)"");
25162 }
25163 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 int arg1 ;
25166 bool result;
25167 PyObject * obj0 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "res", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
25173 {
25174 arg1 = (wxDragResult) SWIG_PyObj_AsInt(obj0);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj;
25193 wxWindow *arg1 = (wxWindow *) 0 ;
25194 wxCursor const &arg2_defvalue = wxNullCursor ;
25195 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25196 wxCursor const &arg3_defvalue = wxNullCursor ;
25197 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
25198 wxCursor const &arg4_defvalue = wxNullCursor ;
25199 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
25200 wxPyDropSource *result;
25201 PyObject * obj0 = 0 ;
25202 PyObject * obj1 = 0 ;
25203 PyObject * obj2 = 0 ;
25204 PyObject * obj3 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25207 };
25208
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25211 if (obj1) {
25212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 if (arg2 == NULL) {
25214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25215 }
25216 }
25217 if (obj2) {
25218 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25219 if (arg3 == NULL) {
25220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25221 }
25222 }
25223 if (obj3) {
25224 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25225 if (arg4 == NULL) {
25226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25227 }
25228 }
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25246 PyObject *arg2 = (PyObject *) 0 ;
25247 PyObject *arg3 = (PyObject *) 0 ;
25248 int arg4 ;
25249 PyObject * obj0 = 0 ;
25250 PyObject * obj1 = 0 ;
25251 PyObject * obj2 = 0 ;
25252 PyObject * obj3 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25259 arg2 = obj1;
25260 arg3 = obj2;
25261 {
25262 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25263 if (PyErr_Occurred()) SWIG_fail;
25264 }
25265 {
25266 PyThreadState* __tstate = wxPyBeginAllowThreads();
25267 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
25268
25269 wxPyEndAllowThreads(__tstate);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 Py_INCREF(Py_None); resultobj = Py_None;
25273 return resultobj;
25274 fail:
25275 return NULL;
25276 }
25277
25278
25279 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
25280 PyObject *resultobj;
25281 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25282 PyObject * obj0 = 0 ;
25283 char *kwnames[] = {
25284 (char *) "self", NULL
25285 };
25286
25287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
25288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 delete arg1;
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 Py_INCREF(Py_None); resultobj = Py_None;
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj;
25305 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25306 wxDataObject *arg2 = 0 ;
25307 PyObject * obj0 = 0 ;
25308 PyObject * obj1 = 0 ;
25309 char *kwnames[] = {
25310 (char *) "self",(char *) "data", NULL
25311 };
25312
25313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
25314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25316 if (arg2 == NULL) {
25317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25318 }
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 (arg1)->SetData(*arg2);
25322
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 Py_INCREF(Py_None); resultobj = Py_None;
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj;
25335 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25336 wxDataObject *result;
25337 PyObject * obj0 = 0 ;
25338 char *kwnames[] = {
25339 (char *) "self", NULL
25340 };
25341
25342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
25343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (wxDataObject *)(arg1)->GetDataObject();
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25352 return resultobj;
25353 fail:
25354 return NULL;
25355 }
25356
25357
25358 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25361 int arg2 ;
25362 wxCursor *arg3 = 0 ;
25363 PyObject * obj0 = 0 ;
25364 PyObject * obj1 = 0 ;
25365 PyObject * obj2 = 0 ;
25366 char *kwnames[] = {
25367 (char *) "self",(char *) "res",(char *) "cursor", NULL
25368 };
25369
25370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25372 {
25373 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25377 if (arg3 == NULL) {
25378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25379 }
25380 {
25381 PyThreadState* __tstate = wxPyBeginAllowThreads();
25382 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25383
25384 wxPyEndAllowThreads(__tstate);
25385 if (PyErr_Occurred()) SWIG_fail;
25386 }
25387 Py_INCREF(Py_None); resultobj = Py_None;
25388 return resultobj;
25389 fail:
25390 return NULL;
25391 }
25392
25393
25394 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25395 PyObject *resultobj;
25396 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25397 int arg2 = (int) wxDrag_CopyOnly ;
25398 int result;
25399 PyObject * obj0 = 0 ;
25400 PyObject * obj1 = 0 ;
25401 char *kwnames[] = {
25402 (char *) "self",(char *) "flags", NULL
25403 };
25404
25405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25407 if (obj1) {
25408 {
25409 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 result = (int)(arg1)->DoDragDrop(arg2);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 resultobj = SWIG_PyObj_FromInt((int)result);
25421 return resultobj;
25422 fail:
25423 return NULL;
25424 }
25425
25426
25427 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25428 PyObject *resultobj;
25429 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25430 int arg2 ;
25431 bool result;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 char *kwnames[] = {
25435 (char *) "self",(char *) "effect", NULL
25436 };
25437
25438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25440 {
25441 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25447
25448 wxPyEndAllowThreads(__tstate);
25449 if (PyErr_Occurred()) SWIG_fail;
25450 }
25451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25452 return resultobj;
25453 fail:
25454 return NULL;
25455 }
25456
25457
25458 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25459 PyObject *obj;
25460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25461 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25462 Py_INCREF(obj);
25463 return Py_BuildValue((char *)"");
25464 }
25465 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj;
25467 wxDataObject *arg1 = (wxDataObject *) NULL ;
25468 wxPyDropTarget *result;
25469 PyObject * obj0 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "dataObject", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
25475 if (obj0) {
25476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25477 }
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
25486 return resultobj;
25487 fail:
25488 return NULL;
25489 }
25490
25491
25492 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25493 PyObject *resultobj;
25494 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25495 PyObject *arg2 = (PyObject *) 0 ;
25496 PyObject *arg3 = (PyObject *) 0 ;
25497 PyObject * obj0 = 0 ;
25498 PyObject * obj1 = 0 ;
25499 PyObject * obj2 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "self",(char *) "self",(char *) "_class", NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25506 arg2 = obj1;
25507 arg3 = obj2;
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 (arg1)->_setCallbackInfo(arg2,arg3);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 Py_INCREF(Py_None); resultobj = Py_None;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519 }
25520
25521
25522 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25525 PyObject * obj0 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
25531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25532 {
25533 PyThreadState* __tstate = wxPyBeginAllowThreads();
25534 delete arg1;
25535
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 Py_INCREF(Py_None); resultobj = Py_None;
25540 return resultobj;
25541 fail:
25542 return NULL;
25543 }
25544
25545
25546 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj;
25548 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25549 wxDataObject *result;
25550 PyObject * obj0 = 0 ;
25551 char *kwnames[] = {
25552 (char *) "self", NULL
25553 };
25554
25555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
25556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25557 {
25558 PyThreadState* __tstate = wxPyBeginAllowThreads();
25559 result = (wxDataObject *)(arg1)->GetDataObject();
25560
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25565 return resultobj;
25566 fail:
25567 return NULL;
25568 }
25569
25570
25571 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj;
25573 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25574 wxDataObject *arg2 = (wxDataObject *) 0 ;
25575 PyObject * obj0 = 0 ;
25576 PyObject * obj1 = 0 ;
25577 char *kwnames[] = {
25578 (char *) "self",(char *) "dataObject", NULL
25579 };
25580
25581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
25582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->SetDataObject(arg2);
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595 }
25596
25597
25598 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25599 PyObject *resultobj;
25600 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25601 int arg2 ;
25602 int arg3 ;
25603 int arg4 ;
25604 int result;
25605 PyObject * obj0 = 0 ;
25606 PyObject * obj1 = 0 ;
25607 PyObject * obj2 = 0 ;
25608 PyObject * obj3 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25615 {
25616 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25617 if (PyErr_Occurred()) SWIG_fail;
25618 }
25619 {
25620 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25621 if (PyErr_Occurred()) SWIG_fail;
25622 }
25623 {
25624 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 {
25628 PyThreadState* __tstate = wxPyBeginAllowThreads();
25629 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25630
25631 wxPyEndAllowThreads(__tstate);
25632 if (PyErr_Occurred()) SWIG_fail;
25633 }
25634 resultobj = SWIG_PyObj_FromInt((int)result);
25635 return resultobj;
25636 fail:
25637 return NULL;
25638 }
25639
25640
25641 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25642 PyObject *resultobj;
25643 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25644 int arg2 ;
25645 int arg3 ;
25646 int arg4 ;
25647 int result;
25648 PyObject * obj0 = 0 ;
25649 PyObject * obj1 = 0 ;
25650 PyObject * obj2 = 0 ;
25651 PyObject * obj3 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25658 {
25659 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 {
25663 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 {
25667 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 {
25671 PyThreadState* __tstate = wxPyBeginAllowThreads();
25672 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25673
25674 wxPyEndAllowThreads(__tstate);
25675 if (PyErr_Occurred()) SWIG_fail;
25676 }
25677 resultobj = SWIG_PyObj_FromInt((int)result);
25678 return resultobj;
25679 fail:
25680 return NULL;
25681 }
25682
25683
25684 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25685 PyObject *resultobj;
25686 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25687 PyObject * obj0 = 0 ;
25688 char *kwnames[] = {
25689 (char *) "self", NULL
25690 };
25691
25692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25694 {
25695 PyThreadState* __tstate = wxPyBeginAllowThreads();
25696 (arg1)->base_OnLeave();
25697
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 Py_INCREF(Py_None); resultobj = Py_None;
25702 return resultobj;
25703 fail:
25704 return NULL;
25705 }
25706
25707
25708 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25709 PyObject *resultobj;
25710 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25711 int arg2 ;
25712 int arg3 ;
25713 bool result;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 PyObject * obj2 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "x",(char *) "y", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25723 {
25724 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 {
25728 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
25733 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25734
25735 wxPyEndAllowThreads(__tstate);
25736 if (PyErr_Occurred()) SWIG_fail;
25737 }
25738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25739 return resultobj;
25740 fail:
25741 return NULL;
25742 }
25743
25744
25745 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj;
25747 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25748 bool result;
25749 PyObject * obj0 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
25755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25756 {
25757 PyThreadState* __tstate = wxPyBeginAllowThreads();
25758 result = (bool)(arg1)->GetData();
25759
25760 wxPyEndAllowThreads(__tstate);
25761 if (PyErr_Occurred()) SWIG_fail;
25762 }
25763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25764 return resultobj;
25765 fail:
25766 return NULL;
25767 }
25768
25769
25770 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
25771 PyObject *obj;
25772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25773 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25774 Py_INCREF(obj);
25775 return Py_BuildValue((char *)"");
25776 }
25777 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25778 PyObject *resultobj;
25779 wxPyTextDropTarget *result;
25780 char *kwnames[] = {
25781 NULL
25782 };
25783
25784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
25792 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
25793 return resultobj;
25794 fail:
25795 return NULL;
25796 }
25797
25798
25799 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25800 PyObject *resultobj;
25801 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25802 PyObject *arg2 = (PyObject *) 0 ;
25803 PyObject *arg3 = (PyObject *) 0 ;
25804 PyObject * obj0 = 0 ;
25805 PyObject * obj1 = 0 ;
25806 PyObject * obj2 = 0 ;
25807 char *kwnames[] = {
25808 (char *) "self",(char *) "self",(char *) "_class", NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25813 arg2 = obj1;
25814 arg3 = obj2;
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 (arg1)->_setCallbackInfo(arg2,arg3);
25818
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 Py_INCREF(Py_None); resultobj = Py_None;
25823 return resultobj;
25824 fail:
25825 return NULL;
25826 }
25827
25828
25829 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25832 int arg2 ;
25833 int arg3 ;
25834 int arg4 ;
25835 int result;
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
25838 PyObject * obj2 = 0 ;
25839 PyObject * obj3 = 0 ;
25840 char *kwnames[] = {
25841 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25842 };
25843
25844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25846 {
25847 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 {
25851 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25852 if (PyErr_Occurred()) SWIG_fail;
25853 }
25854 {
25855 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 {
25859 PyThreadState* __tstate = wxPyBeginAllowThreads();
25860 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25861
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 resultobj = SWIG_PyObj_FromInt((int)result);
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25873 PyObject *resultobj;
25874 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25875 int arg2 ;
25876 int arg3 ;
25877 int arg4 ;
25878 int result;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 PyObject * obj2 = 0 ;
25882 PyObject * obj3 = 0 ;
25883 char *kwnames[] = {
25884 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25885 };
25886
25887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25889 {
25890 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 {
25894 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 {
25898 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 resultobj = SWIG_PyObj_FromInt((int)result);
25909 return resultobj;
25910 fail:
25911 return NULL;
25912 }
25913
25914
25915 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25916 PyObject *resultobj;
25917 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25918 PyObject * obj0 = 0 ;
25919 char *kwnames[] = {
25920 (char *) "self", NULL
25921 };
25922
25923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 (arg1)->base_OnLeave();
25928
25929 wxPyEndAllowThreads(__tstate);
25930 if (PyErr_Occurred()) SWIG_fail;
25931 }
25932 Py_INCREF(Py_None); resultobj = Py_None;
25933 return resultobj;
25934 fail:
25935 return NULL;
25936 }
25937
25938
25939 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25940 PyObject *resultobj;
25941 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25942 int arg2 ;
25943 int arg3 ;
25944 bool result;
25945 PyObject * obj0 = 0 ;
25946 PyObject * obj1 = 0 ;
25947 PyObject * obj2 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "x",(char *) "y", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25954 {
25955 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25956 if (PyErr_Occurred()) SWIG_fail;
25957 }
25958 {
25959 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
25962 {
25963 PyThreadState* __tstate = wxPyBeginAllowThreads();
25964 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25965
25966 wxPyEndAllowThreads(__tstate);
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
25969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25970 return resultobj;
25971 fail:
25972 return NULL;
25973 }
25974
25975
25976 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25977 PyObject *resultobj;
25978 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25979 int arg2 ;
25980 int arg3 ;
25981 int arg4 ;
25982 int result;
25983 PyObject * obj0 = 0 ;
25984 PyObject * obj1 = 0 ;
25985 PyObject * obj2 = 0 ;
25986 PyObject * obj3 = 0 ;
25987 char *kwnames[] = {
25988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25989 };
25990
25991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25993 {
25994 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 {
25998 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 {
26002 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 resultobj = SWIG_PyObj_FromInt((int)result);
26013 return resultobj;
26014 fail:
26015 return NULL;
26016 }
26017
26018
26019 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
26020 PyObject *obj;
26021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26022 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
26023 Py_INCREF(obj);
26024 return Py_BuildValue((char *)"");
26025 }
26026 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26027 PyObject *resultobj;
26028 wxPyFileDropTarget *result;
26029 char *kwnames[] = {
26030 NULL
26031 };
26032
26033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj;
26050 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26051 PyObject *arg2 = (PyObject *) 0 ;
26052 PyObject *arg3 = (PyObject *) 0 ;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 PyObject * obj2 = 0 ;
26056 char *kwnames[] = {
26057 (char *) "self",(char *) "self",(char *) "_class", NULL
26058 };
26059
26060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
26061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26062 arg2 = obj1;
26063 arg3 = obj2;
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 (arg1)->_setCallbackInfo(arg2,arg3);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 Py_INCREF(Py_None); resultobj = Py_None;
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26081 int arg2 ;
26082 int arg3 ;
26083 int arg4 ;
26084 int result;
26085 PyObject * obj0 = 0 ;
26086 PyObject * obj1 = 0 ;
26087 PyObject * obj2 = 0 ;
26088 PyObject * obj3 = 0 ;
26089 char *kwnames[] = {
26090 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26091 };
26092
26093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26095 {
26096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 {
26100 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 {
26108 PyThreadState* __tstate = wxPyBeginAllowThreads();
26109 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
26110
26111 wxPyEndAllowThreads(__tstate);
26112 if (PyErr_Occurred()) SWIG_fail;
26113 }
26114 resultobj = SWIG_PyObj_FromInt((int)result);
26115 return resultobj;
26116 fail:
26117 return NULL;
26118 }
26119
26120
26121 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
26122 PyObject *resultobj;
26123 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26124 int arg2 ;
26125 int arg3 ;
26126 int arg4 ;
26127 int result;
26128 PyObject * obj0 = 0 ;
26129 PyObject * obj1 = 0 ;
26130 PyObject * obj2 = 0 ;
26131 PyObject * obj3 = 0 ;
26132 char *kwnames[] = {
26133 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26134 };
26135
26136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26138 {
26139 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26140 if (PyErr_Occurred()) SWIG_fail;
26141 }
26142 {
26143 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26144 if (PyErr_Occurred()) SWIG_fail;
26145 }
26146 {
26147 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
26153
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 resultobj = SWIG_PyObj_FromInt((int)result);
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
26165 PyObject *resultobj;
26166 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26167 PyObject * obj0 = 0 ;
26168 char *kwnames[] = {
26169 (char *) "self", NULL
26170 };
26171
26172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
26173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 (arg1)->base_OnLeave();
26177
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 Py_INCREF(Py_None); resultobj = Py_None;
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
26189 PyObject *resultobj;
26190 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26191 int arg2 ;
26192 int arg3 ;
26193 bool result;
26194 PyObject * obj0 = 0 ;
26195 PyObject * obj1 = 0 ;
26196 PyObject * obj2 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self",(char *) "x",(char *) "y", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
26202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26203 {
26204 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 {
26208 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
26226 PyObject *resultobj;
26227 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
26228 int arg2 ;
26229 int arg3 ;
26230 int arg4 ;
26231 int result;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 PyObject * obj2 = 0 ;
26235 PyObject * obj3 = 0 ;
26236 char *kwnames[] = {
26237 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26238 };
26239
26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26242 {
26243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26244 if (PyErr_Occurred()) SWIG_fail;
26245 }
26246 {
26247 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26248 if (PyErr_Occurred()) SWIG_fail;
26249 }
26250 {
26251 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
26252 if (PyErr_Occurred()) SWIG_fail;
26253 }
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 resultobj = SWIG_PyObj_FromInt((int)result);
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
26269 PyObject *obj;
26270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26271 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
26272 Py_INCREF(obj);
26273 return Py_BuildValue((char *)"");
26274 }
26275 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26276 PyObject *resultobj;
26277 wxClipboard *result;
26278 char *kwnames[] = {
26279 NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
26283 {
26284 PyThreadState* __tstate = wxPyBeginAllowThreads();
26285 result = (wxClipboard *)new wxClipboard();
26286
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
26298 PyObject *resultobj;
26299 wxClipboard *arg1 = (wxClipboard *) 0 ;
26300 PyObject * obj0 = 0 ;
26301 char *kwnames[] = {
26302 (char *) "self", NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
26306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 delete arg1;
26310
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 Py_INCREF(Py_None); resultobj = Py_None;
26315 return resultobj;
26316 fail:
26317 return NULL;
26318 }
26319
26320
26321 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
26322 PyObject *resultobj;
26323 wxClipboard *arg1 = (wxClipboard *) 0 ;
26324 bool result;
26325 PyObject * obj0 = 0 ;
26326 char *kwnames[] = {
26327 (char *) "self", NULL
26328 };
26329
26330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
26331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (bool)(arg1)->Open();
26335
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj;
26348 wxClipboard *arg1 = (wxClipboard *) 0 ;
26349 PyObject * obj0 = 0 ;
26350 char *kwnames[] = {
26351 (char *) "self", NULL
26352 };
26353
26354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26356 {
26357 PyThreadState* __tstate = wxPyBeginAllowThreads();
26358 (arg1)->Close();
26359
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 Py_INCREF(Py_None); resultobj = Py_None;
26364 return resultobj;
26365 fail:
26366 return NULL;
26367 }
26368
26369
26370 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj;
26372 wxClipboard *arg1 = (wxClipboard *) 0 ;
26373 bool result;
26374 PyObject * obj0 = 0 ;
26375 char *kwnames[] = {
26376 (char *) "self", NULL
26377 };
26378
26379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26389 return resultobj;
26390 fail:
26391 return NULL;
26392 }
26393
26394
26395 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj;
26397 wxClipboard *arg1 = (wxClipboard *) 0 ;
26398 wxDataObject *arg2 = (wxDataObject *) 0 ;
26399 bool result;
26400 PyObject * obj0 = 0 ;
26401 PyObject * obj1 = 0 ;
26402 char *kwnames[] = {
26403 (char *) "self",(char *) "data", NULL
26404 };
26405
26406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 result = (bool)(arg1)->AddData(arg2);
26412
26413 wxPyEndAllowThreads(__tstate);
26414 if (PyErr_Occurred()) SWIG_fail;
26415 }
26416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26417 return resultobj;
26418 fail:
26419 return NULL;
26420 }
26421
26422
26423 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26424 PyObject *resultobj;
26425 wxClipboard *arg1 = (wxClipboard *) 0 ;
26426 wxDataObject *arg2 = (wxDataObject *) 0 ;
26427 bool result;
26428 PyObject * obj0 = 0 ;
26429 PyObject * obj1 = 0 ;
26430 char *kwnames[] = {
26431 (char *) "self",(char *) "data", NULL
26432 };
26433
26434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (bool)(arg1)->SetData(arg2);
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_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26452 PyObject *resultobj;
26453 wxClipboard *arg1 = (wxClipboard *) 0 ;
26454 wxDataFormat *arg2 = 0 ;
26455 bool result;
26456 PyObject * obj0 = 0 ;
26457 PyObject * obj1 = 0 ;
26458 char *kwnames[] = {
26459 (char *) "self",(char *) "format", NULL
26460 };
26461
26462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26465 if (arg2 == NULL) {
26466 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26467 }
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26476 return resultobj;
26477 fail:
26478 return NULL;
26479 }
26480
26481
26482 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26483 PyObject *resultobj;
26484 wxClipboard *arg1 = (wxClipboard *) 0 ;
26485 wxDataObject *arg2 = 0 ;
26486 bool result;
26487 PyObject * obj0 = 0 ;
26488 PyObject * obj1 = 0 ;
26489 char *kwnames[] = {
26490 (char *) "self",(char *) "data", NULL
26491 };
26492
26493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26496 if (arg2 == NULL) {
26497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26498 }
26499 {
26500 PyThreadState* __tstate = wxPyBeginAllowThreads();
26501 result = (bool)(arg1)->GetData(*arg2);
26502
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26507 return resultobj;
26508 fail:
26509 return NULL;
26510 }
26511
26512
26513 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26514 PyObject *resultobj;
26515 wxClipboard *arg1 = (wxClipboard *) 0 ;
26516 PyObject * obj0 = 0 ;
26517 char *kwnames[] = {
26518 (char *) "self", NULL
26519 };
26520
26521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
26522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26523 {
26524 PyThreadState* __tstate = wxPyBeginAllowThreads();
26525 (arg1)->Clear();
26526
26527 wxPyEndAllowThreads(__tstate);
26528 if (PyErr_Occurred()) SWIG_fail;
26529 }
26530 Py_INCREF(Py_None); resultobj = Py_None;
26531 return resultobj;
26532 fail:
26533 return NULL;
26534 }
26535
26536
26537 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26538 PyObject *resultobj;
26539 wxClipboard *arg1 = (wxClipboard *) 0 ;
26540 bool result;
26541 PyObject * obj0 = 0 ;
26542 char *kwnames[] = {
26543 (char *) "self", NULL
26544 };
26545
26546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
26547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26548 {
26549 PyThreadState* __tstate = wxPyBeginAllowThreads();
26550 result = (bool)(arg1)->Flush();
26551
26552 wxPyEndAllowThreads(__tstate);
26553 if (PyErr_Occurred()) SWIG_fail;
26554 }
26555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26556 return resultobj;
26557 fail:
26558 return NULL;
26559 }
26560
26561
26562 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26563 PyObject *resultobj;
26564 wxClipboard *arg1 = (wxClipboard *) 0 ;
26565 bool arg2 = (bool) False ;
26566 PyObject * obj0 = 0 ;
26567 PyObject * obj1 = 0 ;
26568 char *kwnames[] = {
26569 (char *) "self",(char *) "primary", NULL
26570 };
26571
26572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
26573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26574 if (obj1) {
26575 {
26576 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 }
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 (arg1)->UsePrimarySelection(arg2);
26583
26584 wxPyEndAllowThreads(__tstate);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 Py_INCREF(Py_None); resultobj = Py_None;
26588 return resultobj;
26589 fail:
26590 return NULL;
26591 }
26592
26593
26594 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
26595 PyObject *obj;
26596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26597 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26598 Py_INCREF(obj);
26599 return Py_BuildValue((char *)"");
26600 }
26601 static int _wrap_TheClipboard_set(PyObject *) {
26602 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26603 return 1;
26604 }
26605
26606
26607 static PyObject *_wrap_TheClipboard_get() {
26608 PyObject *pyobj;
26609
26610 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
26611 return pyobj;
26612 }
26613
26614
26615 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj;
26617 wxClipboard *arg1 = (wxClipboard *) NULL ;
26618 wxClipboardLocker *result;
26619 PyObject * obj0 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "clipboard", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26625 if (obj0) {
26626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26627 }
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
26636 return resultobj;
26637 fail:
26638 return NULL;
26639 }
26640
26641
26642 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26643 PyObject *resultobj;
26644 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26645 PyObject * obj0 = 0 ;
26646 char *kwnames[] = {
26647 (char *) "self", NULL
26648 };
26649
26650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
26651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26652 {
26653 PyThreadState* __tstate = wxPyBeginAllowThreads();
26654 delete arg1;
26655
26656 wxPyEndAllowThreads(__tstate);
26657 if (PyErr_Occurred()) SWIG_fail;
26658 }
26659 Py_INCREF(Py_None); resultobj = Py_None;
26660 return resultobj;
26661 fail:
26662 return NULL;
26663 }
26664
26665
26666 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
26667 PyObject *resultobj;
26668 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26669 bool result;
26670 PyObject * obj0 = 0 ;
26671 char *kwnames[] = {
26672 (char *) "self", NULL
26673 };
26674
26675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
26676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26677 {
26678 PyThreadState* __tstate = wxPyBeginAllowThreads();
26679 result = (bool)wxClipboardLocker___nonzero__(arg1);
26680
26681 wxPyEndAllowThreads(__tstate);
26682 if (PyErr_Occurred()) SWIG_fail;
26683 }
26684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26685 return resultobj;
26686 fail:
26687 return NULL;
26688 }
26689
26690
26691 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
26692 PyObject *obj;
26693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26694 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26695 Py_INCREF(obj);
26696 return Py_BuildValue((char *)"");
26697 }
26698 static PyMethodDef SwigMethods[] = {
26699 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
26706 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
26713 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
26773 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
26781 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
26797 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
26802 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
26805 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
26808 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
26814 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
26828 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
26834 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
26840 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
26843 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
26856 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
26859 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
26860 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
26863 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
26890 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
26892 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
26894 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
26896 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
26903 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
26909 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
26922 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
26927 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
26930 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
26947 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
26955 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
27001 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
27029 { (char *)"new_Sound", _wrap_new_Sound, METH_VARARGS },
27030 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"Sound_Create", _wrap_Sound_Create, METH_VARARGS },
27032 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"Sound_Play", _wrap_Sound_Play, METH_VARARGS },
27034 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound, METH_VARARGS },
27035 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS },
27037 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
27053 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
27069 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
27083 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
27092 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
27135 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
27139 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
27142 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
27145 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
27237 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
27238 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
27239 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
27240 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
27241 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
27242 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
27243 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
27244 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
27245 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
27246 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
27257 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
27302 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
27336 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
27344 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
27345 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
27350 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
27359 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
27363 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
27366 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
27369 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
27374 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
27377 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27379 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
27381 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
27384 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
27388 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
27394 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
27398 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
27402 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
27412 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
27423 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27426 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27428 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
27431 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
27439 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
27452 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
27456 { NULL, NULL }
27457 };
27458
27459
27460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27461
27462 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27464 }
27465 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27466 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27467 }
27468 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27469 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27470 }
27471 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27472 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27473 }
27474 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27475 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27476 }
27477 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27478 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27479 }
27480 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27481 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27482 }
27483 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27484 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27485 }
27486 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27488 }
27489 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27490 return (void *)((wxEvent *) ((wxPyEvent *) x));
27491 }
27492 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27494 }
27495 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27496 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27497 }
27498 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27499 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27500 }
27501 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27503 }
27504 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27505 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27506 }
27507 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27508 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27509 }
27510 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27511 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27512 }
27513 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27514 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27515 }
27516 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27517 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27518 }
27519 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27520 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27521 }
27522 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27523 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27524 }
27525 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27526 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27527 }
27528 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27529 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27530 }
27531 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27532 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27533 }
27534 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27535 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27536 }
27537 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27538 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27539 }
27540 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27541 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27542 }
27543 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27544 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27545 }
27546 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27547 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27548 }
27549 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27551 }
27552 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27553 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27554 }
27555 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27556 return (void *)((wxEvent *) ((wxShowEvent *) x));
27557 }
27558 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27559 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27560 }
27561 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27563 }
27564 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27566 }
27567 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27568 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27569 }
27570 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27571 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27572 }
27573 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27574 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27575 }
27576 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27577 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27578 }
27579 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27580 return (void *)((wxConfigBase *) ((wxConfig *) x));
27581 }
27582 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27583 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27584 }
27585 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27586 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27587 }
27588 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27589 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27590 }
27591 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27592 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27593 }
27594 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27595 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27596 }
27597 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27598 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27599 }
27600 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27601 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27602 }
27603 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27604 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27605 }
27606 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27607 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27608 }
27609 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27610 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27611 }
27612 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27613 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27614 }
27615 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27616 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27617 }
27618 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27619 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27620 }
27621 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27622 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27623 }
27624 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27625 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27626 }
27627 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27628 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27629 }
27630 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27631 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27632 }
27633 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27634 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27635 }
27636 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27637 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27638 }
27639 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27640 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27641 }
27642 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27643 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27644 }
27645 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27646 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27647 }
27648 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27649 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27650 }
27651 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27652 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27653 }
27654 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27655 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27656 }
27657 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27658 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27659 }
27660 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27661 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27662 }
27663 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27664 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27665 }
27666 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27667 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27668 }
27669 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27671 }
27672 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27673 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27674 }
27675 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27676 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27677 }
27678 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27679 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27680 }
27681 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27682 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27683 }
27684 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27685 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27686 }
27687 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27688 return (void *)((wxObject *) ((wxSizerItem *) x));
27689 }
27690 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27692 }
27693 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27694 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27695 }
27696 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27697 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27698 }
27699 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27700 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27701 }
27702 static void *_p_wxSizerTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) ((wxSizer *) x));
27704 }
27705 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27707 }
27708 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) ((wxFileHistory *) x));
27710 }
27711 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27713 }
27714 static void *_p_wxEventTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) ((wxEvent *) x));
27716 }
27717 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27719 }
27720 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27722 }
27723 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27725 }
27726 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27728 }
27729 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27731 }
27732 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27734 }
27735 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27737 }
27738 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27740 }
27741 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27743 }
27744 static void *_p_wxControlTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27746 }
27747 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27749 }
27750 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27752 }
27753 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) ((wxFSFile *) x));
27755 }
27756 static void *_p_wxClipboardTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) ((wxClipboard *) x));
27758 }
27759 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27761 }
27762 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27764 }
27765 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27767 }
27768 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27770 }
27771 static void *_p_wxToolTipTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) ((wxToolTip *) x));
27773 }
27774 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) ((wxMenuItem *) x));
27776 }
27777 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27779 }
27780 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27782 }
27783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27785 }
27786 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27788 }
27789 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27791 }
27792 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27794 }
27795 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27797 }
27798 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27800 }
27801 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27803 }
27804 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27806 }
27807 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27809 }
27810 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27812 }
27813 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27815 }
27816 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27818 }
27819 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27821 }
27822 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27824 }
27825 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27827 }
27828 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27830 }
27831 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) ((wxImageHandler *) x));
27833 }
27834 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27836 }
27837 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) ((wxEvtHandler *) x));
27839 }
27840 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27842 }
27843 static void *_p_wxImageTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) ((wxImage *) x));
27845 }
27846 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27848 }
27849 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) ((wxSystemOptions *) x));
27851 }
27852 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
27854 }
27855 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27857 }
27858 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27860 }
27861 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27863 }
27864 static void *_p_wxWindowTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27866 }
27867 static void *_p_wxMenuTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27869 }
27870 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27872 }
27873 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
27874 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
27875 }
27876 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27877 return (void *)((wxObject *) ((wxFileSystem *) x));
27878 }
27879 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27880 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27881 }
27882 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27883 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27884 }
27885 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27886 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27887 }
27888 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27889 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27890 }
27891 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27892 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27893 }
27894 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27895 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27896 }
27897 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
27898 return (void *)((wxObject *) ((wxBusyInfo *) x));
27899 }
27900 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27902 }
27903 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27904 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27905 }
27906 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27907 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27908 }
27909 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27910 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27911 }
27912 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27914 }
27915 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
27916 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
27917 }
27918 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27920 }
27921 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27922 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27923 }
27924 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27925 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27926 }
27927 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
27928 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
27929 }
27930 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
27931 return (void *)((wxLog *) ((wxLogStderr *) x));
27932 }
27933 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
27934 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
27935 }
27936 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
27937 return (void *)((wxLog *) ((wxLogWindow *) x));
27938 }
27939 static void *_p_wxLogChainTo_p_wxLog(void *x) {
27940 return (void *)((wxLog *) ((wxLogChain *) x));
27941 }
27942 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
27943 return (void *)((wxLog *) ((wxLogGui *) x));
27944 }
27945 static void *_p_wxPyLogTo_p_wxLog(void *x) {
27946 return (void *)((wxLog *) ((wxPyLog *) x));
27947 }
27948 static void *_p_wxControlTo_p_wxWindow(void *x) {
27949 return (void *)((wxWindow *) ((wxControl *) x));
27950 }
27951 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27952 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27953 }
27954 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27955 return (void *)((wxWindow *) ((wxMenuBar *) x));
27956 }
27957 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
27958 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
27959 }
27960 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
27961 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
27962 }
27963 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27964 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27965 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
27966 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27967 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}};
27968 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27969 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27970 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}};
27971 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}};
27972 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27973 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27974 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27975 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27976 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27977 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27978 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27979 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27980 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27981 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27982 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27983 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27984 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27985 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27986 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27987 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27988 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27989 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27990 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
27991 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
27992 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}};
27993 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27994 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27995 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27996 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27997 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27998 static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0},{"_p_wxSound"},{0}};
27999 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
28000 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
28001 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
28002 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28003 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
28004 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
28005 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
28006 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
28007 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
28008 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
28009 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}};
28010 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}};
28011 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28012 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
28013 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
28014 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
28015 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
28016 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
28017 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
28018 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
28019 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
28020 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
28021 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
28022 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
28023 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28024 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
28025 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28026 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}};
28027 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
28028 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
28029 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
28030 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}};
28031 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28032 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
28033 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28034 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
28035 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
28036 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
28037 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}};
28038 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
28039 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
28040 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
28041 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
28042 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
28043 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28044 static swig_type_info _swigt__p_wxByte[] = {{"_p_wxByte", 0, "wxByte *", 0},{"_p_wxByte"},{0}};
28045 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
28046 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
28047 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
28048
28049 static swig_type_info *swig_types_initial[] = {
28050 _swigt__p_wxLogChain,
28051 _swigt__p_wxMutexGuiLocker,
28052 _swigt__p_wxMetafile,
28053 _swigt__p_wxFileHistory,
28054 _swigt__p_wxLog,
28055 _swigt__p_wxDateTime__TimeZone,
28056 _swigt__p_wxMenu,
28057 _swigt__p_wxEvent,
28058 _swigt__p_wxConfigBase,
28059 _swigt__p_wxFileType,
28060 _swigt__p_wxLogGui,
28061 _swigt__p_wxFont,
28062 _swigt__p_wxDataFormat,
28063 _swigt__p_wxTimerEvent,
28064 _swigt__p_wxCaret,
28065 _swigt__p_int,
28066 _swigt__p_wxSize,
28067 _swigt__p_wxClipboard,
28068 _swigt__p_wxStopWatch,
28069 _swigt__p_wxDC,
28070 _swigt__p_wxClipboardLocker,
28071 _swigt__p_wxIcon,
28072 _swigt__p_wxLogStderr,
28073 _swigt__p_wxLogTextCtrl,
28074 _swigt__p_wxTextCtrl,
28075 _swigt__p_wxBusyCursor,
28076 _swigt__p_wxPyTextDataObject,
28077 _swigt__p_wxBitmapDataObject,
28078 _swigt__p_wxTextDataObject,
28079 _swigt__p_wxDataObject,
28080 _swigt__p_wxPyBitmapDataObject,
28081 _swigt__p_wxFileDataObject,
28082 _swigt__p_wxCustomDataObject,
28083 _swigt__p_wxURLDataObject,
28084 _swigt__p_wxMetafileDataObject,
28085 _swigt__p_wxSound,
28086 _swigt__p_wxTimerRunner,
28087 _swigt__p_wxLogWindow,
28088 _swigt__p_wxTimeSpan,
28089 _swigt__p_wxArrayString,
28090 _swigt__p_wxWindowDisabler,
28091 _swigt__p_wxToolTip,
28092 _swigt__p_wxDataObjectComposite,
28093 _swigt__p_wxFileConfig,
28094 _swigt__p_wxSystemSettings,
28095 _swigt__p_wxPyDataObjectSimple,
28096 _swigt__p_wxDataObjectSimple,
28097 _swigt__p_wxEvtHandler,
28098 _swigt__p_wxRect,
28099 _swigt__p_char,
28100 _swigt__p_wxSingleInstanceChecker,
28101 _swigt__p_wxFileTypeInfo,
28102 _swigt__p_wxFrame,
28103 _swigt__p_wxTimer,
28104 _swigt__p_wxMimeTypesManager,
28105 _swigt__p_wxPyArtProvider,
28106 _swigt__p_wxPyTipProvider,
28107 _swigt__p_wxTipProvider,
28108 _swigt__p_wxJoystick,
28109 _swigt__p_wxSystemOptions,
28110 _swigt__p_wxPoint,
28111 _swigt__p_wxJoystickEvent,
28112 _swigt__p_wxCursor,
28113 _swigt__p_wxObject,
28114 _swigt__p_wxOutputStream,
28115 _swigt__p_wxDateTime,
28116 _swigt__p_wxPyDropSource,
28117 _swigt__p_wxWindow,
28118 _swigt__p_wxString,
28119 _swigt__p_wxPyProcess,
28120 _swigt__p_wxBitmap,
28121 _swigt__p_wxConfig,
28122 _swigt__p_wxChar,
28123 _swigt__p_wxBusyInfo,
28124 _swigt__p_wxPyDropTarget,
28125 _swigt__p_wxPyTextDropTarget,
28126 _swigt__p_wxPyFileDropTarget,
28127 _swigt__p_wxProcessEvent,
28128 _swigt__p_wxPyLog,
28129 _swigt__p_wxLogNull,
28130 _swigt__p_wxColour,
28131 _swigt__p_wxByte,
28132 _swigt__p_wxConfigPathChanger,
28133 _swigt__p_wxPyTimer,
28134 _swigt__p_wxDateSpan,
28135 0
28136 };
28137
28138
28139 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28140
28141 static swig_const_info swig_const_table[] = {
28142 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
28143 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
28144 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
28145 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
28146 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
28147 {0}};
28148
28149 #ifdef __cplusplus
28150 }
28151 #endif
28152
28153 #ifdef __cplusplus
28154 extern "C"
28155 #endif
28156 SWIGEXPORT(void) SWIG_init(void) {
28157 static PyObject *SWIG_globals = 0;
28158 static int typeinit = 0;
28159 PyObject *m, *d;
28160 int i;
28161 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28162 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28163 d = PyModule_GetDict(m);
28164
28165 if (!typeinit) {
28166 for (i = 0; swig_types_initial[i]; i++) {
28167 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28168 }
28169 typeinit = 1;
28170 }
28171 SWIG_InstallConstants(d,swig_const_table);
28172
28173 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT));
28174 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT));
28175 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT));
28176 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT));
28177 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
28178 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE));
28179 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
28180 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
28181 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT));
28182 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
28183 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND));
28184 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP));
28185 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
28186 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
28187 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU));
28188 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW));
28189 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
28190 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT));
28191 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
28192 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
28193 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
28194 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
28195 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
28196 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
28197 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
28198 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE));
28199 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE));
28200 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
28201 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW));
28202 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
28203 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT));
28204 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
28205 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
28206 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
28207 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
28208 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
28209 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
28210 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT));
28211 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT));
28212 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK));
28213 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX));
28214 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
28215 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
28216 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
28217 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
28218 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR));
28219 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX));
28220 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS));
28221 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X));
28222 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y));
28223 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X));
28224 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y));
28225 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X));
28226 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y));
28227 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X));
28228 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y));
28229 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X));
28230 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y));
28231 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X));
28232 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
28233 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X));
28234 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X));
28235 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y));
28236 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X));
28237 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y));
28238 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X));
28239 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y));
28240 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X));
28241 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y));
28242 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X));
28243 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y));
28244 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X));
28245 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y));
28246 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y));
28247 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X));
28248 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X));
28249 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
28250 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y));
28251 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y));
28252 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y));
28253 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT));
28254 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
28255 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS));
28256 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS));
28257 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
28258 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
28259 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE));
28260 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY));
28261 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA));
28262 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL));
28263 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP));
28264 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28265 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
28266 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
28267 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
28268 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF));
28269 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT));
28270 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS));
28271 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT));
28272 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
28273 PyDict_SetItemString(d,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError));
28274 PyDict_SetItemString(d,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error));
28275 PyDict_SetItemString(d,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning));
28276 PyDict_SetItemString(d,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message));
28277 PyDict_SetItemString(d,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status));
28278 PyDict_SetItemString(d,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info));
28279 PyDict_SetItemString(d,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug));
28280 PyDict_SetItemString(d,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace));
28281 PyDict_SetItemString(d,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress));
28282 PyDict_SetItemString(d,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User));
28283 PyDict_SetItemString(d,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max));
28284 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
28285 PyDict_SetItemString(d,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
28286 PyDict_SetItemString(d,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
28287 PyDict_SetItemString(d,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
28288 PyDict_SetItemString(d,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
28289 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT));
28290 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT));
28291 PyDict_SetItemString(d,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK));
28292 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL));
28293 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED));
28294 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS));
28295 PyDict_SetItemString(d,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR));
28296 PyDict_SetItemString(d,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE));
28297 PyDict_SetItemString(d,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP));
28298 PyDict_SetItemString(d,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT));
28299 PyDict_SetItemString(d,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT));
28300 PyDict_SetItemString(d,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL));
28301 PyDict_SetItemString(d,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP));
28302 PyDict_SetItemString(d,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT));
28303 PyDict_SetItemString(d,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT));
28304 PyDict_SetItemString(d,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT));
28305 PyDict_SetItemString(d,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE));
28306 PyDict_SetItemString(d,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL));
28307 PyDict_SetItemString(d,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS));
28308 PyDict_SetItemString(d,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV));
28309 PyDict_SetItemString(d,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS));
28310 PyDict_SetItemString(d,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE));
28311 PyDict_SetItemString(d,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM));
28312 PyDict_SetItemString(d,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM));
28313 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
28314 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC));
28315 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC));
28316 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE));
28317 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
28318
28319 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
28320
28321 PyDict_SetItemString(d,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1));
28322 PyDict_SetItemString(d,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2));
28323 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY));
28324 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1));
28325 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2));
28326 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3));
28327 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4));
28328 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
28329 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
28330 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
28331 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
28332 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_PyObj_FromInt((int)wxSOUND_SYNC));
28333 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_PyObj_FromInt((int)wxSOUND_ASYNC));
28334 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_PyObj_FromInt((int)wxSOUND_LOOP));
28335 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD));
28336 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE));
28337 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE));
28338 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME));
28339 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL));
28340 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
28341 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
28342 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
28343 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
28344 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
28345 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
28346 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
28347 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
28348 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
28349 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
28350 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
28351 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
28352 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
28353 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
28354 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
28355 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
28356 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
28357 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
28358 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
28359 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
28360 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
28361 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
28362 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
28363 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
28364 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
28365 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
28366 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28367 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28368 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28369 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28370 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28371 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28372 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28373 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28374 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28375 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28376 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28377 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28378 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28379
28380 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28381
28382 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28383 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28384 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28385 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28386 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown));
28387 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String));
28388 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean));
28389 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer));
28390 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float));
28391 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28392 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
28393 PyDict_SetItemString(d,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local));
28394 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12));
28395 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11));
28396 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10));
28397 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9));
28398 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8));
28399 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7));
28400 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6));
28401 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5));
28402 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4));
28403 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3));
28404 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2));
28405 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1));
28406 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0));
28407 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1));
28408 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2));
28409 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3));
28410 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4));
28411 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5));
28412 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6));
28413 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7));
28414 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8));
28415 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9));
28416 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10));
28417 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11));
28418 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12));
28419 PyDict_SetItemString(d,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET));
28420 PyDict_SetItemString(d,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST));
28421 PyDict_SetItemString(d,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET));
28422 PyDict_SetItemString(d,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST));
28423 PyDict_SetItemString(d,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET));
28424 PyDict_SetItemString(d,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST));
28425 PyDict_SetItemString(d,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK));
28426 PyDict_SetItemString(d,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD));
28427 PyDict_SetItemString(d,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST));
28428 PyDict_SetItemString(d,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT));
28429 PyDict_SetItemString(d,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST));
28430 PyDict_SetItemString(d,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT));
28431 PyDict_SetItemString(d,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST));
28432 PyDict_SetItemString(d,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT));
28433 PyDict_SetItemString(d,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST));
28434 PyDict_SetItemString(d,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT));
28435 PyDict_SetItemString(d,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST));
28436 PyDict_SetItemString(d,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT));
28437 PyDict_SetItemString(d,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST));
28438 PyDict_SetItemString(d,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST));
28439 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT));
28440 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST));
28441 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST));
28442 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST));
28443 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST));
28444 PyDict_SetItemString(d,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC));
28445 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian));
28446 PyDict_SetItemString(d,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian));
28447 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown));
28448 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard));
28449 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska));
28450 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania));
28451 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria));
28452 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28453 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28454 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28455 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28456 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria));
28457 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium));
28458 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria));
28459 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28460 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28461 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28462 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada));
28463 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China));
28464 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1));
28465 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2));
28466 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28467 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark));
28468 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt));
28469 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia));
28470 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland));
28471 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France));
28472 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace));
28473 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine));
28474 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28475 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany));
28476 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28477 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28478 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28479 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain));
28480 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece));
28481 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary));
28482 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland));
28483 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy));
28484 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan));
28485 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1));
28486 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2));
28487 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3));
28488 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia));
28489 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania));
28490 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg));
28491 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands));
28492 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28493 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28494 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28495 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28496 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway));
28497 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland));
28498 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal));
28499 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania));
28500 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia));
28501 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland));
28502 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain));
28503 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden));
28504 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland));
28505 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28506 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28507 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey));
28508 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA));
28509 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales));
28510 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia));
28511 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown));
28512 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default));
28513 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28514 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC));
28515 PyDict_SetItemString(d,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France));
28516 PyDict_SetItemString(d,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany));
28517 PyDict_SetItemString(d,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK));
28518 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End));
28519 PyDict_SetItemString(d,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia));
28520 PyDict_SetItemString(d,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA));
28521 PyDict_SetItemString(d,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan));
28522 PyDict_SetItemString(d,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb));
28523 PyDict_SetItemString(d,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar));
28524 PyDict_SetItemString(d,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr));
28525 PyDict_SetItemString(d,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May));
28526 PyDict_SetItemString(d,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun));
28527 PyDict_SetItemString(d,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul));
28528 PyDict_SetItemString(d,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug));
28529 PyDict_SetItemString(d,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep));
28530 PyDict_SetItemString(d,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct));
28531 PyDict_SetItemString(d,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov));
28532 PyDict_SetItemString(d,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec));
28533 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month));
28534 PyDict_SetItemString(d,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun));
28535 PyDict_SetItemString(d,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon));
28536 PyDict_SetItemString(d,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue));
28537 PyDict_SetItemString(d,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed));
28538 PyDict_SetItemString(d,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu));
28539 PyDict_SetItemString(d,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri));
28540 PyDict_SetItemString(d,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat));
28541 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay));
28542 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year));
28543 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full));
28544 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr));
28545 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First));
28546 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First));
28547 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First));
28548 PyDict_SetItemString(d,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID));
28549 PyDict_SetItemString(d,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT));
28550 PyDict_SetItemString(d,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP));
28551 PyDict_SetItemString(d,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE));
28552 PyDict_SetItemString(d,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK));
28553 PyDict_SetItemString(d,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF));
28554 PyDict_SetItemString(d,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF));
28555 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT));
28556 PyDict_SetItemString(d,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB));
28557 PyDict_SetItemString(d,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE));
28558 PyDict_SetItemString(d,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA));
28559 PyDict_SetItemString(d,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF));
28560 PyDict_SetItemString(d,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE));
28561 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT));
28562 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE));
28563 PyDict_SetItemString(d,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME));
28564 PyDict_SetItemString(d,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE));
28565 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE));
28566 PyDict_SetItemString(d,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML));
28567 PyDict_SetItemString(d,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX));
28568 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
28569 PyDict_SetItemString(d,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get));
28570 PyDict_SetItemString(d,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set));
28571 PyDict_SetItemString(d,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both));
28572 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly));
28573 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove));
28574 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove));
28575 PyDict_SetItemString(d,"DragError", SWIG_PyObj_FromInt((int)wxDragError));
28576 PyDict_SetItemString(d,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone));
28577 PyDict_SetItemString(d,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy));
28578 PyDict_SetItemString(d,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove));
28579 PyDict_SetItemString(d,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink));
28580 PyDict_SetItemString(d,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel));
28581
28582 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28583 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28584 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28585 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28586
28587 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28588 }
28589