]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/misc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxLogChain swig_types[0]
234 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
235 #define SWIGTYPE_p_wxFileHistory swig_types[2]
236 #define SWIGTYPE_p_wxLog swig_types[3]
237 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
238 #define SWIGTYPE_p_wxMenu swig_types[5]
239 #define SWIGTYPE_p_wxEvent swig_types[6]
240 #define SWIGTYPE_p_wxConfigBase swig_types[7]
241 #define SWIGTYPE_p_wxWave 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_wxPyBitmapDataObject swig_types[26]
260 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
261 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
262 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
263 #define SWIGTYPE_p_wxDataObject 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_wxTimerRunner swig_types[35]
269 #define SWIGTYPE_p_wxLogWindow swig_types[36]
270 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
271 #define SWIGTYPE_p_wxArrayString swig_types[38]
272 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
273 #define SWIGTYPE_p_wxToolTip swig_types[40]
274 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
275 #define SWIGTYPE_p_wxFileConfig swig_types[42]
276 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
277 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
278 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
279 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
280 #define SWIGTYPE_p_wxRect swig_types[47]
281 #define SWIGTYPE_p_char swig_types[48]
282 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
283 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
284 #define SWIGTYPE_p_wxFrame swig_types[51]
285 #define SWIGTYPE_p_wxTimer swig_types[52]
286 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
287 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
288 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
289 #define SWIGTYPE_p_wxTipProvider swig_types[56]
290 #define SWIGTYPE_p_wxJoystick swig_types[57]
291 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
292 #define SWIGTYPE_p_wxPoint swig_types[59]
293 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
294 #define SWIGTYPE_p_wxCursor swig_types[61]
295 #define SWIGTYPE_p_wxObject swig_types[62]
296 #define SWIGTYPE_p_wxOutputStream swig_types[63]
297 #define SWIGTYPE_p_wxDateTime swig_types[64]
298 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
299 #define SWIGTYPE_p_wxWindow swig_types[66]
300 #define SWIGTYPE_p_wxString swig_types[67]
301 #define SWIGTYPE_p_wxPyProcess swig_types[68]
302 #define SWIGTYPE_p_wxBitmap swig_types[69]
303 #define SWIGTYPE_p_wxConfig swig_types[70]
304 #define SWIGTYPE_p_wxChar swig_types[71]
305 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
306 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
307 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
308 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
309 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
310 #define SWIGTYPE_p_wxPyLog swig_types[77]
311 #define SWIGTYPE_p_wxLogNull swig_types[78]
312 #define SWIGTYPE_p_wxColour swig_types[79]
313 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
314 #define SWIGTYPE_p_wxPyTimer swig_types[81]
315 #define SWIGTYPE_p_wxDateSpan swig_types[82]
316 static swig_type_info *swig_types[84];
317
318 /* -------- TYPES TABLE (END) -------- */
319
320
321 /*-----------------------------------------------
322 @(target):= _misc.so
323 ------------------------------------------------*/
324 #define SWIG_init init_misc
325
326 #define SWIG_name "_misc"
327
328 #include <limits.h>
329 #include <float.h>
330 #include <string.h>
331
332 #ifndef SWIGSTATIC
333 #ifdef __cplusplus
334 #define SWIGSTATIC(a) static inline a
335 #else
336 #define SWIGSTATIC(a) static a
337 #endif
338 #endif
339
340 #ifndef numeric_cast
341 #ifdef __cplusplus
342 #ifdef HAVE_NUMERIC_CAST
343 #define numeric_cast(type,a) numeric_cast<type>(a)
344 #else
345 #define numeric_cast(type,a) static_cast<type>(a)
346 #endif
347 #else
348 #define numeric_cast(type,a) (type)(a)
349 #endif
350 #endif
351
352
353
354 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
355 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromShort PyInt_FromLong
357 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358 #define SWIG_PyObj_FromInt PyInt_FromLong
359 #define SWIG_PyObj_FromLong PyInt_FromLong
360 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
361 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
362 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
363 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
364
365
366 #include "wx/wxPython/wxPython.h"
367 #include "wx/wxPython/pyclasses.h"
368 #include "wx/wxPython/pyistream.h"
369
370
371 static const wxString wxPyEmptyString(wxEmptyString);
372
373
374
375 SWIGSTATIC(int)
376 SWIG_PyObj_AsInt(PyObject *obj)
377 {
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
380 }
381
382
383 SWIGSTATIC(PyObject*)
384 SWIG_PyObj_FromBool(bool value)
385 {
386 PyObject *obj = value ? Py_True : Py_False;
387 Py_INCREF(obj);
388 return obj;
389 }
390
391 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
392 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
393 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
394
395 SWIGSTATIC(long)
396 SWIG_PyObj_AsLong(PyObject * obj)
397 {
398 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
399 }
400
401
402 SWIGSTATIC(bool)
403 SWIG_PyObj_AsBool(PyObject *obj)
404 {
405 return PyObject_IsTrue(obj) ? true : false;
406 }
407
408
409 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
410 PyObject* o2;
411 PyObject* o3;
412
413 if (!target) {
414 target = o;
415 } else if (target == Py_None) {
416 Py_DECREF(Py_None);
417 target = o;
418 } else {
419 if (!PyTuple_Check(target)) {
420 o2 = target;
421 target = PyTuple_New(1);
422 PyTuple_SetItem(target, 0, o2);
423 }
424 o3 = PyTuple_New(1);
425 PyTuple_SetItem(o3, 0, o);
426
427 o2 = target;
428 target = PySequence_Concat(o2, o3);
429 Py_DECREF(o2);
430 Py_DECREF(o3);
431 }
432 return target;
433 }
434
435
436 long wxGetFreeMemory()
437 { wxPyRaiseNotImplemented(); return 0; }
438
439
440 SWIGSTATIC(PyObject* )
441 SWIG_PyObj_FromUnsignedLong(unsigned long value)
442 {
443 return (value > (unsigned long)(LONG_MAX)) ?
444 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
445 }
446
447
448 bool wxGetKeyState(wxKeyCode key)
449 { wxPyRaiseNotImplemented(); return False; }
450
451
452 void wxWakeUpMainThread() {}
453
454
455 bool wxThread_IsMain() {
456 #ifdef WXP_WITH_THREAD
457 return wxThread::IsMain();
458 #else
459 return True;
460 #endif
461 }
462
463
464 int wxCaret_GetBlinkTime() {
465 return wxCaret::GetBlinkTime();
466 }
467
468 void wxCaret_SetBlinkTime(int milliseconds) {
469 wxCaret::SetBlinkTime(milliseconds);
470 }
471
472
473 #include <wx/snglinst.h>
474
475
476 #ifdef __WXMSW__
477 #include <wx/msw/private.h>
478 #include <wx/dynload.h>
479 #endif
480
481
482
483 void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
484 {
485 #ifdef __WXMSW__
486
487 switch (method)
488 {
489 case 1:
490 // This one only partially works. Appears to be an undocumented
491 // "standard" convention that not all widgets adhear to. For
492 // example, for some widgets backgrounds or non-client areas may
493 // not be painted.
494 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
495 break;
496
497 case 2:
498 // This one works much better, except for on XP. On Win2k nearly
499 // all widgets and their children are captured correctly[**]. On
500 // XP with Themes activated most native widgets draw only
501 // partially, if at all. Without themes it works just like on
502 // Win2k.
503 //
504 // ** For example the radio buttons in a wxRadioBox are not its
505 // children by default, but you can capture it via the panel
506 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
507 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
508 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
509 PRF_ERASEBKGND | PRF_OWNED );
510 break;
511
512 case 3:
513 // This one is only defined in the latest SDK and is only
514 // available on XP. MSDN says it is similar to sending WM_PRINT
515 // so I expect that it will work similar to the above. Since it
516 // is avaialble only on XP, it can't be compiled like this and
517 // will have to be loaded dynamically.
518 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
519
520 // fall through
521
522 case 4:
523 // Use PrintWindow if available, or fallback to WM_PRINT
524 // otherwise. Unfortunately using PrintWindow is even worse than
525 // WM_PRINT. For most native widgets nothing is drawn to the dc
526 // at all, with or without Themes.
527 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
528 static bool s_triedToLoad = False;
529 static PrintWindow_t pfnPrintWindow = NULL;
530 if ( !s_triedToLoad )
531 {
532
533 s_triedToLoad = True;
534 wxDynamicLibrary dllUser32(_T("user32.dll"));
535 if ( dllUser32.IsLoaded() )
536 {
537 wxLogNull nolog; // Don't report errors here
538 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
539 }
540 }
541 if (pfnPrintWindow)
542 {
543 printf("Using PrintWindow\n");
544 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
545 }
546 else
547 {
548 printf("Using WM_PRINT\n");
549 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
550 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN | PRF_ERASEBKGND | PRF_OWNED );
551 }
552 }
553 #endif
554 }
555
556
557
558 #include <wx/tipdlg.h>
559
560
561 class wxPyTipProvider : public wxTipProvider {
562 public:
563 wxPyTipProvider(size_t currentTip)
564 : wxTipProvider(currentTip) {}
565
566 DEC_PYCALLBACK_STRING__pure(GetTip);
567 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
568 PYPRIVATE;
569 };
570
571 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
572 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
573
574
575 IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
576
577
578 SWIGSTATIC(unsigned int)
579 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
580 {
581 return numeric_cast(unsigned int,
582 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
583 }
584
585 wxString Log_TimeStamp(){
586 wxString msg;
587 wxLog::TimeStamp(&msg);
588 return msg;
589 }
590 void wxLog_Destroy(wxLog *self){ delete self; }
591
592 // A wxLog class that can be derived from in wxPython
593 class wxPyLog : public wxLog {
594 public:
595 wxPyLog() : wxLog() {}
596
597 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
598 bool found;
599 wxPyBeginBlockThreads();
600 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
601 PyObject* s = wx2PyString(szString);
602 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
603 Py_DECREF(s);
604 }
605 wxPyEndBlockThreads();
606 if (! found)
607 wxLog::DoLog(level, szString, t);
608 }
609
610 virtual void DoLogString(const wxChar *szString, time_t t) {
611 bool found;
612 wxPyBeginBlockThreads();
613 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
614 PyObject* s = wx2PyString(szString);
615 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
616 Py_DECREF(s);
617 }
618 wxPyEndBlockThreads();
619 if (! found)
620 wxLog::DoLogString(szString, t);
621 }
622
623 PYPRIVATE;
624 };
625
626
627
628
629 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
630
631
632 #include <wx/joystick.h>
633
634
635 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
636 // A C++ stub class for wxJoystick for platforms that don't have it.
637 class wxJoystick : public wxObject {
638 public:
639 wxJoystick(int joystick = wxJOYSTICK1) {
640 wxPyBeginBlockThreads();
641 PyErr_SetString(PyExc_NotImplementedError,
642 "wxJoystick is not available on this platform.");
643 wxPyEndBlockThreads();
644 }
645 wxPoint GetPosition() { return wxPoint(-1,-1); }
646 int GetZPosition() { return -1; }
647 int GetButtonState() { return -1; }
648 int GetPOVPosition() { return -1; }
649 int GetPOVCTSPosition() { return -1; }
650 int GetRudderPosition() { return -1; }
651 int GetUPosition() { return -1; }
652 int GetVPosition() { return -1; }
653 int GetMovementThreshold() { return -1; }
654 void SetMovementThreshold(int threshold) {}
655
656 bool IsOk(void) { return False; }
657 int GetNumberJoysticks() { return -1; }
658 int GetManufacturerId() { return -1; }
659 int GetProductId() { return -1; }
660 wxString GetProductName() { return ""; }
661 int GetXMin() { return -1; }
662 int GetYMin() { return -1; }
663 int GetZMin() { return -1; }
664 int GetXMax() { return -1; }
665 int GetYMax() { return -1; }
666 int GetZMax() { return -1; }
667 int GetNumberButtons() { return -1; }
668 int GetNumberAxes() { return -1; }
669 int GetMaxButtons() { return -1; }
670 int GetMaxAxes() { return -1; }
671 int GetPollingMin() { return -1; }
672 int GetPollingMax() { return -1; }
673 int GetRudderMin() { return -1; }
674 int GetRudderMax() { return -1; }
675 int GetUMin() { return -1; }
676 int GetUMax() { return -1; }
677 int GetVMin() { return -1; }
678 int GetVMax() { return -1; }
679
680 bool HasRudder() { return False; }
681 bool HasZ() { return False; }
682 bool HasU() { return False; }
683 bool HasV() { return False; }
684 bool HasPOV() { return False; }
685 bool HasPOV4Dir() { return False; }
686 bool HasPOVCTS() { return False; }
687
688 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return False; }
689 bool ReleaseCapture() { return False; }
690 };
691 #endif
692
693
694 #include <wx/wave.h>
695
696
697 #if !wxUSE_WAVE
698 // A C++ stub class for wxWave for platforms that don't have it.
699 class wxWave : public wxObject
700 {
701 public:
702 wxWave(const wxString& fileName, bool isResource = False) {
703 wxPyBeginBlockThreads();
704 PyErr_SetString(PyExc_NotImplementedError,
705 "wxWave is not available on this platform.");
706 wxPyEndBlockThreads();
707 }
708 wxWave(int size, const wxByte* data) {
709 wxPyBeginBlockThreads();
710 PyErr_SetString(PyExc_NotImplementedError,
711 "wxWave is not available on this platform.");
712 wxPyEndBlockThreads();
713 }
714
715 ~wxWave() {}
716
717 bool IsOk() const { return False; }
718 bool Play(bool async = True, bool looped = False) const { return False; }
719 };
720
721 #endif
722
723 wxWave *new_wxWave(wxString const &data){
724 return new wxWave(data.Len(), (wxByte*)data.c_str());
725 }
726
727 #include <wx/mimetype.h>
728
729 PyObject *wxFileType_GetMimeType(wxFileType *self){
730 wxString str;
731 if (self->GetMimeType(&str))
732 return wx2PyString(str);
733 else
734 RETURN_NONE();
735 }
736 PyObject *wxFileType_GetMimeTypes(wxFileType *self){
737 wxArrayString arr;
738 if (self->GetMimeTypes(arr))
739 return wxArrayString2PyList_helper(arr);
740 else
741 RETURN_NONE();
742 }
743 PyObject *wxFileType_GetExtensions(wxFileType *self){
744 wxArrayString arr;
745 if (self->GetExtensions(arr))
746 return wxArrayString2PyList_helper(arr);
747 else
748 RETURN_NONE();
749 }
750 wxIcon *wxFileType_GetIcon(wxFileType *self){
751 wxIconLocation loc;
752 if (self->GetIcon(&loc))
753 return new wxIcon(loc);
754 else
755 return NULL;
756 }
757 PyObject *wxFileType_GetIconInfo(wxFileType *self){
758 wxIconLocation loc;
759 if (self->GetIcon(&loc)) {
760 wxString iconFile = loc.GetFileName();
761 int iconIndex = -1;
762
763
764
765 // Make a tuple and put the values in it
766 wxPyBeginBlockThreads();
767 PyObject* tuple = PyTuple_New(3);
768 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
769 wxT("wxIcon"), True));
770 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
771 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
772 wxPyEndBlockThreads();
773 return tuple;
774 }
775 else
776 RETURN_NONE();
777 }
778 PyObject *wxFileType_GetDescription(wxFileType *self){
779 wxString str;
780 if (self->GetDescription(&str))
781 return wx2PyString(str);
782 else
783 RETURN_NONE();
784 }
785 PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
786 wxString str;
787 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
788 return wx2PyString(str);
789 else
790 RETURN_NONE();
791 }
792 PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype){
793 wxString str;
794 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
795 return wx2PyString(str);
796 else
797 RETURN_NONE();
798 }
799 PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype){
800 wxArrayString verbs;
801 wxArrayString commands;
802 if (self->GetAllCommands(&verbs, &commands,
803 wxFileType::MessageParameters(filename, mimetype))) {
804 wxPyBeginBlockThreads();
805 PyObject* tuple = PyTuple_New(2);
806 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
807 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
808 wxPyEndBlockThreads();
809 return tuple;
810 }
811 else
812 RETURN_NONE();
813 }
814 wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype){
815 return wxFileType::ExpandCommand(command,
816 wxFileType::MessageParameters(filename, mimetype));
817 }
818 PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
819 wxArrayString arr;
820 self->EnumAllFileTypes(arr);
821 return wxArrayString2PyList_helper(arr);
822 }
823
824 #include <wx/artprov.h>
825
826 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
827 static const wxString wxPyART_MENU(wxART_MENU);
828 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
829 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
830 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
831 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
832 static const wxString wxPyART_OTHER(wxART_OTHER);
833 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
834 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
835 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
836 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
837 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
838 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
839 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
840 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
841 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
842 static const wxString wxPyART_GO_UP(wxART_GO_UP);
843 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
844 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
845 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
846 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
847 static const wxString wxPyART_PRINT(wxART_PRINT);
848 static const wxString wxPyART_HELP(wxART_HELP);
849 static const wxString wxPyART_TIP(wxART_TIP);
850 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
851 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
852 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
853 static const wxString wxPyART_FOLDER(wxART_FOLDER);
854 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
855 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
856 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
857 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
858 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
859 static const wxString wxPyART_ERROR(wxART_ERROR);
860 static const wxString wxPyART_QUESTION(wxART_QUESTION);
861 static const wxString wxPyART_WARNING(wxART_WARNING);
862 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
863 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
864 // Python aware wxArtProvider
865 class wxPyArtProvider : public wxArtProvider {
866 public:
867
868 virtual wxBitmap CreateBitmap(const wxArtID& id,
869 const wxArtClient& client,
870 const wxSize& size) {
871 wxBitmap rval = wxNullBitmap;
872 wxPyBeginBlockThreads();
873 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
874 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
875 PyObject* ro;
876 wxBitmap* ptr;
877 PyObject* s1, *s2;
878 s1 = wx2PyString(id);
879 s2 = wx2PyString(client);
880 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
881 Py_DECREF(so);
882 Py_DECREF(s1);
883 Py_DECREF(s2);
884 if (ro) {
885 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
886 rval = *ptr;
887 Py_DECREF(ro);
888 }
889 }
890 wxPyEndBlockThreads();
891 return rval;
892 }
893
894 PYPRIVATE;
895 };
896
897 void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
898
899
900
901 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
902 PyObject* ret = PyTuple_New(3);
903 if (ret) {
904 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
905 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
906 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
907 }
908 return ret;
909 }
910
911 PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
912 bool cont;
913 long index = 0;
914 wxString value;
915
916 cont = self->GetFirstGroup(value, index);
917 return __EnumerationHelper(cont, value, index);
918 }
919 PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
920 bool cont;
921 wxString value;
922
923 cont = self->GetNextGroup(value, index);
924 return __EnumerationHelper(cont, value, index);
925 }
926 PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
927 bool cont;
928 long index = 0;
929 wxString value;
930
931 cont = self->GetFirstEntry(value, index);
932 return __EnumerationHelper(cont, value, index);
933 }
934 PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
935 bool cont;
936 wxString value;
937
938 cont = self->GetNextEntry(value, index);
939 return __EnumerationHelper(cont, value, index);
940 }
941 long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal){
942 long rv;
943 self->Read(key, &rv, defaultVal);
944 return rv;
945 }
946
947 SWIGSTATIC(double)
948 SWIG_PyObj_AsDouble(PyObject *obj)
949 {
950 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
951 #if HAVE_LONG_LONG
952 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
953 #else
954 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
955 #endif
956 if (PyErr_Occurred()) {
957 PyErr_Clear();
958 PyErr_SetString(PyExc_TypeError, "a double is expected");
959 }
960 }
961
962 double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal){
963 double rv;
964 self->Read(key, &rv, defaultVal);
965 return rv;
966 }
967 bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal){
968 bool rv;
969 self->Read(key, &rv, defaultVal);
970 return rv;
971 }
972
973 #include <wx/datetime.h>
974
975
976 static const wxString wxPyDateFormatStr(wxT("%c"));
977 static const wxString wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
978
979 #define LOCAL_TZ wxDateTime::Local
980
981
982 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
983
984 wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
985 wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
986 wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
987 wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
988 wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
989 bool wxDateTime___lt__(wxDateTime *self,wxDateTime const &other){ return *self < other; }
990 bool wxDateTime___le__(wxDateTime *self,wxDateTime const &other){ return *self <= other; }
991 bool wxDateTime___gt__(wxDateTime *self,wxDateTime const &other){ return *self > other; }
992 bool wxDateTime___ge__(wxDateTime *self,wxDateTime const &other){ return *self >= other; }
993 bool wxDateTime___eq__(wxDateTime *self,wxDateTime const &other){ return *self == other; }
994 bool wxDateTime___ne__(wxDateTime *self,wxDateTime const &other){ return *self != other; }
995 int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
996 const wxChar* rv;
997 const wxChar* _date = date;
998 rv = self->ParseRfc822Date(_date);
999 if (rv == NULL) return -1;
1000 return rv - _date;
1001 }
1002 int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format,wxDateTime const &dateDef){
1003 const wxChar* rv;
1004 const wxChar* _date = date;
1005 rv = self->ParseFormat(_date, format, dateDef);
1006 if (rv == NULL) return -1;
1007 return rv - _date;
1008 }
1009 int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
1010 const wxChar* rv;
1011 const wxChar* _datetime = datetime;
1012 rv = self->ParseDateTime(_datetime);
1013 if (rv == NULL) return -1;
1014 return rv - _datetime;
1015 }
1016 int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
1017 const wxChar* rv;
1018 const wxChar* _date = date;
1019 rv = self->ParseDate(_date);
1020 if (rv == NULL) return -1;
1021 return rv - _date;
1022 }
1023 int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
1024 const wxChar* rv;
1025 const wxChar* _time = time;
1026 rv = self->ParseTime(_time);
1027 if (rv == NULL) return -1;
1028 return rv - _time;
1029 }
1030 wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
1031 wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
1032 wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
1033 wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
1034 bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self < other; }
1035 bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const &other){ return *self <= other; }
1036 bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const &other){ return *self > other; }
1037 bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const &other){ return *self >= other; }
1038 bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const &other){ return *self == other; }
1039 bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const &other){ return *self != other; }
1040 wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
1041 wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
1042 wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
1043 wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
1044 bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const &other){ return *self == other; }
1045 bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const &other){ return *self != other; }
1046
1047 #include <wx/dataobj.h>
1048
1049 // Create a new class for wxPython to use
1050 class wxPyDataObjectSimple : public wxDataObjectSimple {
1051 public:
1052 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
1053 : wxDataObjectSimple(format) {}
1054
1055 DEC_PYCALLBACK_SIZET__const(GetDataSize);
1056 bool GetDataHere(void *buf) const;
1057 bool SetData(size_t len, const void *buf) const;
1058 PYPRIVATE;
1059 };
1060
1061 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
1062
1063 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
1064 // We need to get the data for this object and write it to buf. I think
1065 // the best way to do this for wxPython is to have the Python method
1066 // return either a string or None and then act appropriately with the
1067 // C++ version.
1068
1069 bool rval = False;
1070 wxPyBeginBlockThreads();
1071 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
1072 PyObject* ro;
1073 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1074 if (ro) {
1075 rval = (ro != Py_None && PyString_Check(ro));
1076 if (rval)
1077 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
1078 Py_DECREF(ro);
1079 }
1080 }
1081 wxPyEndBlockThreads();
1082 return rval;
1083 }
1084
1085 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
1086 // For this one we simply need to make a string from buf and len
1087 // and send it to the Python method.
1088 bool rval = False;
1089 wxPyBeginBlockThreads();
1090 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
1091 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
1092 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
1093 Py_DECREF(data);
1094 }
1095 wxPyEndBlockThreads();
1096 return rval;
1097 }
1098
1099 // Create a new class for wxPython to use
1100 class wxPyTextDataObject : public wxTextDataObject {
1101 public:
1102 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
1103 : wxTextDataObject(text) {}
1104
1105 DEC_PYCALLBACK_SIZET__const(GetTextLength);
1106 DEC_PYCALLBACK_STRING__const(GetText);
1107 DEC_PYCALLBACK__STRING(SetText);
1108 PYPRIVATE;
1109 };
1110
1111 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
1112 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
1113 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
1114
1115
1116 // Create a new class for wxPython to use
1117 class wxPyBitmapDataObject : public wxBitmapDataObject {
1118 public:
1119 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
1120 : wxBitmapDataObject(bitmap) {}
1121
1122 wxBitmap GetBitmap() const;
1123 void SetBitmap(const wxBitmap& bitmap);
1124 PYPRIVATE;
1125 };
1126
1127 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
1128 wxBitmap* rval = &wxNullBitmap;
1129 wxPyBeginBlockThreads();
1130 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
1131 PyObject* ro;
1132 wxBitmap* ptr;
1133 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
1134 if (ro) {
1135 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
1136 rval = ptr;
1137 Py_DECREF(ro);
1138 }
1139 }
1140 wxPyEndBlockThreads();
1141 return *rval;
1142 }
1143
1144 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
1145 wxPyBeginBlockThreads();
1146 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
1147 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), False);
1148 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
1149 Py_DECREF(bo);
1150 }
1151 wxPyEndBlockThreads();
1152 }
1153
1154 void wxCustomDataObject_TakeData(wxCustomDataObject *self,PyObject *data){
1155 if (PyString_Check(data)) {
1156 // for Python we just call SetData here since we always need it to make a copy.
1157 self->SetData(PyString_Size(data), PyString_AsString(data));
1158 }
1159 else {
1160 // raise a TypeError if not a string
1161 PyErr_SetString(PyExc_TypeError, "String expected.");
1162 }
1163 }
1164 bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
1165 if (PyString_Check(data)) {
1166 return self->SetData(PyString_Size(data), PyString_AsString(data));
1167 }
1168 else {
1169 // raise a TypeError if not a string
1170 PyErr_SetString(PyExc_TypeError, "String expected.");
1171 return False;
1172 }
1173 }
1174 PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
1175 return PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
1176 }
1177
1178 class wxMetafileDataObject : public wxDataObjectSimple
1179 {
1180 public:
1181 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1182 };
1183
1184
1185 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
1186
1187
1188 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
1189 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
1190 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
1191 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
1192 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
1193
1194
1195 class wxPyTextDropTarget : public wxTextDropTarget {
1196 public:
1197 wxPyTextDropTarget() {}
1198
1199 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
1200
1201 DEC_PYCALLBACK__(OnLeave);
1202 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1203 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1204 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1205 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1206
1207 PYPRIVATE;
1208 };
1209
1210 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
1211 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
1212 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
1213 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
1214 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
1215 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
1216
1217
1218
1219 class wxPyFileDropTarget : public wxFileDropTarget {
1220 public:
1221 wxPyFileDropTarget() {}
1222
1223 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
1224
1225 DEC_PYCALLBACK__(OnLeave);
1226 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
1227 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
1228 DEC_PYCALLBACK_DR_2WXCDR(OnData);
1229 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
1230
1231 PYPRIVATE;
1232 };
1233
1234 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
1235 const wxArrayString& filenames) {
1236 bool rval = False;
1237 wxPyBeginBlockThreads();
1238 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
1239 PyObject* list = wxArrayString2PyList_helper(filenames);
1240 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
1241 Py_DECREF(list);
1242 }
1243 wxPyEndBlockThreads();
1244 return rval;
1245 }
1246
1247
1248
1249 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
1250 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
1251 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
1252 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
1253 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
1254
1255
1256
1257
1258 bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
1259 #ifdef __cplusplus
1260 extern "C" {
1261 #endif
1262 static PyObject *_wrap_SystemSettings_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1263 PyObject *resultobj;
1264 int arg1 ;
1265 wxColour result;
1266 PyObject * obj0 = 0 ;
1267 char *kwnames[] = {
1268 (char *) "index", NULL
1269 };
1270
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
1272 {
1273 arg1 = (wxSystemColour) SWIG_PyObj_AsInt(obj0);
1274 if (PyErr_Occurred()) SWIG_fail;
1275 }
1276 {
1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
1278 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
1279
1280 wxPyEndAllowThreads(__tstate);
1281 if (PyErr_Occurred()) SWIG_fail;
1282 }
1283 {
1284 wxColour * resultptr;
1285 resultptr = new wxColour((wxColour &) result);
1286 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
1287 }
1288 return resultobj;
1289 fail:
1290 return NULL;
1291 }
1292
1293
1294 static PyObject *_wrap_SystemSettings_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 int arg1 ;
1297 wxFont result;
1298 PyObject * obj0 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "index", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
1304 {
1305 arg1 = (wxSystemFont) SWIG_PyObj_AsInt(obj0);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 wxFont * resultptr;
1317 resultptr = new wxFont((wxFont &) result);
1318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
1319 }
1320 return resultobj;
1321 fail:
1322 return NULL;
1323 }
1324
1325
1326 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject *resultobj;
1328 int arg1 ;
1329 int result;
1330 PyObject * obj0 = 0 ;
1331 char *kwnames[] = {
1332 (char *) "index", NULL
1333 };
1334
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetMetric",kwnames,&obj0)) goto fail;
1336 {
1337 arg1 = (wxSystemMetric) SWIG_PyObj_AsInt(obj0);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 {
1341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1342 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1);
1343
1344 wxPyEndAllowThreads(__tstate);
1345 if (PyErr_Occurred()) SWIG_fail;
1346 }
1347 resultobj = SWIG_PyObj_FromInt((int)result);
1348 return resultobj;
1349 fail:
1350 return NULL;
1351 }
1352
1353
1354 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *self, PyObject *args, PyObject *kwargs) {
1355 PyObject *resultobj;
1356 int arg1 ;
1357 bool result;
1358 PyObject * obj0 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "index", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
1364 {
1365 arg1 = (wxSystemFeature) SWIG_PyObj_AsInt(obj0);
1366 if (PyErr_Occurred()) SWIG_fail;
1367 }
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
1370 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 resultobj = SWIG_PyObj_FromBool((bool)result);
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 int result;
1385 char *kwnames[] = {
1386 NULL
1387 };
1388
1389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 result = (int)wxSystemSettings::GetScreenType();
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) SWIG_fail;
1396 }
1397 resultobj = SWIG_PyObj_FromInt((int)result);
1398 return resultobj;
1399 fail:
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 int arg1 ;
1407 PyObject * obj0 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "screen", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
1413 {
1414 arg1 = (wxSystemScreenType) SWIG_PyObj_AsInt(obj0);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 {
1418 PyThreadState* __tstate = wxPyBeginAllowThreads();
1419 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
1420
1421 wxPyEndAllowThreads(__tstate);
1422 if (PyErr_Occurred()) SWIG_fail;
1423 }
1424 Py_INCREF(Py_None); resultobj = Py_None;
1425 return resultobj;
1426 fail:
1427 return NULL;
1428 }
1429
1430
1431 static PyObject * SystemSettings_swigregister(PyObject *self, PyObject *args) {
1432 PyObject *obj;
1433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1434 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
1435 Py_INCREF(obj);
1436 return Py_BuildValue((char *)"");
1437 }
1438 static PyObject *_wrap_new_SystemOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject *resultobj;
1440 wxSystemOptions *result;
1441 char *kwnames[] = {
1442 NULL
1443 };
1444
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 result = (wxSystemOptions *)new wxSystemOptions();
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSystemOptions, 1);
1454 return resultobj;
1455 fail:
1456 return NULL;
1457 }
1458
1459
1460 static PyObject *_wrap_SystemOptions_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxString *arg1 = 0 ;
1463 wxString *arg2 = 0 ;
1464 bool temp1 = False ;
1465 bool temp2 = False ;
1466 PyObject * obj0 = 0 ;
1467 PyObject * obj1 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "name",(char *) "value", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
1473 {
1474 arg1 = wxString_in_helper(obj0);
1475 if (arg1 == NULL) SWIG_fail;
1476 temp1 = True;
1477 }
1478 {
1479 arg2 = wxString_in_helper(obj1);
1480 if (arg2 == NULL) SWIG_fail;
1481 temp2 = True;
1482 }
1483 {
1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
1485 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
1486
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) SWIG_fail;
1489 }
1490 Py_INCREF(Py_None); resultobj = Py_None;
1491 {
1492 if (temp1)
1493 delete arg1;
1494 }
1495 {
1496 if (temp2)
1497 delete arg2;
1498 }
1499 return resultobj;
1500 fail:
1501 {
1502 if (temp1)
1503 delete arg1;
1504 }
1505 {
1506 if (temp2)
1507 delete arg2;
1508 }
1509 return NULL;
1510 }
1511
1512
1513 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1514 PyObject *resultobj;
1515 wxString *arg1 = 0 ;
1516 int arg2 ;
1517 bool temp1 = False ;
1518 PyObject * obj0 = 0 ;
1519 PyObject * obj1 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "name",(char *) "value", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
1525 {
1526 arg1 = wxString_in_helper(obj0);
1527 if (arg1 == NULL) SWIG_fail;
1528 temp1 = True;
1529 }
1530 {
1531 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 {
1543 if (temp1)
1544 delete arg1;
1545 }
1546 return resultobj;
1547 fail:
1548 {
1549 if (temp1)
1550 delete arg1;
1551 }
1552 return NULL;
1553 }
1554
1555
1556 static PyObject *_wrap_SystemOptions_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject *resultobj;
1558 wxString *arg1 = 0 ;
1559 wxString result;
1560 bool temp1 = False ;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "name", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
1567 {
1568 arg1 = wxString_in_helper(obj0);
1569 if (arg1 == NULL) SWIG_fail;
1570 temp1 = True;
1571 }
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = wxSystemOptions::GetOption((wxString const &)*arg1);
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 #if wxUSE_UNICODE
1581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1582 #else
1583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1584 #endif
1585 }
1586 {
1587 if (temp1)
1588 delete arg1;
1589 }
1590 return resultobj;
1591 fail:
1592 {
1593 if (temp1)
1594 delete arg1;
1595 }
1596 return NULL;
1597 }
1598
1599
1600 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
1601 PyObject *resultobj;
1602 wxString *arg1 = 0 ;
1603 int result;
1604 bool temp1 = False ;
1605 PyObject * obj0 = 0 ;
1606 char *kwnames[] = {
1607 (char *) "name", NULL
1608 };
1609
1610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
1611 {
1612 arg1 = wxString_in_helper(obj0);
1613 if (arg1 == NULL) SWIG_fail;
1614 temp1 = True;
1615 }
1616 {
1617 PyThreadState* __tstate = wxPyBeginAllowThreads();
1618 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
1619
1620 wxPyEndAllowThreads(__tstate);
1621 if (PyErr_Occurred()) SWIG_fail;
1622 }
1623 resultobj = SWIG_PyObj_FromInt((int)result);
1624 {
1625 if (temp1)
1626 delete arg1;
1627 }
1628 return resultobj;
1629 fail:
1630 {
1631 if (temp1)
1632 delete arg1;
1633 }
1634 return NULL;
1635 }
1636
1637
1638 static PyObject *_wrap_SystemOptions_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject *resultobj;
1640 wxString *arg1 = 0 ;
1641 bool result;
1642 bool temp1 = False ;
1643 PyObject * obj0 = 0 ;
1644 char *kwnames[] = {
1645 (char *) "name", NULL
1646 };
1647
1648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
1649 {
1650 arg1 = wxString_in_helper(obj0);
1651 if (arg1 == NULL) SWIG_fail;
1652 temp1 = True;
1653 }
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = SWIG_PyObj_FromBool((bool)result);
1662 {
1663 if (temp1)
1664 delete arg1;
1665 }
1666 return resultobj;
1667 fail:
1668 {
1669 if (temp1)
1670 delete arg1;
1671 }
1672 return NULL;
1673 }
1674
1675
1676 static PyObject * SystemOptions_swigregister(PyObject *self, PyObject *args) {
1677 PyObject *obj;
1678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1679 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
1680 Py_INCREF(obj);
1681 return Py_BuildValue((char *)"");
1682 }
1683 static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
1684 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
1685 return 1;
1686 }
1687
1688
1689 static PyObject *_wrap_FileSelectorPromptStr_get() {
1690 PyObject *pyobj;
1691
1692 {
1693 #if wxUSE_UNICODE
1694 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1695 #else
1696 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
1697 #endif
1698 }
1699 return pyobj;
1700 }
1701
1702
1703 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
1704 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
1705 return 1;
1706 }
1707
1708
1709 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
1710 PyObject *pyobj;
1711
1712 {
1713 #if wxUSE_UNICODE
1714 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1715 #else
1716 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
1717 #endif
1718 }
1719 return pyobj;
1720 }
1721
1722
1723 static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
1724 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
1725 return 1;
1726 }
1727
1728
1729 static PyObject *_wrap_DirSelectorPromptStr_get() {
1730 PyObject *pyobj;
1731
1732 {
1733 #if wxUSE_UNICODE
1734 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1735 #else
1736 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
1737 #endif
1738 }
1739 return pyobj;
1740 }
1741
1742
1743 static PyObject *_wrap_NewId(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject *resultobj;
1745 long result;
1746 char *kwnames[] = {
1747 NULL
1748 };
1749
1750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 result = (long)wxNewId();
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 resultobj = SWIG_PyObj_FromLong((long)result);
1759 return resultobj;
1760 fail:
1761 return NULL;
1762 }
1763
1764
1765 static PyObject *_wrap_RegisterId(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 long arg1 ;
1768 PyObject * obj0 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "id", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
1774 {
1775 arg1 = (long) SWIG_PyObj_AsLong(obj0);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 wxRegisterId(arg1);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 Py_INCREF(Py_None); resultobj = Py_None;
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_GetCurrentId(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 long result;
1795 char *kwnames[] = {
1796 NULL
1797 };
1798
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 result = (long)wxGetCurrentId();
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 resultobj = SWIG_PyObj_FromLong((long)result);
1808 return resultobj;
1809 fail:
1810 return NULL;
1811 }
1812
1813
1814 static PyObject *_wrap_Bell(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 char *kwnames[] = {
1817 NULL
1818 };
1819
1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 wxBell();
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 Py_INCREF(Py_None); resultobj = Py_None;
1829 return resultobj;
1830 fail:
1831 return NULL;
1832 }
1833
1834
1835 static PyObject *_wrap_EndBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
1836 PyObject *resultobj;
1837 char *kwnames[] = {
1838 NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 wxEndBusyCursor();
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 Py_INCREF(Py_None); resultobj = Py_None;
1850 return resultobj;
1851 fail:
1852 return NULL;
1853 }
1854
1855
1856 static PyObject *_wrap_GetElapsedTime(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 bool arg1 = (bool) True ;
1859 long result;
1860 PyObject * obj0 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "resetTimer", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
1866 if (obj0) {
1867 {
1868 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
1869 if (PyErr_Occurred()) SWIG_fail;
1870 }
1871 }
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 result = (long)wxGetElapsedTime(arg1);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 resultobj = SWIG_PyObj_FromLong((long)result);
1880 return resultobj;
1881 fail:
1882 return NULL;
1883 }
1884
1885
1886 static PyObject *_wrap_GetMousePosition(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject *resultobj;
1888 int *arg1 = (int *) 0 ;
1889 int *arg2 = (int *) 0 ;
1890 int temp1 ;
1891 int temp2 ;
1892 char *kwnames[] = {
1893 NULL
1894 };
1895
1896 arg1 = &temp1;
1897 arg2 = &temp2;
1898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
1899 {
1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
1901 wxGetMousePosition(arg1,arg2);
1902
1903 wxPyEndAllowThreads(__tstate);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
1906 Py_INCREF(Py_None); resultobj = Py_None;
1907 {
1908 PyObject *o = PyInt_FromLong((long) (*arg1));
1909 resultobj = t_output_helper(resultobj,o);
1910 }
1911 {
1912 PyObject *o = PyInt_FromLong((long) (*arg2));
1913 resultobj = t_output_helper(resultobj,o);
1914 }
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_IsBusy(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 bool result;
1924 char *kwnames[] = {
1925 NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
1929 {
1930 PyThreadState* __tstate = wxPyBeginAllowThreads();
1931 result = (bool)wxIsBusy();
1932
1933 wxPyEndAllowThreads(__tstate);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 }
1936 resultobj = SWIG_PyObj_FromBool((bool)result);
1937 return resultobj;
1938 fail:
1939 return NULL;
1940 }
1941
1942
1943 static PyObject *_wrap_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
1944 PyObject *resultobj;
1945 wxString result;
1946 char *kwnames[] = {
1947 NULL
1948 };
1949
1950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = wxNow();
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 {
1959 #if wxUSE_UNICODE
1960 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1961 #else
1962 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1963 #endif
1964 }
1965 return resultobj;
1966 fail:
1967 return NULL;
1968 }
1969
1970
1971 static PyObject *_wrap_Shell(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject *resultobj;
1973 wxString const &arg1_defvalue = wxPyEmptyString ;
1974 wxString *arg1 = (wxString *) &arg1_defvalue ;
1975 bool result;
1976 bool temp1 = False ;
1977 PyObject * obj0 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "command", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
1983 if (obj0) {
1984 {
1985 arg1 = wxString_in_helper(obj0);
1986 if (arg1 == NULL) SWIG_fail;
1987 temp1 = True;
1988 }
1989 }
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 result = (bool)wxShell((wxString const &)*arg1);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 resultobj = SWIG_PyObj_FromBool((bool)result);
1998 {
1999 if (temp1)
2000 delete arg1;
2001 }
2002 return resultobj;
2003 fail:
2004 {
2005 if (temp1)
2006 delete arg1;
2007 }
2008 return NULL;
2009 }
2010
2011
2012 static PyObject *_wrap_StartTimer(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 char *kwnames[] = {
2015 NULL
2016 };
2017
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
2019 {
2020 PyThreadState* __tstate = wxPyBeginAllowThreads();
2021 wxStartTimer();
2022
2023 wxPyEndAllowThreads(__tstate);
2024 if (PyErr_Occurred()) SWIG_fail;
2025 }
2026 Py_INCREF(Py_None); resultobj = Py_None;
2027 return resultobj;
2028 fail:
2029 return NULL;
2030 }
2031
2032
2033 static PyObject *_wrap_GetOsVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
2034 PyObject *resultobj;
2035 int *arg1 = (int *) 0 ;
2036 int *arg2 = (int *) 0 ;
2037 int result;
2038 int temp1 ;
2039 int temp2 ;
2040 char *kwnames[] = {
2041 NULL
2042 };
2043
2044 arg1 = &temp1;
2045 arg2 = &temp2;
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = (int)wxGetOsVersion(arg1,arg2);
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 resultobj = SWIG_PyObj_FromInt((int)result);
2055 {
2056 PyObject *o = PyInt_FromLong((long) (*arg1));
2057 resultobj = t_output_helper(resultobj,o);
2058 }
2059 {
2060 PyObject *o = PyInt_FromLong((long) (*arg2));
2061 resultobj = t_output_helper(resultobj,o);
2062 }
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_GetOsDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxString result;
2072 char *kwnames[] = {
2073 NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
2077 {
2078 PyThreadState* __tstate = wxPyBeginAllowThreads();
2079 result = wxGetOsDescription();
2080
2081 wxPyEndAllowThreads(__tstate);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 {
2085 #if wxUSE_UNICODE
2086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2087 #else
2088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2089 #endif
2090 }
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject *_wrap_GetFreeMemory(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 long result;
2100 char *kwnames[] = {
2101 NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = (long)wxGetFreeMemory();
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 resultobj = SWIG_PyObj_FromLong((long)result);
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_Shutdown(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 int arg1 ;
2122 bool result;
2123 PyObject * obj0 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "wFlags", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
2129 {
2130 arg1 = (wxShutdownFlags) SWIG_PyObj_AsInt(obj0);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (bool)wxShutdown((wxShutdownFlags )arg1);
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = SWIG_PyObj_FromBool((bool)result);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_Sleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 int arg1 ;
2150 PyObject * obj0 = 0 ;
2151 char *kwnames[] = {
2152 (char *) "secs", NULL
2153 };
2154
2155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
2156 {
2157 arg1 = (int) SWIG_PyObj_AsInt(obj0);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 {
2161 PyThreadState* __tstate = wxPyBeginAllowThreads();
2162 wxSleep(arg1);
2163
2164 wxPyEndAllowThreads(__tstate);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 }
2167 Py_INCREF(Py_None); resultobj = Py_None;
2168 return resultobj;
2169 fail:
2170 return NULL;
2171 }
2172
2173
2174 static PyObject *_wrap_Usleep(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 unsigned long arg1 ;
2177 PyObject * obj0 = 0 ;
2178 char *kwnames[] = {
2179 (char *) "milliseconds", NULL
2180 };
2181
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Usleep",kwnames,&obj0)) goto fail;
2183 {
2184 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
2185 if (PyErr_Occurred()) SWIG_fail;
2186 }
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 wxUsleep(arg1);
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 }
2194 Py_INCREF(Py_None); resultobj = Py_None;
2195 return resultobj;
2196 fail:
2197 return NULL;
2198 }
2199
2200
2201 static PyObject *_wrap_EnableTopLevelWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject *resultobj;
2203 bool arg1 ;
2204 PyObject * obj0 = 0 ;
2205 char *kwnames[] = {
2206 (char *) "enable", NULL
2207 };
2208
2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
2210 {
2211 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 {
2215 PyThreadState* __tstate = wxPyBeginAllowThreads();
2216 wxEnableTopLevelWindows(arg1);
2217
2218 wxPyEndAllowThreads(__tstate);
2219 if (PyErr_Occurred()) SWIG_fail;
2220 }
2221 Py_INCREF(Py_None); resultobj = Py_None;
2222 return resultobj;
2223 fail:
2224 return NULL;
2225 }
2226
2227
2228 static PyObject *_wrap_StripMenuCodes(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxString *arg1 = 0 ;
2231 wxString result;
2232 bool temp1 = False ;
2233 PyObject * obj0 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "in", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
2239 {
2240 arg1 = wxString_in_helper(obj0);
2241 if (arg1 == NULL) SWIG_fail;
2242 temp1 = True;
2243 }
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 result = wxStripMenuCodes((wxString const &)*arg1);
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 {
2252 #if wxUSE_UNICODE
2253 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2254 #else
2255 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2256 #endif
2257 }
2258 {
2259 if (temp1)
2260 delete arg1;
2261 }
2262 return resultobj;
2263 fail:
2264 {
2265 if (temp1)
2266 delete arg1;
2267 }
2268 return NULL;
2269 }
2270
2271
2272 static PyObject *_wrap_GetEmailAddress(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject *resultobj;
2274 wxString result;
2275 char *kwnames[] = {
2276 NULL
2277 };
2278
2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = wxGetEmailAddress();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 {
2288 #if wxUSE_UNICODE
2289 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2290 #else
2291 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2292 #endif
2293 }
2294 return resultobj;
2295 fail:
2296 return NULL;
2297 }
2298
2299
2300 static PyObject *_wrap_GetHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject *resultobj;
2302 wxString result;
2303 char *kwnames[] = {
2304 NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = wxGetHostName();
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 {
2316 #if wxUSE_UNICODE
2317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2318 #else
2319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2320 #endif
2321 }
2322 return resultobj;
2323 fail:
2324 return NULL;
2325 }
2326
2327
2328 static PyObject *_wrap_GetFullHostName(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject *resultobj;
2330 wxString result;
2331 char *kwnames[] = {
2332 NULL
2333 };
2334
2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 result = wxGetFullHostName();
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 {
2344 #if wxUSE_UNICODE
2345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2346 #else
2347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2348 #endif
2349 }
2350 return resultobj;
2351 fail:
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_GetUserId(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxString result;
2359 char *kwnames[] = {
2360 NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 result = wxGetUserId();
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 {
2372 #if wxUSE_UNICODE
2373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2374 #else
2375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2376 #endif
2377 }
2378 return resultobj;
2379 fail:
2380 return NULL;
2381 }
2382
2383
2384 static PyObject *_wrap_GetUserName(PyObject *self, PyObject *args, PyObject *kwargs) {
2385 PyObject *resultobj;
2386 wxString result;
2387 char *kwnames[] = {
2388 NULL
2389 };
2390
2391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
2392 {
2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
2394 result = wxGetUserName();
2395
2396 wxPyEndAllowThreads(__tstate);
2397 if (PyErr_Occurred()) SWIG_fail;
2398 }
2399 {
2400 #if wxUSE_UNICODE
2401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2402 #else
2403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2404 #endif
2405 }
2406 return resultobj;
2407 fail:
2408 return NULL;
2409 }
2410
2411
2412 static PyObject *_wrap_GetHomeDir(PyObject *self, PyObject *args, PyObject *kwargs) {
2413 PyObject *resultobj;
2414 wxString result;
2415 char *kwnames[] = {
2416 NULL
2417 };
2418
2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = wxGetHomeDir();
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 {
2428 #if wxUSE_UNICODE
2429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2430 #else
2431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2432 #endif
2433 }
2434 return resultobj;
2435 fail:
2436 return NULL;
2437 }
2438
2439
2440 static PyObject *_wrap_GetUserHome(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject *resultobj;
2442 wxString const &arg1_defvalue = wxPyEmptyString ;
2443 wxString *arg1 = (wxString *) &arg1_defvalue ;
2444 wxString result;
2445 bool temp1 = False ;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "user", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
2452 if (obj0) {
2453 {
2454 arg1 = wxString_in_helper(obj0);
2455 if (arg1 == NULL) SWIG_fail;
2456 temp1 = True;
2457 }
2458 }
2459 {
2460 PyThreadState* __tstate = wxPyBeginAllowThreads();
2461 result = wxGetUserHome((wxString const &)*arg1);
2462
2463 wxPyEndAllowThreads(__tstate);
2464 if (PyErr_Occurred()) SWIG_fail;
2465 }
2466 {
2467 #if wxUSE_UNICODE
2468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2469 #else
2470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2471 #endif
2472 }
2473 {
2474 if (temp1)
2475 delete arg1;
2476 }
2477 return resultobj;
2478 fail:
2479 {
2480 if (temp1)
2481 delete arg1;
2482 }
2483 return NULL;
2484 }
2485
2486
2487 static PyObject *_wrap_GetProcessId(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 unsigned long result;
2490 char *kwnames[] = {
2491 NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 result = (unsigned long)wxGetProcessId();
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_Trap(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 char *kwnames[] = {
2512 NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 wxTrap();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_FileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
2533 wxString *arg1 = (wxString *) &arg1_defvalue ;
2534 wxString const &arg2_defvalue = wxPyEmptyString ;
2535 wxString *arg2 = (wxString *) &arg2_defvalue ;
2536 wxString const &arg3_defvalue = wxPyEmptyString ;
2537 wxString *arg3 = (wxString *) &arg3_defvalue ;
2538 wxString const &arg4_defvalue = wxPyEmptyString ;
2539 wxString *arg4 = (wxString *) &arg4_defvalue ;
2540 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
2541 wxString *arg5 = (wxString *) &arg5_defvalue ;
2542 int arg6 = (int) 0 ;
2543 wxWindow *arg7 = (wxWindow *) NULL ;
2544 int arg8 = (int) -1 ;
2545 int arg9 = (int) -1 ;
2546 wxString result;
2547 bool temp1 = False ;
2548 bool temp2 = False ;
2549 bool temp3 = False ;
2550 bool temp4 = False ;
2551 bool temp5 = False ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 PyObject * obj2 = 0 ;
2555 PyObject * obj3 = 0 ;
2556 PyObject * obj4 = 0 ;
2557 PyObject * obj5 = 0 ;
2558 PyObject * obj6 = 0 ;
2559 PyObject * obj7 = 0 ;
2560 PyObject * obj8 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2566 if (obj0) {
2567 {
2568 arg1 = wxString_in_helper(obj0);
2569 if (arg1 == NULL) SWIG_fail;
2570 temp1 = True;
2571 }
2572 }
2573 if (obj1) {
2574 {
2575 arg2 = wxString_in_helper(obj1);
2576 if (arg2 == NULL) SWIG_fail;
2577 temp2 = True;
2578 }
2579 }
2580 if (obj2) {
2581 {
2582 arg3 = wxString_in_helper(obj2);
2583 if (arg3 == NULL) SWIG_fail;
2584 temp3 = True;
2585 }
2586 }
2587 if (obj3) {
2588 {
2589 arg4 = wxString_in_helper(obj3);
2590 if (arg4 == NULL) SWIG_fail;
2591 temp4 = True;
2592 }
2593 }
2594 if (obj4) {
2595 {
2596 arg5 = wxString_in_helper(obj4);
2597 if (arg5 == NULL) SWIG_fail;
2598 temp5 = True;
2599 }
2600 }
2601 if (obj5) {
2602 {
2603 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 }
2607 if (obj6) {
2608 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2609 }
2610 if (obj7) {
2611 {
2612 arg8 = (int) SWIG_PyObj_AsInt(obj7);
2613 if (PyErr_Occurred()) SWIG_fail;
2614 }
2615 }
2616 if (obj8) {
2617 {
2618 arg9 = (int) SWIG_PyObj_AsInt(obj8);
2619 if (PyErr_Occurred()) SWIG_fail;
2620 }
2621 }
2622 {
2623 PyThreadState* __tstate = wxPyBeginAllowThreads();
2624 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
2625
2626 wxPyEndAllowThreads(__tstate);
2627 if (PyErr_Occurred()) SWIG_fail;
2628 }
2629 {
2630 #if wxUSE_UNICODE
2631 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2632 #else
2633 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2634 #endif
2635 }
2636 {
2637 if (temp1)
2638 delete arg1;
2639 }
2640 {
2641 if (temp2)
2642 delete arg2;
2643 }
2644 {
2645 if (temp3)
2646 delete arg3;
2647 }
2648 {
2649 if (temp4)
2650 delete arg4;
2651 }
2652 {
2653 if (temp5)
2654 delete arg5;
2655 }
2656 return resultobj;
2657 fail:
2658 {
2659 if (temp1)
2660 delete arg1;
2661 }
2662 {
2663 if (temp2)
2664 delete arg2;
2665 }
2666 {
2667 if (temp3)
2668 delete arg3;
2669 }
2670 {
2671 if (temp4)
2672 delete arg4;
2673 }
2674 {
2675 if (temp5)
2676 delete arg5;
2677 }
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_LoadFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxString *arg1 = 0 ;
2685 wxString *arg2 = 0 ;
2686 wxString const &arg3_defvalue = wxPyEmptyString ;
2687 wxString *arg3 = (wxString *) &arg3_defvalue ;
2688 wxWindow *arg4 = (wxWindow *) NULL ;
2689 wxString result;
2690 bool temp1 = False ;
2691 bool temp2 = False ;
2692 bool temp3 = False ;
2693 PyObject * obj0 = 0 ;
2694 PyObject * obj1 = 0 ;
2695 PyObject * obj2 = 0 ;
2696 PyObject * obj3 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2702 {
2703 arg1 = wxString_in_helper(obj0);
2704 if (arg1 == NULL) SWIG_fail;
2705 temp1 = True;
2706 }
2707 {
2708 arg2 = wxString_in_helper(obj1);
2709 if (arg2 == NULL) SWIG_fail;
2710 temp2 = True;
2711 }
2712 if (obj2) {
2713 {
2714 arg3 = wxString_in_helper(obj2);
2715 if (arg3 == NULL) SWIG_fail;
2716 temp3 = True;
2717 }
2718 }
2719 if (obj3) {
2720 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 }
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 {
2730 #if wxUSE_UNICODE
2731 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2732 #else
2733 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2734 #endif
2735 }
2736 {
2737 if (temp1)
2738 delete arg1;
2739 }
2740 {
2741 if (temp2)
2742 delete arg2;
2743 }
2744 {
2745 if (temp3)
2746 delete arg3;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp1)
2752 delete arg1;
2753 }
2754 {
2755 if (temp2)
2756 delete arg2;
2757 }
2758 {
2759 if (temp3)
2760 delete arg3;
2761 }
2762 return NULL;
2763 }
2764
2765
2766 static PyObject *_wrap_SaveFileSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxString *arg1 = 0 ;
2769 wxString *arg2 = 0 ;
2770 wxString const &arg3_defvalue = wxPyEmptyString ;
2771 wxString *arg3 = (wxString *) &arg3_defvalue ;
2772 wxWindow *arg4 = (wxWindow *) NULL ;
2773 wxString result;
2774 bool temp1 = False ;
2775 bool temp2 = False ;
2776 bool temp3 = False ;
2777 PyObject * obj0 = 0 ;
2778 PyObject * obj1 = 0 ;
2779 PyObject * obj2 = 0 ;
2780 PyObject * obj3 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2786 {
2787 arg1 = wxString_in_helper(obj0);
2788 if (arg1 == NULL) SWIG_fail;
2789 temp1 = True;
2790 }
2791 {
2792 arg2 = wxString_in_helper(obj1);
2793 if (arg2 == NULL) SWIG_fail;
2794 temp2 = True;
2795 }
2796 if (obj2) {
2797 {
2798 arg3 = wxString_in_helper(obj2);
2799 if (arg3 == NULL) SWIG_fail;
2800 temp3 = True;
2801 }
2802 }
2803 if (obj3) {
2804 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 }
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 {
2814 #if wxUSE_UNICODE
2815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2816 #else
2817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2818 #endif
2819 }
2820 {
2821 if (temp1)
2822 delete arg1;
2823 }
2824 {
2825 if (temp2)
2826 delete arg2;
2827 }
2828 {
2829 if (temp3)
2830 delete arg3;
2831 }
2832 return resultobj;
2833 fail:
2834 {
2835 if (temp1)
2836 delete arg1;
2837 }
2838 {
2839 if (temp2)
2840 delete arg2;
2841 }
2842 {
2843 if (temp3)
2844 delete arg3;
2845 }
2846 return NULL;
2847 }
2848
2849
2850 static PyObject *_wrap_DirSelector(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject *resultobj;
2852 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
2853 wxString *arg1 = (wxString *) &arg1_defvalue ;
2854 wxString const &arg2_defvalue = wxPyEmptyString ;
2855 wxString *arg2 = (wxString *) &arg2_defvalue ;
2856 long arg3 = (long) wxDD_DEFAULT_STYLE ;
2857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2859 wxWindow *arg5 = (wxWindow *) NULL ;
2860 wxString result;
2861 bool temp1 = False ;
2862 bool temp2 = False ;
2863 wxPoint temp4 ;
2864 PyObject * obj0 = 0 ;
2865 PyObject * obj1 = 0 ;
2866 PyObject * obj2 = 0 ;
2867 PyObject * obj3 = 0 ;
2868 PyObject * obj4 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2874 if (obj0) {
2875 {
2876 arg1 = wxString_in_helper(obj0);
2877 if (arg1 == NULL) SWIG_fail;
2878 temp1 = True;
2879 }
2880 }
2881 if (obj1) {
2882 {
2883 arg2 = wxString_in_helper(obj1);
2884 if (arg2 == NULL) SWIG_fail;
2885 temp2 = True;
2886 }
2887 }
2888 if (obj2) {
2889 {
2890 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 }
2894 if (obj3) {
2895 {
2896 arg4 = &temp4;
2897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2898 }
2899 }
2900 if (obj4) {
2901 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 }
2903 {
2904 PyThreadState* __tstate = wxPyBeginAllowThreads();
2905 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
2906
2907 wxPyEndAllowThreads(__tstate);
2908 if (PyErr_Occurred()) SWIG_fail;
2909 }
2910 {
2911 #if wxUSE_UNICODE
2912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2913 #else
2914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2915 #endif
2916 }
2917 {
2918 if (temp1)
2919 delete arg1;
2920 }
2921 {
2922 if (temp2)
2923 delete arg2;
2924 }
2925 return resultobj;
2926 fail:
2927 {
2928 if (temp1)
2929 delete arg1;
2930 }
2931 {
2932 if (temp2)
2933 delete arg2;
2934 }
2935 return NULL;
2936 }
2937
2938
2939 static PyObject *_wrap_GetTextFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxString *arg1 = 0 ;
2942 wxString const &arg2_defvalue = wxPyEmptyString ;
2943 wxString *arg2 = (wxString *) &arg2_defvalue ;
2944 wxString const &arg3_defvalue = wxPyEmptyString ;
2945 wxString *arg3 = (wxString *) &arg3_defvalue ;
2946 wxWindow *arg4 = (wxWindow *) NULL ;
2947 int arg5 = (int) -1 ;
2948 int arg6 = (int) -1 ;
2949 bool arg7 = (bool) True ;
2950 wxString result;
2951 bool temp1 = False ;
2952 bool temp2 = False ;
2953 bool temp3 = False ;
2954 PyObject * obj0 = 0 ;
2955 PyObject * obj1 = 0 ;
2956 PyObject * obj2 = 0 ;
2957 PyObject * obj3 = 0 ;
2958 PyObject * obj4 = 0 ;
2959 PyObject * obj5 = 0 ;
2960 PyObject * obj6 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2966 {
2967 arg1 = wxString_in_helper(obj0);
2968 if (arg1 == NULL) SWIG_fail;
2969 temp1 = True;
2970 }
2971 if (obj1) {
2972 {
2973 arg2 = wxString_in_helper(obj1);
2974 if (arg2 == NULL) SWIG_fail;
2975 temp2 = True;
2976 }
2977 }
2978 if (obj2) {
2979 {
2980 arg3 = wxString_in_helper(obj2);
2981 if (arg3 == NULL) SWIG_fail;
2982 temp3 = True;
2983 }
2984 }
2985 if (obj3) {
2986 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2987 }
2988 if (obj4) {
2989 {
2990 arg5 = (int) SWIG_PyObj_AsInt(obj4);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 }
2994 if (obj5) {
2995 {
2996 arg6 = (int) SWIG_PyObj_AsInt(obj5);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 }
3000 if (obj6) {
3001 {
3002 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
3005 }
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 {
3014 #if wxUSE_UNICODE
3015 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3016 #else
3017 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3018 #endif
3019 }
3020 {
3021 if (temp1)
3022 delete arg1;
3023 }
3024 {
3025 if (temp2)
3026 delete arg2;
3027 }
3028 {
3029 if (temp3)
3030 delete arg3;
3031 }
3032 return resultobj;
3033 fail:
3034 {
3035 if (temp1)
3036 delete arg1;
3037 }
3038 {
3039 if (temp2)
3040 delete arg2;
3041 }
3042 {
3043 if (temp3)
3044 delete arg3;
3045 }
3046 return NULL;
3047 }
3048
3049
3050 static PyObject *_wrap_GetPasswordFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxString *arg1 = 0 ;
3053 wxString const &arg2_defvalue = wxPyEmptyString ;
3054 wxString *arg2 = (wxString *) &arg2_defvalue ;
3055 wxString const &arg3_defvalue = wxPyEmptyString ;
3056 wxString *arg3 = (wxString *) &arg3_defvalue ;
3057 wxWindow *arg4 = (wxWindow *) NULL ;
3058 wxString result;
3059 bool temp1 = False ;
3060 bool temp2 = False ;
3061 bool temp3 = False ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 PyObject * obj2 = 0 ;
3065 PyObject * obj3 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3071 {
3072 arg1 = wxString_in_helper(obj0);
3073 if (arg1 == NULL) SWIG_fail;
3074 temp1 = True;
3075 }
3076 if (obj1) {
3077 {
3078 arg2 = wxString_in_helper(obj1);
3079 if (arg2 == NULL) SWIG_fail;
3080 temp2 = True;
3081 }
3082 }
3083 if (obj2) {
3084 {
3085 arg3 = wxString_in_helper(obj2);
3086 if (arg3 == NULL) SWIG_fail;
3087 temp3 = True;
3088 }
3089 }
3090 if (obj3) {
3091 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3092 }
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 {
3101 #if wxUSE_UNICODE
3102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3103 #else
3104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3105 #endif
3106 }
3107 {
3108 if (temp1)
3109 delete arg1;
3110 }
3111 {
3112 if (temp2)
3113 delete arg2;
3114 }
3115 {
3116 if (temp3)
3117 delete arg3;
3118 }
3119 return resultobj;
3120 fail:
3121 {
3122 if (temp1)
3123 delete arg1;
3124 }
3125 {
3126 if (temp2)
3127 delete arg2;
3128 }
3129 {
3130 if (temp3)
3131 delete arg3;
3132 }
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_GetSingleChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxString *arg1 = 0 ;
3140 wxString *arg2 = 0 ;
3141 int arg3 ;
3142 wxString *arg4 = (wxString *) 0 ;
3143 wxWindow *arg5 = (wxWindow *) NULL ;
3144 int arg6 = (int) -1 ;
3145 int arg7 = (int) -1 ;
3146 bool arg8 = (bool) True ;
3147 int arg9 = (int) 150 ;
3148 int arg10 = (int) 200 ;
3149 wxString result;
3150 bool temp1 = False ;
3151 bool temp2 = False ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj1 = 0 ;
3154 PyObject * obj2 = 0 ;
3155 PyObject * obj3 = 0 ;
3156 PyObject * obj4 = 0 ;
3157 PyObject * obj5 = 0 ;
3158 PyObject * obj6 = 0 ;
3159 PyObject * obj7 = 0 ;
3160 PyObject * obj8 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3166 {
3167 arg1 = wxString_in_helper(obj0);
3168 if (arg1 == NULL) SWIG_fail;
3169 temp1 = True;
3170 }
3171 {
3172 arg2 = wxString_in_helper(obj1);
3173 if (arg2 == NULL) SWIG_fail;
3174 temp2 = True;
3175 }
3176 {
3177 arg3 = PyList_Size(obj2);
3178 arg4 = wxString_LIST_helper(obj2);
3179 if (arg4 == NULL) SWIG_fail;
3180 }
3181 if (obj3) {
3182 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 }
3184 if (obj4) {
3185 {
3186 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 }
3190 if (obj5) {
3191 {
3192 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 }
3196 if (obj6) {
3197 {
3198 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 }
3202 if (obj7) {
3203 {
3204 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 }
3208 if (obj8) {
3209 {
3210 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 }
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 {
3222 #if wxUSE_UNICODE
3223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3224 #else
3225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3226 #endif
3227 }
3228 {
3229 if (temp1)
3230 delete arg1;
3231 }
3232 {
3233 if (temp2)
3234 delete arg2;
3235 }
3236 {
3237 if (arg4) delete [] arg4;
3238 }
3239 return resultobj;
3240 fail:
3241 {
3242 if (temp1)
3243 delete arg1;
3244 }
3245 {
3246 if (temp2)
3247 delete arg2;
3248 }
3249 {
3250 if (arg4) delete [] arg4;
3251 }
3252 return NULL;
3253 }
3254
3255
3256 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxString *arg1 = 0 ;
3259 wxString *arg2 = 0 ;
3260 int arg3 ;
3261 wxString *arg4 = (wxString *) 0 ;
3262 wxWindow *arg5 = (wxWindow *) NULL ;
3263 int arg6 = (int) -1 ;
3264 int arg7 = (int) -1 ;
3265 bool arg8 = (bool) True ;
3266 int arg9 = (int) 150 ;
3267 int arg10 = (int) 200 ;
3268 int result;
3269 bool temp1 = False ;
3270 bool temp2 = False ;
3271 PyObject * obj0 = 0 ;
3272 PyObject * obj1 = 0 ;
3273 PyObject * obj2 = 0 ;
3274 PyObject * obj3 = 0 ;
3275 PyObject * obj4 = 0 ;
3276 PyObject * obj5 = 0 ;
3277 PyObject * obj6 = 0 ;
3278 PyObject * obj7 = 0 ;
3279 PyObject * obj8 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3285 {
3286 arg1 = wxString_in_helper(obj0);
3287 if (arg1 == NULL) SWIG_fail;
3288 temp1 = True;
3289 }
3290 {
3291 arg2 = wxString_in_helper(obj1);
3292 if (arg2 == NULL) SWIG_fail;
3293 temp2 = True;
3294 }
3295 {
3296 arg3 = PyList_Size(obj2);
3297 arg4 = wxString_LIST_helper(obj2);
3298 if (arg4 == NULL) SWIG_fail;
3299 }
3300 if (obj3) {
3301 if ((SWIG_ConvertPtr(obj3,(void **) &arg5, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3302 }
3303 if (obj4) {
3304 {
3305 arg6 = (int) SWIG_PyObj_AsInt(obj4);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 }
3309 if (obj5) {
3310 {
3311 arg7 = (int) SWIG_PyObj_AsInt(obj5);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 }
3315 if (obj6) {
3316 {
3317 arg8 = (bool) SWIG_PyObj_AsBool(obj6);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 }
3321 if (obj7) {
3322 {
3323 arg9 = (int) SWIG_PyObj_AsInt(obj7);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 }
3327 if (obj8) {
3328 {
3329 arg10 = (int) SWIG_PyObj_AsInt(obj8);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 resultobj = SWIG_PyObj_FromInt((int)result);
3341 {
3342 if (temp1)
3343 delete arg1;
3344 }
3345 {
3346 if (temp2)
3347 delete arg2;
3348 }
3349 {
3350 if (arg4) delete [] arg4;
3351 }
3352 return resultobj;
3353 fail:
3354 {
3355 if (temp1)
3356 delete arg1;
3357 }
3358 {
3359 if (temp2)
3360 delete arg2;
3361 }
3362 {
3363 if (arg4) delete [] arg4;
3364 }
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_MessageBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxString *arg1 = 0 ;
3372 wxString const &arg2_defvalue = wxPyEmptyString ;
3373 wxString *arg2 = (wxString *) &arg2_defvalue ;
3374 int arg3 = (int) wxOK|wxCENTRE ;
3375 wxWindow *arg4 = (wxWindow *) NULL ;
3376 int arg5 = (int) -1 ;
3377 int arg6 = (int) -1 ;
3378 int result;
3379 bool temp1 = False ;
3380 bool temp2 = False ;
3381 PyObject * obj0 = 0 ;
3382 PyObject * obj1 = 0 ;
3383 PyObject * obj2 = 0 ;
3384 PyObject * obj3 = 0 ;
3385 PyObject * obj4 = 0 ;
3386 PyObject * obj5 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
3392 {
3393 arg1 = wxString_in_helper(obj0);
3394 if (arg1 == NULL) SWIG_fail;
3395 temp1 = True;
3396 }
3397 if (obj1) {
3398 {
3399 arg2 = wxString_in_helper(obj1);
3400 if (arg2 == NULL) SWIG_fail;
3401 temp2 = True;
3402 }
3403 }
3404 if (obj2) {
3405 {
3406 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 }
3410 if (obj3) {
3411 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3412 }
3413 if (obj4) {
3414 {
3415 arg5 = (int) SWIG_PyObj_AsInt(obj4);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 }
3419 if (obj5) {
3420 {
3421 arg6 = (int) SWIG_PyObj_AsInt(obj5);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 }
3425 {
3426 PyThreadState* __tstate = wxPyBeginAllowThreads();
3427 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
3428
3429 wxPyEndAllowThreads(__tstate);
3430 if (PyErr_Occurred()) SWIG_fail;
3431 }
3432 resultobj = SWIG_PyObj_FromInt((int)result);
3433 {
3434 if (temp1)
3435 delete arg1;
3436 }
3437 {
3438 if (temp2)
3439 delete arg2;
3440 }
3441 return resultobj;
3442 fail:
3443 {
3444 if (temp1)
3445 delete arg1;
3446 }
3447 {
3448 if (temp2)
3449 delete arg2;
3450 }
3451 return NULL;
3452 }
3453
3454
3455 static PyObject *_wrap_GetNumberFromUser(PyObject *self, PyObject *args, PyObject *kwargs) {
3456 PyObject *resultobj;
3457 wxString *arg1 = 0 ;
3458 wxString *arg2 = 0 ;
3459 wxString *arg3 = 0 ;
3460 long arg4 ;
3461 long arg5 = (long) 0 ;
3462 long arg6 = (long) 100 ;
3463 wxWindow *arg7 = (wxWindow *) NULL ;
3464 wxPoint const &arg8_defvalue = wxDefaultPosition ;
3465 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
3466 long result;
3467 bool temp1 = False ;
3468 bool temp2 = False ;
3469 bool temp3 = False ;
3470 wxPoint temp8 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473 PyObject * obj2 = 0 ;
3474 PyObject * obj3 = 0 ;
3475 PyObject * obj4 = 0 ;
3476 PyObject * obj5 = 0 ;
3477 PyObject * obj6 = 0 ;
3478 PyObject * obj7 = 0 ;
3479 char *kwnames[] = {
3480 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3484 {
3485 arg1 = wxString_in_helper(obj0);
3486 if (arg1 == NULL) SWIG_fail;
3487 temp1 = True;
3488 }
3489 {
3490 arg2 = wxString_in_helper(obj1);
3491 if (arg2 == NULL) SWIG_fail;
3492 temp2 = True;
3493 }
3494 {
3495 arg3 = wxString_in_helper(obj2);
3496 if (arg3 == NULL) SWIG_fail;
3497 temp3 = True;
3498 }
3499 {
3500 arg4 = (long) SWIG_PyObj_AsLong(obj3);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 }
3503 if (obj4) {
3504 {
3505 arg5 = (long) SWIG_PyObj_AsLong(obj4);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 }
3509 if (obj5) {
3510 {
3511 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 }
3515 if (obj6) {
3516 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3517 }
3518 if (obj7) {
3519 {
3520 arg8 = &temp8;
3521 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
3522 }
3523 }
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 resultobj = SWIG_PyObj_FromLong((long)result);
3532 {
3533 if (temp1)
3534 delete arg1;
3535 }
3536 {
3537 if (temp2)
3538 delete arg2;
3539 }
3540 {
3541 if (temp3)
3542 delete arg3;
3543 }
3544 return resultobj;
3545 fail:
3546 {
3547 if (temp1)
3548 delete arg1;
3549 }
3550 {
3551 if (temp2)
3552 delete arg2;
3553 }
3554 {
3555 if (temp3)
3556 delete arg3;
3557 }
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_ColourDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 bool result;
3565 char *kwnames[] = {
3566 NULL
3567 };
3568
3569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
3570 {
3571 PyThreadState* __tstate = wxPyBeginAllowThreads();
3572 result = (bool)wxColourDisplay();
3573
3574 wxPyEndAllowThreads(__tstate);
3575 if (PyErr_Occurred()) SWIG_fail;
3576 }
3577 resultobj = SWIG_PyObj_FromBool((bool)result);
3578 return resultobj;
3579 fail:
3580 return NULL;
3581 }
3582
3583
3584 static PyObject *_wrap_DisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 int result;
3587 char *kwnames[] = {
3588 NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (int)wxDisplayDepth();
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 resultobj = SWIG_PyObj_FromInt((int)result);
3600 return resultobj;
3601 fail:
3602 return NULL;
3603 }
3604
3605
3606 static PyObject *_wrap_GetDisplayDepth(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 int result;
3609 char *kwnames[] = {
3610 NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 result = (int)wxGetDisplayDepth();
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 resultobj = SWIG_PyObj_FromInt((int)result);
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_DisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 int *arg1 = (int *) 0 ;
3631 int *arg2 = (int *) 0 ;
3632 int temp1 ;
3633 int temp2 ;
3634 char *kwnames[] = {
3635 NULL
3636 };
3637
3638 arg1 = &temp1;
3639 arg2 = &temp2;
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 wxDisplaySize(arg1,arg2);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 Py_INCREF(Py_None); resultobj = Py_None;
3649 {
3650 PyObject *o = PyInt_FromLong((long) (*arg1));
3651 resultobj = t_output_helper(resultobj,o);
3652 }
3653 {
3654 PyObject *o = PyInt_FromLong((long) (*arg2));
3655 resultobj = t_output_helper(resultobj,o);
3656 }
3657 return resultobj;
3658 fail:
3659 return NULL;
3660 }
3661
3662
3663 static PyObject *_wrap_GetDisplaySize(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxSize result;
3666 char *kwnames[] = {
3667 NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = wxGetDisplaySize();
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 {
3679 wxSize * resultptr;
3680 resultptr = new wxSize((wxSize &) result);
3681 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3682 }
3683 return resultobj;
3684 fail:
3685 return NULL;
3686 }
3687
3688
3689 static PyObject *_wrap_DisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3690 PyObject *resultobj;
3691 int *arg1 = (int *) 0 ;
3692 int *arg2 = (int *) 0 ;
3693 int temp1 ;
3694 int temp2 ;
3695 char *kwnames[] = {
3696 NULL
3697 };
3698
3699 arg1 = &temp1;
3700 arg2 = &temp2;
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 wxDisplaySizeMM(arg1,arg2);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 Py_INCREF(Py_None); resultobj = Py_None;
3710 {
3711 PyObject *o = PyInt_FromLong((long) (*arg1));
3712 resultobj = t_output_helper(resultobj,o);
3713 }
3714 {
3715 PyObject *o = PyInt_FromLong((long) (*arg2));
3716 resultobj = t_output_helper(resultobj,o);
3717 }
3718 return resultobj;
3719 fail:
3720 return NULL;
3721 }
3722
3723
3724 static PyObject *_wrap_GetDisplaySizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 wxSize result;
3727 char *kwnames[] = {
3728 NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = wxGetDisplaySizeMM();
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 {
3740 wxSize * resultptr;
3741 resultptr = new wxSize((wxSize &) result);
3742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
3743 }
3744 return resultobj;
3745 fail:
3746 return NULL;
3747 }
3748
3749
3750 static PyObject *_wrap_ClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 int *arg1 = (int *) 0 ;
3753 int *arg2 = (int *) 0 ;
3754 int *arg3 = (int *) 0 ;
3755 int *arg4 = (int *) 0 ;
3756 int temp1 ;
3757 int temp2 ;
3758 int temp3 ;
3759 int temp4 ;
3760 char *kwnames[] = {
3761 NULL
3762 };
3763
3764 arg1 = &temp1;
3765 arg2 = &temp2;
3766 arg3 = &temp3;
3767 arg4 = &temp4;
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
3769 {
3770 PyThreadState* __tstate = wxPyBeginAllowThreads();
3771 wxClientDisplayRect(arg1,arg2,arg3,arg4);
3772
3773 wxPyEndAllowThreads(__tstate);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 Py_INCREF(Py_None); resultobj = Py_None;
3777 {
3778 PyObject *o = PyInt_FromLong((long) (*arg1));
3779 resultobj = t_output_helper(resultobj,o);
3780 }
3781 {
3782 PyObject *o = PyInt_FromLong((long) (*arg2));
3783 resultobj = t_output_helper(resultobj,o);
3784 }
3785 {
3786 PyObject *o = PyInt_FromLong((long) (*arg3));
3787 resultobj = t_output_helper(resultobj,o);
3788 }
3789 {
3790 PyObject *o = PyInt_FromLong((long) (*arg4));
3791 resultobj = t_output_helper(resultobj,o);
3792 }
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 static PyObject *_wrap_GetClientDisplayRect(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxRect result;
3802 char *kwnames[] = {
3803 NULL
3804 };
3805
3806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = wxGetClientDisplayRect();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
3815 wxRect * resultptr;
3816 resultptr = new wxRect((wxRect &) result);
3817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
3818 }
3819 return resultobj;
3820 fail:
3821 return NULL;
3822 }
3823
3824
3825 static PyObject *_wrap_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxCursor *arg1 = 0 ;
3828 PyObject * obj0 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "cursor", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 if (arg1 == NULL) {
3836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3837 }
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 wxSetCursor(*arg1);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 Py_INCREF(Py_None); resultobj = Py_None;
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 static PyObject *_wrap_BeginBusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "cursor", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
3861 if (obj0) {
3862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3863 }
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 wxBeginBusyCursor(arg1);
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
3871 Py_INCREF(Py_None); resultobj = Py_None;
3872 return resultobj;
3873 fail:
3874 return NULL;
3875 }
3876
3877
3878 static PyObject *_wrap_GetActiveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxWindow *result;
3881 char *kwnames[] = {
3882 NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (wxWindow *)wxGetActiveWindow();
3889
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 {
3894 resultobj = wxPyMake_wxObject(result);
3895 }
3896 return resultobj;
3897 fail:
3898 return NULL;
3899 }
3900
3901
3902 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject *resultobj;
3904 wxPoint *arg1 = 0 ;
3905 wxWindow *result;
3906 wxPoint temp1 ;
3907 PyObject * obj0 = 0 ;
3908 char *kwnames[] = {
3909 (char *) "pt", NULL
3910 };
3911
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
3913 {
3914 arg1 = &temp1;
3915 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3916 }
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 {
3925 resultobj = wxPyMake_wxObject(result);
3926 }
3927 return resultobj;
3928 fail:
3929 return NULL;
3930 }
3931
3932
3933 static PyObject *_wrap_FindWindowAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxPoint *arg1 = 0 ;
3936 wxWindow *result;
3937 wxPoint temp1 ;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "pt", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
3944 {
3945 arg1 = &temp1;
3946 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3947 }
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = wxPyMake_wxObject(result);
3957 }
3958 return resultobj;
3959 fail:
3960 return NULL;
3961 }
3962
3963
3964 static PyObject *_wrap_GetTopLevelParent(PyObject *self, PyObject *args, PyObject *kwargs) {
3965 PyObject *resultobj;
3966 wxWindow *arg1 = (wxWindow *) 0 ;
3967 wxWindow *result;
3968 PyObject * obj0 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "win", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
3974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (wxWindow *)wxGetTopLevelParent(arg1);
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 {
3983 resultobj = wxPyMake_wxObject(result);
3984 }
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 static PyObject *_wrap_GetKeyState(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 int arg1 ;
3994 bool result;
3995 PyObject * obj0 = 0 ;
3996 char *kwnames[] = {
3997 (char *) "key", NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
4001 {
4002 arg1 = (wxKeyCode) SWIG_PyObj_AsInt(obj0);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (bool)wxGetKeyState((wxKeyCode )arg1);
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 resultobj = SWIG_PyObj_FromBool((bool)result);
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 static PyObject *_wrap_WakeUpMainThread(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 char *kwnames[] = {
4022 NULL
4023 };
4024
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 wxWakeUpMainThread();
4029
4030 wxPyEndAllowThreads(__tstate);
4031 if (PyErr_Occurred()) SWIG_fail;
4032 }
4033 Py_INCREF(Py_None); resultobj = Py_None;
4034 return resultobj;
4035 fail:
4036 return NULL;
4037 }
4038
4039
4040 static PyObject *_wrap_MutexGuiEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
4041 PyObject *resultobj;
4042 char *kwnames[] = {
4043 NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 wxMutexGuiEnter();
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 Py_INCREF(Py_None); resultobj = Py_None;
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 static PyObject *_wrap_MutexGuiLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 char *kwnames[] = {
4064 NULL
4065 };
4066
4067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 wxMutexGuiLeave();
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 Py_INCREF(Py_None); resultobj = Py_None;
4076 return resultobj;
4077 fail:
4078 return NULL;
4079 }
4080
4081
4082 static PyObject *_wrap_new_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxMutexGuiLocker *result;
4085 char *kwnames[] = {
4086 NULL
4087 };
4088
4089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMutexGuiLocker, 1);
4098 return resultobj;
4099 fail:
4100 return NULL;
4101 }
4102
4103
4104 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
4107 PyObject * obj0 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMutexGuiLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 delete arg1;
4117
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 static PyObject * MutexGuiLocker_swigregister(PyObject *self, PyObject *args) {
4129 PyObject *obj;
4130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4131 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
4132 Py_INCREF(obj);
4133 return Py_BuildValue((char *)"");
4134 }
4135 static PyObject *_wrap_Thread_IsMain(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 bool result;
4138 char *kwnames[] = {
4139 NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (bool)wxThread_IsMain();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_PyObj_FromBool((bool)result);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 static PyObject *_wrap_new_ToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxString *arg1 = 0 ;
4160 wxToolTip *result;
4161 bool temp1 = False ;
4162 PyObject * obj0 = 0 ;
4163 char *kwnames[] = {
4164 (char *) "tip", NULL
4165 };
4166
4167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
4168 {
4169 arg1 = wxString_in_helper(obj0);
4170 if (arg1 == NULL) SWIG_fail;
4171 temp1 = True;
4172 }
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 {
4181 resultobj = wxPyMake_wxObject(result);
4182 }
4183 {
4184 if (temp1)
4185 delete arg1;
4186 }
4187 return resultobj;
4188 fail:
4189 {
4190 if (temp1)
4191 delete arg1;
4192 }
4193 return NULL;
4194 }
4195
4196
4197 static PyObject *_wrap_ToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxToolTip *arg1 = (wxToolTip *) 0 ;
4200 wxString *arg2 = 0 ;
4201 bool temp2 = False ;
4202 PyObject * obj0 = 0 ;
4203 PyObject * obj1 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "self",(char *) "tip", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4210 {
4211 arg2 = wxString_in_helper(obj1);
4212 if (arg2 == NULL) SWIG_fail;
4213 temp2 = True;
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 (arg1)->SetTip((wxString const &)*arg2);
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 Py_INCREF(Py_None); resultobj = Py_None;
4223 {
4224 if (temp2)
4225 delete arg2;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp2)
4231 delete arg2;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_ToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxToolTip *arg1 = (wxToolTip *) 0 ;
4240 wxString result;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 result = (arg1)->GetTip();
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 #if wxUSE_UNICODE
4257 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4258 #else
4259 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4260 #endif
4261 }
4262 return resultobj;
4263 fail:
4264 return NULL;
4265 }
4266
4267
4268 static PyObject *_wrap_ToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxToolTip *arg1 = (wxToolTip *) 0 ;
4271 wxWindow *result;
4272 PyObject * obj0 = 0 ;
4273 char *kwnames[] = {
4274 (char *) "self", NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
4278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolTip,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (wxWindow *)(arg1)->GetWindow();
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 {
4287 resultobj = wxPyMake_wxObject(result);
4288 }
4289 return resultobj;
4290 fail:
4291 return NULL;
4292 }
4293
4294
4295 static PyObject *_wrap_ToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 bool arg1 ;
4298 PyObject * obj0 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "flag", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
4304 {
4305 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
4306 if (PyErr_Occurred()) SWIG_fail;
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 wxToolTip::Enable(arg1);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 Py_INCREF(Py_None); resultobj = Py_None;
4316 return resultobj;
4317 fail:
4318 return NULL;
4319 }
4320
4321
4322 static PyObject *_wrap_ToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject *resultobj;
4324 long arg1 ;
4325 PyObject * obj0 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "milliseconds", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
4331 {
4332 arg1 = (long) SWIG_PyObj_AsLong(obj0);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 {
4336 PyThreadState* __tstate = wxPyBeginAllowThreads();
4337 wxToolTip::SetDelay(arg1);
4338
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 Py_INCREF(Py_None); resultobj = Py_None;
4343 return resultobj;
4344 fail:
4345 return NULL;
4346 }
4347
4348
4349 static PyObject * ToolTip_swigregister(PyObject *self, PyObject *args) {
4350 PyObject *obj;
4351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4352 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
4353 Py_INCREF(obj);
4354 return Py_BuildValue((char *)"");
4355 }
4356 static PyObject *_wrap_new_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 wxWindow *arg1 = (wxWindow *) 0 ;
4359 wxSize *arg2 = 0 ;
4360 wxCaret *result;
4361 wxSize temp2 ;
4362 PyObject * obj0 = 0 ;
4363 PyObject * obj1 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "window",(char *) "size", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4370 {
4371 arg2 = &temp2;
4372 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4373 }
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
4381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCaret, 1);
4382 return resultobj;
4383 fail:
4384 return NULL;
4385 }
4386
4387
4388 static PyObject *_wrap_delete_Caret(PyObject *self, PyObject *args, PyObject *kwargs) {
4389 PyObject *resultobj;
4390 wxCaret *arg1 = (wxCaret *) 0 ;
4391 PyObject * obj0 = 0 ;
4392 char *kwnames[] = {
4393 (char *) "self", NULL
4394 };
4395
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
4397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4398 {
4399 PyThreadState* __tstate = wxPyBeginAllowThreads();
4400 delete arg1;
4401
4402 wxPyEndAllowThreads(__tstate);
4403 if (PyErr_Occurred()) SWIG_fail;
4404 }
4405 Py_INCREF(Py_None); resultobj = Py_None;
4406 return resultobj;
4407 fail:
4408 return NULL;
4409 }
4410
4411
4412 static PyObject *_wrap_Caret_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
4413 PyObject *resultobj;
4414 wxCaret *arg1 = (wxCaret *) 0 ;
4415 bool result;
4416 PyObject * obj0 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = (bool)(arg1)->IsOk();
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 resultobj = SWIG_PyObj_FromBool((bool)result);
4431 return resultobj;
4432 fail:
4433 return NULL;
4434 }
4435
4436
4437 static PyObject *_wrap_Caret_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject *resultobj;
4439 wxCaret *arg1 = (wxCaret *) 0 ;
4440 bool result;
4441 PyObject * obj0 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "self", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
4447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (bool)(arg1)->IsVisible();
4451
4452 wxPyEndAllowThreads(__tstate);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 resultobj = SWIG_PyObj_FromBool((bool)result);
4456 return resultobj;
4457 fail:
4458 return NULL;
4459 }
4460
4461
4462 static PyObject *_wrap_Caret_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4463 PyObject *resultobj;
4464 wxCaret *arg1 = (wxCaret *) 0 ;
4465 wxPoint result;
4466 PyObject * obj0 = 0 ;
4467 char *kwnames[] = {
4468 (char *) "self", NULL
4469 };
4470
4471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
4472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4473 {
4474 PyThreadState* __tstate = wxPyBeginAllowThreads();
4475 result = (arg1)->GetPosition();
4476
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 {
4481 wxPoint * resultptr;
4482 resultptr = new wxPoint((wxPoint &) result);
4483 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
4484 }
4485 return resultobj;
4486 fail:
4487 return NULL;
4488 }
4489
4490
4491 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject *resultobj;
4493 wxCaret *arg1 = (wxCaret *) 0 ;
4494 int *arg2 = (int *) 0 ;
4495 int *arg3 = (int *) 0 ;
4496 int temp2 ;
4497 int temp3 ;
4498 PyObject * obj0 = 0 ;
4499 char *kwnames[] = {
4500 (char *) "self", NULL
4501 };
4502
4503 arg2 = &temp2;
4504 arg3 = &temp3;
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
4506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 (arg1)->GetPosition(arg2,arg3);
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 Py_INCREF(Py_None); resultobj = Py_None;
4515 {
4516 PyObject *o = PyInt_FromLong((long) (*arg2));
4517 resultobj = t_output_helper(resultobj,o);
4518 }
4519 {
4520 PyObject *o = PyInt_FromLong((long) (*arg3));
4521 resultobj = t_output_helper(resultobj,o);
4522 }
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_Caret_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxCaret *arg1 = (wxCaret *) 0 ;
4532 wxSize result;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 result = (arg1)->GetSize();
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 {
4548 wxSize * resultptr;
4549 resultptr = new wxSize((wxSize &) result);
4550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
4551 }
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject *resultobj;
4560 wxCaret *arg1 = (wxCaret *) 0 ;
4561 int *arg2 = (int *) 0 ;
4562 int *arg3 = (int *) 0 ;
4563 int temp2 ;
4564 int temp3 ;
4565 PyObject * obj0 = 0 ;
4566 char *kwnames[] = {
4567 (char *) "self", NULL
4568 };
4569
4570 arg2 = &temp2;
4571 arg3 = &temp3;
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
4573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
4576 (arg1)->GetSize(arg2,arg3);
4577
4578 wxPyEndAllowThreads(__tstate);
4579 if (PyErr_Occurred()) SWIG_fail;
4580 }
4581 Py_INCREF(Py_None); resultobj = Py_None;
4582 {
4583 PyObject *o = PyInt_FromLong((long) (*arg2));
4584 resultobj = t_output_helper(resultobj,o);
4585 }
4586 {
4587 PyObject *o = PyInt_FromLong((long) (*arg3));
4588 resultobj = t_output_helper(resultobj,o);
4589 }
4590 return resultobj;
4591 fail:
4592 return NULL;
4593 }
4594
4595
4596 static PyObject *_wrap_Caret_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxCaret *arg1 = (wxCaret *) 0 ;
4599 wxWindow *result;
4600 PyObject * obj0 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
4606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 result = (wxWindow *)(arg1)->GetWindow();
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 {
4615 resultobj = wxPyMake_wxObject(result);
4616 }
4617 return resultobj;
4618 fail:
4619 return NULL;
4620 }
4621
4622
4623 static PyObject *_wrap_Caret_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4624 PyObject *resultobj;
4625 wxCaret *arg1 = (wxCaret *) 0 ;
4626 int arg2 ;
4627 int arg3 ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj2 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "x",(char *) "y", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4639 if (PyErr_Occurred()) SWIG_fail;
4640 }
4641 {
4642 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4643 if (PyErr_Occurred()) SWIG_fail;
4644 }
4645 {
4646 PyThreadState* __tstate = wxPyBeginAllowThreads();
4647 (arg1)->Move(arg2,arg3);
4648
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 Py_INCREF(Py_None); resultobj = Py_None;
4653 return resultobj;
4654 fail:
4655 return NULL;
4656 }
4657
4658
4659 static PyObject *_wrap_Caret_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxCaret *arg1 = (wxCaret *) 0 ;
4662 wxPoint *arg2 = 0 ;
4663 wxPoint temp2 ;
4664 PyObject * obj0 = 0 ;
4665 PyObject * obj1 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "self",(char *) "pt", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 {
4673 arg2 = &temp2;
4674 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4675 }
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 (arg1)->Move((wxPoint const &)*arg2);
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 Py_INCREF(Py_None); resultobj = Py_None;
4684 return resultobj;
4685 fail:
4686 return NULL;
4687 }
4688
4689
4690 static PyObject *_wrap_Caret_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxCaret *arg1 = (wxCaret *) 0 ;
4693 int arg2 ;
4694 int arg3 ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 PyObject * obj2 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self",(char *) "width",(char *) "height", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 {
4705 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4706 if (PyErr_Occurred()) SWIG_fail;
4707 }
4708 {
4709 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 {
4713 PyThreadState* __tstate = wxPyBeginAllowThreads();
4714 (arg1)->SetSize(arg2,arg3);
4715
4716 wxPyEndAllowThreads(__tstate);
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 Py_INCREF(Py_None); resultobj = Py_None;
4720 return resultobj;
4721 fail:
4722 return NULL;
4723 }
4724
4725
4726 static PyObject *_wrap_Caret_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4727 PyObject *resultobj;
4728 wxCaret *arg1 = (wxCaret *) 0 ;
4729 wxSize *arg2 = 0 ;
4730 wxSize temp2 ;
4731 PyObject * obj0 = 0 ;
4732 PyObject * obj1 = 0 ;
4733 char *kwnames[] = {
4734 (char *) "self",(char *) "size", NULL
4735 };
4736
4737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
4738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4739 {
4740 arg2 = &temp2;
4741 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
4742 }
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 (arg1)->SetSize((wxSize const &)*arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 Py_INCREF(Py_None); resultobj = Py_None;
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_Caret_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxCaret *arg1 = (wxCaret *) 0 ;
4760 int arg2 = (int) True ;
4761 PyObject * obj0 = 0 ;
4762 PyObject * obj1 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "show", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 if (obj1) {
4770 {
4771 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 }
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 (arg1)->Show(arg2);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 Py_INCREF(Py_None); resultobj = Py_None;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_Caret_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxCaret *arg1 = (wxCaret *) 0 ;
4792 PyObject * obj0 = 0 ;
4793 char *kwnames[] = {
4794 (char *) "self", NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
4798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCaret,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4799 {
4800 PyThreadState* __tstate = wxPyBeginAllowThreads();
4801 (arg1)->Hide();
4802
4803 wxPyEndAllowThreads(__tstate);
4804 if (PyErr_Occurred()) SWIG_fail;
4805 }
4806 Py_INCREF(Py_None); resultobj = Py_None;
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 static PyObject * Caret_swigregister(PyObject *self, PyObject *args) {
4814 PyObject *obj;
4815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4816 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
4817 Py_INCREF(obj);
4818 return Py_BuildValue((char *)"");
4819 }
4820 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject *resultobj;
4822 int result;
4823 char *kwnames[] = {
4824 NULL
4825 };
4826
4827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (int)wxCaret_GetBlinkTime();
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 resultobj = SWIG_PyObj_FromInt((int)result);
4836 return resultobj;
4837 fail:
4838 return NULL;
4839 }
4840
4841
4842 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject *resultobj;
4844 int arg1 ;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "milliseconds", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
4851 {
4852 arg1 = (int) SWIG_PyObj_AsInt(obj0);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 }
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 wxCaret_SetBlinkTime(arg1);
4858
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 Py_INCREF(Py_None); resultobj = Py_None;
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_new_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
4872 wxBusyCursor *result;
4873 PyObject * obj0 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "cursor", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
4879 if (obj0) {
4880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4881 }
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (wxBusyCursor *)new wxBusyCursor(arg1);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyCursor, 1);
4890 return resultobj;
4891 fail:
4892 return NULL;
4893 }
4894
4895
4896 static PyObject *_wrap_delete_BusyCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
4897 PyObject *resultobj;
4898 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 {
4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
4908 delete arg1;
4909
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) SWIG_fail;
4912 }
4913 Py_INCREF(Py_None); resultobj = Py_None;
4914 return resultobj;
4915 fail:
4916 return NULL;
4917 }
4918
4919
4920 static PyObject * BusyCursor_swigregister(PyObject *self, PyObject *args) {
4921 PyObject *obj;
4922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4923 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
4924 Py_INCREF(obj);
4925 return Py_BuildValue((char *)"");
4926 }
4927 static PyObject *_wrap_new_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxWindow *arg1 = (wxWindow *) NULL ;
4930 wxWindowDisabler *result;
4931 PyObject * obj0 = 0 ;
4932 char *kwnames[] = {
4933 (char *) "winToSkip", NULL
4934 };
4935
4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
4937 if (obj0) {
4938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4939 }
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWindowDisabler, 1);
4948 return resultobj;
4949 fail:
4950 return NULL;
4951 }
4952
4953
4954 static PyObject *_wrap_delete_WindowDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
4957 PyObject * obj0 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindowDisabler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 {
4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
4966 delete arg1;
4967
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 Py_INCREF(Py_None); resultobj = Py_None;
4972 return resultobj;
4973 fail:
4974 return NULL;
4975 }
4976
4977
4978 static PyObject * WindowDisabler_swigregister(PyObject *self, PyObject *args) {
4979 PyObject *obj;
4980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4981 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
4982 Py_INCREF(obj);
4983 return Py_BuildValue((char *)"");
4984 }
4985 static PyObject *_wrap_new_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxString *arg1 = 0 ;
4988 wxBusyInfo *result;
4989 bool temp1 = False ;
4990 PyObject * obj0 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "message", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
4996 {
4997 arg1 = wxString_in_helper(obj0);
4998 if (arg1 == NULL) SWIG_fail;
4999 temp1 = True;
5000 }
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBusyInfo, 1);
5009 {
5010 if (temp1)
5011 delete arg1;
5012 }
5013 return resultobj;
5014 fail:
5015 {
5016 if (temp1)
5017 delete arg1;
5018 }
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_delete_BusyInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
5026 PyObject * obj0 = 0 ;
5027 char *kwnames[] = {
5028 (char *) "self", NULL
5029 };
5030
5031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
5032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBusyInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 delete arg1;
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 Py_INCREF(Py_None); resultobj = Py_None;
5041 return resultobj;
5042 fail:
5043 return NULL;
5044 }
5045
5046
5047 static PyObject * BusyInfo_swigregister(PyObject *self, PyObject *args) {
5048 PyObject *obj;
5049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5050 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
5051 Py_INCREF(obj);
5052 return Py_BuildValue((char *)"");
5053 }
5054 static PyObject *_wrap_new_StopWatch(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject *resultobj;
5056 wxStopWatch *result;
5057 char *kwnames[] = {
5058 NULL
5059 };
5060
5061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (wxStopWatch *)new wxStopWatch();
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStopWatch, 1);
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StopWatch_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5079 long arg2 = (long) 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "t0", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5088 if (obj1) {
5089 {
5090 arg2 = (long) SWIG_PyObj_AsLong(obj1);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 }
5094 {
5095 PyThreadState* __tstate = wxPyBeginAllowThreads();
5096 (arg1)->Start(arg2);
5097
5098 wxPyEndAllowThreads(__tstate);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 Py_INCREF(Py_None); resultobj = Py_None;
5102 return resultobj;
5103 fail:
5104 return NULL;
5105 }
5106
5107
5108 static PyObject *_wrap_StopWatch_Pause(PyObject *self, PyObject *args, PyObject *kwargs) {
5109 PyObject *resultobj;
5110 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->Pause();
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_StopWatch_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5135 PyObject * obj0 = 0 ;
5136 char *kwnames[] = {
5137 (char *) "self", NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
5141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->Resume();
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 return resultobj;
5151 fail:
5152 return NULL;
5153 }
5154
5155
5156 static PyObject *_wrap_StopWatch_Time(PyObject *self, PyObject *args, PyObject *kwargs) {
5157 PyObject *resultobj;
5158 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
5159 long result;
5160 PyObject * obj0 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStopWatch,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 result = (long)((wxStopWatch const *)arg1)->Time();
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 resultobj = SWIG_PyObj_FromLong((long)result);
5175 return resultobj;
5176 fail:
5177 return NULL;
5178 }
5179
5180
5181 static PyObject * StopWatch_swigregister(PyObject *self, PyObject *args) {
5182 PyObject *obj;
5183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
5185 Py_INCREF(obj);
5186 return Py_BuildValue((char *)"");
5187 }
5188 static PyObject *_wrap_new_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 int arg1 = (int) 9 ;
5191 wxFileHistory *result;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "maxFiles", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FileHistory",kwnames,&obj0)) goto fail;
5198 if (obj0) {
5199 {
5200 arg1 = (int) SWIG_PyObj_AsInt(obj0);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (wxFileHistory *)new wxFileHistory(arg1);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileHistory, 1);
5212 return resultobj;
5213 fail:
5214 return NULL;
5215 }
5216
5217
5218 static PyObject *_wrap_delete_FileHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject *resultobj;
5220 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 delete arg1;
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 Py_INCREF(Py_None); resultobj = Py_None;
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5245 wxString *arg2 = 0 ;
5246 bool temp2 = False ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self",(char *) "file", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
5254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5255 {
5256 arg2 = wxString_in_helper(obj1);
5257 if (arg2 == NULL) SWIG_fail;
5258 temp2 = True;
5259 }
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 (arg1)->AddFileToHistory((wxString const &)*arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 {
5269 if (temp2)
5270 delete arg2;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp2)
5276 delete arg2;
5277 }
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5285 int arg2 ;
5286 PyObject * obj0 = 0 ;
5287 PyObject * obj1 = 0 ;
5288 char *kwnames[] = {
5289 (char *) "self",(char *) "i", NULL
5290 };
5291
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
5293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5294 {
5295 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 {
5299 PyThreadState* __tstate = wxPyBeginAllowThreads();
5300 (arg1)->RemoveFileFromHistory(arg2);
5301
5302 wxPyEndAllowThreads(__tstate);
5303 if (PyErr_Occurred()) SWIG_fail;
5304 }
5305 Py_INCREF(Py_None); resultobj = Py_None;
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj;
5314 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5315 int result;
5316 PyObject * obj0 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
5326
5327 wxPyEndAllowThreads(__tstate);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 resultobj = SWIG_PyObj_FromInt((int)result);
5331 return resultobj;
5332 fail:
5333 return NULL;
5334 }
5335
5336
5337 static PyObject *_wrap_FileHistory_UseMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5338 PyObject *resultobj;
5339 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5340 wxMenu *arg2 = (wxMenu *) 0 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self",(char *) "menu", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
5348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->UseMenu(arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 Py_INCREF(Py_None); resultobj = Py_None;
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5367 wxMenu *arg2 = (wxMenu *) 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self",(char *) "menu", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
5375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 (arg1)->RemoveMenu(arg2);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 Py_INCREF(Py_None); resultobj = Py_None;
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject *_wrap_FileHistory_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
5392 PyObject *resultobj;
5393 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5394 wxConfigBase *arg2 = 0 ;
5395 PyObject * obj0 = 0 ;
5396 PyObject * obj1 = 0 ;
5397 char *kwnames[] = {
5398 (char *) "self",(char *) "config", NULL
5399 };
5400
5401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
5402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5404 if (arg2 == NULL) {
5405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5406 }
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->Load(*arg2);
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 Py_INCREF(Py_None); resultobj = Py_None;
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 static PyObject *_wrap_FileHistory_Save(PyObject *self, PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj;
5423 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5424 wxConfigBase *arg2 = 0 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 char *kwnames[] = {
5428 (char *) "self",(char *) "config", NULL
5429 };
5430
5431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
5432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5434 if (arg2 == NULL) {
5435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5436 }
5437 {
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 (arg1)->Save(*arg2);
5440
5441 wxPyEndAllowThreads(__tstate);
5442 if (PyErr_Occurred()) SWIG_fail;
5443 }
5444 Py_INCREF(Py_None); resultobj = Py_None;
5445 return resultobj;
5446 fail:
5447 return NULL;
5448 }
5449
5450
5451 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5454 PyObject * obj0 = 0 ;
5455 char *kwnames[] = {
5456 (char *) "self", NULL
5457 };
5458
5459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
5460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->AddFilesToMenu();
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5478 wxMenu *arg2 = (wxMenu *) 0 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "menu", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5488 {
5489 PyThreadState* __tstate = wxPyBeginAllowThreads();
5490 (arg1)->AddFilesToMenu(arg2);
5491
5492 wxPyEndAllowThreads(__tstate);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 Py_INCREF(Py_None); resultobj = Py_None;
5496 return resultobj;
5497 fail:
5498 return NULL;
5499 }
5500
5501
5502 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject *resultobj;
5504 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5505 int arg2 ;
5506 wxString result;
5507 PyObject * obj0 = 0 ;
5508 PyObject * obj1 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self",(char *) "i", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
5514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5515 {
5516 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 #if wxUSE_UNICODE
5528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5529 #else
5530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5531 #endif
5532 }
5533 return resultobj;
5534 fail:
5535 return NULL;
5536 }
5537
5538
5539 static PyObject *_wrap_FileHistory_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj;
5541 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
5542 int result;
5543 PyObject * obj0 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
5549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileHistory,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (int)((wxFileHistory const *)arg1)->GetCount();
5553
5554 wxPyEndAllowThreads(__tstate);
5555 if (PyErr_Occurred()) SWIG_fail;
5556 }
5557 resultobj = SWIG_PyObj_FromInt((int)result);
5558 return resultobj;
5559 fail:
5560 return NULL;
5561 }
5562
5563
5564 static PyObject * FileHistory_swigregister(PyObject *self, PyObject *args) {
5565 PyObject *obj;
5566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5567 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
5568 Py_INCREF(obj);
5569 return Py_BuildValue((char *)"");
5570 }
5571 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxString *arg1 = 0 ;
5574 wxString const &arg2_defvalue = wxPyEmptyString ;
5575 wxString *arg2 = (wxString *) &arg2_defvalue ;
5576 wxSingleInstanceChecker *result;
5577 bool temp1 = False ;
5578 bool temp2 = False ;
5579 PyObject * obj0 = 0 ;
5580 PyObject * obj1 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "name",(char *) "path", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
5586 {
5587 arg1 = wxString_in_helper(obj0);
5588 if (arg1 == NULL) SWIG_fail;
5589 temp1 = True;
5590 }
5591 if (obj1) {
5592 {
5593 arg2 = wxString_in_helper(obj1);
5594 if (arg2 == NULL) SWIG_fail;
5595 temp2 = True;
5596 }
5597 }
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5606 {
5607 if (temp1)
5608 delete arg1;
5609 }
5610 {
5611 if (temp2)
5612 delete arg2;
5613 }
5614 return resultobj;
5615 fail:
5616 {
5617 if (temp1)
5618 delete arg1;
5619 }
5620 {
5621 if (temp2)
5622 delete arg2;
5623 }
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxSingleInstanceChecker *result;
5631 char *kwnames[] = {
5632 NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) SWIG_fail;
5642 }
5643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleInstanceChecker, 1);
5644 return resultobj;
5645 fail:
5646 return NULL;
5647 }
5648
5649
5650 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject *resultobj;
5652 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5653 PyObject * obj0 = 0 ;
5654 char *kwnames[] = {
5655 (char *) "self", NULL
5656 };
5657
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
5659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 delete arg1;
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 Py_INCREF(Py_None); resultobj = Py_None;
5668 return resultobj;
5669 fail:
5670 return NULL;
5671 }
5672
5673
5674 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5675 PyObject *resultobj;
5676 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5677 wxString *arg2 = 0 ;
5678 wxString const &arg3_defvalue = wxPyEmptyString ;
5679 wxString *arg3 = (wxString *) &arg3_defvalue ;
5680 bool result;
5681 bool temp2 = False ;
5682 bool temp3 = False ;
5683 PyObject * obj0 = 0 ;
5684 PyObject * obj1 = 0 ;
5685 PyObject * obj2 = 0 ;
5686 char *kwnames[] = {
5687 (char *) "self",(char *) "name",(char *) "path", NULL
5688 };
5689
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
5691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5692 {
5693 arg2 = wxString_in_helper(obj1);
5694 if (arg2 == NULL) SWIG_fail;
5695 temp2 = True;
5696 }
5697 if (obj2) {
5698 {
5699 arg3 = wxString_in_helper(obj2);
5700 if (arg3 == NULL) SWIG_fail;
5701 temp3 = True;
5702 }
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) SWIG_fail;
5710 }
5711 resultobj = SWIG_PyObj_FromBool((bool)result);
5712 {
5713 if (temp2)
5714 delete arg2;
5715 }
5716 {
5717 if (temp3)
5718 delete arg3;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (temp2)
5724 delete arg2;
5725 }
5726 {
5727 if (temp3)
5728 delete arg3;
5729 }
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
5737 bool result;
5738 PyObject * obj0 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleInstanceChecker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 resultobj = SWIG_PyObj_FromBool((bool)result);
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject * SingleInstanceChecker_swigregister(PyObject *self, PyObject *args) {
5760 PyObject *obj;
5761 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5762 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
5763 Py_INCREF(obj);
5764 return Py_BuildValue((char *)"");
5765 }
5766 static PyObject *_wrap_DrawWindowOnDC(PyObject *self, PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj;
5768 wxWindow *arg1 = (wxWindow *) 0 ;
5769 wxDC *arg2 = 0 ;
5770 int arg3 ;
5771 PyObject * obj0 = 0 ;
5772 PyObject * obj1 = 0 ;
5773 PyObject * obj2 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "window",(char *) "dc",(char *) "method", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DrawWindowOnDC",kwnames,&obj0,&obj1,&obj2)) goto fail;
5779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5780 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5781 if (arg2 == NULL) {
5782 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5783 }
5784 {
5785 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 wxDrawWindowOnDC(arg1,(wxDC const &)*arg2,arg3);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 Py_INCREF(Py_None); resultobj = Py_None;
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_delete_TipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 delete arg1;
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 Py_INCREF(Py_None); resultobj = Py_None;
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_TipProvider_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5829 wxString result;
5830 PyObject * obj0 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 result = (arg1)->GetTip();
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 {
5845 #if wxUSE_UNICODE
5846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5847 #else
5848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5849 #endif
5850 }
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5860 size_t result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (size_t)(arg1)->GetCurrentTip();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
5876 return resultobj;
5877 fail:
5878 return NULL;
5879 }
5880
5881
5882 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
5885 wxString *arg2 = 0 ;
5886 wxString result;
5887 bool temp2 = False ;
5888 PyObject * obj0 = 0 ;
5889 PyObject * obj1 = 0 ;
5890 char *kwnames[] = {
5891 (char *) "self",(char *) "tip", NULL
5892 };
5893
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
5895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5896 {
5897 arg2 = wxString_in_helper(obj1);
5898 if (arg2 == NULL) SWIG_fail;
5899 temp2 = True;
5900 }
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (arg1)->PreprocessTip((wxString const &)*arg2);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 {
5909 #if wxUSE_UNICODE
5910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5911 #else
5912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5913 #endif
5914 }
5915 {
5916 if (temp2)
5917 delete arg2;
5918 }
5919 return resultobj;
5920 fail:
5921 {
5922 if (temp2)
5923 delete arg2;
5924 }
5925 return NULL;
5926 }
5927
5928
5929 static PyObject * TipProvider_swigregister(PyObject *self, PyObject *args) {
5930 PyObject *obj;
5931 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5932 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
5933 Py_INCREF(obj);
5934 return Py_BuildValue((char *)"");
5935 }
5936 static PyObject *_wrap_new_PyTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 size_t arg1 ;
5939 wxPyTipProvider *result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "currentTip", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
5946 {
5947 arg1 = (size_t) SWIG_PyObj_AsUnsignedLong(obj0);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTipProvider, 1);
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
5967 PyObject *arg2 = (PyObject *) 0 ;
5968 PyObject *arg3 = (PyObject *) 0 ;
5969 PyObject * obj0 = 0 ;
5970 PyObject * obj1 = 0 ;
5971 PyObject * obj2 = 0 ;
5972 char *kwnames[] = {
5973 (char *) "self",(char *) "self",(char *) "_class", NULL
5974 };
5975
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
5977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5978 arg2 = obj1;
5979 arg3 = obj2;
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 (arg1)->_setCallbackInfo(arg2,arg3);
5983
5984 wxPyEndAllowThreads(__tstate);
5985 if (PyErr_Occurred()) SWIG_fail;
5986 }
5987 Py_INCREF(Py_None); resultobj = Py_None;
5988 return resultobj;
5989 fail:
5990 return NULL;
5991 }
5992
5993
5994 static PyObject * PyTipProvider_swigregister(PyObject *self, PyObject *args) {
5995 PyObject *obj;
5996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5997 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
5998 Py_INCREF(obj);
5999 return Py_BuildValue((char *)"");
6000 }
6001 static PyObject *_wrap_ShowTip(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxWindow *arg1 = (wxWindow *) 0 ;
6004 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
6005 bool arg3 = (bool) True ;
6006 bool result;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 PyObject * obj2 = 0 ;
6010 char *kwnames[] = {
6011 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6012 };
6013
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
6015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTipProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6017 if (obj2) {
6018 {
6019 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 }
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (bool)wxShowTip(arg1,arg2,arg3);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = SWIG_PyObj_FromBool((bool)result);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_CreateFileTipProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxString *arg1 = 0 ;
6040 size_t arg2 ;
6041 wxTipProvider *result;
6042 bool temp1 = False ;
6043 PyObject * obj0 = 0 ;
6044 PyObject * obj1 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "filename",(char *) "currentTip", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
6050 {
6051 arg1 = wxString_in_helper(obj0);
6052 if (arg1 == NULL) SWIG_fail;
6053 temp1 = True;
6054 }
6055 {
6056 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipProvider, 1);
6067 {
6068 if (temp1)
6069 delete arg1;
6070 }
6071 return resultobj;
6072 fail:
6073 {
6074 if (temp1)
6075 delete arg1;
6076 }
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_new_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
6084 int arg2 = (int) -1 ;
6085 wxPyTimer *result;
6086 PyObject * obj0 = 0 ;
6087 PyObject * obj1 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "owner",(char *) "id", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
6093 if (obj0) {
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 }
6096 if (obj1) {
6097 {
6098 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 }
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTimer, 1);
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_delete_Timer(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj;
6118 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6119 PyObject * obj0 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 delete arg1;
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 Py_INCREF(Py_None); resultobj = Py_None;
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6143 PyObject *arg2 = (PyObject *) 0 ;
6144 PyObject *arg3 = (PyObject *) 0 ;
6145 PyObject * obj0 = 0 ;
6146 PyObject * obj1 = 0 ;
6147 PyObject * obj2 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self",(char *) "self",(char *) "_class", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6154 arg2 = obj1;
6155 arg3 = obj2;
6156 {
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 (arg1)->_setCallbackInfo(arg2,arg3);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 Py_INCREF(Py_None); resultobj = Py_None;
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 static PyObject *_wrap_Timer_SetOwner(PyObject *self, PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj;
6172 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6173 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
6174 int arg3 = (int) -1 ;
6175 PyObject * obj0 = 0 ;
6176 PyObject * obj1 = 0 ;
6177 PyObject * obj2 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self",(char *) "owner",(char *) "id", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
6183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6185 if (obj2) {
6186 {
6187 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 }
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 (arg1)->SetOwner(arg2,arg3);
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 Py_INCREF(Py_None); resultobj = Py_None;
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_Timer_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6208 int arg2 = (int) -1 ;
6209 bool arg3 = (bool) False ;
6210 bool result;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6220 if (obj1) {
6221 {
6222 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 }
6226 if (obj2) {
6227 {
6228 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 }
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (bool)(arg1)->Start(arg2,arg3);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 resultobj = SWIG_PyObj_FromBool((bool)result);
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 static PyObject *_wrap_Timer_Stop(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6249 PyObject * obj0 = 0 ;
6250 char *kwnames[] = {
6251 (char *) "self", NULL
6252 };
6253
6254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
6255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 (arg1)->Stop();
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
6263 Py_INCREF(Py_None); resultobj = Py_None;
6264 return resultobj;
6265 fail:
6266 return NULL;
6267 }
6268
6269
6270 static PyObject *_wrap_Timer_IsRunning(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6273 bool result;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
6280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = SWIG_PyObj_FromBool((bool)result);
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_Timer_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6298 int result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 result = (int)((wxPyTimer const *)arg1)->GetInterval();
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = SWIG_PyObj_FromInt((int)result);
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_Timer_IsOneShot(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6323 bool result;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 resultobj = SWIG_PyObj_FromBool((bool)result);
6339 return resultobj;
6340 fail:
6341 return NULL;
6342 }
6343
6344
6345 static PyObject *_wrap_Timer_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj;
6347 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
6348 int result;
6349 PyObject * obj0 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
6355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (int)((wxPyTimer const *)arg1)->GetId();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 resultobj = SWIG_PyObj_FromInt((int)result);
6364 return resultobj;
6365 fail:
6366 return NULL;
6367 }
6368
6369
6370 static PyObject * Timer_swigregister(PyObject *self, PyObject *args) {
6371 PyObject *obj;
6372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6373 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
6374 Py_INCREF(obj);
6375 return Py_BuildValue((char *)"");
6376 }
6377 static PyObject *_wrap_new_TimerEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 int arg1 = (int) 0 ;
6380 int arg2 = (int) 0 ;
6381 wxTimerEvent *result;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "timerid",(char *) "interval", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
6389 if (obj0) {
6390 {
6391 arg1 = (int) SWIG_PyObj_AsInt(obj0);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 }
6395 if (obj1) {
6396 {
6397 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerEvent, 1);
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
6418 int result;
6419 PyObject * obj0 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = SWIG_PyObj_FromInt((int)result);
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject * TimerEvent_swigregister(PyObject *self, PyObject *args) {
6441 PyObject *obj;
6442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6443 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
6444 Py_INCREF(obj);
6445 return Py_BuildValue((char *)"");
6446 }
6447 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *self, PyObject *args) {
6448 PyObject *resultobj;
6449 wxTimer *arg1 = 0 ;
6450 wxTimerRunner *result;
6451 PyObject * obj0 = 0 ;
6452
6453 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
6454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6455 if (arg1 == NULL) {
6456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6457 }
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6466 return resultobj;
6467 fail:
6468 return NULL;
6469 }
6470
6471
6472 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *self, PyObject *args) {
6473 PyObject *resultobj;
6474 wxTimer *arg1 = 0 ;
6475 int arg2 ;
6476 bool arg3 = (bool) False ;
6477 wxTimerRunner *result;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481
6482 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
6483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6484 if (arg1 == NULL) {
6485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6486 }
6487 {
6488 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 }
6491 if (obj2) {
6492 {
6493 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimerRunner, 1);
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
6512 int argc;
6513 PyObject *argv[4];
6514 int ii;
6515
6516 argc = PyObject_Length(args);
6517 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
6518 argv[ii] = PyTuple_GetItem(args,ii);
6519 }
6520 if (argc == 1) {
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 return _wrap_new_TimerRunner__SWIG_0(self,args);
6533 }
6534 }
6535 if ((argc >= 2) && (argc <= 3)) {
6536 int _v;
6537 {
6538 void *ptr;
6539 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
6540 _v = 0;
6541 PyErr_Clear();
6542 } else {
6543 _v = 1;
6544 }
6545 }
6546 if (_v) {
6547 {
6548 SWIG_PyObj_AsInt(argv[1]);
6549 if (PyErr_Occurred()) {
6550 _v = 0;
6551 PyErr_Clear();
6552 } else {
6553 _v = 1;
6554 }
6555 }
6556 if (_v) {
6557 if (argc <= 2) {
6558 return _wrap_new_TimerRunner__SWIG_1(self,args);
6559 }
6560 {
6561 SWIG_PyObj_AsBool(argv[2]);
6562 if (PyErr_Occurred()) {
6563 _v = 0;
6564 PyErr_Clear();
6565 } else {
6566 _v = 1;
6567 }
6568 }
6569 if (_v) {
6570 return _wrap_new_TimerRunner__SWIG_1(self,args);
6571 }
6572 }
6573 }
6574 }
6575
6576 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TimerRunner'");
6577 return NULL;
6578 }
6579
6580
6581 static PyObject *_wrap_delete_TimerRunner(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject *resultobj;
6583 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6584 PyObject * obj0 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 delete arg1;
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 Py_INCREF(Py_None); resultobj = Py_None;
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_TimerRunner_Start(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
6608 int arg2 ;
6609 bool arg3 = (bool) False ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 PyObject * obj2 = 0 ;
6613 char *kwnames[] = {
6614 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6615 };
6616
6617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
6618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimerRunner,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6619 {
6620 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 if (obj2) {
6624 {
6625 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6626 if (PyErr_Occurred()) SWIG_fail;
6627 }
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 (arg1)->Start(arg2,arg3);
6632
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 Py_INCREF(Py_None); resultobj = Py_None;
6637 return resultobj;
6638 fail:
6639 return NULL;
6640 }
6641
6642
6643 static PyObject * TimerRunner_swigregister(PyObject *self, PyObject *args) {
6644 PyObject *obj;
6645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6646 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
6647 Py_INCREF(obj);
6648 return Py_BuildValue((char *)"");
6649 }
6650 static PyObject *_wrap_new_Log(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxLog *result;
6653 char *kwnames[] = {
6654 NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (wxLog *)new wxLog();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 1);
6666 return resultobj;
6667 fail:
6668 return NULL;
6669 }
6670
6671
6672 static PyObject *_wrap_Log_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 bool result;
6675 char *kwnames[] = {
6676 NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (bool)wxLog::IsEnabled();
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 resultobj = SWIG_PyObj_FromBool((bool)result);
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_Log_EnableLogging(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 bool arg1 = (bool) True ;
6697 bool result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "doIt", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
6704 if (obj0) {
6705 {
6706 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6707 if (PyErr_Occurred()) SWIG_fail;
6708 }
6709 }
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (bool)wxLog::EnableLogging(arg1);
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_PyObj_FromBool((bool)result);
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_Log_OnLog(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxLogLevel arg1 ;
6727 wxChar *arg2 = (wxChar *) 0 ;
6728 time_t arg3 ;
6729 PyObject * obj0 = 0 ;
6730 PyObject * obj1 = 0 ;
6731 PyObject * obj2 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "level",(char *) "szString",(char *) "t", NULL
6734 };
6735
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
6737 {
6738 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6742 {
6743 arg3 = (time_t) SWIG_PyObj_AsUnsignedInt(obj2);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 Py_INCREF(Py_None); resultobj = Py_None;
6754 return resultobj;
6755 fail:
6756 return NULL;
6757 }
6758
6759
6760 static PyObject *_wrap_Log_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 wxLog *arg1 = (wxLog *) 0 ;
6763 PyObject * obj0 = 0 ;
6764 char *kwnames[] = {
6765 (char *) "self", NULL
6766 };
6767
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
6769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 (arg1)->Flush();
6773
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 Py_INCREF(Py_None); resultobj = Py_None;
6778 return resultobj;
6779 fail:
6780 return NULL;
6781 }
6782
6783
6784 static PyObject *_wrap_Log_FlushActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj;
6786 char *kwnames[] = {
6787 NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 wxLog::FlushActive();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 Py_INCREF(Py_None); resultobj = Py_None;
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_Log_GetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxLog *result;
6808 char *kwnames[] = {
6809 NULL
6810 };
6811
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxLog *)wxLog::GetActiveTarget();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 static PyObject *_wrap_Log_SetActiveTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6828 PyObject *resultobj;
6829 wxLog *arg1 = (wxLog *) 0 ;
6830 wxLog *result;
6831 PyObject * obj0 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "pLogger", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (wxLog *)wxLog::SetActiveTarget(arg1);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_Log_Suspend(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 char *kwnames[] = {
6855 NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 wxLog::Suspend();
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_Log_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 char *kwnames[] = {
6876 NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 wxLog::Resume();
6883
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 Py_INCREF(Py_None); resultobj = Py_None;
6888 return resultobj;
6889 fail:
6890 return NULL;
6891 }
6892
6893
6894 static PyObject *_wrap_Log_SetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
6895 PyObject *resultobj;
6896 bool arg1 = (bool) True ;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "bVerbose", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
6903 if (obj0) {
6904 {
6905 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 }
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 wxLog::SetVerbose(arg1);
6912
6913 wxPyEndAllowThreads(__tstate);
6914 if (PyErr_Occurred()) SWIG_fail;
6915 }
6916 Py_INCREF(Py_None); resultobj = Py_None;
6917 return resultobj;
6918 fail:
6919 return NULL;
6920 }
6921
6922
6923 static PyObject *_wrap_Log_SetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject *resultobj;
6925 wxLogLevel arg1 ;
6926 PyObject * obj0 = 0 ;
6927 char *kwnames[] = {
6928 (char *) "logLevel", NULL
6929 };
6930
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
6932 {
6933 arg1 = (wxLogLevel) SWIG_PyObj_AsUnsignedLong(obj0);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 wxLog::SetLogLevel(arg1);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 Py_INCREF(Py_None); resultobj = Py_None;
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 char *kwnames[] = {
6953 NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 wxLog::DontCreateOnDemand();
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 return resultobj;
6966 fail:
6967 return NULL;
6968 }
6969
6970
6971 static PyObject *_wrap_Log_SetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxTraceMask arg1 ;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "ulMask", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
6980 {
6981 arg1 = (wxTraceMask) SWIG_PyObj_AsUnsignedLong(obj0);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 }
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 wxLog::SetTraceMask(arg1);
6987
6988 wxPyEndAllowThreads(__tstate);
6989 if (PyErr_Occurred()) SWIG_fail;
6990 }
6991 Py_INCREF(Py_None); resultobj = Py_None;
6992 return resultobj;
6993 fail:
6994 return NULL;
6995 }
6996
6997
6998 static PyObject *_wrap_Log_AddTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxString *arg1 = 0 ;
7001 bool temp1 = False ;
7002 PyObject * obj0 = 0 ;
7003 char *kwnames[] = {
7004 (char *) "str", NULL
7005 };
7006
7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
7008 {
7009 arg1 = wxString_in_helper(obj0);
7010 if (arg1 == NULL) SWIG_fail;
7011 temp1 = True;
7012 }
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 wxLog::AddTraceMask((wxString const &)*arg1);
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 {
7022 if (temp1)
7023 delete arg1;
7024 }
7025 return resultobj;
7026 fail:
7027 {
7028 if (temp1)
7029 delete arg1;
7030 }
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxString *arg1 = 0 ;
7038 bool temp1 = False ;
7039 PyObject * obj0 = 0 ;
7040 char *kwnames[] = {
7041 (char *) "str", NULL
7042 };
7043
7044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
7045 {
7046 arg1 = wxString_in_helper(obj0);
7047 if (arg1 == NULL) SWIG_fail;
7048 temp1 = True;
7049 }
7050 {
7051 PyThreadState* __tstate = wxPyBeginAllowThreads();
7052 wxLog::RemoveTraceMask((wxString const &)*arg1);
7053
7054 wxPyEndAllowThreads(__tstate);
7055 if (PyErr_Occurred()) SWIG_fail;
7056 }
7057 Py_INCREF(Py_None); resultobj = Py_None;
7058 {
7059 if (temp1)
7060 delete arg1;
7061 }
7062 return resultobj;
7063 fail:
7064 {
7065 if (temp1)
7066 delete arg1;
7067 }
7068 return NULL;
7069 }
7070
7071
7072 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 char *kwnames[] = {
7075 NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 wxLog::ClearTraceMasks();
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 Py_INCREF(Py_None); resultobj = Py_None;
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_Log_GetTraceMasks(PyObject *self, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxArrayString *result;
7096 char *kwnames[] = {
7097 NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 {
7104 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
7105 result = (wxArrayString *) &_result_ref;
7106 }
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 {
7112 resultobj = wxArrayString2PyList_helper(*result);
7113 }
7114 return resultobj;
7115 fail:
7116 return NULL;
7117 }
7118
7119
7120 static PyObject *_wrap_Log_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7121 PyObject *resultobj;
7122 wxChar *arg1 = (wxChar *) 0 ;
7123 PyObject * obj0 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "ts", NULL
7126 };
7127
7128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
7129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 wxLog::SetTimestamp((wxChar const *)arg1);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_Log_GetVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 bool result;
7147 char *kwnames[] = {
7148 NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (bool)wxLog::GetVerbose();
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 resultobj = SWIG_PyObj_FromBool((bool)result);
7160 return resultobj;
7161 fail:
7162 return NULL;
7163 }
7164
7165
7166 static PyObject *_wrap_Log_GetTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7167 PyObject *resultobj;
7168 wxTraceMask result;
7169 char *kwnames[] = {
7170 NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxTraceMask)wxLog::GetTraceMask();
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxChar *arg1 = (wxChar *) 0 ;
7191 bool result;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "mask", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
7198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 resultobj = SWIG_PyObj_FromBool((bool)result);
7207 return resultobj;
7208 fail:
7209 return NULL;
7210 }
7211
7212
7213 static PyObject *_wrap_Log_GetLogLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7214 PyObject *resultobj;
7215 wxLogLevel result;
7216 char *kwnames[] = {
7217 NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
7221 {
7222 PyThreadState* __tstate = wxPyBeginAllowThreads();
7223 result = (wxLogLevel)wxLog::GetLogLevel();
7224
7225 wxPyEndAllowThreads(__tstate);
7226 if (PyErr_Occurred()) SWIG_fail;
7227 }
7228 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7229 return resultobj;
7230 fail:
7231 return NULL;
7232 }
7233
7234
7235 static PyObject *_wrap_Log_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject *resultobj;
7237 wxChar *result;
7238 char *kwnames[] = {
7239 NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (wxChar *)wxLog::GetTimestamp();
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChar, 0);
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_Log_TimeStamp(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxString result;
7260 char *kwnames[] = {
7261 NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = Log_TimeStamp();
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 {
7273 #if wxUSE_UNICODE
7274 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7275 #else
7276 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7277 #endif
7278 }
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_Log_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxLog *arg1 = (wxLog *) 0 ;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 wxLog_Destroy(arg1);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 Py_INCREF(Py_None); resultobj = Py_None;
7303 return resultobj;
7304 fail:
7305 return NULL;
7306 }
7307
7308
7309 static PyObject * Log_swigregister(PyObject *self, PyObject *args) {
7310 PyObject *obj;
7311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7312 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
7313 Py_INCREF(obj);
7314 return Py_BuildValue((char *)"");
7315 }
7316 static PyObject *_wrap_new_LogStderr(PyObject *self, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxLogStderr *result;
7319 char *kwnames[] = {
7320 NULL
7321 };
7322
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (wxLogStderr *)new wxLogStderr();
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogStderr, 1);
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 static PyObject * LogStderr_swigregister(PyObject *self, PyObject *args) {
7339 PyObject *obj;
7340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7341 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
7342 Py_INCREF(obj);
7343 return Py_BuildValue((char *)"");
7344 }
7345 static PyObject *_wrap_new_LogTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7348 wxLogTextCtrl *result;
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "pTextCtrl", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
7355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogTextCtrl, 1);
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 static PyObject * LogTextCtrl_swigregister(PyObject *self, PyObject *args) {
7371 PyObject *obj;
7372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7373 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
7374 Py_INCREF(obj);
7375 return Py_BuildValue((char *)"");
7376 }
7377 static PyObject *_wrap_new_LogGui(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxLogGui *result;
7380 char *kwnames[] = {
7381 NULL
7382 };
7383
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 result = (wxLogGui *)new wxLogGui();
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogGui, 1);
7393 return resultobj;
7394 fail:
7395 return NULL;
7396 }
7397
7398
7399 static PyObject * LogGui_swigregister(PyObject *self, PyObject *args) {
7400 PyObject *obj;
7401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7402 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
7403 Py_INCREF(obj);
7404 return Py_BuildValue((char *)"");
7405 }
7406 static PyObject *_wrap_new_LogWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj;
7408 wxFrame *arg1 = (wxFrame *) 0 ;
7409 wxString *arg2 = 0 ;
7410 bool arg3 = (bool) True ;
7411 bool arg4 = (bool) True ;
7412 wxLogWindow *result;
7413 bool temp2 = False ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 PyObject * obj2 = 0 ;
7417 PyObject * obj3 = 0 ;
7418 char *kwnames[] = {
7419 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7420 };
7421
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7424 {
7425 arg2 = wxString_in_helper(obj1);
7426 if (arg2 == NULL) SWIG_fail;
7427 temp2 = True;
7428 }
7429 if (obj2) {
7430 {
7431 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 }
7435 if (obj3) {
7436 {
7437 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogWindow, 1);
7449 {
7450 if (temp2)
7451 delete arg2;
7452 }
7453 return resultobj;
7454 fail:
7455 {
7456 if (temp2)
7457 delete arg2;
7458 }
7459 return NULL;
7460 }
7461
7462
7463 static PyObject *_wrap_LogWindow_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj;
7465 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7466 bool arg2 = (bool) True ;
7467 PyObject * obj0 = 0 ;
7468 PyObject * obj1 = 0 ;
7469 char *kwnames[] = {
7470 (char *) "self",(char *) "bShow", NULL
7471 };
7472
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
7474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7475 if (obj1) {
7476 {
7477 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 }
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->Show(arg2);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_LogWindow_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7498 wxFrame *result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 {
7514 resultobj = wxPyMake_wxObject(result);
7515 }
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7525 wxLog *result;
7526 PyObject * obj0 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7541 return resultobj;
7542 fail:
7543 return NULL;
7544 }
7545
7546
7547 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7548 PyObject *resultobj;
7549 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7550 bool result;
7551 PyObject * obj0 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 resultobj = SWIG_PyObj_FromBool((bool)result);
7566 return resultobj;
7567 fail:
7568 return NULL;
7569 }
7570
7571
7572 static PyObject *_wrap_LogWindow_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7573 PyObject *resultobj;
7574 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
7575 bool arg2 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self",(char *) "bDoPass", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7584 {
7585 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 (arg1)->PassMessages(arg2);
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 Py_INCREF(Py_None); resultobj = Py_None;
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 static PyObject * LogWindow_swigregister(PyObject *self, PyObject *args) {
7603 PyObject *obj;
7604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
7606 Py_INCREF(obj);
7607 return Py_BuildValue((char *)"");
7608 }
7609 static PyObject *_wrap_new_LogChain(PyObject *self, PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj;
7611 wxLog *arg1 = (wxLog *) 0 ;
7612 wxLogChain *result;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "logger", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
7619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7620 {
7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
7622 result = (wxLogChain *)new wxLogChain(arg1);
7623
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogChain, 1);
7628 return resultobj;
7629 fail:
7630 return NULL;
7631 }
7632
7633
7634 static PyObject *_wrap_LogChain_SetLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxLogChain *arg1 = (wxLogChain *) 0 ;
7637 wxLog *arg2 = (wxLog *) 0 ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self",(char *) "logger", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->SetLog(arg2);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_LogChain_PassMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxLogChain *arg1 = (wxLogChain *) 0 ;
7664 bool arg2 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self",(char *) "bDoPass", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 {
7674 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->PassMessages(arg2);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 Py_INCREF(Py_None); resultobj = Py_None;
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxLogChain *arg1 = (wxLogChain *) 0 ;
7694 bool result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (bool)(arg1)->IsPassingMessages();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = SWIG_PyObj_FromBool((bool)result);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_LogChain_GetOldLog(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxLogChain *arg1 = (wxLogChain *) 0 ;
7719 wxLog *result;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogChain,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 result = (wxLog *)(arg1)->GetOldLog();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLog, 0);
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject * LogChain_swigregister(PyObject *self, PyObject *args) {
7742 PyObject *obj;
7743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
7745 Py_INCREF(obj);
7746 return Py_BuildValue((char *)"");
7747 }
7748 static PyObject *_wrap_SysErrorCode(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 unsigned long result;
7751 char *kwnames[] = {
7752 NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = (unsigned long)wxSysErrorCode();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
7764 return resultobj;
7765 fail:
7766 return NULL;
7767 }
7768
7769
7770 static PyObject *_wrap_SysErrorMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
7771 PyObject *resultobj;
7772 unsigned long arg1 = (unsigned long) 0 ;
7773 wxString result;
7774 PyObject * obj0 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "nErrCode", NULL
7777 };
7778
7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
7780 if (obj0) {
7781 {
7782 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 }
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 result = wxSysErrorMsg(arg1);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 {
7794 #if wxUSE_UNICODE
7795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7796 #else
7797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7798 #endif
7799 }
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 static PyObject *_wrap_LogFatalError(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj;
7808 wxString *arg1 = 0 ;
7809 bool temp1 = False ;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "msg", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
7816 {
7817 arg1 = wxString_in_helper(obj0);
7818 if (arg1 == NULL) SWIG_fail;
7819 temp1 = True;
7820 }
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 wxLogFatalError((wxString const &)*arg1);
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 {
7830 if (temp1)
7831 delete arg1;
7832 }
7833 return resultobj;
7834 fail:
7835 {
7836 if (temp1)
7837 delete arg1;
7838 }
7839 return NULL;
7840 }
7841
7842
7843 static PyObject *_wrap_LogError(PyObject *self, PyObject *args, PyObject *kwargs) {
7844 PyObject *resultobj;
7845 wxString *arg1 = 0 ;
7846 bool temp1 = False ;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "msg", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
7853 {
7854 arg1 = wxString_in_helper(obj0);
7855 if (arg1 == NULL) SWIG_fail;
7856 temp1 = True;
7857 }
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 wxLogError((wxString const &)*arg1);
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 Py_INCREF(Py_None); resultobj = Py_None;
7866 {
7867 if (temp1)
7868 delete arg1;
7869 }
7870 return resultobj;
7871 fail:
7872 {
7873 if (temp1)
7874 delete arg1;
7875 }
7876 return NULL;
7877 }
7878
7879
7880 static PyObject *_wrap_LogWarning(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxString *arg1 = 0 ;
7883 bool temp1 = False ;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "msg", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
7890 {
7891 arg1 = wxString_in_helper(obj0);
7892 if (arg1 == NULL) SWIG_fail;
7893 temp1 = True;
7894 }
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 wxLogWarning((wxString const &)*arg1);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 Py_INCREF(Py_None); resultobj = Py_None;
7903 {
7904 if (temp1)
7905 delete arg1;
7906 }
7907 return resultobj;
7908 fail:
7909 {
7910 if (temp1)
7911 delete arg1;
7912 }
7913 return NULL;
7914 }
7915
7916
7917 static PyObject *_wrap_LogMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxString *arg1 = 0 ;
7920 bool temp1 = False ;
7921 PyObject * obj0 = 0 ;
7922 char *kwnames[] = {
7923 (char *) "msg", NULL
7924 };
7925
7926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
7927 {
7928 arg1 = wxString_in_helper(obj0);
7929 if (arg1 == NULL) SWIG_fail;
7930 temp1 = True;
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 wxLogMessage((wxString const &)*arg1);
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 Py_INCREF(Py_None); resultobj = Py_None;
7940 {
7941 if (temp1)
7942 delete arg1;
7943 }
7944 return resultobj;
7945 fail:
7946 {
7947 if (temp1)
7948 delete arg1;
7949 }
7950 return NULL;
7951 }
7952
7953
7954 static PyObject *_wrap_LogInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxString *arg1 = 0 ;
7957 bool temp1 = False ;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "msg", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
7964 {
7965 arg1 = wxString_in_helper(obj0);
7966 if (arg1 == NULL) SWIG_fail;
7967 temp1 = True;
7968 }
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 wxLogInfo((wxString const &)*arg1);
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 Py_INCREF(Py_None); resultobj = Py_None;
7977 {
7978 if (temp1)
7979 delete arg1;
7980 }
7981 return resultobj;
7982 fail:
7983 {
7984 if (temp1)
7985 delete arg1;
7986 }
7987 return NULL;
7988 }
7989
7990
7991 static PyObject *_wrap_LogDebug(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxString *arg1 = 0 ;
7994 bool temp1 = False ;
7995 PyObject * obj0 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "msg", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
8001 {
8002 arg1 = wxString_in_helper(obj0);
8003 if (arg1 == NULL) SWIG_fail;
8004 temp1 = True;
8005 }
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 wxLogDebug((wxString const &)*arg1);
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 Py_INCREF(Py_None); resultobj = Py_None;
8014 {
8015 if (temp1)
8016 delete arg1;
8017 }
8018 return resultobj;
8019 fail:
8020 {
8021 if (temp1)
8022 delete arg1;
8023 }
8024 return NULL;
8025 }
8026
8027
8028 static PyObject *_wrap_LogVerbose(PyObject *self, PyObject *args, PyObject *kwargs) {
8029 PyObject *resultobj;
8030 wxString *arg1 = 0 ;
8031 bool temp1 = False ;
8032 PyObject * obj0 = 0 ;
8033 char *kwnames[] = {
8034 (char *) "msg", NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
8038 {
8039 arg1 = wxString_in_helper(obj0);
8040 if (arg1 == NULL) SWIG_fail;
8041 temp1 = True;
8042 }
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 wxLogVerbose((wxString const &)*arg1);
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 Py_INCREF(Py_None); resultobj = Py_None;
8051 {
8052 if (temp1)
8053 delete arg1;
8054 }
8055 return resultobj;
8056 fail:
8057 {
8058 if (temp1)
8059 delete arg1;
8060 }
8061 return NULL;
8062 }
8063
8064
8065 static PyObject *_wrap_LogStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxString *arg1 = 0 ;
8068 bool temp1 = False ;
8069 PyObject * obj0 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "msg", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
8075 {
8076 arg1 = wxString_in_helper(obj0);
8077 if (arg1 == NULL) SWIG_fail;
8078 temp1 = True;
8079 }
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 wxLogStatus((wxString const &)*arg1);
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
8087 Py_INCREF(Py_None); resultobj = Py_None;
8088 {
8089 if (temp1)
8090 delete arg1;
8091 }
8092 return resultobj;
8093 fail:
8094 {
8095 if (temp1)
8096 delete arg1;
8097 }
8098 return NULL;
8099 }
8100
8101
8102 static PyObject *_wrap_LogStatusFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8103 PyObject *resultobj;
8104 wxFrame *arg1 = (wxFrame *) 0 ;
8105 wxString *arg2 = 0 ;
8106 bool temp2 = False ;
8107 PyObject * obj0 = 0 ;
8108 PyObject * obj1 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "pFrame",(char *) "msg", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 {
8116 arg2 = wxString_in_helper(obj1);
8117 if (arg2 == NULL) SWIG_fail;
8118 temp2 = True;
8119 }
8120 {
8121 PyThreadState* __tstate = wxPyBeginAllowThreads();
8122 wxLogStatus(arg1,(wxString const &)*arg2);
8123
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 Py_INCREF(Py_None); resultobj = Py_None;
8128 {
8129 if (temp2)
8130 delete arg2;
8131 }
8132 return resultobj;
8133 fail:
8134 {
8135 if (temp2)
8136 delete arg2;
8137 }
8138 return NULL;
8139 }
8140
8141
8142 static PyObject *_wrap_LogSysError(PyObject *self, PyObject *args, PyObject *kwargs) {
8143 PyObject *resultobj;
8144 wxString *arg1 = 0 ;
8145 bool temp1 = False ;
8146 PyObject * obj0 = 0 ;
8147 char *kwnames[] = {
8148 (char *) "msg", NULL
8149 };
8150
8151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
8152 {
8153 arg1 = wxString_in_helper(obj0);
8154 if (arg1 == NULL) SWIG_fail;
8155 temp1 = True;
8156 }
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 wxLogSysError((wxString const &)*arg1);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 Py_INCREF(Py_None); resultobj = Py_None;
8165 {
8166 if (temp1)
8167 delete arg1;
8168 }
8169 return resultobj;
8170 fail:
8171 {
8172 if (temp1)
8173 delete arg1;
8174 }
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *self, PyObject *args) {
8180 PyObject *resultobj;
8181 unsigned long arg1 ;
8182 wxString *arg2 = 0 ;
8183 bool temp2 = False ;
8184 PyObject * obj0 = 0 ;
8185 PyObject * obj1 = 0 ;
8186
8187 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8188 {
8189 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 {
8193 arg2 = wxString_in_helper(obj1);
8194 if (arg2 == NULL) SWIG_fail;
8195 temp2 = True;
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 wxLogTrace(arg1,(wxString const &)*arg2);
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 Py_INCREF(Py_None); resultobj = Py_None;
8205 {
8206 if (temp2)
8207 delete arg2;
8208 }
8209 return resultobj;
8210 fail:
8211 {
8212 if (temp2)
8213 delete arg2;
8214 }
8215 return NULL;
8216 }
8217
8218
8219 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *self, PyObject *args) {
8220 PyObject *resultobj;
8221 wxString *arg1 = 0 ;
8222 wxString *arg2 = 0 ;
8223 bool temp1 = False ;
8224 bool temp2 = False ;
8225 PyObject * obj0 = 0 ;
8226 PyObject * obj1 = 0 ;
8227
8228 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
8229 {
8230 arg1 = wxString_in_helper(obj0);
8231 if (arg1 == NULL) SWIG_fail;
8232 temp1 = True;
8233 }
8234 {
8235 arg2 = wxString_in_helper(obj1);
8236 if (arg2 == NULL) SWIG_fail;
8237 temp2 = True;
8238 }
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 wxLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 Py_INCREF(Py_None); resultobj = Py_None;
8247 {
8248 if (temp1)
8249 delete arg1;
8250 }
8251 {
8252 if (temp2)
8253 delete arg2;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp1)
8259 delete arg1;
8260 }
8261 {
8262 if (temp2)
8263 delete arg2;
8264 }
8265 return NULL;
8266 }
8267
8268
8269 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
8270 int argc;
8271 PyObject *argv[3];
8272 int ii;
8273
8274 argc = PyObject_Length(args);
8275 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
8276 argv[ii] = PyTuple_GetItem(args,ii);
8277 }
8278 if (argc == 2) {
8279 int _v;
8280 {
8281 void *ptr;
8282 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8283 _v = 0;
8284 PyErr_Clear();
8285 } else {
8286 _v = 1;
8287 }
8288 }
8289 if (_v) {
8290 {
8291 void *ptr;
8292 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8293 _v = 0;
8294 PyErr_Clear();
8295 } else {
8296 _v = 1;
8297 }
8298 }
8299 if (_v) {
8300 return _wrap_LogTrace__SWIG_1(self,args);
8301 }
8302 }
8303 }
8304 if (argc == 2) {
8305 int _v;
8306 {
8307 SWIG_PyObj_AsUnsignedLong(argv[0]);
8308 if (PyErr_Occurred()) {
8309 _v = 0;
8310 PyErr_Clear();
8311 } else {
8312 _v = 1;
8313 }
8314 }
8315 if (_v) {
8316 {
8317 void *ptr;
8318 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxString, 0) == -1) {
8319 _v = 0;
8320 PyErr_Clear();
8321 } else {
8322 _v = 1;
8323 }
8324 }
8325 if (_v) {
8326 return _wrap_LogTrace__SWIG_0(self,args);
8327 }
8328 }
8329 }
8330
8331 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'LogTrace'");
8332 return NULL;
8333 }
8334
8335
8336 static PyObject *_wrap_LogGeneric(PyObject *self, PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj;
8338 unsigned long arg1 ;
8339 wxString *arg2 = 0 ;
8340 bool temp2 = False ;
8341 PyObject * obj0 = 0 ;
8342 PyObject * obj1 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "level",(char *) "msg", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
8348 {
8349 arg1 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj0);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 {
8353 arg2 = wxString_in_helper(obj1);
8354 if (arg2 == NULL) SWIG_fail;
8355 temp2 = True;
8356 }
8357 {
8358 PyThreadState* __tstate = wxPyBeginAllowThreads();
8359 wxLogGeneric(arg1,(wxString const &)*arg2);
8360
8361 wxPyEndAllowThreads(__tstate);
8362 if (PyErr_Occurred()) SWIG_fail;
8363 }
8364 Py_INCREF(Py_None); resultobj = Py_None;
8365 {
8366 if (temp2)
8367 delete arg2;
8368 }
8369 return resultobj;
8370 fail:
8371 {
8372 if (temp2)
8373 delete arg2;
8374 }
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_SafeShowMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxString *arg1 = 0 ;
8382 wxString *arg2 = 0 ;
8383 bool temp1 = False ;
8384 bool temp2 = False ;
8385 PyObject * obj0 = 0 ;
8386 PyObject * obj1 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "title",(char *) "text", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
8392 {
8393 arg1 = wxString_in_helper(obj0);
8394 if (arg1 == NULL) SWIG_fail;
8395 temp1 = True;
8396 }
8397 {
8398 arg2 = wxString_in_helper(obj1);
8399 if (arg2 == NULL) SWIG_fail;
8400 temp2 = True;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 {
8411 if (temp1)
8412 delete arg1;
8413 }
8414 {
8415 if (temp2)
8416 delete arg2;
8417 }
8418 return resultobj;
8419 fail:
8420 {
8421 if (temp1)
8422 delete arg1;
8423 }
8424 {
8425 if (temp2)
8426 delete arg2;
8427 }
8428 return NULL;
8429 }
8430
8431
8432 static PyObject *_wrap_new_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8433 PyObject *resultobj;
8434 wxLogNull *result;
8435 char *kwnames[] = {
8436 NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (wxLogNull *)new wxLogNull();
8443
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLogNull, 1);
8448 return resultobj;
8449 fail:
8450 return NULL;
8451 }
8452
8453
8454 static PyObject *_wrap_delete_LogNull(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxLogNull *arg1 = (wxLogNull *) 0 ;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
8463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLogNull,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 delete arg1;
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475 }
8476
8477
8478 static PyObject * LogNull_swigregister(PyObject *self, PyObject *args) {
8479 PyObject *obj;
8480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8481 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
8482 Py_INCREF(obj);
8483 return Py_BuildValue((char *)"");
8484 }
8485 static PyObject *_wrap_new_PyLog(PyObject *self, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxPyLog *result;
8488 char *kwnames[] = {
8489 NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (wxPyLog *)new wxPyLog();
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyLog, 1);
8501 return resultobj;
8502 fail:
8503 return NULL;
8504 }
8505
8506
8507 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8508 PyObject *resultobj;
8509 wxPyLog *arg1 = (wxPyLog *) 0 ;
8510 PyObject *arg2 = (PyObject *) 0 ;
8511 PyObject *arg3 = (PyObject *) 0 ;
8512 PyObject * obj0 = 0 ;
8513 PyObject * obj1 = 0 ;
8514 PyObject * obj2 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self",(char *) "self",(char *) "_class", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyLog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8521 arg2 = obj1;
8522 arg3 = obj2;
8523 {
8524 PyThreadState* __tstate = wxPyBeginAllowThreads();
8525 (arg1)->_setCallbackInfo(arg2,arg3);
8526
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 Py_INCREF(Py_None); resultobj = Py_None;
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 static PyObject * PyLog_swigregister(PyObject *self, PyObject *args) {
8538 PyObject *obj;
8539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8540 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
8541 Py_INCREF(obj);
8542 return Py_BuildValue((char *)"");
8543 }
8544 static PyObject *_wrap_Process_Kill(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 int arg1 ;
8547 int arg2 = (int) wxSIGTERM ;
8548 int result;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "pid",(char *) "sig", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Kill",kwnames,&obj0,&obj1)) goto fail;
8556 {
8557 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 if (obj1) {
8561 {
8562 arg2 = (wxSignal) SWIG_PyObj_AsInt(obj1);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)wxPyProcess::Kill(arg1,(wxSignal )arg2);
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = SWIG_PyObj_FromInt((int)result);
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 static PyObject *_wrap_Process_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 int arg1 ;
8583 bool result;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "pid", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
8590 {
8591 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 {
8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
8596 result = (bool)wxPyProcess::Exists(arg1);
8597
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_PyObj_FromBool((bool)result);
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 static PyObject *_wrap_Process_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj;
8610 wxString *arg1 = 0 ;
8611 int arg2 = (int) wxEXEC_ASYNC ;
8612 wxPyProcess *result;
8613 bool temp1 = False ;
8614 PyObject * obj0 = 0 ;
8615 PyObject * obj1 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "cmd",(char *) "flags", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
8621 {
8622 arg1 = wxString_in_helper(obj0);
8623 if (arg1 == NULL) SWIG_fail;
8624 temp1 = True;
8625 }
8626 if (obj1) {
8627 {
8628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 }
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 0);
8640 {
8641 if (temp1)
8642 delete arg1;
8643 }
8644 return resultobj;
8645 fail:
8646 {
8647 if (temp1)
8648 delete arg1;
8649 }
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_new_Process(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8657 int arg2 = (int) -1 ;
8658 wxPyProcess *result;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "parent",(char *) "id", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
8666 if (obj0) {
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEvtHandler,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 }
8669 if (obj1) {
8670 {
8671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 }
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyProcess, 1);
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 static PyObject *_wrap_Process__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8690 PyObject *resultobj;
8691 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8692 PyObject *arg2 = (PyObject *) 0 ;
8693 PyObject *arg3 = (PyObject *) 0 ;
8694 PyObject * obj0 = 0 ;
8695 PyObject * obj1 = 0 ;
8696 PyObject * obj2 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self",(char *) "self",(char *) "_class", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8703 arg2 = obj1;
8704 arg3 = obj2;
8705 {
8706 PyThreadState* __tstate = wxPyBeginAllowThreads();
8707 (arg1)->_setCallbackInfo(arg2,arg3);
8708
8709 wxPyEndAllowThreads(__tstate);
8710 if (PyErr_Occurred()) SWIG_fail;
8711 }
8712 Py_INCREF(Py_None); resultobj = Py_None;
8713 return resultobj;
8714 fail:
8715 return NULL;
8716 }
8717
8718
8719 static PyObject *_wrap_Process_base_OnTerminate(PyObject *self, PyObject *args, PyObject *kwargs) {
8720 PyObject *resultobj;
8721 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8722 int arg2 ;
8723 int arg3 ;
8724 PyObject * obj0 = 0 ;
8725 PyObject * obj1 = 0 ;
8726 PyObject * obj2 = 0 ;
8727 char *kwnames[] = {
8728 (char *) "self",(char *) "pid",(char *) "status", NULL
8729 };
8730
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
8732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8733 {
8734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 {
8738 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 {
8742 PyThreadState* __tstate = wxPyBeginAllowThreads();
8743 (arg1)->base_OnTerminate(arg2,arg3);
8744
8745 wxPyEndAllowThreads(__tstate);
8746 if (PyErr_Occurred()) SWIG_fail;
8747 }
8748 Py_INCREF(Py_None); resultobj = Py_None;
8749 return resultobj;
8750 fail:
8751 return NULL;
8752 }
8753
8754
8755 static PyObject *_wrap_Process_Redirect(PyObject *self, PyObject *args, PyObject *kwargs) {
8756 PyObject *resultobj;
8757 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8758 PyObject * obj0 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 (arg1)->Redirect();
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 Py_INCREF(Py_None); resultobj = Py_None;
8773 return resultobj;
8774 fail:
8775 return NULL;
8776 }
8777
8778
8779 static PyObject *_wrap_Process_IsRedirected(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8782 bool result;
8783 PyObject * obj0 = 0 ;
8784 char *kwnames[] = {
8785 (char *) "self", NULL
8786 };
8787
8788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
8789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = (bool)(arg1)->IsRedirected();
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = SWIG_PyObj_FromBool((bool)result);
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 static PyObject *_wrap_Process_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->Detach();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_Process_GetInputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8831 wxInputStream *result;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (wxInputStream *)(arg1)->GetInputStream();
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 {
8847 wxPyInputStream * _ptr = NULL;
8848
8849 if (result) {
8850 _ptr = new wxPyInputStream(result);
8851 }
8852 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8853 }
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 static PyObject *_wrap_Process_GetErrorStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8861 PyObject *resultobj;
8862 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8863 wxInputStream *result;
8864 PyObject * obj0 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 PyThreadState* __tstate = wxPyBeginAllowThreads();
8873 result = (wxInputStream *)(arg1)->GetErrorStream();
8874
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 {
8879 wxPyInputStream * _ptr = NULL;
8880
8881 if (result) {
8882 _ptr = new wxPyInputStream(result);
8883 }
8884 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
8885 }
8886 return resultobj;
8887 fail:
8888 return NULL;
8889 }
8890
8891
8892 static PyObject *_wrap_Process_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj;
8894 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8895 wxOutputStream *result;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (wxOutputStream *)(arg1)->GetOutputStream();
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_Process_CloseOutput(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->CloseOutput();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_Process_IsInputOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8944 bool result;
8945 PyObject * obj0 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "self", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 resultobj = SWIG_PyObj_FromBool((bool)result);
8960 return resultobj;
8961 fail:
8962 return NULL;
8963 }
8964
8965
8966 static PyObject *_wrap_Process_IsInputAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8969 bool result;
8970 PyObject * obj0 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 resultobj = SWIG_PyObj_FromBool((bool)result);
8985 return resultobj;
8986 fail:
8987 return NULL;
8988 }
8989
8990
8991 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
8994 bool result;
8995 PyObject * obj0 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = SWIG_PyObj_FromBool((bool)result);
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject * Process_swigregister(PyObject *self, PyObject *args) {
9017 PyObject *obj;
9018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9019 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
9020 Py_INCREF(obj);
9021 return Py_BuildValue((char *)"");
9022 }
9023 static PyObject *_wrap_new_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 int arg1 = (int) 0 ;
9026 int arg2 = (int) 0 ;
9027 int arg3 = (int) 0 ;
9028 wxProcessEvent *result;
9029 PyObject * obj0 = 0 ;
9030 PyObject * obj1 = 0 ;
9031 PyObject * obj2 = 0 ;
9032 char *kwnames[] = {
9033 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9034 };
9035
9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
9037 if (obj0) {
9038 {
9039 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 }
9043 if (obj1) {
9044 {
9045 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 }
9049 if (obj2) {
9050 {
9051 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 }
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProcessEvent, 1);
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9072 int result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (int)(arg1)->GetPid();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 resultobj = SWIG_PyObj_FromInt((int)result);
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9097 int result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 result = (int)(arg1)->GetExitCode();
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 resultobj = SWIG_PyObj_FromInt((int)result);
9113 return resultobj;
9114 fail:
9115 return NULL;
9116 }
9117
9118
9119 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9122 int arg2 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self",(char *) "m_pid", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 {
9132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 if (arg1) (arg1)->m_pid = arg2;
9136
9137 Py_INCREF(Py_None); resultobj = Py_None;
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9147 int result;
9148 PyObject * obj0 = 0 ;
9149 char *kwnames[] = {
9150 (char *) "self", NULL
9151 };
9152
9153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
9154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9155 result = (int) ((arg1)->m_pid);
9156
9157 resultobj = SWIG_PyObj_FromInt((int)result);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9167 int arg2 ;
9168 PyObject * obj0 = 0 ;
9169 PyObject * obj1 = 0 ;
9170 char *kwnames[] = {
9171 (char *) "self",(char *) "m_exitcode", NULL
9172 };
9173
9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
9175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9176 {
9177 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 if (arg1) (arg1)->m_exitcode = arg2;
9181
9182 Py_INCREF(Py_None); resultobj = Py_None;
9183 return resultobj;
9184 fail:
9185 return NULL;
9186 }
9187
9188
9189 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj;
9191 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
9192 int result;
9193 PyObject * obj0 = 0 ;
9194 char *kwnames[] = {
9195 (char *) "self", NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
9199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProcessEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9200 result = (int) ((arg1)->m_exitcode);
9201
9202 resultobj = SWIG_PyObj_FromInt((int)result);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject * ProcessEvent_swigregister(PyObject *self, PyObject *args) {
9210 PyObject *obj;
9211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9212 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
9213 Py_INCREF(obj);
9214 return Py_BuildValue((char *)"");
9215 }
9216 static PyObject *_wrap_Execute(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxString *arg1 = 0 ;
9219 int arg2 = (int) wxEXEC_ASYNC ;
9220 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
9221 long result;
9222 bool temp1 = False ;
9223 PyObject * obj0 = 0 ;
9224 PyObject * obj1 = 0 ;
9225 PyObject * obj2 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "command",(char *) "flags",(char *) "process", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
9231 {
9232 arg1 = wxString_in_helper(obj0);
9233 if (arg1 == NULL) SWIG_fail;
9234 temp1 = True;
9235 }
9236 if (obj1) {
9237 {
9238 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 }
9242 if (obj2) {
9243 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyProcess,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9244 }
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = SWIG_PyObj_FromLong((long)result);
9253 {
9254 if (temp1)
9255 delete arg1;
9256 }
9257 return resultobj;
9258 fail:
9259 {
9260 if (temp1)
9261 delete arg1;
9262 }
9263 return NULL;
9264 }
9265
9266
9267 static PyObject *_wrap_new_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject *resultobj;
9269 int arg1 = (int) wxJOYSTICK1 ;
9270 wxJoystick *result;
9271 PyObject * obj0 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "joystick", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
9277 if (obj0) {
9278 {
9279 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 }
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 result = (wxJoystick *)new wxJoystick(arg1);
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystick, 1);
9291 return resultobj;
9292 fail:
9293 return NULL;
9294 }
9295
9296
9297 static PyObject *_wrap_delete_Joystick(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxJoystick *arg1 = (wxJoystick *) 0 ;
9300 PyObject * obj0 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self", NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
9306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 delete arg1;
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 Py_INCREF(Py_None); resultobj = Py_None;
9315 return resultobj;
9316 fail:
9317 return NULL;
9318 }
9319
9320
9321 static PyObject *_wrap_Joystick_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9322 PyObject *resultobj;
9323 wxJoystick *arg1 = (wxJoystick *) 0 ;
9324 wxPoint result;
9325 PyObject * obj0 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
9331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 result = (arg1)->GetPosition();
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 {
9340 wxPoint * resultptr;
9341 resultptr = new wxPoint((wxPoint &) result);
9342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9343 }
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_Joystick_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxJoystick *arg1 = (wxJoystick *) 0 ;
9353 int result;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 result = (int)(arg1)->GetZPosition();
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 resultobj = SWIG_PyObj_FromInt((int)result);
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_Joystick_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxJoystick *arg1 = (wxJoystick *) 0 ;
9378 int result;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)(arg1)->GetButtonState();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = SWIG_PyObj_FromInt((int)result);
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxJoystick *arg1 = (wxJoystick *) 0 ;
9403 int result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = (int)(arg1)->GetPOVPosition();
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 resultobj = SWIG_PyObj_FromInt((int)result);
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxJoystick *arg1 = (wxJoystick *) 0 ;
9428 int result;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (int)(arg1)->GetPOVCTSPosition();
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = SWIG_PyObj_FromInt((int)result);
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxJoystick *arg1 = (wxJoystick *) 0 ;
9453 int result;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 result = (int)(arg1)->GetRudderPosition();
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 resultobj = SWIG_PyObj_FromInt((int)result);
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_Joystick_GetUPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxJoystick *arg1 = (wxJoystick *) 0 ;
9478 int result;
9479 PyObject * obj0 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)(arg1)->GetUPosition();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_PyObj_FromInt((int)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_Joystick_GetVPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxJoystick *arg1 = (wxJoystick *) 0 ;
9503 int result;
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = (int)(arg1)->GetVPosition();
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 resultobj = SWIG_PyObj_FromInt((int)result);
9519 return resultobj;
9520 fail:
9521 return NULL;
9522 }
9523
9524
9525 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxJoystick *arg1 = (wxJoystick *) 0 ;
9528 int result;
9529 PyObject * obj0 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
9535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (int)(arg1)->GetMovementThreshold();
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = SWIG_PyObj_FromInt((int)result);
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxJoystick *arg1 = (wxJoystick *) 0 ;
9553 int arg2 ;
9554 PyObject * obj0 = 0 ;
9555 PyObject * obj1 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self",(char *) "threshold", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9562 {
9563 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 (arg1)->SetMovementThreshold(arg2);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 Py_INCREF(Py_None); resultobj = Py_None;
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_Joystick_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxJoystick *arg1 = (wxJoystick *) 0 ;
9583 bool result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (bool)(arg1)->IsOk();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = SWIG_PyObj_FromBool((bool)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxJoystick *arg1 = (wxJoystick *) 0 ;
9608 int result;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (int)(arg1)->GetNumberJoysticks();
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = SWIG_PyObj_FromInt((int)result);
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxJoystick *arg1 = (wxJoystick *) 0 ;
9633 int result;
9634 PyObject * obj0 = 0 ;
9635 char *kwnames[] = {
9636 (char *) "self", NULL
9637 };
9638
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
9640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 result = (int)(arg1)->GetManufacturerId();
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 resultobj = SWIG_PyObj_FromInt((int)result);
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 static PyObject *_wrap_Joystick_GetProductId(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxJoystick *arg1 = (wxJoystick *) 0 ;
9658 int result;
9659 PyObject * obj0 = 0 ;
9660 char *kwnames[] = {
9661 (char *) "self", NULL
9662 };
9663
9664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
9665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (int)(arg1)->GetProductId();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_PyObj_FromInt((int)result);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677 }
9678
9679
9680 static PyObject *_wrap_Joystick_GetProductName(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxJoystick *arg1 = (wxJoystick *) 0 ;
9683 wxString result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 result = (arg1)->GetProductName();
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 #if wxUSE_UNICODE
9700 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9701 #else
9702 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9703 #endif
9704 }
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_Joystick_GetXMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxJoystick *arg1 = (wxJoystick *) 0 ;
9714 int result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (int)(arg1)->GetXMin();
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = SWIG_PyObj_FromInt((int)result);
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_Joystick_GetYMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxJoystick *arg1 = (wxJoystick *) 0 ;
9739 int result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
9746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 result = (int)(arg1)->GetYMin();
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_PyObj_FromInt((int)result);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_Joystick_GetZMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxJoystick *arg1 = (wxJoystick *) 0 ;
9764 int result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (int)(arg1)->GetZMin();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 resultobj = SWIG_PyObj_FromInt((int)result);
9780 return resultobj;
9781 fail:
9782 return NULL;
9783 }
9784
9785
9786 static PyObject *_wrap_Joystick_GetXMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxJoystick *arg1 = (wxJoystick *) 0 ;
9789 int result;
9790 PyObject * obj0 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9797 {
9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9799 result = (int)(arg1)->GetXMax();
9800
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_PyObj_FromInt((int)result);
9805 return resultobj;
9806 fail:
9807 return NULL;
9808 }
9809
9810
9811 static PyObject *_wrap_Joystick_GetYMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj;
9813 wxJoystick *arg1 = (wxJoystick *) 0 ;
9814 int result;
9815 PyObject * obj0 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 result = (int)(arg1)->GetYMax();
9825
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 resultobj = SWIG_PyObj_FromInt((int)result);
9830 return resultobj;
9831 fail:
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_Joystick_GetZMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxJoystick *arg1 = (wxJoystick *) 0 ;
9839 int result;
9840 PyObject * obj0 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (int)(arg1)->GetZMax();
9850
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_PyObj_FromInt((int)result);
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxJoystick *arg1 = (wxJoystick *) 0 ;
9864 int result;
9865 PyObject * obj0 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (int)(arg1)->GetNumberButtons();
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 resultobj = SWIG_PyObj_FromInt((int)result);
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 wxJoystick *arg1 = (wxJoystick *) 0 ;
9889 int result;
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
9896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (int)(arg1)->GetNumberAxes();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_PyObj_FromInt((int)result);
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxJoystick *arg1 = (wxJoystick *) 0 ;
9914 int result;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = (int)(arg1)->GetMaxButtons();
9925
9926 wxPyEndAllowThreads(__tstate);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 resultobj = SWIG_PyObj_FromInt((int)result);
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxJoystick *arg1 = (wxJoystick *) 0 ;
9939 int result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (int)(arg1)->GetMaxAxes();
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 resultobj = SWIG_PyObj_FromInt((int)result);
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxJoystick *arg1 = (wxJoystick *) 0 ;
9964 int result;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 result = (int)(arg1)->GetPollingMin();
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 resultobj = SWIG_PyObj_FromInt((int)result);
9980 return resultobj;
9981 fail:
9982 return NULL;
9983 }
9984
9985
9986 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9987 PyObject *resultobj;
9988 wxJoystick *arg1 = (wxJoystick *) 0 ;
9989 int result;
9990 PyObject * obj0 = 0 ;
9991 char *kwnames[] = {
9992 (char *) "self", NULL
9993 };
9994
9995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
9996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)(arg1)->GetPollingMax();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_PyObj_FromInt((int)result);
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxJoystick *arg1 = (wxJoystick *) 0 ;
10014 int result;
10015 PyObject * obj0 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 result = (int)(arg1)->GetRudderMin();
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 resultobj = SWIG_PyObj_FromInt((int)result);
10030 return resultobj;
10031 fail:
10032 return NULL;
10033 }
10034
10035
10036 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10037 PyObject *resultobj;
10038 wxJoystick *arg1 = (wxJoystick *) 0 ;
10039 int result;
10040 PyObject * obj0 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
10046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 result = (int)(arg1)->GetRudderMax();
10050
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 resultobj = SWIG_PyObj_FromInt((int)result);
10055 return resultobj;
10056 fail:
10057 return NULL;
10058 }
10059
10060
10061 static PyObject *_wrap_Joystick_GetUMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj;
10063 wxJoystick *arg1 = (wxJoystick *) 0 ;
10064 int result;
10065 PyObject * obj0 = 0 ;
10066 char *kwnames[] = {
10067 (char *) "self", NULL
10068 };
10069
10070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
10071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 result = (int)(arg1)->GetUMin();
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_PyObj_FromInt((int)result);
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 static PyObject *_wrap_Joystick_GetUMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxJoystick *arg1 = (wxJoystick *) 0 ;
10089 int result;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (int)(arg1)->GetUMax();
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = SWIG_PyObj_FromInt((int)result);
10105 return resultobj;
10106 fail:
10107 return NULL;
10108 }
10109
10110
10111 static PyObject *_wrap_Joystick_GetVMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxJoystick *arg1 = (wxJoystick *) 0 ;
10114 int result;
10115 PyObject * obj0 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (int)(arg1)->GetVMin();
10125
10126 wxPyEndAllowThreads(__tstate);
10127 if (PyErr_Occurred()) SWIG_fail;
10128 }
10129 resultobj = SWIG_PyObj_FromInt((int)result);
10130 return resultobj;
10131 fail:
10132 return NULL;
10133 }
10134
10135
10136 static PyObject *_wrap_Joystick_GetVMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10137 PyObject *resultobj;
10138 wxJoystick *arg1 = (wxJoystick *) 0 ;
10139 int result;
10140 PyObject * obj0 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "self", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
10146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (int)(arg1)->GetVMax();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 resultobj = SWIG_PyObj_FromInt((int)result);
10155 return resultobj;
10156 fail:
10157 return NULL;
10158 }
10159
10160
10161 static PyObject *_wrap_Joystick_HasRudder(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxJoystick *arg1 = (wxJoystick *) 0 ;
10164 bool result;
10165 PyObject * obj0 = 0 ;
10166 char *kwnames[] = {
10167 (char *) "self", NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
10171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (bool)(arg1)->HasRudder();
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 resultobj = SWIG_PyObj_FromBool((bool)result);
10180 return resultobj;
10181 fail:
10182 return NULL;
10183 }
10184
10185
10186 static PyObject *_wrap_Joystick_HasZ(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject *resultobj;
10188 wxJoystick *arg1 = (wxJoystick *) 0 ;
10189 bool result;
10190 PyObject * obj0 = 0 ;
10191 char *kwnames[] = {
10192 (char *) "self", NULL
10193 };
10194
10195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
10196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (bool)(arg1)->HasZ();
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = SWIG_PyObj_FromBool((bool)result);
10205 return resultobj;
10206 fail:
10207 return NULL;
10208 }
10209
10210
10211 static PyObject *_wrap_Joystick_HasU(PyObject *self, PyObject *args, PyObject *kwargs) {
10212 PyObject *resultobj;
10213 wxJoystick *arg1 = (wxJoystick *) 0 ;
10214 bool result;
10215 PyObject * obj0 = 0 ;
10216 char *kwnames[] = {
10217 (char *) "self", NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
10221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 result = (bool)(arg1)->HasU();
10225
10226 wxPyEndAllowThreads(__tstate);
10227 if (PyErr_Occurred()) SWIG_fail;
10228 }
10229 resultobj = SWIG_PyObj_FromBool((bool)result);
10230 return resultobj;
10231 fail:
10232 return NULL;
10233 }
10234
10235
10236 static PyObject *_wrap_Joystick_HasV(PyObject *self, PyObject *args, PyObject *kwargs) {
10237 PyObject *resultobj;
10238 wxJoystick *arg1 = (wxJoystick *) 0 ;
10239 bool result;
10240 PyObject * obj0 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (bool)(arg1)->HasV();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
10254 resultobj = SWIG_PyObj_FromBool((bool)result);
10255 return resultobj;
10256 fail:
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_Joystick_HasPOV(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxJoystick *arg1 = (wxJoystick *) 0 ;
10264 bool result;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "self", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
10271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (bool)(arg1)->HasPOV();
10275
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 resultobj = SWIG_PyObj_FromBool((bool)result);
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *self, PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj;
10288 wxJoystick *arg1 = (wxJoystick *) 0 ;
10289 bool result;
10290 PyObject * obj0 = 0 ;
10291 char *kwnames[] = {
10292 (char *) "self", NULL
10293 };
10294
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
10296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (bool)(arg1)->HasPOV4Dir();
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = SWIG_PyObj_FromBool((bool)result);
10305 return resultobj;
10306 fail:
10307 return NULL;
10308 }
10309
10310
10311 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *self, PyObject *args, PyObject *kwargs) {
10312 PyObject *resultobj;
10313 wxJoystick *arg1 = (wxJoystick *) 0 ;
10314 bool result;
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (bool)(arg1)->HasPOVCTS();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_PyObj_FromBool((bool)result);
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 static PyObject *_wrap_Joystick_SetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxJoystick *arg1 = (wxJoystick *) 0 ;
10339 wxWindow *arg2 = (wxWindow *) 0 ;
10340 int arg3 = (int) 0 ;
10341 bool result;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 PyObject * obj2 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10352 if (obj2) {
10353 {
10354 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 }
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 result = (bool)(arg1)->SetCapture(arg2,arg3);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = SWIG_PyObj_FromBool((bool)result);
10366 return resultobj;
10367 fail:
10368 return NULL;
10369 }
10370
10371
10372 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj;
10374 wxJoystick *arg1 = (wxJoystick *) 0 ;
10375 bool result;
10376 PyObject * obj0 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self", NULL
10379 };
10380
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
10382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystick,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)(arg1)->ReleaseCapture();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_PyObj_FromBool((bool)result);
10391 return resultobj;
10392 fail:
10393 return NULL;
10394 }
10395
10396
10397 static PyObject * Joystick_swigregister(PyObject *self, PyObject *args) {
10398 PyObject *obj;
10399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10400 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
10401 Py_INCREF(obj);
10402 return Py_BuildValue((char *)"");
10403 }
10404 static PyObject *_wrap_JoystickEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10407 wxPoint *arg2 = (wxPoint *) 0 ;
10408 PyObject * obj0 = 0 ;
10409 PyObject * obj1 = 0 ;
10410 char *kwnames[] = {
10411 (char *) "self",(char *) "m_pos", NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10417 if (arg1) (arg1)->m_pos = *arg2;
10418
10419 Py_INCREF(Py_None); resultobj = Py_None;
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_JoystickEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10429 wxPoint *result;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_pos_get",kwnames,&obj0)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10437 result = (wxPoint *)& ((arg1)->m_pos);
10438
10439 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_JoystickEvent_m_zPosition_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10449 int arg2 ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj1 = 0 ;
10452 char *kwnames[] = {
10453 (char *) "self",(char *) "m_zPosition", NULL
10454 };
10455
10456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames,&obj0,&obj1)) goto fail;
10457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10458 {
10459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 if (arg1) (arg1)->m_zPosition = arg2;
10463
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_JoystickEvent_m_zPosition_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10474 int result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_zPosition_get",kwnames,&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10482 result = (int) ((arg1)->m_zPosition);
10483
10484 resultobj = SWIG_PyObj_FromInt((int)result);
10485 return resultobj;
10486 fail:
10487 return NULL;
10488 }
10489
10490
10491 static PyObject *_wrap_JoystickEvent_m_buttonChange_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10492 PyObject *resultobj;
10493 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10494 int arg2 ;
10495 PyObject * obj0 = 0 ;
10496 PyObject * obj1 = 0 ;
10497 char *kwnames[] = {
10498 (char *) "self",(char *) "m_buttonChange", NULL
10499 };
10500
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames,&obj0,&obj1)) goto fail;
10502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10503 {
10504 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 if (arg1) (arg1)->m_buttonChange = arg2;
10508
10509 Py_INCREF(Py_None); resultobj = Py_None;
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 static PyObject *_wrap_JoystickEvent_m_buttonChange_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj;
10518 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10519 int result;
10520 PyObject * obj0 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames,&obj0)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 result = (int) ((arg1)->m_buttonChange);
10528
10529 resultobj = SWIG_PyObj_FromInt((int)result);
10530 return resultobj;
10531 fail:
10532 return NULL;
10533 }
10534
10535
10536 static PyObject *_wrap_JoystickEvent_m_buttonState_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10539 int arg2 ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self",(char *) "m_buttonState", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames,&obj0,&obj1)) goto fail;
10547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10548 {
10549 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 if (arg1) (arg1)->m_buttonState = arg2;
10553
10554 Py_INCREF(Py_None); resultobj = Py_None;
10555 return resultobj;
10556 fail:
10557 return NULL;
10558 }
10559
10560
10561 static PyObject *_wrap_JoystickEvent_m_buttonState_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10564 int result;
10565 PyObject * obj0 = 0 ;
10566 char *kwnames[] = {
10567 (char *) "self", NULL
10568 };
10569
10570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_buttonState_get",kwnames,&obj0)) goto fail;
10571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10572 result = (int) ((arg1)->m_buttonState);
10573
10574 resultobj = SWIG_PyObj_FromInt((int)result);
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 static PyObject *_wrap_JoystickEvent_m_joyStick_set(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj;
10583 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10584 int arg2 ;
10585 PyObject * obj0 = 0 ;
10586 PyObject * obj1 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "self",(char *) "m_joyStick", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames,&obj0,&obj1)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 {
10594 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 if (arg1) (arg1)->m_joyStick = arg2;
10598
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 static PyObject *_wrap_JoystickEvent_m_joyStick_get(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10609 int result;
10610 PyObject * obj0 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_m_joyStick_get",kwnames,&obj0)) goto fail;
10616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10617 result = (int) ((arg1)->m_joyStick);
10618
10619 resultobj = SWIG_PyObj_FromInt((int)result);
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 static PyObject *_wrap_new_JoystickEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10629 int arg2 = (int) 0 ;
10630 int arg3 = (int) wxJOYSTICK1 ;
10631 int arg4 = (int) 0 ;
10632 wxJoystickEvent *result;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 PyObject * obj2 = 0 ;
10636 PyObject * obj3 = 0 ;
10637 char *kwnames[] = {
10638 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10639 };
10640
10641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10642 if (obj0) {
10643 {
10644 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10645 if (PyErr_Occurred()) SWIG_fail;
10646 }
10647 }
10648 if (obj1) {
10649 {
10650 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 }
10654 if (obj2) {
10655 {
10656 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 }
10660 if (obj3) {
10661 {
10662 arg4 = (int) SWIG_PyObj_AsInt(obj3);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxJoystickEvent, 1);
10674 return resultobj;
10675 fail:
10676 return NULL;
10677 }
10678
10679
10680 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10683 wxPoint result;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = ((wxJoystickEvent const *)arg1)->GetPosition();
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 {
10699 wxPoint * resultptr;
10700 resultptr = new wxPoint((wxPoint &) result);
10701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10702 }
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10712 int result;
10713 PyObject * obj0 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
10719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
10723
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_PyObj_FromInt((int)result);
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10735 PyObject *resultobj;
10736 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10737 int result;
10738 PyObject * obj0 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
10744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 resultobj = SWIG_PyObj_FromInt((int)result);
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10762 int result;
10763 PyObject * obj0 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "self", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_PyObj_FromInt((int)result);
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10787 int result;
10788 PyObject * obj0 = 0 ;
10789 char *kwnames[] = {
10790 (char *) "self", NULL
10791 };
10792
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
10794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_PyObj_FromInt((int)result);
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10812 int arg2 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "stick", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10821 {
10822 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->SetJoystick(arg2);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 Py_INCREF(Py_None); resultobj = Py_None;
10833 return resultobj;
10834 fail:
10835 return NULL;
10836 }
10837
10838
10839 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *self, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10842 int arg2 ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self",(char *) "state", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
10850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10851 {
10852 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 (arg1)->SetButtonState(arg2);
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 Py_INCREF(Py_None); resultobj = Py_None;
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10872 int arg2 ;
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "change", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
10880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10881 {
10882 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 {
10886 PyThreadState* __tstate = wxPyBeginAllowThreads();
10887 (arg1)->SetButtonChange(arg2);
10888
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 Py_INCREF(Py_None); resultobj = Py_None;
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10902 wxPoint *arg2 = 0 ;
10903 wxPoint temp2 ;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "pos", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 arg2 = &temp2;
10914 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 (arg1)->SetPosition((wxPoint const &)*arg2);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10933 int arg2 ;
10934 PyObject * obj0 = 0 ;
10935 PyObject * obj1 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "self",(char *) "zPos", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
10941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10942 {
10943 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 (arg1)->SetZPosition(arg2);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 Py_INCREF(Py_None); resultobj = Py_None;
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10963 bool result;
10964 PyObject * obj0 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 resultobj = SWIG_PyObj_FromBool((bool)result);
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
10988 bool result;
10989 PyObject * obj0 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_PyObj_FromBool((bool)result);
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11013 bool result;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = SWIG_PyObj_FromBool((bool)result);
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject *_wrap_JoystickEvent_ButtonDown(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_ButtonDown",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)->ButtonDown(arg2);
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = SWIG_PyObj_FromBool((bool)result);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_JoystickEvent_ButtonUp(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_ButtonUp",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)->ButtonUp(arg2);
11090
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 resultobj = SWIG_PyObj_FromBool((bool)result);
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj;
11103 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
11104 int arg2 = (int) wxJOY_BUTTON_ANY ;
11105 bool result;
11106 PyObject * obj0 = 0 ;
11107 PyObject * obj1 = 0 ;
11108 char *kwnames[] = {
11109 (char *) "self",(char *) "but", NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
11113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxJoystickEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11114 if (obj1) {
11115 {
11116 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11117 if (PyErr_Occurred()) SWIG_fail;
11118 }
11119 }
11120 {
11121 PyThreadState* __tstate = wxPyBeginAllowThreads();
11122 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
11123
11124 wxPyEndAllowThreads(__tstate);
11125 if (PyErr_Occurred()) SWIG_fail;
11126 }
11127 resultobj = SWIG_PyObj_FromBool((bool)result);
11128 return resultobj;
11129 fail:
11130 return NULL;
11131 }
11132
11133
11134 static PyObject * JoystickEvent_swigregister(PyObject *self, PyObject *args) {
11135 PyObject *obj;
11136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11137 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
11138 Py_INCREF(obj);
11139 return Py_BuildValue((char *)"");
11140 }
11141 static PyObject *_wrap_new_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
11142 PyObject *resultobj;
11143 wxString *arg1 = 0 ;
11144 bool arg2 = (bool) False ;
11145 wxWave *result;
11146 bool temp1 = False ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "fileName",(char *) "isResource", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_Wave",kwnames,&obj0,&obj1)) goto fail;
11154 {
11155 arg1 = wxString_in_helper(obj0);
11156 if (arg1 == NULL) SWIG_fail;
11157 temp1 = True;
11158 }
11159 if (obj1) {
11160 {
11161 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 }
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (wxWave *)new wxWave((wxString const &)*arg1,arg2);
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
11173 {
11174 if (temp1)
11175 delete arg1;
11176 }
11177 return resultobj;
11178 fail:
11179 {
11180 if (temp1)
11181 delete arg1;
11182 }
11183 return NULL;
11184 }
11185
11186
11187 static PyObject *_wrap_new_WaveData(PyObject *self, PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj;
11189 wxString *arg1 = 0 ;
11190 wxWave *result;
11191 bool temp1 = False ;
11192 PyObject * obj0 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "data", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_WaveData",kwnames,&obj0)) goto fail;
11198 {
11199 arg1 = wxString_in_helper(obj0);
11200 if (arg1 == NULL) SWIG_fail;
11201 temp1 = True;
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (wxWave *)new_wxWave((wxString const &)*arg1);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxWave, 1);
11211 {
11212 if (temp1)
11213 delete arg1;
11214 }
11215 return resultobj;
11216 fail:
11217 {
11218 if (temp1)
11219 delete arg1;
11220 }
11221 return NULL;
11222 }
11223
11224
11225 static PyObject *_wrap_delete_Wave(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxWave *arg1 = (wxWave *) 0 ;
11228 PyObject * obj0 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Wave",kwnames,&obj0)) goto fail;
11234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 delete arg1;
11238
11239 wxPyEndAllowThreads(__tstate);
11240 if (PyErr_Occurred()) SWIG_fail;
11241 }
11242 Py_INCREF(Py_None); resultobj = Py_None;
11243 return resultobj;
11244 fail:
11245 return NULL;
11246 }
11247
11248
11249 static PyObject *_wrap_Wave_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxWave *arg1 = (wxWave *) 0 ;
11252 bool result;
11253 PyObject * obj0 = 0 ;
11254 char *kwnames[] = {
11255 (char *) "self", NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Wave_IsOk",kwnames,&obj0)) goto fail;
11259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 result = (bool)((wxWave const *)arg1)->IsOk();
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 resultobj = SWIG_PyObj_FromBool((bool)result);
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_Wave_Play(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxWave *arg1 = (wxWave *) 0 ;
11277 bool arg2 = (bool) True ;
11278 bool arg3 = (bool) False ;
11279 bool result;
11280 PyObject * obj0 = 0 ;
11281 PyObject * obj1 = 0 ;
11282 PyObject * obj2 = 0 ;
11283 char *kwnames[] = {
11284 (char *) "self",(char *) "async",(char *) "looped", NULL
11285 };
11286
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Wave_Play",kwnames,&obj0,&obj1,&obj2)) goto fail;
11288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWave,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11289 if (obj1) {
11290 {
11291 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 }
11295 if (obj2) {
11296 {
11297 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (bool)(arg1)->Play(arg2,arg3);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_PyObj_FromBool((bool)result);
11309 return resultobj;
11310 fail:
11311 return NULL;
11312 }
11313
11314
11315 static PyObject * Wave_swigregister(PyObject *self, PyObject *args) {
11316 PyObject *obj;
11317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11318 SWIG_TypeClientData(SWIGTYPE_p_wxWave, obj);
11319 Py_INCREF(obj);
11320 return Py_BuildValue((char *)"");
11321 }
11322 static PyObject *_wrap_new_FileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj;
11324 wxString *arg1 = 0 ;
11325 wxString *arg2 = 0 ;
11326 wxString *arg3 = 0 ;
11327 wxString *arg4 = 0 ;
11328 wxFileTypeInfo *result;
11329 bool temp1 = False ;
11330 bool temp2 = False ;
11331 bool temp3 = False ;
11332 bool temp4 = False ;
11333 PyObject * obj0 = 0 ;
11334 PyObject * obj1 = 0 ;
11335 PyObject * obj2 = 0 ;
11336 PyObject * obj3 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11342 {
11343 arg1 = wxString_in_helper(obj0);
11344 if (arg1 == NULL) SWIG_fail;
11345 temp1 = True;
11346 }
11347 {
11348 arg2 = wxString_in_helper(obj1);
11349 if (arg2 == NULL) SWIG_fail;
11350 temp2 = True;
11351 }
11352 {
11353 arg3 = wxString_in_helper(obj2);
11354 if (arg3 == NULL) SWIG_fail;
11355 temp3 = True;
11356 }
11357 {
11358 arg4 = wxString_in_helper(obj3);
11359 if (arg4 == NULL) SWIG_fail;
11360 temp4 = True;
11361 }
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11370 {
11371 if (temp1)
11372 delete arg1;
11373 }
11374 {
11375 if (temp2)
11376 delete arg2;
11377 }
11378 {
11379 if (temp3)
11380 delete arg3;
11381 }
11382 {
11383 if (temp4)
11384 delete arg4;
11385 }
11386 return resultobj;
11387 fail:
11388 {
11389 if (temp1)
11390 delete arg1;
11391 }
11392 {
11393 if (temp2)
11394 delete arg2;
11395 }
11396 {
11397 if (temp3)
11398 delete arg3;
11399 }
11400 {
11401 if (temp4)
11402 delete arg4;
11403 }
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxArrayString *arg1 = 0 ;
11411 wxFileTypeInfo *result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "sArray", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
11418 {
11419 if (! PySequence_Check(obj0)) {
11420 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11421 SWIG_fail;
11422 }
11423 arg1 = new wxArrayString;
11424 int i, len=PySequence_Length(obj0);
11425 for (i=0; i<len; i++) {
11426 PyObject* item = PySequence_GetItem(obj0, i);
11427 #if wxUSE_UNICODE
11428 PyObject* str = PyObject_Unicode(item);
11429 #else
11430 PyObject* str = PyObject_Str(item);
11431 #endif
11432 arg1->Add(Py2wxString(str));
11433 Py_DECREF(item);
11434 Py_DECREF(str);
11435 }
11436 }
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11445 {
11446 if (arg1) delete arg1;
11447 }
11448 return resultobj;
11449 fail:
11450 {
11451 if (arg1) delete arg1;
11452 }
11453 return NULL;
11454 }
11455
11456
11457 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj;
11459 wxFileTypeInfo *result;
11460 char *kwnames[] = {
11461 NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 result = (wxFileTypeInfo *)new wxFileTypeInfo();
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileTypeInfo, 1);
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj;
11481 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11482 bool result;
11483 PyObject * obj0 = 0 ;
11484 char *kwnames[] = {
11485 (char *) "self", NULL
11486 };
11487
11488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
11489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 resultobj = SWIG_PyObj_FromBool((bool)result);
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj;
11506 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11507 wxString *arg2 = 0 ;
11508 int arg3 = (int) 0 ;
11509 bool temp2 = False ;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11512 PyObject * obj2 = 0 ;
11513 char *kwnames[] = {
11514 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11515 };
11516
11517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
11518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11519 {
11520 arg2 = wxString_in_helper(obj1);
11521 if (arg2 == NULL) SWIG_fail;
11522 temp2 = True;
11523 }
11524 if (obj2) {
11525 {
11526 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 }
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 (arg1)->SetIcon((wxString const &)*arg2,arg3);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 Py_INCREF(Py_None); resultobj = Py_None;
11538 {
11539 if (temp2)
11540 delete arg2;
11541 }
11542 return resultobj;
11543 fail:
11544 {
11545 if (temp2)
11546 delete arg2;
11547 }
11548 return NULL;
11549 }
11550
11551
11552 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj;
11554 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11555 wxString *arg2 = 0 ;
11556 bool temp2 = False ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self",(char *) "shortDesc", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 {
11566 arg2 = wxString_in_helper(obj1);
11567 if (arg2 == NULL) SWIG_fail;
11568 temp2 = True;
11569 }
11570 {
11571 PyThreadState* __tstate = wxPyBeginAllowThreads();
11572 (arg1)->SetShortDesc((wxString const &)*arg2);
11573
11574 wxPyEndAllowThreads(__tstate);
11575 if (PyErr_Occurred()) SWIG_fail;
11576 }
11577 Py_INCREF(Py_None); resultobj = Py_None;
11578 {
11579 if (temp2)
11580 delete arg2;
11581 }
11582 return resultobj;
11583 fail:
11584 {
11585 if (temp2)
11586 delete arg2;
11587 }
11588 return NULL;
11589 }
11590
11591
11592 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11595 wxString *result;
11596 PyObject * obj0 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "self", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 {
11606 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
11607 result = (wxString *) &_result_ref;
11608 }
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 {
11614 #if wxUSE_UNICODE
11615 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11616 #else
11617 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11618 #endif
11619 }
11620 return resultobj;
11621 fail:
11622 return NULL;
11623 }
11624
11625
11626 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11629 wxString *result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 {
11640 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
11641 result = (wxString *) &_result_ref;
11642 }
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 {
11648 #if wxUSE_UNICODE
11649 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11650 #else
11651 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11652 #endif
11653 }
11654 return resultobj;
11655 fail:
11656 return NULL;
11657 }
11658
11659
11660 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
11661 PyObject *resultobj;
11662 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11663 wxString *result;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
11670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11671 {
11672 PyThreadState* __tstate = wxPyBeginAllowThreads();
11673 {
11674 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
11675 result = (wxString *) &_result_ref;
11676 }
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 {
11682 #if wxUSE_UNICODE
11683 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11684 #else
11685 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11686 #endif
11687 }
11688 return resultobj;
11689 fail:
11690 return NULL;
11691 }
11692
11693
11694 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *self, PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj;
11696 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11697 wxString *result;
11698 PyObject * obj0 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
11704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 {
11708 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
11709 result = (wxString *) &_result_ref;
11710 }
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 {
11716 #if wxUSE_UNICODE
11717 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11718 #else
11719 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11720 #endif
11721 }
11722 return resultobj;
11723 fail:
11724 return NULL;
11725 }
11726
11727
11728 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
11729 PyObject *resultobj;
11730 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11731 wxString *result;
11732 PyObject * obj0 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "self", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
11738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 {
11742 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
11743 result = (wxString *) &_result_ref;
11744 }
11745
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 {
11750 #if wxUSE_UNICODE
11751 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11752 #else
11753 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11754 #endif
11755 }
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11765 wxArrayString *result;
11766 PyObject * obj0 = 0 ;
11767 char *kwnames[] = {
11768 (char *) "self", NULL
11769 };
11770
11771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
11772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11773 {
11774 PyThreadState* __tstate = wxPyBeginAllowThreads();
11775 {
11776 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
11777 result = (wxArrayString *) &_result_ref;
11778 }
11779
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 {
11784 resultobj = wxArrayString2PyList_helper(*result);
11785 }
11786 return resultobj;
11787 fail:
11788 return NULL;
11789 }
11790
11791
11792 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11795 int result;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 resultobj = SWIG_PyObj_FromInt((int)result);
11811 return resultobj;
11812 fail:
11813 return NULL;
11814 }
11815
11816
11817 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11818 PyObject *resultobj;
11819 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11820 wxString *result;
11821 PyObject * obj0 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 {
11831 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
11832 result = (wxString *) &_result_ref;
11833 }
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 {
11839 #if wxUSE_UNICODE
11840 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
11841 #else
11842 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
11843 #endif
11844 }
11845 return resultobj;
11846 fail:
11847 return NULL;
11848 }
11849
11850
11851 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11852 PyObject *resultobj;
11853 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
11854 int result;
11855 PyObject * obj0 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
11861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = SWIG_PyObj_FromInt((int)result);
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject * FileTypeInfo_swigregister(PyObject *self, PyObject *args) {
11877 PyObject *obj;
11878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11879 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
11880 Py_INCREF(obj);
11881 return Py_BuildValue((char *)"");
11882 }
11883 static PyObject *_wrap_new_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxFileTypeInfo *arg1 = 0 ;
11886 wxFileType *result;
11887 PyObject * obj0 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "ftInfo", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
11893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11894 if (arg1 == NULL) {
11895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11896 }
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
11905 return resultobj;
11906 fail:
11907 return NULL;
11908 }
11909
11910
11911 static PyObject *_wrap_delete_FileType(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxFileType *arg1 = (wxFileType *) 0 ;
11914 PyObject * obj0 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
11920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 delete arg1;
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 Py_INCREF(Py_None); resultobj = Py_None;
11929 return resultobj;
11930 fail:
11931 return NULL;
11932 }
11933
11934
11935 static PyObject *_wrap_FileType_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
11936 PyObject *resultobj;
11937 wxFileType *arg1 = (wxFileType *) 0 ;
11938 PyObject *result;
11939 PyObject * obj0 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (PyObject *)wxFileType_GetMimeType(arg1);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 resultobj = result;
11954 return resultobj;
11955 fail:
11956 return NULL;
11957 }
11958
11959
11960 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject *resultobj;
11962 wxFileType *arg1 = (wxFileType *) 0 ;
11963 PyObject *result;
11964 PyObject * obj0 = 0 ;
11965 char *kwnames[] = {
11966 (char *) "self", NULL
11967 };
11968
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
11970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = result;
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 static PyObject *_wrap_FileType_GetExtensions(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxFileType *arg1 = (wxFileType *) 0 ;
11988 PyObject *result;
11989 PyObject * obj0 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (PyObject *)wxFileType_GetExtensions(arg1);
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 resultobj = result;
12004 return resultobj;
12005 fail:
12006 return NULL;
12007 }
12008
12009
12010 static PyObject *_wrap_FileType_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12011 PyObject *resultobj;
12012 wxFileType *arg1 = (wxFileType *) 0 ;
12013 wxIcon *result;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (wxIcon *)wxFileType_GetIcon(arg1);
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxIcon, 1);
12029 return resultobj;
12030 fail:
12031 return NULL;
12032 }
12033
12034
12035 static PyObject *_wrap_FileType_GetIconInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxFileType *arg1 = (wxFileType *) 0 ;
12038 PyObject *result;
12039 PyObject * obj0 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
12045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (PyObject *)wxFileType_GetIconInfo(arg1);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = result;
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_FileType_GetDescription(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxFileType *arg1 = (wxFileType *) 0 ;
12063 PyObject *result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (PyObject *)wxFileType_GetDescription(arg1);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = result;
12079 return resultobj;
12080 fail:
12081 return NULL;
12082 }
12083
12084
12085 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxFileType *arg1 = (wxFileType *) 0 ;
12088 wxString *arg2 = 0 ;
12089 wxString const &arg3_defvalue = wxPyEmptyString ;
12090 wxString *arg3 = (wxString *) &arg3_defvalue ;
12091 PyObject *result;
12092 bool temp2 = False ;
12093 bool temp3 = False ;
12094 PyObject * obj0 = 0 ;
12095 PyObject * obj1 = 0 ;
12096 PyObject * obj2 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12103 {
12104 arg2 = wxString_in_helper(obj1);
12105 if (arg2 == NULL) SWIG_fail;
12106 temp2 = True;
12107 }
12108 if (obj2) {
12109 {
12110 arg3 = wxString_in_helper(obj2);
12111 if (arg3 == NULL) SWIG_fail;
12112 temp3 = True;
12113 }
12114 }
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 resultobj = result;
12123 {
12124 if (temp2)
12125 delete arg2;
12126 }
12127 {
12128 if (temp3)
12129 delete arg3;
12130 }
12131 return resultobj;
12132 fail:
12133 {
12134 if (temp2)
12135 delete arg2;
12136 }
12137 {
12138 if (temp3)
12139 delete arg3;
12140 }
12141 return NULL;
12142 }
12143
12144
12145 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxFileType *arg1 = (wxFileType *) 0 ;
12148 wxString *arg2 = 0 ;
12149 wxString const &arg3_defvalue = wxPyEmptyString ;
12150 wxString *arg3 = (wxString *) &arg3_defvalue ;
12151 PyObject *result;
12152 bool temp2 = False ;
12153 bool temp3 = False ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 PyObject * obj2 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12163 {
12164 arg2 = wxString_in_helper(obj1);
12165 if (arg2 == NULL) SWIG_fail;
12166 temp2 = True;
12167 }
12168 if (obj2) {
12169 {
12170 arg3 = wxString_in_helper(obj2);
12171 if (arg3 == NULL) SWIG_fail;
12172 temp3 = True;
12173 }
12174 }
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
12177 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
12182 resultobj = result;
12183 {
12184 if (temp2)
12185 delete arg2;
12186 }
12187 {
12188 if (temp3)
12189 delete arg3;
12190 }
12191 return resultobj;
12192 fail:
12193 {
12194 if (temp2)
12195 delete arg2;
12196 }
12197 {
12198 if (temp3)
12199 delete arg3;
12200 }
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_FileType_GetAllCommands(PyObject *self, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxFileType *arg1 = (wxFileType *) 0 ;
12208 wxString *arg2 = 0 ;
12209 wxString const &arg3_defvalue = wxPyEmptyString ;
12210 wxString *arg3 = (wxString *) &arg3_defvalue ;
12211 PyObject *result;
12212 bool temp2 = False ;
12213 bool temp3 = False ;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 PyObject * obj2 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 {
12224 arg2 = wxString_in_helper(obj1);
12225 if (arg2 == NULL) SWIG_fail;
12226 temp2 = True;
12227 }
12228 if (obj2) {
12229 {
12230 arg3 = wxString_in_helper(obj2);
12231 if (arg3 == NULL) SWIG_fail;
12232 temp3 = True;
12233 }
12234 }
12235 {
12236 PyThreadState* __tstate = wxPyBeginAllowThreads();
12237 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12238
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 resultobj = result;
12243 {
12244 if (temp2)
12245 delete arg2;
12246 }
12247 {
12248 if (temp3)
12249 delete arg3;
12250 }
12251 return resultobj;
12252 fail:
12253 {
12254 if (temp2)
12255 delete arg2;
12256 }
12257 {
12258 if (temp3)
12259 delete arg3;
12260 }
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_FileType_SetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxFileType *arg1 = (wxFileType *) 0 ;
12268 wxString *arg2 = 0 ;
12269 wxString *arg3 = 0 ;
12270 bool arg4 = (bool) True ;
12271 bool result;
12272 bool temp2 = False ;
12273 bool temp3 = False ;
12274 PyObject * obj0 = 0 ;
12275 PyObject * obj1 = 0 ;
12276 PyObject * obj2 = 0 ;
12277 PyObject * obj3 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 {
12285 arg2 = wxString_in_helper(obj1);
12286 if (arg2 == NULL) SWIG_fail;
12287 temp2 = True;
12288 }
12289 {
12290 arg3 = wxString_in_helper(obj2);
12291 if (arg3 == NULL) SWIG_fail;
12292 temp3 = True;
12293 }
12294 if (obj3) {
12295 {
12296 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 resultobj = SWIG_PyObj_FromBool((bool)result);
12308 {
12309 if (temp2)
12310 delete arg2;
12311 }
12312 {
12313 if (temp3)
12314 delete arg3;
12315 }
12316 return resultobj;
12317 fail:
12318 {
12319 if (temp2)
12320 delete arg2;
12321 }
12322 {
12323 if (temp3)
12324 delete arg3;
12325 }
12326 return NULL;
12327 }
12328
12329
12330 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxFileType *arg1 = (wxFileType *) 0 ;
12333 wxString const &arg2_defvalue = wxPyEmptyString ;
12334 wxString *arg2 = (wxString *) &arg2_defvalue ;
12335 int arg3 = (int) 0 ;
12336 bool result;
12337 bool temp2 = False ;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 PyObject * obj2 = 0 ;
12341 char *kwnames[] = {
12342 (char *) "self",(char *) "cmd",(char *) "index", NULL
12343 };
12344
12345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
12346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12347 if (obj1) {
12348 {
12349 arg2 = wxString_in_helper(obj1);
12350 if (arg2 == NULL) SWIG_fail;
12351 temp2 = True;
12352 }
12353 }
12354 if (obj2) {
12355 {
12356 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 }
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
12363
12364 wxPyEndAllowThreads(__tstate);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 }
12367 resultobj = SWIG_PyObj_FromBool((bool)result);
12368 {
12369 if (temp2)
12370 delete arg2;
12371 }
12372 return resultobj;
12373 fail:
12374 {
12375 if (temp2)
12376 delete arg2;
12377 }
12378 return NULL;
12379 }
12380
12381
12382 static PyObject *_wrap_FileType_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12383 PyObject *resultobj;
12384 wxFileType *arg1 = (wxFileType *) 0 ;
12385 bool result;
12386 PyObject * obj0 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
12392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (bool)(arg1)->Unassociate();
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_PyObj_FromBool((bool)result);
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_FileType_ExpandCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxString *arg1 = 0 ;
12410 wxString *arg2 = 0 ;
12411 wxString const &arg3_defvalue = wxPyEmptyString ;
12412 wxString *arg3 = (wxString *) &arg3_defvalue ;
12413 wxString result;
12414 bool temp1 = False ;
12415 bool temp2 = False ;
12416 bool temp3 = False ;
12417 PyObject * obj0 = 0 ;
12418 PyObject * obj1 = 0 ;
12419 PyObject * obj2 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
12425 {
12426 arg1 = wxString_in_helper(obj0);
12427 if (arg1 == NULL) SWIG_fail;
12428 temp1 = True;
12429 }
12430 {
12431 arg2 = wxString_in_helper(obj1);
12432 if (arg2 == NULL) SWIG_fail;
12433 temp2 = True;
12434 }
12435 if (obj2) {
12436 {
12437 arg3 = wxString_in_helper(obj2);
12438 if (arg3 == NULL) SWIG_fail;
12439 temp3 = True;
12440 }
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 {
12450 #if wxUSE_UNICODE
12451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12452 #else
12453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12454 #endif
12455 }
12456 {
12457 if (temp1)
12458 delete arg1;
12459 }
12460 {
12461 if (temp2)
12462 delete arg2;
12463 }
12464 {
12465 if (temp3)
12466 delete arg3;
12467 }
12468 return resultobj;
12469 fail:
12470 {
12471 if (temp1)
12472 delete arg1;
12473 }
12474 {
12475 if (temp2)
12476 delete arg2;
12477 }
12478 {
12479 if (temp3)
12480 delete arg3;
12481 }
12482 return NULL;
12483 }
12484
12485
12486 static PyObject * FileType_swigregister(PyObject *self, PyObject *args) {
12487 PyObject *obj;
12488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12489 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
12490 Py_INCREF(obj);
12491 return Py_BuildValue((char *)"");
12492 }
12493 static int _wrap_TheMimeTypesManager_set(PyObject *_val) {
12494 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
12495 return 1;
12496 }
12497
12498
12499 static PyObject *_wrap_TheMimeTypesManager_get() {
12500 PyObject *pyobj;
12501
12502 pyobj = SWIG_NewPointerObj((void *) wxTheMimeTypesManager, SWIGTYPE_p_wxMimeTypesManager, 0);
12503 return pyobj;
12504 }
12505
12506
12507 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxString *arg1 = 0 ;
12510 wxString *arg2 = 0 ;
12511 bool result;
12512 bool temp1 = False ;
12513 bool temp2 = False ;
12514 PyObject * obj0 = 0 ;
12515 PyObject * obj1 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "mimeType",(char *) "wildcard", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
12521 {
12522 arg1 = wxString_in_helper(obj0);
12523 if (arg1 == NULL) SWIG_fail;
12524 temp1 = True;
12525 }
12526 {
12527 arg2 = wxString_in_helper(obj1);
12528 if (arg2 == NULL) SWIG_fail;
12529 temp2 = True;
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_PyObj_FromBool((bool)result);
12539 {
12540 if (temp1)
12541 delete arg1;
12542 }
12543 {
12544 if (temp2)
12545 delete arg2;
12546 }
12547 return resultobj;
12548 fail:
12549 {
12550 if (temp1)
12551 delete arg1;
12552 }
12553 {
12554 if (temp2)
12555 delete arg2;
12556 }
12557 return NULL;
12558 }
12559
12560
12561 static PyObject *_wrap_new_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxMimeTypesManager *result;
12564 char *kwnames[] = {
12565 NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (wxMimeTypesManager *)new wxMimeTypesManager();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMimeTypesManager, 1);
12577 return resultobj;
12578 fail:
12579 return NULL;
12580 }
12581
12582
12583 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
12584 PyObject *resultobj;
12585 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12586 int arg2 = (int) wxMAILCAP_ALL ;
12587 wxString const &arg3_defvalue = wxPyEmptyString ;
12588 wxString *arg3 = (wxString *) &arg3_defvalue ;
12589 bool temp3 = False ;
12590 PyObject * obj0 = 0 ;
12591 PyObject * obj1 = 0 ;
12592 PyObject * obj2 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12599 if (obj1) {
12600 {
12601 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 }
12605 if (obj2) {
12606 {
12607 arg3 = wxString_in_helper(obj2);
12608 if (arg3 == NULL) SWIG_fail;
12609 temp3 = True;
12610 }
12611 }
12612 {
12613 PyThreadState* __tstate = wxPyBeginAllowThreads();
12614 (arg1)->Initialize(arg2,(wxString const &)*arg3);
12615
12616 wxPyEndAllowThreads(__tstate);
12617 if (PyErr_Occurred()) SWIG_fail;
12618 }
12619 Py_INCREF(Py_None); resultobj = Py_None;
12620 {
12621 if (temp3)
12622 delete arg3;
12623 }
12624 return resultobj;
12625 fail:
12626 {
12627 if (temp3)
12628 delete arg3;
12629 }
12630 return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12637 PyObject * obj0 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 (arg1)->ClearData();
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 Py_INCREF(Py_None); resultobj = Py_None;
12652 return resultobj;
12653 fail:
12654 return NULL;
12655 }
12656
12657
12658 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12661 wxString *arg2 = 0 ;
12662 wxFileType *result;
12663 bool temp2 = False ;
12664 PyObject * obj0 = 0 ;
12665 PyObject * obj1 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self",(char *) "ext", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
12671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12672 {
12673 arg2 = wxString_in_helper(obj1);
12674 if (arg2 == NULL) SWIG_fail;
12675 temp2 = True;
12676 }
12677 {
12678 PyThreadState* __tstate = wxPyBeginAllowThreads();
12679 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
12680
12681 wxPyEndAllowThreads(__tstate);
12682 if (PyErr_Occurred()) SWIG_fail;
12683 }
12684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12685 {
12686 if (temp2)
12687 delete arg2;
12688 }
12689 return resultobj;
12690 fail:
12691 {
12692 if (temp2)
12693 delete arg2;
12694 }
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12702 wxString *arg2 = 0 ;
12703 wxFileType *result;
12704 bool temp2 = False ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self",(char *) "mimeType", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
12712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12713 {
12714 arg2 = wxString_in_helper(obj1);
12715 if (arg2 == NULL) SWIG_fail;
12716 temp2 = True;
12717 }
12718 {
12719 PyThreadState* __tstate = wxPyBeginAllowThreads();
12720 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
12721
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12726 {
12727 if (temp2)
12728 delete arg2;
12729 }
12730 return resultobj;
12731 fail:
12732 {
12733 if (temp2)
12734 delete arg2;
12735 }
12736 return NULL;
12737 }
12738
12739
12740 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *self, PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj;
12742 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12743 wxString *arg2 = 0 ;
12744 bool arg3 = (bool) False ;
12745 bool result;
12746 bool temp2 = False ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 PyObject * obj2 = 0 ;
12750 char *kwnames[] = {
12751 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12752 };
12753
12754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
12755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12756 {
12757 arg2 = wxString_in_helper(obj1);
12758 if (arg2 == NULL) SWIG_fail;
12759 temp2 = True;
12760 }
12761 if (obj2) {
12762 {
12763 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
12764 if (PyErr_Occurred()) SWIG_fail;
12765 }
12766 }
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = SWIG_PyObj_FromBool((bool)result);
12775 {
12776 if (temp2)
12777 delete arg2;
12778 }
12779 return resultobj;
12780 fail:
12781 {
12782 if (temp2)
12783 delete arg2;
12784 }
12785 return NULL;
12786 }
12787
12788
12789 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12790 PyObject *resultobj;
12791 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12792 wxString *arg2 = 0 ;
12793 bool result;
12794 bool temp2 = False ;
12795 PyObject * obj0 = 0 ;
12796 PyObject * obj1 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self",(char *) "filename", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
12802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12803 {
12804 arg2 = wxString_in_helper(obj1);
12805 if (arg2 == NULL) SWIG_fail;
12806 temp2 = True;
12807 }
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_PyObj_FromBool((bool)result);
12816 {
12817 if (temp2)
12818 delete arg2;
12819 }
12820 return resultobj;
12821 fail:
12822 {
12823 if (temp2)
12824 delete arg2;
12825 }
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12833 PyObject *result;
12834 PyObject * obj0 = 0 ;
12835 char *kwnames[] = {
12836 (char *) "self", NULL
12837 };
12838
12839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
12840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 resultobj = result;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852 }
12853
12854
12855 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12858 wxFileTypeInfo *arg2 = 0 ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 char *kwnames[] = {
12862 (char *) "self",(char *) "ft", NULL
12863 };
12864
12865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
12866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12868 if (arg2 == NULL) {
12869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12870 }
12871 {
12872 PyThreadState* __tstate = wxPyBeginAllowThreads();
12873 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
12874
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 Py_INCREF(Py_None); resultobj = Py_None;
12879 return resultobj;
12880 fail:
12881 return NULL;
12882 }
12883
12884
12885 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12888 wxFileTypeInfo *arg2 = 0 ;
12889 wxFileType *result;
12890 PyObject * obj0 = 0 ;
12891 PyObject * obj1 = 0 ;
12892 char *kwnames[] = {
12893 (char *) "self",(char *) "ftInfo", NULL
12894 };
12895
12896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
12897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileTypeInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899 if (arg2 == NULL) {
12900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12901 }
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileType, 1);
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12919 wxFileType *arg2 = (wxFileType *) 0 ;
12920 bool result;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 char *kwnames[] = {
12924 (char *) "self",(char *) "ft", NULL
12925 };
12926
12927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
12928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFileType,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)(arg1)->Unassociate(arg2);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = SWIG_PyObj_FromBool((bool)result);
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 static PyObject *_wrap_delete_MimeTypesManager(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
12947 PyObject * obj0 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMimeTypesManager,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 delete arg1;
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 Py_INCREF(Py_None); resultobj = Py_None;
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject * MimeTypesManager_swigregister(PyObject *self, PyObject *args) {
12969 PyObject *obj;
12970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12971 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
12972 Py_INCREF(obj);
12973 return Py_BuildValue((char *)"");
12974 }
12975 static int _wrap_ART_TOOLBAR_set(PyObject *_val) {
12976 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
12977 return 1;
12978 }
12979
12980
12981 static PyObject *_wrap_ART_TOOLBAR_get() {
12982 PyObject *pyobj;
12983
12984 {
12985 #if wxUSE_UNICODE
12986 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12987 #else
12988 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
12989 #endif
12990 }
12991 return pyobj;
12992 }
12993
12994
12995 static int _wrap_ART_MENU_set(PyObject *_val) {
12996 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
12997 return 1;
12998 }
12999
13000
13001 static PyObject *_wrap_ART_MENU_get() {
13002 PyObject *pyobj;
13003
13004 {
13005 #if wxUSE_UNICODE
13006 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13007 #else
13008 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
13009 #endif
13010 }
13011 return pyobj;
13012 }
13013
13014
13015 static int _wrap_ART_FRAME_ICON_set(PyObject *_val) {
13016 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
13017 return 1;
13018 }
13019
13020
13021 static PyObject *_wrap_ART_FRAME_ICON_get() {
13022 PyObject *pyobj;
13023
13024 {
13025 #if wxUSE_UNICODE
13026 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13027 #else
13028 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
13029 #endif
13030 }
13031 return pyobj;
13032 }
13033
13034
13035 static int _wrap_ART_CMN_DIALOG_set(PyObject *_val) {
13036 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
13037 return 1;
13038 }
13039
13040
13041 static PyObject *_wrap_ART_CMN_DIALOG_get() {
13042 PyObject *pyobj;
13043
13044 {
13045 #if wxUSE_UNICODE
13046 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13047 #else
13048 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
13049 #endif
13050 }
13051 return pyobj;
13052 }
13053
13054
13055 static int _wrap_ART_HELP_BROWSER_set(PyObject *_val) {
13056 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
13057 return 1;
13058 }
13059
13060
13061 static PyObject *_wrap_ART_HELP_BROWSER_get() {
13062 PyObject *pyobj;
13063
13064 {
13065 #if wxUSE_UNICODE
13066 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13067 #else
13068 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
13069 #endif
13070 }
13071 return pyobj;
13072 }
13073
13074
13075 static int _wrap_ART_MESSAGE_BOX_set(PyObject *_val) {
13076 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
13077 return 1;
13078 }
13079
13080
13081 static PyObject *_wrap_ART_MESSAGE_BOX_get() {
13082 PyObject *pyobj;
13083
13084 {
13085 #if wxUSE_UNICODE
13086 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13087 #else
13088 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
13089 #endif
13090 }
13091 return pyobj;
13092 }
13093
13094
13095 static int _wrap_ART_OTHER_set(PyObject *_val) {
13096 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
13097 return 1;
13098 }
13099
13100
13101 static PyObject *_wrap_ART_OTHER_get() {
13102 PyObject *pyobj;
13103
13104 {
13105 #if wxUSE_UNICODE
13106 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13107 #else
13108 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
13109 #endif
13110 }
13111 return pyobj;
13112 }
13113
13114
13115 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *_val) {
13116 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
13117 return 1;
13118 }
13119
13120
13121 static PyObject *_wrap_ART_ADD_BOOKMARK_get() {
13122 PyObject *pyobj;
13123
13124 {
13125 #if wxUSE_UNICODE
13126 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13127 #else
13128 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
13129 #endif
13130 }
13131 return pyobj;
13132 }
13133
13134
13135 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *_val) {
13136 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
13137 return 1;
13138 }
13139
13140
13141 static PyObject *_wrap_ART_DEL_BOOKMARK_get() {
13142 PyObject *pyobj;
13143
13144 {
13145 #if wxUSE_UNICODE
13146 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13147 #else
13148 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
13149 #endif
13150 }
13151 return pyobj;
13152 }
13153
13154
13155 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *_val) {
13156 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
13157 return 1;
13158 }
13159
13160
13161 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get() {
13162 PyObject *pyobj;
13163
13164 {
13165 #if wxUSE_UNICODE
13166 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13167 #else
13168 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
13169 #endif
13170 }
13171 return pyobj;
13172 }
13173
13174
13175 static int _wrap_ART_HELP_SETTINGS_set(PyObject *_val) {
13176 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
13177 return 1;
13178 }
13179
13180
13181 static PyObject *_wrap_ART_HELP_SETTINGS_get() {
13182 PyObject *pyobj;
13183
13184 {
13185 #if wxUSE_UNICODE
13186 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13187 #else
13188 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
13189 #endif
13190 }
13191 return pyobj;
13192 }
13193
13194
13195 static int _wrap_ART_HELP_BOOK_set(PyObject *_val) {
13196 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
13197 return 1;
13198 }
13199
13200
13201 static PyObject *_wrap_ART_HELP_BOOK_get() {
13202 PyObject *pyobj;
13203
13204 {
13205 #if wxUSE_UNICODE
13206 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13207 #else
13208 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
13209 #endif
13210 }
13211 return pyobj;
13212 }
13213
13214
13215 static int _wrap_ART_HELP_FOLDER_set(PyObject *_val) {
13216 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
13217 return 1;
13218 }
13219
13220
13221 static PyObject *_wrap_ART_HELP_FOLDER_get() {
13222 PyObject *pyobj;
13223
13224 {
13225 #if wxUSE_UNICODE
13226 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13227 #else
13228 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
13229 #endif
13230 }
13231 return pyobj;
13232 }
13233
13234
13235 static int _wrap_ART_HELP_PAGE_set(PyObject *_val) {
13236 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
13237 return 1;
13238 }
13239
13240
13241 static PyObject *_wrap_ART_HELP_PAGE_get() {
13242 PyObject *pyobj;
13243
13244 {
13245 #if wxUSE_UNICODE
13246 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13247 #else
13248 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
13249 #endif
13250 }
13251 return pyobj;
13252 }
13253
13254
13255 static int _wrap_ART_GO_BACK_set(PyObject *_val) {
13256 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
13257 return 1;
13258 }
13259
13260
13261 static PyObject *_wrap_ART_GO_BACK_get() {
13262 PyObject *pyobj;
13263
13264 {
13265 #if wxUSE_UNICODE
13266 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13267 #else
13268 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
13269 #endif
13270 }
13271 return pyobj;
13272 }
13273
13274
13275 static int _wrap_ART_GO_FORWARD_set(PyObject *_val) {
13276 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
13277 return 1;
13278 }
13279
13280
13281 static PyObject *_wrap_ART_GO_FORWARD_get() {
13282 PyObject *pyobj;
13283
13284 {
13285 #if wxUSE_UNICODE
13286 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13287 #else
13288 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
13289 #endif
13290 }
13291 return pyobj;
13292 }
13293
13294
13295 static int _wrap_ART_GO_UP_set(PyObject *_val) {
13296 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
13297 return 1;
13298 }
13299
13300
13301 static PyObject *_wrap_ART_GO_UP_get() {
13302 PyObject *pyobj;
13303
13304 {
13305 #if wxUSE_UNICODE
13306 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13307 #else
13308 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
13309 #endif
13310 }
13311 return pyobj;
13312 }
13313
13314
13315 static int _wrap_ART_GO_DOWN_set(PyObject *_val) {
13316 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
13317 return 1;
13318 }
13319
13320
13321 static PyObject *_wrap_ART_GO_DOWN_get() {
13322 PyObject *pyobj;
13323
13324 {
13325 #if wxUSE_UNICODE
13326 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13327 #else
13328 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
13329 #endif
13330 }
13331 return pyobj;
13332 }
13333
13334
13335 static int _wrap_ART_GO_TO_PARENT_set(PyObject *_val) {
13336 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
13337 return 1;
13338 }
13339
13340
13341 static PyObject *_wrap_ART_GO_TO_PARENT_get() {
13342 PyObject *pyobj;
13343
13344 {
13345 #if wxUSE_UNICODE
13346 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13347 #else
13348 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
13349 #endif
13350 }
13351 return pyobj;
13352 }
13353
13354
13355 static int _wrap_ART_GO_HOME_set(PyObject *_val) {
13356 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
13357 return 1;
13358 }
13359
13360
13361 static PyObject *_wrap_ART_GO_HOME_get() {
13362 PyObject *pyobj;
13363
13364 {
13365 #if wxUSE_UNICODE
13366 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13367 #else
13368 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
13369 #endif
13370 }
13371 return pyobj;
13372 }
13373
13374
13375 static int _wrap_ART_FILE_OPEN_set(PyObject *_val) {
13376 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
13377 return 1;
13378 }
13379
13380
13381 static PyObject *_wrap_ART_FILE_OPEN_get() {
13382 PyObject *pyobj;
13383
13384 {
13385 #if wxUSE_UNICODE
13386 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13387 #else
13388 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
13389 #endif
13390 }
13391 return pyobj;
13392 }
13393
13394
13395 static int _wrap_ART_PRINT_set(PyObject *_val) {
13396 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
13397 return 1;
13398 }
13399
13400
13401 static PyObject *_wrap_ART_PRINT_get() {
13402 PyObject *pyobj;
13403
13404 {
13405 #if wxUSE_UNICODE
13406 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13407 #else
13408 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
13409 #endif
13410 }
13411 return pyobj;
13412 }
13413
13414
13415 static int _wrap_ART_HELP_set(PyObject *_val) {
13416 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
13417 return 1;
13418 }
13419
13420
13421 static PyObject *_wrap_ART_HELP_get() {
13422 PyObject *pyobj;
13423
13424 {
13425 #if wxUSE_UNICODE
13426 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13427 #else
13428 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
13429 #endif
13430 }
13431 return pyobj;
13432 }
13433
13434
13435 static int _wrap_ART_TIP_set(PyObject *_val) {
13436 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
13437 return 1;
13438 }
13439
13440
13441 static PyObject *_wrap_ART_TIP_get() {
13442 PyObject *pyobj;
13443
13444 {
13445 #if wxUSE_UNICODE
13446 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13447 #else
13448 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
13449 #endif
13450 }
13451 return pyobj;
13452 }
13453
13454
13455 static int _wrap_ART_REPORT_VIEW_set(PyObject *_val) {
13456 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
13457 return 1;
13458 }
13459
13460
13461 static PyObject *_wrap_ART_REPORT_VIEW_get() {
13462 PyObject *pyobj;
13463
13464 {
13465 #if wxUSE_UNICODE
13466 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13467 #else
13468 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
13469 #endif
13470 }
13471 return pyobj;
13472 }
13473
13474
13475 static int _wrap_ART_LIST_VIEW_set(PyObject *_val) {
13476 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
13477 return 1;
13478 }
13479
13480
13481 static PyObject *_wrap_ART_LIST_VIEW_get() {
13482 PyObject *pyobj;
13483
13484 {
13485 #if wxUSE_UNICODE
13486 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13487 #else
13488 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
13489 #endif
13490 }
13491 return pyobj;
13492 }
13493
13494
13495 static int _wrap_ART_NEW_DIR_set(PyObject *_val) {
13496 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
13497 return 1;
13498 }
13499
13500
13501 static PyObject *_wrap_ART_NEW_DIR_get() {
13502 PyObject *pyobj;
13503
13504 {
13505 #if wxUSE_UNICODE
13506 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13507 #else
13508 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
13509 #endif
13510 }
13511 return pyobj;
13512 }
13513
13514
13515 static int _wrap_ART_FOLDER_set(PyObject *_val) {
13516 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
13517 return 1;
13518 }
13519
13520
13521 static PyObject *_wrap_ART_FOLDER_get() {
13522 PyObject *pyobj;
13523
13524 {
13525 #if wxUSE_UNICODE
13526 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13527 #else
13528 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
13529 #endif
13530 }
13531 return pyobj;
13532 }
13533
13534
13535 static int _wrap_ART_GO_DIR_UP_set(PyObject *_val) {
13536 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
13537 return 1;
13538 }
13539
13540
13541 static PyObject *_wrap_ART_GO_DIR_UP_get() {
13542 PyObject *pyobj;
13543
13544 {
13545 #if wxUSE_UNICODE
13546 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13547 #else
13548 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
13549 #endif
13550 }
13551 return pyobj;
13552 }
13553
13554
13555 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *_val) {
13556 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
13557 return 1;
13558 }
13559
13560
13561 static PyObject *_wrap_ART_EXECUTABLE_FILE_get() {
13562 PyObject *pyobj;
13563
13564 {
13565 #if wxUSE_UNICODE
13566 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13567 #else
13568 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
13569 #endif
13570 }
13571 return pyobj;
13572 }
13573
13574
13575 static int _wrap_ART_NORMAL_FILE_set(PyObject *_val) {
13576 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
13577 return 1;
13578 }
13579
13580
13581 static PyObject *_wrap_ART_NORMAL_FILE_get() {
13582 PyObject *pyobj;
13583
13584 {
13585 #if wxUSE_UNICODE
13586 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13587 #else
13588 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
13589 #endif
13590 }
13591 return pyobj;
13592 }
13593
13594
13595 static int _wrap_ART_TICK_MARK_set(PyObject *_val) {
13596 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
13597 return 1;
13598 }
13599
13600
13601 static PyObject *_wrap_ART_TICK_MARK_get() {
13602 PyObject *pyobj;
13603
13604 {
13605 #if wxUSE_UNICODE
13606 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13607 #else
13608 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
13609 #endif
13610 }
13611 return pyobj;
13612 }
13613
13614
13615 static int _wrap_ART_CROSS_MARK_set(PyObject *_val) {
13616 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
13617 return 1;
13618 }
13619
13620
13621 static PyObject *_wrap_ART_CROSS_MARK_get() {
13622 PyObject *pyobj;
13623
13624 {
13625 #if wxUSE_UNICODE
13626 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13627 #else
13628 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
13629 #endif
13630 }
13631 return pyobj;
13632 }
13633
13634
13635 static int _wrap_ART_ERROR_set(PyObject *_val) {
13636 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
13637 return 1;
13638 }
13639
13640
13641 static PyObject *_wrap_ART_ERROR_get() {
13642 PyObject *pyobj;
13643
13644 {
13645 #if wxUSE_UNICODE
13646 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13647 #else
13648 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
13649 #endif
13650 }
13651 return pyobj;
13652 }
13653
13654
13655 static int _wrap_ART_QUESTION_set(PyObject *_val) {
13656 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
13657 return 1;
13658 }
13659
13660
13661 static PyObject *_wrap_ART_QUESTION_get() {
13662 PyObject *pyobj;
13663
13664 {
13665 #if wxUSE_UNICODE
13666 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13667 #else
13668 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
13669 #endif
13670 }
13671 return pyobj;
13672 }
13673
13674
13675 static int _wrap_ART_WARNING_set(PyObject *_val) {
13676 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
13677 return 1;
13678 }
13679
13680
13681 static PyObject *_wrap_ART_WARNING_get() {
13682 PyObject *pyobj;
13683
13684 {
13685 #if wxUSE_UNICODE
13686 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13687 #else
13688 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
13689 #endif
13690 }
13691 return pyobj;
13692 }
13693
13694
13695 static int _wrap_ART_INFORMATION_set(PyObject *_val) {
13696 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
13697 return 1;
13698 }
13699
13700
13701 static PyObject *_wrap_ART_INFORMATION_get() {
13702 PyObject *pyobj;
13703
13704 {
13705 #if wxUSE_UNICODE
13706 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13707 #else
13708 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
13709 #endif
13710 }
13711 return pyobj;
13712 }
13713
13714
13715 static int _wrap_ART_MISSING_IMAGE_set(PyObject *_val) {
13716 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
13717 return 1;
13718 }
13719
13720
13721 static PyObject *_wrap_ART_MISSING_IMAGE_get() {
13722 PyObject *pyobj;
13723
13724 {
13725 #if wxUSE_UNICODE
13726 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13727 #else
13728 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
13729 #endif
13730 }
13731 return pyobj;
13732 }
13733
13734
13735 static PyObject *_wrap_new_ArtProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxPyArtProvider *result;
13738 char *kwnames[] = {
13739 NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (wxPyArtProvider *)new wxPyArtProvider();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyArtProvider, 1);
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13760 PyObject *arg2 = (PyObject *) 0 ;
13761 PyObject *arg3 = (PyObject *) 0 ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj1 = 0 ;
13764 PyObject * obj2 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self",(char *) "self",(char *) "_class", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13771 arg2 = obj1;
13772 arg3 = obj2;
13773 {
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 (arg1)->_setCallbackInfo(arg2,arg3);
13776
13777 wxPyEndAllowThreads(__tstate);
13778 if (PyErr_Occurred()) SWIG_fail;
13779 }
13780 Py_INCREF(Py_None); resultobj = Py_None;
13781 return resultobj;
13782 fail:
13783 return NULL;
13784 }
13785
13786
13787 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj;
13789 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13790 PyObject * obj0 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "provider", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 wxPyArtProvider::PushProvider(arg1);
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 Py_INCREF(Py_None); resultobj = Py_None;
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 bool result;
13814 char *kwnames[] = {
13815 NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
13819 {
13820 PyThreadState* __tstate = wxPyBeginAllowThreads();
13821 result = (bool)wxPyArtProvider::PopProvider();
13822
13823 wxPyEndAllowThreads(__tstate);
13824 if (PyErr_Occurred()) SWIG_fail;
13825 }
13826 resultobj = SWIG_PyObj_FromBool((bool)result);
13827 return resultobj;
13828 fail:
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
13836 bool result;
13837 PyObject * obj0 = 0 ;
13838 char *kwnames[] = {
13839 (char *) "provider", NULL
13840 };
13841
13842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
13843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13844 {
13845 PyThreadState* __tstate = wxPyBeginAllowThreads();
13846 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
13847
13848 wxPyEndAllowThreads(__tstate);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 resultobj = SWIG_PyObj_FromBool((bool)result);
13852 return resultobj;
13853 fail:
13854 return NULL;
13855 }
13856
13857
13858 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxString *arg1 = 0 ;
13861 wxString const &arg2_defvalue = wxPyART_OTHER ;
13862 wxString *arg2 = (wxString *) &arg2_defvalue ;
13863 wxSize const &arg3_defvalue = wxDefaultSize ;
13864 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13865 wxBitmap result;
13866 bool temp1 = False ;
13867 bool temp2 = False ;
13868 wxSize temp3 ;
13869 PyObject * obj0 = 0 ;
13870 PyObject * obj1 = 0 ;
13871 PyObject * obj2 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "id",(char *) "client",(char *) "size", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
13877 {
13878 arg1 = wxString_in_helper(obj0);
13879 if (arg1 == NULL) SWIG_fail;
13880 temp1 = True;
13881 }
13882 if (obj1) {
13883 {
13884 arg2 = wxString_in_helper(obj1);
13885 if (arg2 == NULL) SWIG_fail;
13886 temp2 = True;
13887 }
13888 }
13889 if (obj2) {
13890 {
13891 arg3 = &temp3;
13892 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13893 }
13894 }
13895 {
13896 PyThreadState* __tstate = wxPyBeginAllowThreads();
13897 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13898
13899 wxPyEndAllowThreads(__tstate);
13900 if (PyErr_Occurred()) SWIG_fail;
13901 }
13902 {
13903 wxBitmap * resultptr;
13904 resultptr = new wxBitmap((wxBitmap &) result);
13905 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13906 }
13907 {
13908 if (temp1)
13909 delete arg1;
13910 }
13911 {
13912 if (temp2)
13913 delete arg2;
13914 }
13915 return resultobj;
13916 fail:
13917 {
13918 if (temp1)
13919 delete arg1;
13920 }
13921 {
13922 if (temp2)
13923 delete arg2;
13924 }
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxString *arg1 = 0 ;
13932 wxString const &arg2_defvalue = wxPyART_OTHER ;
13933 wxString *arg2 = (wxString *) &arg2_defvalue ;
13934 wxSize const &arg3_defvalue = wxDefaultSize ;
13935 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
13936 wxIcon result;
13937 bool temp1 = False ;
13938 bool temp2 = False ;
13939 wxSize temp3 ;
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 PyObject * obj2 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "id",(char *) "client",(char *) "size", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13948 {
13949 arg1 = wxString_in_helper(obj0);
13950 if (arg1 == NULL) SWIG_fail;
13951 temp1 = True;
13952 }
13953 if (obj1) {
13954 {
13955 arg2 = wxString_in_helper(obj1);
13956 if (arg2 == NULL) SWIG_fail;
13957 temp2 = True;
13958 }
13959 }
13960 if (obj2) {
13961 {
13962 arg3 = &temp3;
13963 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13964 }
13965 }
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 {
13974 wxIcon * resultptr;
13975 resultptr = new wxIcon((wxIcon &) result);
13976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
13977 }
13978 {
13979 if (temp1)
13980 delete arg1;
13981 }
13982 {
13983 if (temp2)
13984 delete arg2;
13985 }
13986 return resultobj;
13987 fail:
13988 {
13989 if (temp1)
13990 delete arg1;
13991 }
13992 {
13993 if (temp2)
13994 delete arg2;
13995 }
13996 return NULL;
13997 }
13998
13999
14000 static PyObject *_wrap_ArtProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
14003 PyObject * obj0 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
14009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyArtProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 wxPyArtProvider_Destroy(arg1);
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 Py_INCREF(Py_None); resultobj = Py_None;
14018 return resultobj;
14019 fail:
14020 return NULL;
14021 }
14022
14023
14024 static PyObject * ArtProvider_swigregister(PyObject *self, PyObject *args) {
14025 PyObject *obj;
14026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14027 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
14028 Py_INCREF(obj);
14029 return Py_BuildValue((char *)"");
14030 }
14031 static PyObject *_wrap_delete_ConfigBase(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14034 PyObject * obj0 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 delete arg1;
14044
14045 wxPyEndAllowThreads(__tstate);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 Py_INCREF(Py_None); resultobj = Py_None;
14049 return resultobj;
14050 fail:
14051 return NULL;
14052 }
14053
14054
14055 static PyObject *_wrap_ConfigBase_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
14056 PyObject *resultobj;
14057 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14058 wxConfigBase *result;
14059 PyObject * obj0 = 0 ;
14060 char *kwnames[] = {
14061 (char *) "pConfig", NULL
14062 };
14063
14064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
14065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (wxConfigBase *)wxConfigBase::Set(arg1);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14074 return resultobj;
14075 fail:
14076 return NULL;
14077 }
14078
14079
14080 static PyObject *_wrap_ConfigBase_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 bool arg1 = (bool) True ;
14083 wxConfigBase *result;
14084 PyObject * obj0 = 0 ;
14085 char *kwnames[] = {
14086 (char *) "createOnDemand", NULL
14087 };
14088
14089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
14090 if (obj0) {
14091 {
14092 arg1 = (bool) SWIG_PyObj_AsBool(obj0);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 }
14096 {
14097 PyThreadState* __tstate = wxPyBeginAllowThreads();
14098 result = (wxConfigBase *)wxConfigBase::Get(arg1);
14099
14100 wxPyEndAllowThreads(__tstate);
14101 if (PyErr_Occurred()) SWIG_fail;
14102 }
14103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14104 return resultobj;
14105 fail:
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_ConfigBase_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxConfigBase *result;
14113 char *kwnames[] = {
14114 NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (wxConfigBase *)wxConfigBase::Create();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigBase, 0);
14126 return resultobj;
14127 fail:
14128 return NULL;
14129 }
14130
14131
14132 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *self, PyObject *args, PyObject *kwargs) {
14133 PyObject *resultobj;
14134 char *kwnames[] = {
14135 NULL
14136 };
14137
14138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 wxConfigBase::DontCreateOnDemand();
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 Py_INCREF(Py_None); resultobj = Py_None;
14147 return resultobj;
14148 fail:
14149 return NULL;
14150 }
14151
14152
14153 static PyObject *_wrap_ConfigBase_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14156 wxString *arg2 = 0 ;
14157 bool temp2 = False ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "strPath", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14166 {
14167 arg2 = wxString_in_helper(obj1);
14168 if (arg2 == NULL) SWIG_fail;
14169 temp2 = True;
14170 }
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 (arg1)->SetPath((wxString const &)*arg2);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 Py_INCREF(Py_None); resultobj = Py_None;
14179 {
14180 if (temp2)
14181 delete arg2;
14182 }
14183 return resultobj;
14184 fail:
14185 {
14186 if (temp2)
14187 delete arg2;
14188 }
14189 return NULL;
14190 }
14191
14192
14193 static PyObject *_wrap_ConfigBase_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14196 wxString *result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 {
14207 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
14208 result = (wxString *) &_result_ref;
14209 }
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 #if wxUSE_UNICODE
14216 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14217 #else
14218 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14219 #endif
14220 }
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14230 PyObject *result;
14231 PyObject * obj0 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = result;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14255 long arg2 ;
14256 PyObject *result;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "index", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14265 {
14266 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 resultobj = result;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14286 PyObject *result;
14287 PyObject * obj0 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
14293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = result;
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14311 long arg2 ;
14312 PyObject *result;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self",(char *) "index", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14321 {
14322 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14323 if (PyErr_Occurred()) SWIG_fail;
14324 }
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 resultobj = result;
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14342 bool arg2 = (bool) False ;
14343 size_t result;
14344 PyObject * obj0 = 0 ;
14345 PyObject * obj1 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self",(char *) "bRecursive", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14352 if (obj1) {
14353 {
14354 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 }
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *self, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14375 bool arg2 = (bool) False ;
14376 size_t result;
14377 PyObject * obj0 = 0 ;
14378 PyObject * obj1 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "self",(char *) "bRecursive", NULL
14381 };
14382
14383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
14384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14385 if (obj1) {
14386 {
14387 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 }
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
14406 PyObject *resultobj;
14407 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14408 wxString *arg2 = 0 ;
14409 bool result;
14410 bool temp2 = False ;
14411 PyObject * obj0 = 0 ;
14412 PyObject * obj1 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self",(char *) "strName", NULL
14415 };
14416
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
14418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14419 {
14420 arg2 = wxString_in_helper(obj1);
14421 if (arg2 == NULL) SWIG_fail;
14422 temp2 = True;
14423 }
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 resultobj = SWIG_PyObj_FromBool((bool)result);
14432 {
14433 if (temp2)
14434 delete arg2;
14435 }
14436 return resultobj;
14437 fail:
14438 {
14439 if (temp2)
14440 delete arg2;
14441 }
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14449 wxString *arg2 = 0 ;
14450 bool result;
14451 bool temp2 = False ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "strName", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 {
14461 arg2 = wxString_in_helper(obj1);
14462 if (arg2 == NULL) SWIG_fail;
14463 temp2 = True;
14464 }
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 resultobj = SWIG_PyObj_FromBool((bool)result);
14473 {
14474 if (temp2)
14475 delete arg2;
14476 }
14477 return resultobj;
14478 fail:
14479 {
14480 if (temp2)
14481 delete arg2;
14482 }
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_ConfigBase_Exists(PyObject *self, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj;
14489 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14490 wxString *arg2 = 0 ;
14491 bool result;
14492 bool temp2 = False ;
14493 PyObject * obj0 = 0 ;
14494 PyObject * obj1 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self",(char *) "strName", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
14500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14501 {
14502 arg2 = wxString_in_helper(obj1);
14503 if (arg2 == NULL) SWIG_fail;
14504 temp2 = True;
14505 }
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = SWIG_PyObj_FromBool((bool)result);
14514 {
14515 if (temp2)
14516 delete arg2;
14517 }
14518 return resultobj;
14519 fail:
14520 {
14521 if (temp2)
14522 delete arg2;
14523 }
14524 return NULL;
14525 }
14526
14527
14528 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14531 wxString *arg2 = 0 ;
14532 int result;
14533 bool temp2 = False ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "name", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
14541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 {
14543 arg2 = wxString_in_helper(obj1);
14544 if (arg2 == NULL) SWIG_fail;
14545 temp2 = True;
14546 }
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (int)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 resultobj = SWIG_PyObj_FromInt((int)result);
14555 {
14556 if (temp2)
14557 delete arg2;
14558 }
14559 return resultobj;
14560 fail:
14561 {
14562 if (temp2)
14563 delete arg2;
14564 }
14565 return NULL;
14566 }
14567
14568
14569 static PyObject *_wrap_ConfigBase_Read(PyObject *self, PyObject *args, PyObject *kwargs) {
14570 PyObject *resultobj;
14571 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14572 wxString *arg2 = 0 ;
14573 wxString const &arg3_defvalue = wxPyEmptyString ;
14574 wxString *arg3 = (wxString *) &arg3_defvalue ;
14575 wxString result;
14576 bool temp2 = False ;
14577 bool temp3 = False ;
14578 PyObject * obj0 = 0 ;
14579 PyObject * obj1 = 0 ;
14580 PyObject * obj2 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
14586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14587 {
14588 arg2 = wxString_in_helper(obj1);
14589 if (arg2 == NULL) SWIG_fail;
14590 temp2 = True;
14591 }
14592 if (obj2) {
14593 {
14594 arg3 = wxString_in_helper(obj2);
14595 if (arg3 == NULL) SWIG_fail;
14596 temp3 = True;
14597 }
14598 }
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 {
14607 #if wxUSE_UNICODE
14608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14609 #else
14610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14611 #endif
14612 }
14613 {
14614 if (temp2)
14615 delete arg2;
14616 }
14617 {
14618 if (temp3)
14619 delete arg3;
14620 }
14621 return resultobj;
14622 fail:
14623 {
14624 if (temp2)
14625 delete arg2;
14626 }
14627 {
14628 if (temp3)
14629 delete arg3;
14630 }
14631 return NULL;
14632 }
14633
14634
14635 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14638 wxString *arg2 = 0 ;
14639 long arg3 = (long) 0 ;
14640 long result;
14641 bool temp2 = False ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 PyObject * obj2 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14651 {
14652 arg2 = wxString_in_helper(obj1);
14653 if (arg2 == NULL) SWIG_fail;
14654 temp2 = True;
14655 }
14656 if (obj2) {
14657 {
14658 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 }
14662 {
14663 PyThreadState* __tstate = wxPyBeginAllowThreads();
14664 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
14665
14666 wxPyEndAllowThreads(__tstate);
14667 if (PyErr_Occurred()) SWIG_fail;
14668 }
14669 resultobj = SWIG_PyObj_FromLong((long)result);
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 return resultobj;
14675 fail:
14676 {
14677 if (temp2)
14678 delete arg2;
14679 }
14680 return NULL;
14681 }
14682
14683
14684 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14685 PyObject *resultobj;
14686 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14687 wxString *arg2 = 0 ;
14688 double arg3 = (double) 0.0 ;
14689 double result;
14690 bool temp2 = False ;
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 PyObject * obj2 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
14699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14700 {
14701 arg2 = wxString_in_helper(obj1);
14702 if (arg2 == NULL) SWIG_fail;
14703 temp2 = True;
14704 }
14705 if (obj2) {
14706 {
14707 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 }
14711 {
14712 PyThreadState* __tstate = wxPyBeginAllowThreads();
14713 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
14714
14715 wxPyEndAllowThreads(__tstate);
14716 if (PyErr_Occurred()) SWIG_fail;
14717 }
14718 resultobj = SWIG_PyObj_FromDouble((double)result);
14719 {
14720 if (temp2)
14721 delete arg2;
14722 }
14723 return resultobj;
14724 fail:
14725 {
14726 if (temp2)
14727 delete arg2;
14728 }
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14736 wxString *arg2 = 0 ;
14737 bool arg3 = (bool) False ;
14738 bool result;
14739 bool temp2 = False ;
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 PyObject * obj2 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14749 {
14750 arg2 = wxString_in_helper(obj1);
14751 if (arg2 == NULL) SWIG_fail;
14752 temp2 = True;
14753 }
14754 if (obj2) {
14755 {
14756 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 }
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = SWIG_PyObj_FromBool((bool)result);
14768 {
14769 if (temp2)
14770 delete arg2;
14771 }
14772 return resultobj;
14773 fail:
14774 {
14775 if (temp2)
14776 delete arg2;
14777 }
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_ConfigBase_Write(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14785 wxString *arg2 = 0 ;
14786 wxString *arg3 = 0 ;
14787 bool result;
14788 bool temp2 = False ;
14789 bool temp3 = False ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj1 = 0 ;
14792 PyObject * obj2 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self",(char *) "key",(char *) "value", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
14798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14799 {
14800 arg2 = wxString_in_helper(obj1);
14801 if (arg2 == NULL) SWIG_fail;
14802 temp2 = True;
14803 }
14804 {
14805 arg3 = wxString_in_helper(obj2);
14806 if (arg3 == NULL) SWIG_fail;
14807 temp3 = True;
14808 }
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
14812
14813 wxPyEndAllowThreads(__tstate);
14814 if (PyErr_Occurred()) SWIG_fail;
14815 }
14816 resultobj = SWIG_PyObj_FromBool((bool)result);
14817 {
14818 if (temp2)
14819 delete arg2;
14820 }
14821 {
14822 if (temp3)
14823 delete arg3;
14824 }
14825 return resultobj;
14826 fail:
14827 {
14828 if (temp2)
14829 delete arg2;
14830 }
14831 {
14832 if (temp3)
14833 delete arg3;
14834 }
14835 return NULL;
14836 }
14837
14838
14839 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14842 wxString *arg2 = 0 ;
14843 long arg3 ;
14844 bool result;
14845 bool temp2 = False ;
14846 PyObject * obj0 = 0 ;
14847 PyObject * obj1 = 0 ;
14848 PyObject * obj2 = 0 ;
14849 char *kwnames[] = {
14850 (char *) "self",(char *) "key",(char *) "value", NULL
14851 };
14852
14853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
14854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14855 {
14856 arg2 = wxString_in_helper(obj1);
14857 if (arg2 == NULL) SWIG_fail;
14858 temp2 = True;
14859 }
14860 {
14861 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 resultobj = SWIG_PyObj_FromBool((bool)result);
14872 {
14873 if (temp2)
14874 delete arg2;
14875 }
14876 return resultobj;
14877 fail:
14878 {
14879 if (temp2)
14880 delete arg2;
14881 }
14882 return NULL;
14883 }
14884
14885
14886 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *self, PyObject *args, PyObject *kwargs) {
14887 PyObject *resultobj;
14888 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14889 wxString *arg2 = 0 ;
14890 double arg3 ;
14891 bool result;
14892 bool temp2 = False ;
14893 PyObject * obj0 = 0 ;
14894 PyObject * obj1 = 0 ;
14895 PyObject * obj2 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self",(char *) "key",(char *) "value", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
14901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14902 {
14903 arg2 = wxString_in_helper(obj1);
14904 if (arg2 == NULL) SWIG_fail;
14905 temp2 = True;
14906 }
14907 {
14908 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 resultobj = SWIG_PyObj_FromBool((bool)result);
14919 {
14920 if (temp2)
14921 delete arg2;
14922 }
14923 return resultobj;
14924 fail:
14925 {
14926 if (temp2)
14927 delete arg2;
14928 }
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14936 wxString *arg2 = 0 ;
14937 bool arg3 ;
14938 bool result;
14939 bool temp2 = False ;
14940 PyObject * obj0 = 0 ;
14941 PyObject * obj1 = 0 ;
14942 PyObject * obj2 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self",(char *) "key",(char *) "value", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14949 {
14950 arg2 = wxString_in_helper(obj1);
14951 if (arg2 == NULL) SWIG_fail;
14952 temp2 = True;
14953 }
14954 {
14955 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 {
14959 PyThreadState* __tstate = wxPyBeginAllowThreads();
14960 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_PyObj_FromBool((bool)result);
14966 {
14967 if (temp2)
14968 delete arg2;
14969 }
14970 return resultobj;
14971 fail:
14972 {
14973 if (temp2)
14974 delete arg2;
14975 }
14976 return NULL;
14977 }
14978
14979
14980 static PyObject *_wrap_ConfigBase_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj;
14982 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
14983 bool arg2 = (bool) False ;
14984 bool result;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self",(char *) "bCurrentOnly", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
14992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14993 if (obj1) {
14994 {
14995 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 }
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (bool)(arg1)->Flush(arg2);
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 resultobj = SWIG_PyObj_FromBool((bool)result);
15007 return resultobj;
15008 fail:
15009 return NULL;
15010 }
15011
15012
15013 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15016 wxString *arg2 = 0 ;
15017 wxString *arg3 = 0 ;
15018 bool result;
15019 bool temp2 = False ;
15020 bool temp3 = False ;
15021 PyObject * obj0 = 0 ;
15022 PyObject * obj1 = 0 ;
15023 PyObject * obj2 = 0 ;
15024 char *kwnames[] = {
15025 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15026 };
15027
15028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15030 {
15031 arg2 = wxString_in_helper(obj1);
15032 if (arg2 == NULL) SWIG_fail;
15033 temp2 = True;
15034 }
15035 {
15036 arg3 = wxString_in_helper(obj2);
15037 if (arg3 == NULL) SWIG_fail;
15038 temp3 = True;
15039 }
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = SWIG_PyObj_FromBool((bool)result);
15048 {
15049 if (temp2)
15050 delete arg2;
15051 }
15052 {
15053 if (temp3)
15054 delete arg3;
15055 }
15056 return resultobj;
15057 fail:
15058 {
15059 if (temp2)
15060 delete arg2;
15061 }
15062 {
15063 if (temp3)
15064 delete arg3;
15065 }
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15073 wxString *arg2 = 0 ;
15074 wxString *arg3 = 0 ;
15075 bool result;
15076 bool temp2 = False ;
15077 bool temp3 = False ;
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 PyObject * obj2 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15087 {
15088 arg2 = wxString_in_helper(obj1);
15089 if (arg2 == NULL) SWIG_fail;
15090 temp2 = True;
15091 }
15092 {
15093 arg3 = wxString_in_helper(obj2);
15094 if (arg3 == NULL) SWIG_fail;
15095 temp3 = True;
15096 }
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = SWIG_PyObj_FromBool((bool)result);
15105 {
15106 if (temp2)
15107 delete arg2;
15108 }
15109 {
15110 if (temp3)
15111 delete arg3;
15112 }
15113 return resultobj;
15114 fail:
15115 {
15116 if (temp2)
15117 delete arg2;
15118 }
15119 {
15120 if (temp3)
15121 delete arg3;
15122 }
15123 return NULL;
15124 }
15125
15126
15127 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15130 wxString *arg2 = 0 ;
15131 bool arg3 = (bool) True ;
15132 bool result;
15133 bool temp2 = False ;
15134 PyObject * obj0 = 0 ;
15135 PyObject * obj1 = 0 ;
15136 PyObject * obj2 = 0 ;
15137 char *kwnames[] = {
15138 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
15142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15143 {
15144 arg2 = wxString_in_helper(obj1);
15145 if (arg2 == NULL) SWIG_fail;
15146 temp2 = True;
15147 }
15148 if (obj2) {
15149 {
15150 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 }
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 resultobj = SWIG_PyObj_FromBool((bool)result);
15162 {
15163 if (temp2)
15164 delete arg2;
15165 }
15166 return resultobj;
15167 fail:
15168 {
15169 if (temp2)
15170 delete arg2;
15171 }
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15179 wxString *arg2 = 0 ;
15180 bool result;
15181 bool temp2 = False ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self",(char *) "key", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15190 {
15191 arg2 = wxString_in_helper(obj1);
15192 if (arg2 == NULL) SWIG_fail;
15193 temp2 = True;
15194 }
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 resultobj = SWIG_PyObj_FromBool((bool)result);
15203 {
15204 if (temp2)
15205 delete arg2;
15206 }
15207 return resultobj;
15208 fail:
15209 {
15210 if (temp2)
15211 delete arg2;
15212 }
15213 return NULL;
15214 }
15215
15216
15217 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj;
15219 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15220 bool result;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
15227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (bool)(arg1)->DeleteAll();
15231
15232 wxPyEndAllowThreads(__tstate);
15233 if (PyErr_Occurred()) SWIG_fail;
15234 }
15235 resultobj = SWIG_PyObj_FromBool((bool)result);
15236 return resultobj;
15237 fail:
15238 return NULL;
15239 }
15240
15241
15242 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15243 PyObject *resultobj;
15244 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15245 bool result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15253 {
15254 PyThreadState* __tstate = wxPyBeginAllowThreads();
15255 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
15256
15257 wxPyEndAllowThreads(__tstate);
15258 if (PyErr_Occurred()) SWIG_fail;
15259 }
15260 resultobj = SWIG_PyObj_FromBool((bool)result);
15261 return resultobj;
15262 fail:
15263 return NULL;
15264 }
15265
15266
15267 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15268 PyObject *resultobj;
15269 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15270 bool arg2 = (bool) True ;
15271 PyObject * obj0 = 0 ;
15272 PyObject * obj1 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "bDoIt", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15279 if (obj1) {
15280 {
15281 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 }
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 (arg1)->SetExpandEnvVars(arg2);
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296 }
15297
15298
15299 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj;
15301 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15302 bool arg2 = (bool) True ;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj1 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self",(char *) "bDoIt", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 if (obj1) {
15312 {
15313 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 }
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 (arg1)->SetRecordDefaults(arg2);
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 Py_INCREF(Py_None); resultobj = Py_None;
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15334 bool result;
15335 PyObject * obj0 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 resultobj = SWIG_PyObj_FromBool((bool)result);
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15359 wxString *arg2 = 0 ;
15360 wxString result;
15361 bool temp2 = False ;
15362 PyObject * obj0 = 0 ;
15363 PyObject * obj1 = 0 ;
15364 char *kwnames[] = {
15365 (char *) "self",(char *) "str", NULL
15366 };
15367
15368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
15369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15370 {
15371 arg2 = wxString_in_helper(obj1);
15372 if (arg2 == NULL) SWIG_fail;
15373 temp2 = True;
15374 }
15375 {
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 {
15383 #if wxUSE_UNICODE
15384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15385 #else
15386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15387 #endif
15388 }
15389 {
15390 if (temp2)
15391 delete arg2;
15392 }
15393 return resultobj;
15394 fail:
15395 {
15396 if (temp2)
15397 delete arg2;
15398 }
15399 return NULL;
15400 }
15401
15402
15403 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15406 wxString result;
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
15413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 result = ((wxConfigBase const *)arg1)->GetAppName();
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 {
15422 #if wxUSE_UNICODE
15423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15424 #else
15425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15426 #endif
15427 }
15428 return resultobj;
15429 fail:
15430 return NULL;
15431 }
15432
15433
15434 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15435 PyObject *resultobj;
15436 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15437 wxString result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
15444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15445 {
15446 PyThreadState* __tstate = wxPyBeginAllowThreads();
15447 result = ((wxConfigBase const *)arg1)->GetVendorName();
15448
15449 wxPyEndAllowThreads(__tstate);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 {
15453 #if wxUSE_UNICODE
15454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15455 #else
15456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15457 #endif
15458 }
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
15466 PyObject *resultobj;
15467 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15468 wxString *arg2 = 0 ;
15469 bool temp2 = False ;
15470 PyObject * obj0 = 0 ;
15471 PyObject * obj1 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self",(char *) "appName", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15478 {
15479 arg2 = wxString_in_helper(obj1);
15480 if (arg2 == NULL) SWIG_fail;
15481 temp2 = True;
15482 }
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 (arg1)->SetAppName((wxString const &)*arg2);
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 Py_INCREF(Py_None); resultobj = Py_None;
15491 {
15492 if (temp2)
15493 delete arg2;
15494 }
15495 return resultobj;
15496 fail:
15497 {
15498 if (temp2)
15499 delete arg2;
15500 }
15501 return NULL;
15502 }
15503
15504
15505 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15508 wxString *arg2 = 0 ;
15509 bool temp2 = False ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self",(char *) "vendorName", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15518 {
15519 arg2 = wxString_in_helper(obj1);
15520 if (arg2 == NULL) SWIG_fail;
15521 temp2 = True;
15522 }
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 (arg1)->SetVendorName((wxString const &)*arg2);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 Py_INCREF(Py_None); resultobj = Py_None;
15531 {
15532 if (temp2)
15533 delete arg2;
15534 }
15535 return resultobj;
15536 fail:
15537 {
15538 if (temp2)
15539 delete arg2;
15540 }
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15548 long arg2 ;
15549 PyObject * obj0 = 0 ;
15550 PyObject * obj1 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self",(char *) "style", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 {
15558 arg2 = (long) SWIG_PyObj_AsLong(obj1);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 (arg1)->SetStyle(arg2);
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 Py_INCREF(Py_None); resultobj = Py_None;
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15578 long result;
15579 PyObject * obj0 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (long)((wxConfigBase const *)arg1)->GetStyle();
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 resultobj = SWIG_PyObj_FromLong((long)result);
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject * ConfigBase_swigregister(PyObject *self, PyObject *args) {
15601 PyObject *obj;
15602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15603 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
15604 Py_INCREF(obj);
15605 return Py_BuildValue((char *)"");
15606 }
15607 static PyObject *_wrap_new_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
15610 wxString *arg2 = 0 ;
15611 wxConfigPathChanger *result;
15612 bool temp2 = False ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "pContainer",(char *) "strEntry", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
15620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15621 {
15622 arg2 = wxString_in_helper(obj1);
15623 if (arg2 == NULL) SWIG_fail;
15624 temp2 = True;
15625 }
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfigPathChanger, 1);
15634 {
15635 if (temp2)
15636 delete arg2;
15637 }
15638 return resultobj;
15639 fail:
15640 {
15641 if (temp2)
15642 delete arg2;
15643 }
15644 return NULL;
15645 }
15646
15647
15648 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15651 PyObject * obj0 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self", NULL
15654 };
15655
15656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
15657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15658 {
15659 PyThreadState* __tstate = wxPyBeginAllowThreads();
15660 delete arg1;
15661
15662 wxPyEndAllowThreads(__tstate);
15663 if (PyErr_Occurred()) SWIG_fail;
15664 }
15665 Py_INCREF(Py_None); resultobj = Py_None;
15666 return resultobj;
15667 fail:
15668 return NULL;
15669 }
15670
15671
15672 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *self, PyObject *args, PyObject *kwargs) {
15673 PyObject *resultobj;
15674 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
15675 wxString *result;
15676 PyObject * obj0 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfigPathChanger,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15683 {
15684 PyThreadState* __tstate = wxPyBeginAllowThreads();
15685 {
15686 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
15687 result = (wxString *) &_result_ref;
15688 }
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 {
15694 #if wxUSE_UNICODE
15695 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15696 #else
15697 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15698 #endif
15699 }
15700 return resultobj;
15701 fail:
15702 return NULL;
15703 }
15704
15705
15706 static PyObject * ConfigPathChanger_swigregister(PyObject *self, PyObject *args) {
15707 PyObject *obj;
15708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
15710 Py_INCREF(obj);
15711 return Py_BuildValue((char *)"");
15712 }
15713 static PyObject *_wrap_new_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15714 PyObject *resultobj;
15715 wxString const &arg1_defvalue = wxPyEmptyString ;
15716 wxString *arg1 = (wxString *) &arg1_defvalue ;
15717 wxString const &arg2_defvalue = wxPyEmptyString ;
15718 wxString *arg2 = (wxString *) &arg2_defvalue ;
15719 wxString const &arg3_defvalue = wxPyEmptyString ;
15720 wxString *arg3 = (wxString *) &arg3_defvalue ;
15721 wxString const &arg4_defvalue = wxPyEmptyString ;
15722 wxString *arg4 = (wxString *) &arg4_defvalue ;
15723 long arg5 = (long) 0 ;
15724 wxConfig *result;
15725 bool temp1 = False ;
15726 bool temp2 = False ;
15727 bool temp3 = False ;
15728 bool temp4 = False ;
15729 PyObject * obj0 = 0 ;
15730 PyObject * obj1 = 0 ;
15731 PyObject * obj2 = 0 ;
15732 PyObject * obj3 = 0 ;
15733 PyObject * obj4 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15739 if (obj0) {
15740 {
15741 arg1 = wxString_in_helper(obj0);
15742 if (arg1 == NULL) SWIG_fail;
15743 temp1 = True;
15744 }
15745 }
15746 if (obj1) {
15747 {
15748 arg2 = wxString_in_helper(obj1);
15749 if (arg2 == NULL) SWIG_fail;
15750 temp2 = True;
15751 }
15752 }
15753 if (obj2) {
15754 {
15755 arg3 = wxString_in_helper(obj2);
15756 if (arg3 == NULL) SWIG_fail;
15757 temp3 = True;
15758 }
15759 }
15760 if (obj3) {
15761 {
15762 arg4 = wxString_in_helper(obj3);
15763 if (arg4 == NULL) SWIG_fail;
15764 temp4 = True;
15765 }
15766 }
15767 if (obj4) {
15768 {
15769 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 }
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxConfig, 1);
15781 {
15782 if (temp1)
15783 delete arg1;
15784 }
15785 {
15786 if (temp2)
15787 delete arg2;
15788 }
15789 {
15790 if (temp3)
15791 delete arg3;
15792 }
15793 {
15794 if (temp4)
15795 delete arg4;
15796 }
15797 return resultobj;
15798 fail:
15799 {
15800 if (temp1)
15801 delete arg1;
15802 }
15803 {
15804 if (temp2)
15805 delete arg2;
15806 }
15807 {
15808 if (temp3)
15809 delete arg3;
15810 }
15811 {
15812 if (temp4)
15813 delete arg4;
15814 }
15815 return NULL;
15816 }
15817
15818
15819 static PyObject *_wrap_delete_Config(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxConfig *arg1 = (wxConfig *) 0 ;
15822 PyObject * obj0 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "self", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
15828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 delete arg1;
15832
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 Py_INCREF(Py_None); resultobj = Py_None;
15837 return resultobj;
15838 fail:
15839 return NULL;
15840 }
15841
15842
15843 static PyObject * Config_swigregister(PyObject *self, PyObject *args) {
15844 PyObject *obj;
15845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15846 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
15847 Py_INCREF(obj);
15848 return Py_BuildValue((char *)"");
15849 }
15850 static PyObject *_wrap_new_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxString const &arg1_defvalue = wxPyEmptyString ;
15853 wxString *arg1 = (wxString *) &arg1_defvalue ;
15854 wxString const &arg2_defvalue = wxPyEmptyString ;
15855 wxString *arg2 = (wxString *) &arg2_defvalue ;
15856 wxString const &arg3_defvalue = wxPyEmptyString ;
15857 wxString *arg3 = (wxString *) &arg3_defvalue ;
15858 wxString const &arg4_defvalue = wxPyEmptyString ;
15859 wxString *arg4 = (wxString *) &arg4_defvalue ;
15860 long arg5 = (long) 0 ;
15861 wxFileConfig *result;
15862 bool temp1 = False ;
15863 bool temp2 = False ;
15864 bool temp3 = False ;
15865 bool temp4 = False ;
15866 PyObject * obj0 = 0 ;
15867 PyObject * obj1 = 0 ;
15868 PyObject * obj2 = 0 ;
15869 PyObject * obj3 = 0 ;
15870 PyObject * obj4 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15876 if (obj0) {
15877 {
15878 arg1 = wxString_in_helper(obj0);
15879 if (arg1 == NULL) SWIG_fail;
15880 temp1 = True;
15881 }
15882 }
15883 if (obj1) {
15884 {
15885 arg2 = wxString_in_helper(obj1);
15886 if (arg2 == NULL) SWIG_fail;
15887 temp2 = True;
15888 }
15889 }
15890 if (obj2) {
15891 {
15892 arg3 = wxString_in_helper(obj2);
15893 if (arg3 == NULL) SWIG_fail;
15894 temp3 = True;
15895 }
15896 }
15897 if (obj3) {
15898 {
15899 arg4 = wxString_in_helper(obj3);
15900 if (arg4 == NULL) SWIG_fail;
15901 temp4 = True;
15902 }
15903 }
15904 if (obj4) {
15905 {
15906 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 }
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileConfig, 1);
15918 {
15919 if (temp1)
15920 delete arg1;
15921 }
15922 {
15923 if (temp2)
15924 delete arg2;
15925 }
15926 {
15927 if (temp3)
15928 delete arg3;
15929 }
15930 {
15931 if (temp4)
15932 delete arg4;
15933 }
15934 return resultobj;
15935 fail:
15936 {
15937 if (temp1)
15938 delete arg1;
15939 }
15940 {
15941 if (temp2)
15942 delete arg2;
15943 }
15944 {
15945 if (temp3)
15946 delete arg3;
15947 }
15948 {
15949 if (temp4)
15950 delete arg4;
15951 }
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_delete_FileConfig(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileConfig,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 delete arg1;
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 Py_INCREF(Py_None); resultobj = Py_None;
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject * FileConfig_swigregister(PyObject *self, PyObject *args) {
15981 PyObject *obj;
15982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
15984 Py_INCREF(obj);
15985 return Py_BuildValue((char *)"");
15986 }
15987 static PyObject *_wrap_ExpandEnvVars(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxString *arg1 = 0 ;
15990 wxString result;
15991 bool temp1 = False ;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "sz", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
15998 {
15999 arg1 = wxString_in_helper(obj0);
16000 if (arg1 == NULL) SWIG_fail;
16001 temp1 = True;
16002 }
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 result = wxExpandEnvVars((wxString const &)*arg1);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 {
16011 #if wxUSE_UNICODE
16012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16013 #else
16014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16015 #endif
16016 }
16017 {
16018 if (temp1)
16019 delete arg1;
16020 }
16021 return resultobj;
16022 fail:
16023 {
16024 if (temp1)
16025 delete arg1;
16026 }
16027 return NULL;
16028 }
16029
16030
16031 static int _wrap_DateFormatStr_set(PyObject *_val) {
16032 PyErr_SetString(PyExc_TypeError,"Variable DateFormatStr is read-only.");
16033 return 1;
16034 }
16035
16036
16037 static PyObject *_wrap_DateFormatStr_get() {
16038 PyObject *pyobj;
16039
16040 {
16041 #if wxUSE_UNICODE
16042 pyobj = PyUnicode_FromWideChar((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16043 #else
16044 pyobj = PyString_FromStringAndSize((&wxPyDateFormatStr)->c_str(), (&wxPyDateFormatStr)->Len());
16045 #endif
16046 }
16047 return pyobj;
16048 }
16049
16050
16051 static int _wrap_TimeSpanFormatStr_set(PyObject *_val) {
16052 PyErr_SetString(PyExc_TypeError,"Variable TimeSpanFormatStr is read-only.");
16053 return 1;
16054 }
16055
16056
16057 static PyObject *_wrap_TimeSpanFormatStr_get() {
16058 PyObject *pyobj;
16059
16060 {
16061 #if wxUSE_UNICODE
16062 pyobj = PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16063 #else
16064 pyobj = PyString_FromStringAndSize((&wxPyTimeSpanFormatStr)->c_str(), (&wxPyTimeSpanFormatStr)->Len());
16065 #endif
16066 }
16067 return pyobj;
16068 }
16069
16070
16071 static PyObject *_wrap_DateTime_SetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 int arg1 ;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "country", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
16080 {
16081 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 {
16085 PyThreadState* __tstate = wxPyBeginAllowThreads();
16086 wxDateTime::SetCountry((wxDateTime::Country )arg1);
16087
16088 wxPyEndAllowThreads(__tstate);
16089 if (PyErr_Occurred()) SWIG_fail;
16090 }
16091 Py_INCREF(Py_None); resultobj = Py_None;
16092 return resultobj;
16093 fail:
16094 return NULL;
16095 }
16096
16097
16098 static PyObject *_wrap_DateTime_GetCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16099 PyObject *resultobj;
16100 int result;
16101 char *kwnames[] = {
16102 NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (int)wxDateTime::GetCountry();
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 resultobj = SWIG_PyObj_FromInt((int)result);
16114 return resultobj;
16115 fail:
16116 return NULL;
16117 }
16118
16119
16120 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *self, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 int arg1 = (int) wxDateTime::Country_Default ;
16123 bool result;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "country", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
16130 if (obj0) {
16131 {
16132 arg1 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj0);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 }
16136 {
16137 PyThreadState* __tstate = wxPyBeginAllowThreads();
16138 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
16139
16140 wxPyEndAllowThreads(__tstate);
16141 if (PyErr_Occurred()) SWIG_fail;
16142 }
16143 resultobj = SWIG_PyObj_FromBool((bool)result);
16144 return resultobj;
16145 fail:
16146 return NULL;
16147 }
16148
16149
16150 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 int arg1 = (int) wxDateTime::Gregorian ;
16153 int result;
16154 PyObject * obj0 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "cal", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
16160 if (obj0) {
16161 {
16162 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 }
16166 {
16167 PyThreadState* __tstate = wxPyBeginAllowThreads();
16168 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
16169
16170 wxPyEndAllowThreads(__tstate);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 resultobj = SWIG_PyObj_FromInt((int)result);
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 int arg1 ;
16183 int result;
16184 PyObject * obj0 = 0 ;
16185 char *kwnames[] = {
16186 (char *) "year", NULL
16187 };
16188
16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
16190 {
16191 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (int)wxDateTime::ConvertYearToBC(arg1);
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 resultobj = SWIG_PyObj_FromInt((int)result);
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 int arg1 = (int) wxDateTime::Gregorian ;
16211 int result;
16212 PyObject * obj0 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "cal", NULL
16215 };
16216
16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
16218 if (obj0) {
16219 {
16220 arg1 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj0);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 }
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 result = (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
16231 resultobj = SWIG_PyObj_FromInt((int)result);
16232 return resultobj;
16233 fail:
16234 return NULL;
16235 }
16236
16237
16238 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16239 PyObject *resultobj;
16240 int arg1 = (int) wxDateTime::Inv_Year ;
16241 int arg2 = (int) wxDateTime::Gregorian ;
16242 bool result;
16243 PyObject * obj0 = 0 ;
16244 PyObject * obj1 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "year",(char *) "cal", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
16250 if (obj0) {
16251 {
16252 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16253 if (PyErr_Occurred()) SWIG_fail;
16254 }
16255 }
16256 if (obj1) {
16257 {
16258 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 }
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 resultobj = SWIG_PyObj_FromBool((bool)result);
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_DateTime_GetCentury(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 int arg1 = (int) wxDateTime::Inv_Year ;
16279 int result;
16280 PyObject * obj0 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "year", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
16286 if (obj0) {
16287 {
16288 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 }
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (int)wxDateTime::GetCentury(arg1);
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 resultobj = SWIG_PyObj_FromInt((int)result);
16300 return resultobj;
16301 fail:
16302 return NULL;
16303 }
16304
16305
16306 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *self, PyObject *args, PyObject *kwargs) {
16307 PyObject *resultobj;
16308 int arg1 ;
16309 int arg2 = (int) wxDateTime::Gregorian ;
16310 int result;
16311 PyObject * obj0 = 0 ;
16312 PyObject * obj1 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "year",(char *) "cal", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
16318 {
16319 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 if (obj1) {
16323 {
16324 arg2 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj1);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 }
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 resultobj = SWIG_PyObj_FromInt((int)result);
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 int arg1 ;
16345 int arg2 = (int) wxDateTime::Inv_Year ;
16346 int arg3 = (int) wxDateTime::Gregorian ;
16347 int result;
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 PyObject * obj2 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "month",(char *) "year",(char *) "cal", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
16356 {
16357 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 if (obj1) {
16361 {
16362 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16363 if (PyErr_Occurred()) SWIG_fail;
16364 }
16365 }
16366 if (obj2) {
16367 {
16368 arg3 = (wxDateTime::Calendar) SWIG_PyObj_AsInt(obj2);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 }
16372 {
16373 PyThreadState* __tstate = wxPyBeginAllowThreads();
16374 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
16375
16376 wxPyEndAllowThreads(__tstate);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 }
16379 resultobj = SWIG_PyObj_FromInt((int)result);
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_DateTime_GetMonthName(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 int arg1 ;
16389 int arg2 = (int) wxDateTime::Name_Full ;
16390 wxString result;
16391 PyObject * obj0 = 0 ;
16392 PyObject * obj1 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "month",(char *) "flags", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
16398 {
16399 arg1 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj0);
16400 if (PyErr_Occurred()) SWIG_fail;
16401 }
16402 if (obj1) {
16403 {
16404 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 }
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 {
16416 #if wxUSE_UNICODE
16417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16418 #else
16419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16420 #endif
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 int arg1 ;
16431 int arg2 = (int) wxDateTime::Name_Full ;
16432 wxString result;
16433 PyObject * obj0 = 0 ;
16434 PyObject * obj1 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "weekday",(char *) "flags", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
16440 {
16441 arg1 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj0);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 if (obj1) {
16445 {
16446 arg2 = (wxDateTime::NameFlags) SWIG_PyObj_AsInt(obj1);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 }
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 {
16458 #if wxUSE_UNICODE
16459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16460 #else
16461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16462 #endif
16463 }
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 wxString *arg1 = (wxString *) 0 ;
16473 wxString *arg2 = (wxString *) 0 ;
16474 bool temp1 = False ;
16475 bool temp2 = False ;
16476 PyObject * obj0 = 0 ;
16477 PyObject * obj1 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetAmPmStrings",kwnames,&obj0,&obj1)) goto fail;
16483 {
16484 arg1 = wxString_in_helper(obj0);
16485 if (arg1 == NULL) SWIG_fail;
16486 temp1 = True;
16487 }
16488 {
16489 arg2 = wxString_in_helper(obj1);
16490 if (arg2 == NULL) SWIG_fail;
16491 temp2 = True;
16492 }
16493 {
16494 PyThreadState* __tstate = wxPyBeginAllowThreads();
16495 wxDateTime::GetAmPmStrings(arg1,arg2);
16496
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 Py_INCREF(Py_None); resultobj = Py_None;
16501 {
16502 if (temp1)
16503 delete arg1;
16504 }
16505 {
16506 if (temp2)
16507 delete arg2;
16508 }
16509 return resultobj;
16510 fail:
16511 {
16512 if (temp1)
16513 delete arg1;
16514 }
16515 {
16516 if (temp2)
16517 delete arg2;
16518 }
16519 return NULL;
16520 }
16521
16522
16523 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 int arg1 = (int) wxDateTime::Inv_Year ;
16526 int arg2 = (int) wxDateTime::Country_Default ;
16527 bool result;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "year",(char *) "country", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
16535 if (obj0) {
16536 {
16537 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16538 if (PyErr_Occurred()) SWIG_fail;
16539 }
16540 }
16541 if (obj1) {
16542 {
16543 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 }
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 resultobj = SWIG_PyObj_FromBool((bool)result);
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 int arg1 = (int) wxDateTime::Inv_Year ;
16564 int arg2 = (int) wxDateTime::Country_Default ;
16565 wxDateTime result;
16566 PyObject * obj0 = 0 ;
16567 PyObject * obj1 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "year",(char *) "country", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
16573 if (obj0) {
16574 {
16575 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16576 if (PyErr_Occurred()) SWIG_fail;
16577 }
16578 }
16579 if (obj1) {
16580 {
16581 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 }
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 wxDateTime * resultptr;
16594 resultptr = new wxDateTime((wxDateTime &) result);
16595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16596 }
16597 return resultobj;
16598 fail:
16599 return NULL;
16600 }
16601
16602
16603 static PyObject *_wrap_DateTime_GetEndDST(PyObject *self, PyObject *args, PyObject *kwargs) {
16604 PyObject *resultobj;
16605 int arg1 = (int) wxDateTime::Inv_Year ;
16606 int arg2 = (int) wxDateTime::Country_Default ;
16607 wxDateTime result;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "year",(char *) "country", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
16615 if (obj0) {
16616 {
16617 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 }
16621 if (obj1) {
16622 {
16623 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 }
16627 {
16628 PyThreadState* __tstate = wxPyBeginAllowThreads();
16629 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
16630
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 {
16635 wxDateTime * resultptr;
16636 resultptr = new wxDateTime((wxDateTime &) result);
16637 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16638 }
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_DateTime_Now(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxDateTime result;
16648 char *kwnames[] = {
16649 NULL
16650 };
16651
16652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = wxDateTime::Now();
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
16660 {
16661 wxDateTime * resultptr;
16662 resultptr = new wxDateTime((wxDateTime &) result);
16663 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16664 }
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_DateTime_UNow(PyObject *self, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxDateTime result;
16674 char *kwnames[] = {
16675 NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = wxDateTime::UNow();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 wxDateTime * resultptr;
16688 resultptr = new wxDateTime((wxDateTime &) result);
16689 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16690 }
16691 return resultobj;
16692 fail:
16693 return NULL;
16694 }
16695
16696
16697 static PyObject *_wrap_DateTime_Today(PyObject *self, PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj;
16699 wxDateTime result;
16700 char *kwnames[] = {
16701 NULL
16702 };
16703
16704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
16705 {
16706 PyThreadState* __tstate = wxPyBeginAllowThreads();
16707 result = wxDateTime::Today();
16708
16709 wxPyEndAllowThreads(__tstate);
16710 if (PyErr_Occurred()) SWIG_fail;
16711 }
16712 {
16713 wxDateTime * resultptr;
16714 resultptr = new wxDateTime((wxDateTime &) result);
16715 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
16716 }
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 static PyObject *_wrap_new_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16724 PyObject *resultobj;
16725 wxDateTime *result;
16726 char *kwnames[] = {
16727 NULL
16728 };
16729
16730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (wxDateTime *)new wxDateTime();
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 time_t arg1 ;
16748 wxDateTime *result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "timet", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
16755 {
16756 arg1 = (time_t) SWIG_PyObj_AsUnsignedInt(obj0);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = (wxDateTime *)new wxDateTime(arg1);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 double arg1 ;
16776 wxDateTime *result;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "jdn", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
16783 {
16784 arg1 = (double) SWIG_PyObj_AsDouble(obj0);
16785 if (PyErr_Occurred()) SWIG_fail;
16786 }
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxDateTime *)new wxDateTime(arg1);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
16794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16795 return resultobj;
16796 fail:
16797 return NULL;
16798 }
16799
16800
16801 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 int arg1 ;
16804 int arg2 = (int) 0 ;
16805 int arg3 = (int) 0 ;
16806 int arg4 = (int) 0 ;
16807 wxDateTime *result;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 PyObject * obj2 = 0 ;
16811 PyObject * obj3 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
16817 {
16818 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 if (obj1) {
16822 {
16823 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 }
16827 if (obj2) {
16828 {
16829 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 }
16833 if (obj3) {
16834 {
16835 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 }
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 int arg1 ;
16856 int arg2 = (int) wxDateTime::Inv_Month ;
16857 int arg3 = (int) wxDateTime::Inv_Year ;
16858 int arg4 = (int) 0 ;
16859 int arg5 = (int) 0 ;
16860 int arg6 = (int) 0 ;
16861 int arg7 = (int) 0 ;
16862 wxDateTime *result;
16863 PyObject * obj0 = 0 ;
16864 PyObject * obj1 = 0 ;
16865 PyObject * obj2 = 0 ;
16866 PyObject * obj3 = 0 ;
16867 PyObject * obj4 = 0 ;
16868 PyObject * obj5 = 0 ;
16869 PyObject * obj6 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
16875 {
16876 arg1 = (int) SWIG_PyObj_AsInt(obj0);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 if (obj1) {
16880 {
16881 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 }
16885 if (obj2) {
16886 {
16887 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 }
16890 }
16891 if (obj3) {
16892 {
16893 arg4 = (int) SWIG_PyObj_AsInt(obj3);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 }
16897 if (obj4) {
16898 {
16899 arg5 = (int) SWIG_PyObj_AsInt(obj4);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 }
16903 if (obj5) {
16904 {
16905 arg6 = (int) SWIG_PyObj_AsInt(obj5);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 }
16909 if (obj6) {
16910 {
16911 arg7 = (int) SWIG_PyObj_AsInt(obj6);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
16914 }
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 1);
16923 return resultobj;
16924 fail:
16925 return NULL;
16926 }
16927
16928
16929 static PyObject *_wrap_delete_DateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxDateTime *arg1 = (wxDateTime *) 0 ;
16932 PyObject * obj0 = 0 ;
16933 char *kwnames[] = {
16934 (char *) "self", NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
16938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 delete arg1;
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 Py_INCREF(Py_None); resultobj = Py_None;
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxDateTime *arg1 = (wxDateTime *) 0 ;
16956 wxDateTime *result;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
16963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16964 {
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 {
16967 wxDateTime &_result_ref = (arg1)->SetToCurrent();
16968 result = (wxDateTime *) &_result_ref;
16969 }
16970
16971 wxPyEndAllowThreads(__tstate);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
16974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
16975 return resultobj;
16976 fail:
16977 return NULL;
16978 }
16979
16980
16981 static PyObject *_wrap_DateTime_SetTimeT(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxDateTime *arg1 = (wxDateTime *) 0 ;
16984 time_t arg2 ;
16985 wxDateTime *result;
16986 PyObject * obj0 = 0 ;
16987 PyObject * obj1 = 0 ;
16988 char *kwnames[] = {
16989 (char *) "self",(char *) "timet", NULL
16990 };
16991
16992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
16993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16994 {
16995 arg2 = (time_t) SWIG_PyObj_AsUnsignedInt(obj1);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 {
17001 wxDateTime &_result_ref = (arg1)->Set(arg2);
17002 result = (wxDateTime *) &_result_ref;
17003 }
17004
17005 wxPyEndAllowThreads(__tstate);
17006 if (PyErr_Occurred()) SWIG_fail;
17007 }
17008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17009 return resultobj;
17010 fail:
17011 return NULL;
17012 }
17013
17014
17015 static PyObject *_wrap_DateTime_SetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
17016 PyObject *resultobj;
17017 wxDateTime *arg1 = (wxDateTime *) 0 ;
17018 double arg2 ;
17019 wxDateTime *result;
17020 PyObject * obj0 = 0 ;
17021 PyObject * obj1 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self",(char *) "jdn", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 {
17035 wxDateTime &_result_ref = (arg1)->Set(arg2);
17036 result = (wxDateTime *) &_result_ref;
17037 }
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_DateTime_SetHMS(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxDateTime *arg1 = (wxDateTime *) 0 ;
17052 int arg2 ;
17053 int arg3 = (int) 0 ;
17054 int arg4 = (int) 0 ;
17055 int arg5 = (int) 0 ;
17056 wxDateTime *result;
17057 PyObject * obj0 = 0 ;
17058 PyObject * obj1 = 0 ;
17059 PyObject * obj2 = 0 ;
17060 PyObject * obj3 = 0 ;
17061 PyObject * obj4 = 0 ;
17062 char *kwnames[] = {
17063 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17064 };
17065
17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17068 {
17069 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17070 if (PyErr_Occurred()) SWIG_fail;
17071 }
17072 if (obj2) {
17073 {
17074 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 }
17078 if (obj3) {
17079 {
17080 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 }
17084 if (obj4) {
17085 {
17086 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 }
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 {
17093 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
17094 result = (wxDateTime *) &_result_ref;
17095 }
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_DateTime_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxDateTime *arg1 = (wxDateTime *) 0 ;
17110 int arg2 ;
17111 int arg3 = (int) wxDateTime::Inv_Month ;
17112 int arg4 = (int) wxDateTime::Inv_Year ;
17113 int arg5 = (int) 0 ;
17114 int arg6 = (int) 0 ;
17115 int arg7 = (int) 0 ;
17116 int arg8 = (int) 0 ;
17117 wxDateTime *result;
17118 PyObject * obj0 = 0 ;
17119 PyObject * obj1 = 0 ;
17120 PyObject * obj2 = 0 ;
17121 PyObject * obj3 = 0 ;
17122 PyObject * obj4 = 0 ;
17123 PyObject * obj5 = 0 ;
17124 PyObject * obj6 = 0 ;
17125 PyObject * obj7 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17132 {
17133 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
17136 if (obj2) {
17137 {
17138 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 }
17142 if (obj3) {
17143 {
17144 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 }
17148 if (obj4) {
17149 {
17150 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 }
17154 if (obj5) {
17155 {
17156 arg6 = (int) SWIG_PyObj_AsInt(obj5);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 }
17159 }
17160 if (obj6) {
17161 {
17162 arg7 = (int) SWIG_PyObj_AsInt(obj6);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 }
17166 if (obj7) {
17167 {
17168 arg8 = (int) SWIG_PyObj_AsInt(obj7);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 }
17172 {
17173 PyThreadState* __tstate = wxPyBeginAllowThreads();
17174 {
17175 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
17176 result = (wxDateTime *) &_result_ref;
17177 }
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_DateTime_ResetTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxDateTime *arg1 = (wxDateTime *) 0 ;
17192 wxDateTime *result;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
17199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 {
17203 wxDateTime &_result_ref = (arg1)->ResetTime();
17204 result = (wxDateTime *) &_result_ref;
17205 }
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_DateTime_SetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxDateTime *arg1 = (wxDateTime *) 0 ;
17220 int arg2 ;
17221 wxDateTime *result;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "year", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
17229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17230 {
17231 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 PyThreadState* __tstate = wxPyBeginAllowThreads();
17236 {
17237 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
17238 result = (wxDateTime *) &_result_ref;
17239 }
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_DateTime_SetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxDateTime *arg1 = (wxDateTime *) 0 ;
17254 int arg2 ;
17255 wxDateTime *result;
17256 PyObject * obj0 = 0 ;
17257 PyObject * obj1 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self",(char *) "month", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
17263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17264 {
17265 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 {
17271 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
17272 result = (wxDateTime *) &_result_ref;
17273 }
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17279 return resultobj;
17280 fail:
17281 return NULL;
17282 }
17283
17284
17285 static PyObject *_wrap_DateTime_SetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxDateTime *arg1 = (wxDateTime *) 0 ;
17288 int arg2 ;
17289 wxDateTime *result;
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj1 = 0 ;
17292 char *kwnames[] = {
17293 (char *) "self",(char *) "day", NULL
17294 };
17295
17296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
17297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17298 {
17299 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17300 if (PyErr_Occurred()) SWIG_fail;
17301 }
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 {
17305 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
17306 result = (wxDateTime *) &_result_ref;
17307 }
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_DateTime_SetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxDateTime *arg1 = (wxDateTime *) 0 ;
17322 int arg2 ;
17323 wxDateTime *result;
17324 PyObject * obj0 = 0 ;
17325 PyObject * obj1 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self",(char *) "hour", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
17331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17332 {
17333 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 {
17339 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
17340 result = (wxDateTime *) &_result_ref;
17341 }
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17347 return resultobj;
17348 fail:
17349 return NULL;
17350 }
17351
17352
17353 static PyObject *_wrap_DateTime_SetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxDateTime *arg1 = (wxDateTime *) 0 ;
17356 int arg2 ;
17357 wxDateTime *result;
17358 PyObject * obj0 = 0 ;
17359 PyObject * obj1 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self",(char *) "minute", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
17365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17366 {
17367 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 {
17373 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
17374 result = (wxDateTime *) &_result_ref;
17375 }
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 static PyObject *_wrap_DateTime_SetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxDateTime *arg1 = (wxDateTime *) 0 ;
17390 int arg2 ;
17391 wxDateTime *result;
17392 PyObject * obj0 = 0 ;
17393 PyObject * obj1 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "second", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17400 {
17401 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 {
17405 PyThreadState* __tstate = wxPyBeginAllowThreads();
17406 {
17407 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
17408 result = (wxDateTime *) &_result_ref;
17409 }
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17415 return resultobj;
17416 fail:
17417 return NULL;
17418 }
17419
17420
17421 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxDateTime *arg1 = (wxDateTime *) 0 ;
17424 int arg2 ;
17425 wxDateTime *result;
17426 PyObject * obj0 = 0 ;
17427 PyObject * obj1 = 0 ;
17428 char *kwnames[] = {
17429 (char *) "self",(char *) "millisecond", NULL
17430 };
17431
17432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
17433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17434 {
17435 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17436 if (PyErr_Occurred()) SWIG_fail;
17437 }
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 {
17441 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
17442 result = (wxDateTime *) &_result_ref;
17443 }
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxDateTime *arg1 = (wxDateTime *) 0 ;
17458 int arg2 ;
17459 int arg3 = (int) wxDateTime::Monday_First ;
17460 wxDateTime *result;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 PyObject * obj2 = 0 ;
17464 char *kwnames[] = {
17465 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17470 {
17471 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 if (obj2) {
17475 {
17476 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
17479 }
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 {
17483 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17484 result = (wxDateTime *) &_result_ref;
17485 }
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
17490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17491 return resultobj;
17492 fail:
17493 return NULL;
17494 }
17495
17496
17497 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17498 PyObject *resultobj;
17499 wxDateTime *arg1 = (wxDateTime *) 0 ;
17500 int arg2 ;
17501 int arg3 = (int) wxDateTime::Monday_First ;
17502 wxDateTime result;
17503 PyObject * obj0 = 0 ;
17504 PyObject * obj1 = 0 ;
17505 PyObject * obj2 = 0 ;
17506 char *kwnames[] = {
17507 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
17511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17512 {
17513 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 if (obj2) {
17517 {
17518 arg3 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj2);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 }
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530 wxDateTime * resultptr;
17531 resultptr = new wxDateTime((wxDateTime &) result);
17532 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17533 }
17534 return resultobj;
17535 fail:
17536 return NULL;
17537 }
17538
17539
17540 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxDateTime *arg1 = (wxDateTime *) 0 ;
17543 int arg2 ;
17544 wxDateTime *result;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self",(char *) "weekday", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 {
17554 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 {
17560 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
17561 result = (wxDateTime *) &_result_ref;
17562 }
17563
17564 wxPyEndAllowThreads(__tstate);
17565 if (PyErr_Occurred()) SWIG_fail;
17566 }
17567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17568 return resultobj;
17569 fail:
17570 return NULL;
17571 }
17572
17573
17574 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxDateTime *arg1 = (wxDateTime *) 0 ;
17577 int arg2 ;
17578 wxDateTime result;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "weekday", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17587 {
17588 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
17593 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
17594
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
17598 {
17599 wxDateTime * resultptr;
17600 resultptr = new wxDateTime((wxDateTime &) result);
17601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17602 }
17603 return resultobj;
17604 fail:
17605 return NULL;
17606 }
17607
17608
17609 static PyObject *_wrap_DateTime_SetToPrevWeekDay(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 *) "weekday", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",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 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 {
17629 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )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_GetPrevWeekDay(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 *) "weekday", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",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 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 {
17668 wxDateTime * resultptr;
17669 resultptr = new wxDateTime((wxDateTime &) result);
17670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17671 }
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxDateTime *arg1 = (wxDateTime *) 0 ;
17681 int arg2 ;
17682 int arg3 = (int) 1 ;
17683 int arg4 = (int) wxDateTime::Inv_Month ;
17684 int arg5 = (int) wxDateTime::Inv_Year ;
17685 bool result;
17686 PyObject * obj0 = 0 ;
17687 PyObject * obj1 = 0 ;
17688 PyObject * obj2 = 0 ;
17689 PyObject * obj3 = 0 ;
17690 PyObject * obj4 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17697 {
17698 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 if (obj2) {
17702 {
17703 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 }
17707 if (obj3) {
17708 {
17709 arg4 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj3);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 }
17713 if (obj4) {
17714 {
17715 arg5 = (int) SWIG_PyObj_AsInt(obj4);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
17718 }
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = SWIG_PyObj_FromBool((bool)result);
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxDateTime *arg1 = (wxDateTime *) 0 ;
17736 int arg2 ;
17737 int arg3 = (int) wxDateTime::Inv_Month ;
17738 int arg4 = (int) wxDateTime::Inv_Year ;
17739 bool result;
17740 PyObject * obj0 = 0 ;
17741 PyObject * obj1 = 0 ;
17742 PyObject * obj2 = 0 ;
17743 PyObject * obj3 = 0 ;
17744 char *kwnames[] = {
17745 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
17746 };
17747
17748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17750 {
17751 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17752 if (PyErr_Occurred()) SWIG_fail;
17753 }
17754 if (obj2) {
17755 {
17756 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
17759 }
17760 if (obj3) {
17761 {
17762 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 }
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = SWIG_PyObj_FromBool((bool)result);
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxDateTime *arg1 = (wxDateTime *) 0 ;
17783 int arg2 ;
17784 int arg3 = (int) wxDateTime::Inv_Month ;
17785 int arg4 = (int) wxDateTime::Inv_Year ;
17786 wxDateTime result;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 PyObject * obj2 = 0 ;
17790 PyObject * obj3 = 0 ;
17791 char *kwnames[] = {
17792 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17797 {
17798 arg2 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj1);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 if (obj2) {
17802 {
17803 arg3 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj2);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 }
17807 if (obj3) {
17808 {
17809 arg4 = (int) SWIG_PyObj_AsInt(obj3);
17810 if (PyErr_Occurred()) SWIG_fail;
17811 }
17812 }
17813 {
17814 PyThreadState* __tstate = wxPyBeginAllowThreads();
17815 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
17816
17817 wxPyEndAllowThreads(__tstate);
17818 if (PyErr_Occurred()) SWIG_fail;
17819 }
17820 {
17821 wxDateTime * resultptr;
17822 resultptr = new wxDateTime((wxDateTime &) result);
17823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17824 }
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17832 PyObject *resultobj;
17833 wxDateTime *arg1 = (wxDateTime *) 0 ;
17834 int arg2 ;
17835 int arg3 = (int) wxDateTime::Mon ;
17836 int arg4 = (int) wxDateTime::Monday_First ;
17837 bool result;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 PyObject * obj2 = 0 ;
17841 PyObject * obj3 = 0 ;
17842 char *kwnames[] = {
17843 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17848 {
17849 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 if (obj2) {
17853 {
17854 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 }
17858 if (obj3) {
17859 {
17860 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 }
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 resultobj = SWIG_PyObj_FromBool((bool)result);
17872 return resultobj;
17873 fail:
17874 return NULL;
17875 }
17876
17877
17878 static PyObject *_wrap_DateTime_GetWeek(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxDateTime *arg1 = (wxDateTime *) 0 ;
17881 int arg2 ;
17882 int arg3 = (int) wxDateTime::Mon ;
17883 int arg4 = (int) wxDateTime::Monday_First ;
17884 wxDateTime result;
17885 PyObject * obj0 = 0 ;
17886 PyObject * obj1 = 0 ;
17887 PyObject * obj2 = 0 ;
17888 PyObject * obj3 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17895 {
17896 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 if (obj2) {
17900 {
17901 arg3 = (wxDateTime::WeekDay) SWIG_PyObj_AsInt(obj2);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 }
17905 if (obj3) {
17906 {
17907 arg4 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj3);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 }
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 {
17919 wxDateTime * resultptr;
17920 resultptr = new wxDateTime((wxDateTime &) result);
17921 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
17922 }
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxDateTime *arg1 = (wxDateTime *) 0 ;
17932 int arg2 = (int) wxDateTime::Inv_Month ;
17933 int arg3 = (int) wxDateTime::Inv_Year ;
17934 wxDateTime *result;
17935 PyObject * obj0 = 0 ;
17936 PyObject * obj1 = 0 ;
17937 PyObject * obj2 = 0 ;
17938 char *kwnames[] = {
17939 (char *) "self",(char *) "month",(char *) "year", NULL
17940 };
17941
17942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
17943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17944 if (obj1) {
17945 {
17946 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 }
17950 if (obj2) {
17951 {
17952 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 }
17956 {
17957 PyThreadState* __tstate = wxPyBeginAllowThreads();
17958 {
17959 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
17960 result = (wxDateTime *) &_result_ref;
17961 }
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970 }
17971
17972
17973 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxDateTime *arg1 = (wxDateTime *) 0 ;
17976 int arg2 = (int) wxDateTime::Inv_Month ;
17977 int arg3 = (int) wxDateTime::Inv_Year ;
17978 wxDateTime result;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 PyObject * obj2 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self",(char *) "month",(char *) "year", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 if (obj1) {
17989 {
17990 arg2 = (wxDateTime::Month) SWIG_PyObj_AsInt(obj1);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 }
17994 if (obj2) {
17995 {
17996 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 }
18000 {
18001 PyThreadState* __tstate = wxPyBeginAllowThreads();
18002 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
18003
18004 wxPyEndAllowThreads(__tstate);
18005 if (PyErr_Occurred()) SWIG_fail;
18006 }
18007 {
18008 wxDateTime * resultptr;
18009 resultptr = new wxDateTime((wxDateTime &) result);
18010 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18011 }
18012 return resultobj;
18013 fail:
18014 return NULL;
18015 }
18016
18017
18018 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18019 PyObject *resultobj;
18020 wxDateTime *arg1 = (wxDateTime *) 0 ;
18021 int arg2 ;
18022 wxDateTime *result;
18023 PyObject * obj0 = 0 ;
18024 PyObject * obj1 = 0 ;
18025 char *kwnames[] = {
18026 (char *) "self",(char *) "yday", NULL
18027 };
18028
18029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
18030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18031 {
18032 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 {
18036 PyThreadState* __tstate = wxPyBeginAllowThreads();
18037 {
18038 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
18039 result = (wxDateTime *) &_result_ref;
18040 }
18041
18042 wxPyEndAllowThreads(__tstate);
18043 if (PyErr_Occurred()) SWIG_fail;
18044 }
18045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18046 return resultobj;
18047 fail:
18048 return NULL;
18049 }
18050
18051
18052 static PyObject *_wrap_DateTime_GetYearDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxDateTime *arg1 = (wxDateTime *) 0 ;
18055 int arg2 ;
18056 wxDateTime result;
18057 PyObject * obj0 = 0 ;
18058 PyObject * obj1 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "yday", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 {
18066 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (arg1)->GetYearDay(arg2);
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_GetJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxDateTime *arg1 = (wxDateTime *) 0 ;
18090 double result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (double)(arg1)->GetJulianDayNumber();
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = SWIG_PyObj_FromDouble((double)result);
18106 return resultobj;
18107 fail:
18108 return NULL;
18109 }
18110
18111
18112 static PyObject *_wrap_DateTime_GetJDN(PyObject *self, PyObject *args, PyObject *kwargs) {
18113 PyObject *resultobj;
18114 wxDateTime *arg1 = (wxDateTime *) 0 ;
18115 double result;
18116 PyObject * obj0 = 0 ;
18117 char *kwnames[] = {
18118 (char *) "self", NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
18122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 result = (double)(arg1)->GetJDN();
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 resultobj = SWIG_PyObj_FromDouble((double)result);
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *self, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxDateTime *arg1 = (wxDateTime *) 0 ;
18140 double result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 resultobj = SWIG_PyObj_FromDouble((double)result);
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_DateTime_GetMJD(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxDateTime *arg1 = (wxDateTime *) 0 ;
18165 double result;
18166 PyObject * obj0 = 0 ;
18167 char *kwnames[] = {
18168 (char *) "self", NULL
18169 };
18170
18171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
18172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 result = (double)(arg1)->GetMJD();
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_PyObj_FromDouble((double)result);
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_DateTime_GetRataDie(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxDateTime *arg1 = (wxDateTime *) 0 ;
18190 double result;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
18197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18198 {
18199 PyThreadState* __tstate = wxPyBeginAllowThreads();
18200 result = (double)(arg1)->GetRataDie();
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_PyObj_FromDouble((double)result);
18206 return resultobj;
18207 fail:
18208 return NULL;
18209 }
18210
18211
18212 static PyObject *_wrap_DateTime_ToTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18213 PyObject *resultobj;
18214 wxDateTime *arg1 = (wxDateTime *) 0 ;
18215 wxDateTime::TimeZone *arg2 = 0 ;
18216 bool arg3 = (bool) False ;
18217 wxDateTime result;
18218 bool temp2 = False ;
18219 PyObject * obj0 = 0 ;
18220 PyObject * obj1 = 0 ;
18221 PyObject * obj2 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18228 {
18229 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18230 temp2 = True;
18231 }
18232 if (obj2) {
18233 {
18234 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 }
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 {
18246 wxDateTime * resultptr;
18247 resultptr = new wxDateTime((wxDateTime &) result);
18248 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18249 }
18250 {
18251 if (temp2) delete arg2;
18252 }
18253 return resultobj;
18254 fail:
18255 {
18256 if (temp2) delete arg2;
18257 }
18258 return NULL;
18259 }
18260
18261
18262 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *self, PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj;
18264 wxDateTime *arg1 = (wxDateTime *) 0 ;
18265 wxDateTime::TimeZone *arg2 = 0 ;
18266 bool arg3 = (bool) False ;
18267 wxDateTime *result;
18268 bool temp2 = False ;
18269 PyObject * obj0 = 0 ;
18270 PyObject * obj1 = 0 ;
18271 PyObject * obj2 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18278 {
18279 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18280 temp2 = True;
18281 }
18282 if (obj2) {
18283 {
18284 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
18285 if (PyErr_Occurred()) SWIG_fail;
18286 }
18287 }
18288 {
18289 PyThreadState* __tstate = wxPyBeginAllowThreads();
18290 {
18291 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
18292 result = (wxDateTime *) &_result_ref;
18293 }
18294
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18299 {
18300 if (temp2) delete arg2;
18301 }
18302 return resultobj;
18303 fail:
18304 {
18305 if (temp2) delete arg2;
18306 }
18307 return NULL;
18308 }
18309
18310
18311 static PyObject *_wrap_DateTime_ToGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxDateTime *arg1 = (wxDateTime *) 0 ;
18314 bool arg2 = (bool) False ;
18315 wxDateTime result;
18316 PyObject * obj0 = 0 ;
18317 PyObject * obj1 = 0 ;
18318 char *kwnames[] = {
18319 (char *) "self",(char *) "noDST", NULL
18320 };
18321
18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18324 if (obj1) {
18325 {
18326 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 }
18330 {
18331 PyThreadState* __tstate = wxPyBeginAllowThreads();
18332 result = (arg1)->ToGMT(arg2);
18333
18334 wxPyEndAllowThreads(__tstate);
18335 if (PyErr_Occurred()) SWIG_fail;
18336 }
18337 {
18338 wxDateTime * resultptr;
18339 resultptr = new wxDateTime((wxDateTime &) result);
18340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
18341 }
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_DateTime_MakeGMT(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxDateTime *arg1 = (wxDateTime *) 0 ;
18351 bool arg2 = (bool) False ;
18352 wxDateTime *result;
18353 PyObject * obj0 = 0 ;
18354 PyObject * obj1 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self",(char *) "noDST", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18361 if (obj1) {
18362 {
18363 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 }
18367 {
18368 PyThreadState* __tstate = wxPyBeginAllowThreads();
18369 {
18370 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
18371 result = (wxDateTime *) &_result_ref;
18372 }
18373
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_DateTime_IsDST(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxDateTime *arg1 = (wxDateTime *) 0 ;
18387 int arg2 = (int) wxDateTime::Country_Default ;
18388 int result;
18389 PyObject * obj0 = 0 ;
18390 PyObject * obj1 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self",(char *) "country", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18397 if (obj1) {
18398 {
18399 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 }
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 resultobj = SWIG_PyObj_FromInt((int)result);
18411 return resultobj;
18412 fail:
18413 return NULL;
18414 }
18415
18416
18417 static PyObject *_wrap_DateTime_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
18418 PyObject *resultobj;
18419 wxDateTime *arg1 = (wxDateTime *) 0 ;
18420 bool result;
18421 PyObject * obj0 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (bool)((wxDateTime const *)arg1)->IsValid();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = SWIG_PyObj_FromBool((bool)result);
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_DateTime_GetTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxDateTime *arg1 = (wxDateTime *) 0 ;
18445 time_t result;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_DateTime_GetYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxDateTime *arg1 = (wxDateTime *) 0 ;
18470 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18471 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18472 int result;
18473 bool temp2 = False ;
18474 PyObject * obj0 = 0 ;
18475 PyObject * obj1 = 0 ;
18476 char *kwnames[] = {
18477 (char *) "self",(char *) "tz", NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
18481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18482 if (obj1) {
18483 {
18484 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18485 temp2 = True;
18486 }
18487 }
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 resultobj = SWIG_PyObj_FromInt((int)result);
18496 {
18497 if (temp2) delete arg2;
18498 }
18499 return resultobj;
18500 fail:
18501 {
18502 if (temp2) delete arg2;
18503 }
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_DateTime_GetMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxDateTime *arg1 = (wxDateTime *) 0 ;
18511 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18512 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18513 int result;
18514 bool temp2 = False ;
18515 PyObject * obj0 = 0 ;
18516 PyObject * obj1 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "tz", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
18522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18523 if (obj1) {
18524 {
18525 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18526 temp2 = True;
18527 }
18528 }
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 result = (int)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
18532
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 resultobj = SWIG_PyObj_FromInt((int)result);
18537 {
18538 if (temp2) delete arg2;
18539 }
18540 return resultobj;
18541 fail:
18542 {
18543 if (temp2) delete arg2;
18544 }
18545 return NULL;
18546 }
18547
18548
18549 static PyObject *_wrap_DateTime_GetDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18550 PyObject *resultobj;
18551 wxDateTime *arg1 = (wxDateTime *) 0 ;
18552 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18553 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18554 int result;
18555 bool temp2 = False ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self",(char *) "tz", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 if (obj1) {
18565 {
18566 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18567 temp2 = True;
18568 }
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = SWIG_PyObj_FromInt((int)result);
18578 {
18579 if (temp2) delete arg2;
18580 }
18581 return resultobj;
18582 fail:
18583 {
18584 if (temp2) delete arg2;
18585 }
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxDateTime *arg1 = (wxDateTime *) 0 ;
18593 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18594 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18595 int result;
18596 bool temp2 = False ;
18597 PyObject * obj0 = 0 ;
18598 PyObject * obj1 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self",(char *) "tz", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 if (obj1) {
18606 {
18607 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18608 temp2 = True;
18609 }
18610 }
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 result = (int)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 resultobj = SWIG_PyObj_FromInt((int)result);
18619 {
18620 if (temp2) delete arg2;
18621 }
18622 return resultobj;
18623 fail:
18624 {
18625 if (temp2) delete arg2;
18626 }
18627 return NULL;
18628 }
18629
18630
18631 static PyObject *_wrap_DateTime_GetHour(PyObject *self, PyObject *args, PyObject *kwargs) {
18632 PyObject *resultobj;
18633 wxDateTime *arg1 = (wxDateTime *) 0 ;
18634 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18635 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18636 int result;
18637 bool temp2 = False ;
18638 PyObject * obj0 = 0 ;
18639 PyObject * obj1 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self",(char *) "tz", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
18645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18646 if (obj1) {
18647 {
18648 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18649 temp2 = True;
18650 }
18651 }
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 resultobj = SWIG_PyObj_FromInt((int)result);
18660 {
18661 if (temp2) delete arg2;
18662 }
18663 return resultobj;
18664 fail:
18665 {
18666 if (temp2) delete arg2;
18667 }
18668 return NULL;
18669 }
18670
18671
18672 static PyObject *_wrap_DateTime_GetMinute(PyObject *self, PyObject *args, PyObject *kwargs) {
18673 PyObject *resultobj;
18674 wxDateTime *arg1 = (wxDateTime *) 0 ;
18675 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18676 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18677 int result;
18678 bool temp2 = False ;
18679 PyObject * obj0 = 0 ;
18680 PyObject * obj1 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "tz", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
18686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18687 if (obj1) {
18688 {
18689 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18690 temp2 = True;
18691 }
18692 }
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 resultobj = SWIG_PyObj_FromInt((int)result);
18701 {
18702 if (temp2) delete arg2;
18703 }
18704 return resultobj;
18705 fail:
18706 {
18707 if (temp2) delete arg2;
18708 }
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_DateTime_GetSecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxDateTime *arg1 = (wxDateTime *) 0 ;
18716 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18717 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18718 int result;
18719 bool temp2 = False ;
18720 PyObject * obj0 = 0 ;
18721 PyObject * obj1 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self",(char *) "tz", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
18727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18728 if (obj1) {
18729 {
18730 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18731 temp2 = True;
18732 }
18733 }
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 resultobj = SWIG_PyObj_FromInt((int)result);
18742 {
18743 if (temp2) delete arg2;
18744 }
18745 return resultobj;
18746 fail:
18747 {
18748 if (temp2) delete arg2;
18749 }
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxDateTime *arg1 = (wxDateTime *) 0 ;
18757 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18758 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18759 int result;
18760 bool temp2 = False ;
18761 PyObject * obj0 = 0 ;
18762 PyObject * obj1 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "tz", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 if (obj1) {
18770 {
18771 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18772 temp2 = True;
18773 }
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 resultobj = SWIG_PyObj_FromInt((int)result);
18783 {
18784 if (temp2) delete arg2;
18785 }
18786 return resultobj;
18787 fail:
18788 {
18789 if (temp2) delete arg2;
18790 }
18791 return NULL;
18792 }
18793
18794
18795 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18796 PyObject *resultobj;
18797 wxDateTime *arg1 = (wxDateTime *) 0 ;
18798 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
18799 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
18800 int result;
18801 bool temp2 = False ;
18802 PyObject * obj0 = 0 ;
18803 PyObject * obj1 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self",(char *) "tz", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
18809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18810 if (obj1) {
18811 {
18812 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
18813 temp2 = True;
18814 }
18815 }
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 resultobj = SWIG_PyObj_FromInt((int)result);
18824 {
18825 if (temp2) delete arg2;
18826 }
18827 return resultobj;
18828 fail:
18829 {
18830 if (temp2) delete arg2;
18831 }
18832 return NULL;
18833 }
18834
18835
18836 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *self, PyObject *args, PyObject *kwargs) {
18837 PyObject *resultobj;
18838 wxDateTime *arg1 = (wxDateTime *) 0 ;
18839 int arg2 = (int) wxDateTime::Monday_First ;
18840 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18841 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18842 int result;
18843 bool temp3 = False ;
18844 PyObject * obj0 = 0 ;
18845 PyObject * obj1 = 0 ;
18846 PyObject * obj2 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "flags",(char *) "tz", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18853 if (obj1) {
18854 {
18855 arg2 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 }
18859 if (obj2) {
18860 {
18861 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18862 temp3 = True;
18863 }
18864 }
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 resultobj = SWIG_PyObj_FromInt((int)result);
18873 {
18874 if (temp3) delete arg3;
18875 }
18876 return resultobj;
18877 fail:
18878 {
18879 if (temp3) delete arg3;
18880 }
18881 return NULL;
18882 }
18883
18884
18885 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxDateTime *arg1 = (wxDateTime *) 0 ;
18888 int arg2 = (int) wxDateTime::Monday_First ;
18889 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
18890 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
18891 int result;
18892 bool temp3 = False ;
18893 PyObject * obj0 = 0 ;
18894 PyObject * obj1 = 0 ;
18895 PyObject * obj2 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self",(char *) "flags",(char *) "tz", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) 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 = (wxDateTime::WeekFlags) SWIG_PyObj_AsInt(obj1);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 }
18908 if (obj2) {
18909 {
18910 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
18911 temp3 = True;
18912 }
18913 }
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 resultobj = SWIG_PyObj_FromInt((int)result);
18922 {
18923 if (temp3) delete arg3;
18924 }
18925 return resultobj;
18926 fail:
18927 {
18928 if (temp3) delete arg3;
18929 }
18930 return NULL;
18931 }
18932
18933
18934 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *self, PyObject *args, PyObject *kwargs) {
18935 PyObject *resultobj;
18936 wxDateTime *arg1 = (wxDateTime *) 0 ;
18937 int arg2 = (int) wxDateTime::Country_Default ;
18938 bool result;
18939 PyObject * obj0 = 0 ;
18940 PyObject * obj1 = 0 ;
18941 char *kwnames[] = {
18942 (char *) "self",(char *) "country", NULL
18943 };
18944
18945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
18946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18947 if (obj1) {
18948 {
18949 arg2 = (wxDateTime::Country) SWIG_PyObj_AsInt(obj1);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 }
18953 {
18954 PyThreadState* __tstate = wxPyBeginAllowThreads();
18955 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
18956
18957 wxPyEndAllowThreads(__tstate);
18958 if (PyErr_Occurred()) SWIG_fail;
18959 }
18960 resultobj = SWIG_PyObj_FromBool((bool)result);
18961 return resultobj;
18962 fail:
18963 return NULL;
18964 }
18965
18966
18967 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
18968 PyObject *resultobj;
18969 wxDateTime *arg1 = (wxDateTime *) 0 ;
18970 wxDateTime *arg2 = 0 ;
18971 bool result;
18972 PyObject * obj0 = 0 ;
18973 PyObject * obj1 = 0 ;
18974 char *kwnames[] = {
18975 (char *) "self",(char *) "datetime", NULL
18976 };
18977
18978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
18979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18981 if (arg2 == NULL) {
18982 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18983 }
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
18987
18988 wxPyEndAllowThreads(__tstate);
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
18991 resultobj = SWIG_PyObj_FromBool((bool)result);
18992 return resultobj;
18993 fail:
18994 return NULL;
18995 }
18996
18997
18998 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *self, PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj;
19000 wxDateTime *arg1 = (wxDateTime *) 0 ;
19001 wxDateTime *arg2 = 0 ;
19002 bool result;
19003 PyObject * obj0 = 0 ;
19004 PyObject * obj1 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self",(char *) "datetime", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19012 if (arg2 == NULL) {
19013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19014 }
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 resultobj = SWIG_PyObj_FromBool((bool)result);
19023 return resultobj;
19024 fail:
19025 return NULL;
19026 }
19027
19028
19029 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj;
19031 wxDateTime *arg1 = (wxDateTime *) 0 ;
19032 wxDateTime *arg2 = 0 ;
19033 bool result;
19034 PyObject * obj0 = 0 ;
19035 PyObject * obj1 = 0 ;
19036 char *kwnames[] = {
19037 (char *) "self",(char *) "datetime", NULL
19038 };
19039
19040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
19041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19043 if (arg2 == NULL) {
19044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19045 }
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 resultobj = SWIG_PyObj_FromBool((bool)result);
19054 return resultobj;
19055 fail:
19056 return NULL;
19057 }
19058
19059
19060 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxDateTime *arg1 = (wxDateTime *) 0 ;
19063 wxDateTime *arg2 = 0 ;
19064 wxDateTime *arg3 = 0 ;
19065 bool result;
19066 PyObject * obj0 = 0 ;
19067 PyObject * obj1 = 0 ;
19068 PyObject * obj2 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "t1",(char *) "t2", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 if (arg2 == NULL) {
19077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19078 }
19079 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19080 if (arg3 == NULL) {
19081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19082 }
19083 {
19084 PyThreadState* __tstate = wxPyBeginAllowThreads();
19085 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19086
19087 wxPyEndAllowThreads(__tstate);
19088 if (PyErr_Occurred()) SWIG_fail;
19089 }
19090 resultobj = SWIG_PyObj_FromBool((bool)result);
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_DateTime_IsBetween(PyObject *self, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxDateTime *arg1 = (wxDateTime *) 0 ;
19100 wxDateTime *arg2 = 0 ;
19101 wxDateTime *arg3 = 0 ;
19102 bool result;
19103 PyObject * obj0 = 0 ;
19104 PyObject * obj1 = 0 ;
19105 PyObject * obj2 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self",(char *) "t1",(char *) "t2", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19113 if (arg2 == NULL) {
19114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19115 }
19116 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19117 if (arg3 == NULL) {
19118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19119 }
19120 {
19121 PyThreadState* __tstate = wxPyBeginAllowThreads();
19122 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
19123
19124 wxPyEndAllowThreads(__tstate);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 }
19127 resultobj = SWIG_PyObj_FromBool((bool)result);
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_DateTime_IsSameDate(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxDateTime *arg1 = (wxDateTime *) 0 ;
19137 wxDateTime *arg2 = 0 ;
19138 bool result;
19139 PyObject * obj0 = 0 ;
19140 PyObject * obj1 = 0 ;
19141 char *kwnames[] = {
19142 (char *) "self",(char *) "dt", NULL
19143 };
19144
19145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
19146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19148 if (arg2 == NULL) {
19149 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19150 }
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 resultobj = SWIG_PyObj_FromBool((bool)result);
19159 return resultobj;
19160 fail:
19161 return NULL;
19162 }
19163
19164
19165 static PyObject *_wrap_DateTime_IsSameTime(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxDateTime *arg1 = (wxDateTime *) 0 ;
19168 wxDateTime *arg2 = 0 ;
19169 bool result;
19170 PyObject * obj0 = 0 ;
19171 PyObject * obj1 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self",(char *) "dt", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
19177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19179 if (arg2 == NULL) {
19180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19181 }
19182 {
19183 PyThreadState* __tstate = wxPyBeginAllowThreads();
19184 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
19185
19186 wxPyEndAllowThreads(__tstate);
19187 if (PyErr_Occurred()) SWIG_fail;
19188 }
19189 resultobj = SWIG_PyObj_FromBool((bool)result);
19190 return resultobj;
19191 fail:
19192 return NULL;
19193 }
19194
19195
19196 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19197 PyObject *resultobj;
19198 wxDateTime *arg1 = (wxDateTime *) 0 ;
19199 wxDateTime *arg2 = 0 ;
19200 wxTimeSpan *arg3 = 0 ;
19201 bool result;
19202 PyObject * obj0 = 0 ;
19203 PyObject * obj1 = 0 ;
19204 PyObject * obj2 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "dt",(char *) "ts", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19212 if (arg2 == NULL) {
19213 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19214 }
19215 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19216 if (arg3 == NULL) {
19217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19218 }
19219 {
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
19222
19223 wxPyEndAllowThreads(__tstate);
19224 if (PyErr_Occurred()) SWIG_fail;
19225 }
19226 resultobj = SWIG_PyObj_FromBool((bool)result);
19227 return resultobj;
19228 fail:
19229 return NULL;
19230 }
19231
19232
19233 static PyObject *_wrap_DateTime_AddTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxDateTime *arg1 = (wxDateTime *) 0 ;
19236 wxTimeSpan *arg2 = 0 ;
19237 wxDateTime *result;
19238 PyObject * obj0 = 0 ;
19239 PyObject * obj1 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "diff", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
19245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 if (arg2 == NULL) {
19248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19249 }
19250 {
19251 PyThreadState* __tstate = wxPyBeginAllowThreads();
19252 {
19253 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
19254 result = (wxDateTime *) &_result_ref;
19255 }
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19261 return resultobj;
19262 fail:
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_DateTime_AddDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxDateTime *arg1 = (wxDateTime *) 0 ;
19270 wxDateSpan *arg2 = 0 ;
19271 wxDateTime *result;
19272 PyObject * obj0 = 0 ;
19273 PyObject * obj1 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self",(char *) "diff", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19281 if (arg2 == NULL) {
19282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19283 }
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 {
19287 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
19288 result = (wxDateTime *) &_result_ref;
19289 }
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19295 return resultobj;
19296 fail:
19297 return NULL;
19298 }
19299
19300
19301 static PyObject *_wrap_DateTime_SubtractTS(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxDateTime *arg1 = (wxDateTime *) 0 ;
19304 wxTimeSpan *arg2 = 0 ;
19305 wxDateTime *result;
19306 PyObject * obj0 = 0 ;
19307 PyObject * obj1 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self",(char *) "diff", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
19313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 if (arg2 == NULL) {
19316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 {
19321 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
19322 result = (wxDateTime *) &_result_ref;
19323 }
19324
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19329 return resultobj;
19330 fail:
19331 return NULL;
19332 }
19333
19334
19335 static PyObject *_wrap_DateTime_SubtractDS(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 wxDateTime *arg1 = (wxDateTime *) 0 ;
19338 wxDateSpan *arg2 = 0 ;
19339 wxDateTime *result;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj1 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "diff", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 if (arg2 == NULL) {
19350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19351 }
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 {
19355 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
19356 result = (wxDateTime *) &_result_ref;
19357 }
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19363 return resultobj;
19364 fail:
19365 return NULL;
19366 }
19367
19368
19369 static PyObject *_wrap_DateTime_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxDateTime *arg1 = (wxDateTime *) 0 ;
19372 wxDateTime *arg2 = 0 ;
19373 wxTimeSpan result;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "dt", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19383 if (arg2 == NULL) {
19384 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19385 }
19386 {
19387 PyThreadState* __tstate = wxPyBeginAllowThreads();
19388 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
19389
19390 wxPyEndAllowThreads(__tstate);
19391 if (PyErr_Occurred()) SWIG_fail;
19392 }
19393 {
19394 wxTimeSpan * resultptr;
19395 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19397 }
19398 return resultobj;
19399 fail:
19400 return NULL;
19401 }
19402
19403
19404 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *self, PyObject *args) {
19405 PyObject *resultobj;
19406 wxDateTime *arg1 = (wxDateTime *) 0 ;
19407 wxTimeSpan *arg2 = 0 ;
19408 wxDateTime *result;
19409 PyObject * obj0 = 0 ;
19410 PyObject * obj1 = 0 ;
19411
19412 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19415 if (arg2 == NULL) {
19416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19417 }
19418 {
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 {
19421 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
19422 result = (wxDateTime *) &_result_ref;
19423 }
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *self, PyObject *args) {
19436 PyObject *resultobj;
19437 wxDateTime *arg1 = (wxDateTime *) 0 ;
19438 wxDateSpan *arg2 = 0 ;
19439 wxDateTime *result;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442
19443 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 if (arg2 == NULL) {
19447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19448 }
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 {
19452 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
19453 result = (wxDateTime *) &_result_ref;
19454 }
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
19467 int argc;
19468 PyObject *argv[3];
19469 int ii;
19470
19471 argc = PyObject_Length(args);
19472 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19473 argv[ii] = PyTuple_GetItem(args,ii);
19474 }
19475 if (argc == 2) {
19476 int _v;
19477 {
19478 void *ptr;
19479 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19480 _v = 0;
19481 PyErr_Clear();
19482 } else {
19483 _v = 1;
19484 }
19485 }
19486 if (_v) {
19487 {
19488 void *ptr;
19489 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19490 _v = 0;
19491 PyErr_Clear();
19492 } else {
19493 _v = 1;
19494 }
19495 }
19496 if (_v) {
19497 return _wrap_DateTime___iadd____SWIG_0(self,args);
19498 }
19499 }
19500 }
19501 if (argc == 2) {
19502 int _v;
19503 {
19504 void *ptr;
19505 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19506 _v = 0;
19507 PyErr_Clear();
19508 } else {
19509 _v = 1;
19510 }
19511 }
19512 if (_v) {
19513 {
19514 void *ptr;
19515 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19516 _v = 0;
19517 PyErr_Clear();
19518 } else {
19519 _v = 1;
19520 }
19521 }
19522 if (_v) {
19523 return _wrap_DateTime___iadd____SWIG_1(self,args);
19524 }
19525 }
19526 }
19527
19528 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___iadd__'");
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *self, PyObject *args) {
19534 PyObject *resultobj;
19535 wxDateTime *arg1 = (wxDateTime *) 0 ;
19536 wxTimeSpan *arg2 = 0 ;
19537 wxDateTime *result;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540
19541 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19544 if (arg2 == NULL) {
19545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19546 }
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 {
19550 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
19551 result = (wxDateTime *) &_result_ref;
19552 }
19553
19554 wxPyEndAllowThreads(__tstate);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19558 return resultobj;
19559 fail:
19560 return NULL;
19561 }
19562
19563
19564 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *self, PyObject *args) {
19565 PyObject *resultobj;
19566 wxDateTime *arg1 = (wxDateTime *) 0 ;
19567 wxDateSpan *arg2 = 0 ;
19568 wxDateTime *result;
19569 PyObject * obj0 = 0 ;
19570 PyObject * obj1 = 0 ;
19571
19572 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19575 if (arg2 == NULL) {
19576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19577 }
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 {
19581 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
19582 result = (wxDateTime *) &_result_ref;
19583 }
19584
19585 wxPyEndAllowThreads(__tstate);
19586 if (PyErr_Occurred()) SWIG_fail;
19587 }
19588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateTime, 0);
19589 return resultobj;
19590 fail:
19591 return NULL;
19592 }
19593
19594
19595 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
19596 int argc;
19597 PyObject *argv[3];
19598 int ii;
19599
19600 argc = PyObject_Length(args);
19601 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19602 argv[ii] = PyTuple_GetItem(args,ii);
19603 }
19604 if (argc == 2) {
19605 int _v;
19606 {
19607 void *ptr;
19608 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19609 _v = 0;
19610 PyErr_Clear();
19611 } else {
19612 _v = 1;
19613 }
19614 }
19615 if (_v) {
19616 {
19617 void *ptr;
19618 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19619 _v = 0;
19620 PyErr_Clear();
19621 } else {
19622 _v = 1;
19623 }
19624 }
19625 if (_v) {
19626 return _wrap_DateTime___isub____SWIG_0(self,args);
19627 }
19628 }
19629 }
19630 if (argc == 2) {
19631 int _v;
19632 {
19633 void *ptr;
19634 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19635 _v = 0;
19636 PyErr_Clear();
19637 } else {
19638 _v = 1;
19639 }
19640 }
19641 if (_v) {
19642 {
19643 void *ptr;
19644 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19645 _v = 0;
19646 PyErr_Clear();
19647 } else {
19648 _v = 1;
19649 }
19650 }
19651 if (_v) {
19652 return _wrap_DateTime___isub____SWIG_1(self,args);
19653 }
19654 }
19655 }
19656
19657 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___isub__'");
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *self, PyObject *args) {
19663 PyObject *resultobj;
19664 wxDateTime *arg1 = (wxDateTime *) 0 ;
19665 wxTimeSpan *arg2 = 0 ;
19666 wxDateTime result;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669
19670 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 if (arg2 == NULL) {
19674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 {
19684 wxDateTime * resultptr;
19685 resultptr = new wxDateTime((wxDateTime &) result);
19686 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19687 }
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *self, PyObject *args) {
19695 PyObject *resultobj;
19696 wxDateTime *arg1 = (wxDateTime *) 0 ;
19697 wxDateSpan *arg2 = 0 ;
19698 wxDateTime result;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701
19702 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19705 if (arg2 == NULL) {
19706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19707 }
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 {
19716 wxDateTime * resultptr;
19717 resultptr = new wxDateTime((wxDateTime &) result);
19718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19719 }
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
19727 int argc;
19728 PyObject *argv[3];
19729 int ii;
19730
19731 argc = PyObject_Length(args);
19732 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19733 argv[ii] = PyTuple_GetItem(args,ii);
19734 }
19735 if (argc == 2) {
19736 int _v;
19737 {
19738 void *ptr;
19739 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19740 _v = 0;
19741 PyErr_Clear();
19742 } else {
19743 _v = 1;
19744 }
19745 }
19746 if (_v) {
19747 {
19748 void *ptr;
19749 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19750 _v = 0;
19751 PyErr_Clear();
19752 } else {
19753 _v = 1;
19754 }
19755 }
19756 if (_v) {
19757 return _wrap_DateTime___add____SWIG_0(self,args);
19758 }
19759 }
19760 }
19761 if (argc == 2) {
19762 int _v;
19763 {
19764 void *ptr;
19765 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19766 _v = 0;
19767 PyErr_Clear();
19768 } else {
19769 _v = 1;
19770 }
19771 }
19772 if (_v) {
19773 {
19774 void *ptr;
19775 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19776 _v = 0;
19777 PyErr_Clear();
19778 } else {
19779 _v = 1;
19780 }
19781 }
19782 if (_v) {
19783 return _wrap_DateTime___add____SWIG_1(self,args);
19784 }
19785 }
19786 }
19787
19788 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___add__'");
19789 return NULL;
19790 }
19791
19792
19793 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *self, PyObject *args) {
19794 PyObject *resultobj;
19795 wxDateTime *arg1 = (wxDateTime *) 0 ;
19796 wxDateTime *arg2 = 0 ;
19797 wxTimeSpan result;
19798 PyObject * obj0 = 0 ;
19799 PyObject * obj1 = 0 ;
19800
19801 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 if (arg2 == NULL) {
19805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19806 }
19807 {
19808 PyThreadState* __tstate = wxPyBeginAllowThreads();
19809 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
19810
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 {
19815 wxTimeSpan * resultptr;
19816 resultptr = new wxTimeSpan((wxTimeSpan &) result);
19817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
19818 }
19819 return resultobj;
19820 fail:
19821 return NULL;
19822 }
19823
19824
19825 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *self, PyObject *args) {
19826 PyObject *resultobj;
19827 wxDateTime *arg1 = (wxDateTime *) 0 ;
19828 wxTimeSpan *arg2 = 0 ;
19829 wxDateTime result;
19830 PyObject * obj0 = 0 ;
19831 PyObject * obj1 = 0 ;
19832
19833 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19836 if (arg2 == NULL) {
19837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19838 }
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 {
19847 wxDateTime * resultptr;
19848 resultptr = new wxDateTime((wxDateTime &) result);
19849 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19850 }
19851 return resultobj;
19852 fail:
19853 return NULL;
19854 }
19855
19856
19857 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *self, PyObject *args) {
19858 PyObject *resultobj;
19859 wxDateTime *arg1 = (wxDateTime *) 0 ;
19860 wxDateSpan *arg2 = 0 ;
19861 wxDateTime result;
19862 PyObject * obj0 = 0 ;
19863 PyObject * obj1 = 0 ;
19864
19865 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19868 if (arg2 == NULL) {
19869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19870 }
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 {
19879 wxDateTime * resultptr;
19880 resultptr = new wxDateTime((wxDateTime &) result);
19881 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateTime, 1);
19882 }
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
19890 int argc;
19891 PyObject *argv[3];
19892 int ii;
19893
19894 argc = PyObject_Length(args);
19895 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
19896 argv[ii] = PyTuple_GetItem(args,ii);
19897 }
19898 if (argc == 2) {
19899 int _v;
19900 {
19901 void *ptr;
19902 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19903 _v = 0;
19904 PyErr_Clear();
19905 } else {
19906 _v = 1;
19907 }
19908 }
19909 if (_v) {
19910 {
19911 void *ptr;
19912 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19913 _v = 0;
19914 PyErr_Clear();
19915 } else {
19916 _v = 1;
19917 }
19918 }
19919 if (_v) {
19920 return _wrap_DateTime___sub____SWIG_0(self,args);
19921 }
19922 }
19923 }
19924 if (argc == 2) {
19925 int _v;
19926 {
19927 void *ptr;
19928 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19929 _v = 0;
19930 PyErr_Clear();
19931 } else {
19932 _v = 1;
19933 }
19934 }
19935 if (_v) {
19936 {
19937 void *ptr;
19938 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
19939 _v = 0;
19940 PyErr_Clear();
19941 } else {
19942 _v = 1;
19943 }
19944 }
19945 if (_v) {
19946 return _wrap_DateTime___sub____SWIG_1(self,args);
19947 }
19948 }
19949 }
19950 if (argc == 2) {
19951 int _v;
19952 {
19953 void *ptr;
19954 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
19955 _v = 0;
19956 PyErr_Clear();
19957 } else {
19958 _v = 1;
19959 }
19960 }
19961 if (_v) {
19962 {
19963 void *ptr;
19964 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
19965 _v = 0;
19966 PyErr_Clear();
19967 } else {
19968 _v = 1;
19969 }
19970 }
19971 if (_v) {
19972 return _wrap_DateTime___sub____SWIG_2(self,args);
19973 }
19974 }
19975 }
19976
19977 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DateTime___sub__'");
19978 return NULL;
19979 }
19980
19981
19982 static PyObject *_wrap_DateTime___lt__(PyObject *self, PyObject *args) {
19983 PyObject *resultobj;
19984 wxDateTime *arg1 = (wxDateTime *) 0 ;
19985 wxDateTime *arg2 = 0 ;
19986 bool result;
19987 PyObject * obj0 = 0 ;
19988 PyObject * obj1 = 0 ;
19989
19990 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___lt__",&obj0,&obj1)) goto fail;
19991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19993 if (arg2 == NULL) {
19994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19995 }
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const &)*arg2);
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 resultobj = SWIG_PyObj_FromBool((bool)result);
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 static PyObject *_wrap_DateTime___le__(PyObject *self, PyObject *args) {
20011 PyObject *resultobj;
20012 wxDateTime *arg1 = (wxDateTime *) 0 ;
20013 wxDateTime *arg2 = 0 ;
20014 bool result;
20015 PyObject * obj0 = 0 ;
20016 PyObject * obj1 = 0 ;
20017
20018 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___le__",&obj0,&obj1)) goto fail;
20019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20021 if (arg2 == NULL) {
20022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20023 }
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (bool)wxDateTime___le__(arg1,(wxDateTime const &)*arg2);
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = SWIG_PyObj_FromBool((bool)result);
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 static PyObject *_wrap_DateTime___gt__(PyObject *self, PyObject *args) {
20039 PyObject *resultobj;
20040 wxDateTime *arg1 = (wxDateTime *) 0 ;
20041 wxDateTime *arg2 = 0 ;
20042 bool result;
20043 PyObject * obj0 = 0 ;
20044 PyObject * obj1 = 0 ;
20045
20046 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___gt__",&obj0,&obj1)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20049 if (arg2 == NULL) {
20050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20051 }
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const &)*arg2);
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_PyObj_FromBool((bool)result);
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 static PyObject *_wrap_DateTime___ge__(PyObject *self, PyObject *args) {
20067 PyObject *resultobj;
20068 wxDateTime *arg1 = (wxDateTime *) 0 ;
20069 wxDateTime *arg2 = 0 ;
20070 bool result;
20071 PyObject * obj0 = 0 ;
20072 PyObject * obj1 = 0 ;
20073
20074 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ge__",&obj0,&obj1)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 if (arg2 == NULL) {
20078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20079 }
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const &)*arg2);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 resultobj = SWIG_PyObj_FromBool((bool)result);
20088 return resultobj;
20089 fail:
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_DateTime___eq__(PyObject *self, PyObject *args) {
20095 PyObject *resultobj;
20096 wxDateTime *arg1 = (wxDateTime *) 0 ;
20097 wxDateTime *arg2 = 0 ;
20098 bool result;
20099 PyObject * obj0 = 0 ;
20100 PyObject * obj1 = 0 ;
20101
20102 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___eq__",&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20105 if (arg2 == NULL) {
20106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20107 }
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const &)*arg2);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 resultobj = SWIG_PyObj_FromBool((bool)result);
20116 return resultobj;
20117 fail:
20118 return NULL;
20119 }
20120
20121
20122 static PyObject *_wrap_DateTime___ne__(PyObject *self, PyObject *args) {
20123 PyObject *resultobj;
20124 wxDateTime *arg1 = (wxDateTime *) 0 ;
20125 wxDateTime *arg2 = 0 ;
20126 bool result;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129
20130 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___ne__",&obj0,&obj1)) goto fail;
20131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20133 if (arg2 == NULL) {
20134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20135 }
20136 {
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const &)*arg2);
20139
20140 wxPyEndAllowThreads(__tstate);
20141 if (PyErr_Occurred()) SWIG_fail;
20142 }
20143 resultobj = SWIG_PyObj_FromBool((bool)result);
20144 return resultobj;
20145 fail:
20146 return NULL;
20147 }
20148
20149
20150 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *self, PyObject *args, PyObject *kwargs) {
20151 PyObject *resultobj;
20152 wxDateTime *arg1 = (wxDateTime *) 0 ;
20153 wxString *arg2 = 0 ;
20154 int result;
20155 bool temp2 = False ;
20156 PyObject * obj0 = 0 ;
20157 PyObject * obj1 = 0 ;
20158 char *kwnames[] = {
20159 (char *) "self",(char *) "date", NULL
20160 };
20161
20162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
20163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20164 {
20165 arg2 = wxString_in_helper(obj1);
20166 if (arg2 == NULL) SWIG_fail;
20167 temp2 = True;
20168 }
20169 {
20170 PyThreadState* __tstate = wxPyBeginAllowThreads();
20171 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
20172
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 resultobj = SWIG_PyObj_FromInt((int)result);
20177 {
20178 if (temp2)
20179 delete arg2;
20180 }
20181 return resultobj;
20182 fail:
20183 {
20184 if (temp2)
20185 delete arg2;
20186 }
20187 return NULL;
20188 }
20189
20190
20191 static PyObject *_wrap_DateTime_ParseFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj;
20193 wxDateTime *arg1 = (wxDateTime *) 0 ;
20194 wxString *arg2 = 0 ;
20195 wxString const &arg3_defvalue = wxPyDateFormatStr ;
20196 wxString *arg3 = (wxString *) &arg3_defvalue ;
20197 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
20198 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
20199 int result;
20200 bool temp2 = False ;
20201 bool temp3 = False ;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 PyObject * obj2 = 0 ;
20205 PyObject * obj3 = 0 ;
20206 char *kwnames[] = {
20207 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20208 };
20209
20210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20212 {
20213 arg2 = wxString_in_helper(obj1);
20214 if (arg2 == NULL) SWIG_fail;
20215 temp2 = True;
20216 }
20217 if (obj2) {
20218 {
20219 arg3 = wxString_in_helper(obj2);
20220 if (arg3 == NULL) SWIG_fail;
20221 temp3 = True;
20222 }
20223 }
20224 if (obj3) {
20225 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20226 if (arg4 == NULL) {
20227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20228 }
20229 }
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
20233
20234 wxPyEndAllowThreads(__tstate);
20235 if (PyErr_Occurred()) SWIG_fail;
20236 }
20237 resultobj = SWIG_PyObj_FromInt((int)result);
20238 {
20239 if (temp2)
20240 delete arg2;
20241 }
20242 {
20243 if (temp3)
20244 delete arg3;
20245 }
20246 return resultobj;
20247 fail:
20248 {
20249 if (temp2)
20250 delete arg2;
20251 }
20252 {
20253 if (temp3)
20254 delete arg3;
20255 }
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxDateTime *arg1 = (wxDateTime *) 0 ;
20263 wxString *arg2 = 0 ;
20264 int result;
20265 bool temp2 = False ;
20266 PyObject * obj0 = 0 ;
20267 PyObject * obj1 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self",(char *) "datetime", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20274 {
20275 arg2 = wxString_in_helper(obj1);
20276 if (arg2 == NULL) SWIG_fail;
20277 temp2 = True;
20278 }
20279 {
20280 PyThreadState* __tstate = wxPyBeginAllowThreads();
20281 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
20282
20283 wxPyEndAllowThreads(__tstate);
20284 if (PyErr_Occurred()) SWIG_fail;
20285 }
20286 resultobj = SWIG_PyObj_FromInt((int)result);
20287 {
20288 if (temp2)
20289 delete arg2;
20290 }
20291 return resultobj;
20292 fail:
20293 {
20294 if (temp2)
20295 delete arg2;
20296 }
20297 return NULL;
20298 }
20299
20300
20301 static PyObject *_wrap_DateTime_ParseDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20302 PyObject *resultobj;
20303 wxDateTime *arg1 = (wxDateTime *) 0 ;
20304 wxString *arg2 = 0 ;
20305 int result;
20306 bool temp2 = False ;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "date", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
20314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 arg2 = wxString_in_helper(obj1);
20317 if (arg2 == NULL) SWIG_fail;
20318 temp2 = True;
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_PyObj_FromInt((int)result);
20328 {
20329 if (temp2)
20330 delete arg2;
20331 }
20332 return resultobj;
20333 fail:
20334 {
20335 if (temp2)
20336 delete arg2;
20337 }
20338 return NULL;
20339 }
20340
20341
20342 static PyObject *_wrap_DateTime_ParseTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxDateTime *arg1 = (wxDateTime *) 0 ;
20345 wxString *arg2 = 0 ;
20346 int result;
20347 bool temp2 = False ;
20348 PyObject * obj0 = 0 ;
20349 PyObject * obj1 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self",(char *) "time", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20356 {
20357 arg2 = wxString_in_helper(obj1);
20358 if (arg2 == NULL) SWIG_fail;
20359 temp2 = True;
20360 }
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 resultobj = SWIG_PyObj_FromInt((int)result);
20369 {
20370 if (temp2)
20371 delete arg2;
20372 }
20373 return resultobj;
20374 fail:
20375 {
20376 if (temp2)
20377 delete arg2;
20378 }
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_DateTime_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxDateTime *arg1 = (wxDateTime *) 0 ;
20386 wxString const &arg2_defvalue = wxPyDateFormatStr ;
20387 wxString *arg2 = (wxString *) &arg2_defvalue ;
20388 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
20389 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
20390 wxString result;
20391 bool temp2 = False ;
20392 bool temp3 = False ;
20393 PyObject * obj0 = 0 ;
20394 PyObject * obj1 = 0 ;
20395 PyObject * obj2 = 0 ;
20396 char *kwnames[] = {
20397 (char *) "self",(char *) "format",(char *) "tz", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
20401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20402 if (obj1) {
20403 {
20404 arg2 = wxString_in_helper(obj1);
20405 if (arg2 == NULL) SWIG_fail;
20406 temp2 = True;
20407 }
20408 }
20409 if (obj2) {
20410 {
20411 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
20412 temp3 = True;
20413 }
20414 }
20415 {
20416 PyThreadState* __tstate = wxPyBeginAllowThreads();
20417 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
20418
20419 wxPyEndAllowThreads(__tstate);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 {
20423 #if wxUSE_UNICODE
20424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20425 #else
20426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20427 #endif
20428 }
20429 {
20430 if (temp2)
20431 delete arg2;
20432 }
20433 {
20434 if (temp3) delete arg3;
20435 }
20436 return resultobj;
20437 fail:
20438 {
20439 if (temp2)
20440 delete arg2;
20441 }
20442 {
20443 if (temp3) delete arg3;
20444 }
20445 return NULL;
20446 }
20447
20448
20449 static PyObject *_wrap_DateTime_FormatDate(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxDateTime *arg1 = (wxDateTime *) 0 ;
20452 wxString result;
20453 PyObject * obj0 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 result = ((wxDateTime const *)arg1)->FormatDate();
20463
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 {
20468 #if wxUSE_UNICODE
20469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20470 #else
20471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20472 #endif
20473 }
20474 return resultobj;
20475 fail:
20476 return NULL;
20477 }
20478
20479
20480 static PyObject *_wrap_DateTime_FormatTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20481 PyObject *resultobj;
20482 wxDateTime *arg1 = (wxDateTime *) 0 ;
20483 wxString result;
20484 PyObject * obj0 = 0 ;
20485 char *kwnames[] = {
20486 (char *) "self", NULL
20487 };
20488
20489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
20490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = ((wxDateTime const *)arg1)->FormatTime();
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 {
20499 #if wxUSE_UNICODE
20500 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20501 #else
20502 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20503 #endif
20504 }
20505 return resultobj;
20506 fail:
20507 return NULL;
20508 }
20509
20510
20511 static PyObject *_wrap_DateTime_FormatISODate(PyObject *self, PyObject *args, PyObject *kwargs) {
20512 PyObject *resultobj;
20513 wxDateTime *arg1 = (wxDateTime *) 0 ;
20514 wxString result;
20515 PyObject * obj0 = 0 ;
20516 char *kwnames[] = {
20517 (char *) "self", NULL
20518 };
20519
20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
20521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 result = ((wxDateTime const *)arg1)->FormatISODate();
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 {
20530 #if wxUSE_UNICODE
20531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20532 #else
20533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20534 #endif
20535 }
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxDateTime *arg1 = (wxDateTime *) 0 ;
20545 wxString result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateTime,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 result = ((wxDateTime const *)arg1)->FormatISOTime();
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 {
20561 #if wxUSE_UNICODE
20562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20563 #else
20564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20565 #endif
20566 }
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject * DateTime_swigregister(PyObject *self, PyObject *args) {
20574 PyObject *obj;
20575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20576 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
20577 Py_INCREF(obj);
20578 return Py_BuildValue((char *)"");
20579 }
20580 static PyObject *_wrap_TimeSpan_Seconds(PyObject *self, PyObject *args, PyObject *kwargs) {
20581 PyObject *resultobj;
20582 long arg1 ;
20583 wxTimeSpan result;
20584 PyObject * obj0 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "sec", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
20590 {
20591 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 result = wxTimeSpan::Seconds(arg1);
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 {
20602 wxTimeSpan * resultptr;
20603 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20604 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20605 }
20606 return resultobj;
20607 fail:
20608 return NULL;
20609 }
20610
20611
20612 static PyObject *_wrap_TimeSpan_Second(PyObject *self, PyObject *args, PyObject *kwargs) {
20613 PyObject *resultobj;
20614 wxTimeSpan result;
20615 char *kwnames[] = {
20616 NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 result = wxTimeSpan::Second();
20623
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 {
20628 wxTimeSpan * resultptr;
20629 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20630 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20631 }
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_TimeSpan_Minutes(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 long arg1 ;
20641 wxTimeSpan result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "min", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
20648 {
20649 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 result = wxTimeSpan::Minutes(arg1);
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 wxTimeSpan * resultptr;
20661 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20662 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20663 }
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 static PyObject *_wrap_TimeSpan_Minute(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxTimeSpan result;
20673 char *kwnames[] = {
20674 NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
20678 {
20679 PyThreadState* __tstate = wxPyBeginAllowThreads();
20680 result = wxTimeSpan::Minute();
20681
20682 wxPyEndAllowThreads(__tstate);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 }
20685 {
20686 wxTimeSpan * resultptr;
20687 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20689 }
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_TimeSpan_Hours(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 long arg1 ;
20699 wxTimeSpan result;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "hours", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
20706 {
20707 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = wxTimeSpan::Hours(arg1);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 {
20718 wxTimeSpan * resultptr;
20719 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20721 }
20722 return resultobj;
20723 fail:
20724 return NULL;
20725 }
20726
20727
20728 static PyObject *_wrap_TimeSpan_Hour(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxTimeSpan result;
20731 char *kwnames[] = {
20732 NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = wxTimeSpan::Hour();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 {
20744 wxTimeSpan * resultptr;
20745 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20747 }
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_TimeSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 long arg1 ;
20757 wxTimeSpan result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "days", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
20764 {
20765 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 result = wxTimeSpan::Days(arg1);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 {
20776 wxTimeSpan * resultptr;
20777 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20778 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20779 }
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_TimeSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxTimeSpan result;
20789 char *kwnames[] = {
20790 NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 result = wxTimeSpan::Day();
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 wxTimeSpan * resultptr;
20803 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20805 }
20806 return resultobj;
20807 fail:
20808 return NULL;
20809 }
20810
20811
20812 static PyObject *_wrap_TimeSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 long arg1 ;
20815 wxTimeSpan result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "days", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
20822 {
20823 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 PyThreadState* __tstate = wxPyBeginAllowThreads();
20828 result = wxTimeSpan::Weeks(arg1);
20829
20830 wxPyEndAllowThreads(__tstate);
20831 if (PyErr_Occurred()) SWIG_fail;
20832 }
20833 {
20834 wxTimeSpan * resultptr;
20835 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20836 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20837 }
20838 return resultobj;
20839 fail:
20840 return NULL;
20841 }
20842
20843
20844 static PyObject *_wrap_TimeSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
20845 PyObject *resultobj;
20846 wxTimeSpan result;
20847 char *kwnames[] = {
20848 NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
20852 {
20853 PyThreadState* __tstate = wxPyBeginAllowThreads();
20854 result = wxTimeSpan::Week();
20855
20856 wxPyEndAllowThreads(__tstate);
20857 if (PyErr_Occurred()) SWIG_fail;
20858 }
20859 {
20860 wxTimeSpan * resultptr;
20861 resultptr = new wxTimeSpan((wxTimeSpan &) result);
20862 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
20863 }
20864 return resultobj;
20865 fail:
20866 return NULL;
20867 }
20868
20869
20870 static PyObject *_wrap_new_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20871 PyObject *resultobj;
20872 long arg1 = (long) 0 ;
20873 long arg2 = (long) 0 ;
20874 long arg3 = (long) 0 ;
20875 long arg4 = (long) 0 ;
20876 wxTimeSpan *result;
20877 PyObject * obj0 = 0 ;
20878 PyObject * obj1 = 0 ;
20879 PyObject * obj2 = 0 ;
20880 PyObject * obj3 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20886 if (obj0) {
20887 {
20888 arg1 = (long) SWIG_PyObj_AsLong(obj0);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 }
20892 if (obj1) {
20893 {
20894 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
20897 }
20898 if (obj2) {
20899 {
20900 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 }
20904 if (obj3) {
20905 {
20906 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 }
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
20913
20914 wxPyEndAllowThreads(__tstate);
20915 if (PyErr_Occurred()) SWIG_fail;
20916 }
20917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 1);
20918 return resultobj;
20919 fail:
20920 return NULL;
20921 }
20922
20923
20924 static PyObject *_wrap_delete_TimeSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
20925 PyObject *resultobj;
20926 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20927 PyObject * obj0 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
20933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 delete arg1;
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 Py_INCREF(Py_None); resultobj = Py_None;
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_TimeSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20951 wxTimeSpan *arg2 = 0 ;
20952 wxTimeSpan *result;
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self",(char *) "diff", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20962 if (arg2 == NULL) {
20963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20964 }
20965 {
20966 PyThreadState* __tstate = wxPyBeginAllowThreads();
20967 {
20968 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
20969 result = (wxTimeSpan *) &_result_ref;
20970 }
20971
20972 wxPyEndAllowThreads(__tstate);
20973 if (PyErr_Occurred()) SWIG_fail;
20974 }
20975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
20976 return resultobj;
20977 fail:
20978 return NULL;
20979 }
20980
20981
20982 static PyObject *_wrap_TimeSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
20983 PyObject *resultobj;
20984 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
20985 wxTimeSpan *arg2 = 0 ;
20986 wxTimeSpan *result;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "diff", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
20994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20996 if (arg2 == NULL) {
20997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20998 }
20999 {
21000 PyThreadState* __tstate = wxPyBeginAllowThreads();
21001 {
21002 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
21003 result = (wxTimeSpan *) &_result_ref;
21004 }
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_TimeSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21019 int arg2 ;
21020 wxTimeSpan *result;
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self",(char *) "n", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 {
21030 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 {
21036 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
21037 result = (wxTimeSpan *) &_result_ref;
21038 }
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_TimeSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21053 wxTimeSpan *result;
21054 PyObject * obj0 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 {
21064 wxTimeSpan &_result_ref = (arg1)->Neg();
21065 result = (wxTimeSpan *) &_result_ref;
21066 }
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_TimeSpan_Abs(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21081 wxTimeSpan result;
21082 PyObject * obj0 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = ((wxTimeSpan const *)arg1)->Abs();
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 {
21097 wxTimeSpan * resultptr;
21098 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21100 }
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_TimeSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21110 wxTimeSpan *arg2 = 0 ;
21111 wxTimeSpan *result;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "diff", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 if (arg2 == NULL) {
21122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21123 }
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 {
21127 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
21128 result = (wxTimeSpan *) &_result_ref;
21129 }
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_TimeSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21144 wxTimeSpan *arg2 = 0 ;
21145 wxTimeSpan *result;
21146 PyObject * obj0 = 0 ;
21147 PyObject * obj1 = 0 ;
21148 char *kwnames[] = {
21149 (char *) "self",(char *) "diff", NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
21153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21154 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 if (arg2 == NULL) {
21156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21157 }
21158 {
21159 PyThreadState* __tstate = wxPyBeginAllowThreads();
21160 {
21161 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
21162 result = (wxTimeSpan *) &_result_ref;
21163 }
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21169 return resultobj;
21170 fail:
21171 return NULL;
21172 }
21173
21174
21175 static PyObject *_wrap_TimeSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21178 int arg2 ;
21179 wxTimeSpan *result;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "n", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 {
21189 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 {
21195 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
21196 result = (wxTimeSpan *) &_result_ref;
21197 }
21198
21199 wxPyEndAllowThreads(__tstate);
21200 if (PyErr_Occurred()) SWIG_fail;
21201 }
21202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21203 return resultobj;
21204 fail:
21205 return NULL;
21206 }
21207
21208
21209 static PyObject *_wrap_TimeSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
21210 PyObject *resultobj;
21211 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21212 wxTimeSpan *result;
21213 PyObject * obj0 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 {
21223 wxTimeSpan &_result_ref = (arg1)->operator -();
21224 result = (wxTimeSpan *) &_result_ref;
21225 }
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTimeSpan, 0);
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_TimeSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21240 wxTimeSpan *arg2 = 0 ;
21241 wxTimeSpan result;
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "other", NULL
21246 };
21247
21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
21249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 if (arg2 == NULL) {
21252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21253 }
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 {
21262 wxTimeSpan * resultptr;
21263 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21265 }
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_TimeSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21275 wxTimeSpan *arg2 = 0 ;
21276 wxTimeSpan result;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self",(char *) "other", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21286 if (arg2 == NULL) {
21287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 {
21297 wxTimeSpan * resultptr;
21298 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21300 }
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_TimeSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21310 int arg2 ;
21311 wxTimeSpan result;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 char *kwnames[] = {
21315 (char *) "self",(char *) "n", NULL
21316 };
21317
21318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
21319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21320 {
21321 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = wxTimeSpan___mul__(arg1,arg2);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 {
21332 wxTimeSpan * resultptr;
21333 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21335 }
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 static PyObject *_wrap_TimeSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21345 int arg2 ;
21346 wxTimeSpan result;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "n", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 {
21356 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21357 if (PyErr_Occurred()) SWIG_fail;
21358 }
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 result = wxTimeSpan___rmul__(arg1,arg2);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 {
21367 wxTimeSpan * resultptr;
21368 resultptr = new wxTimeSpan((wxTimeSpan &) result);
21369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTimeSpan, 1);
21370 }
21371 return resultobj;
21372 fail:
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_TimeSpan___lt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21380 wxTimeSpan *arg2 = 0 ;
21381 bool result;
21382 PyObject * obj0 = 0 ;
21383 PyObject * obj1 = 0 ;
21384 char *kwnames[] = {
21385 (char *) "self",(char *) "other", NULL
21386 };
21387
21388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
21389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21391 if (arg2 == NULL) {
21392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21393 }
21394 {
21395 PyThreadState* __tstate = wxPyBeginAllowThreads();
21396 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const &)*arg2);
21397
21398 wxPyEndAllowThreads(__tstate);
21399 if (PyErr_Occurred()) SWIG_fail;
21400 }
21401 resultobj = SWIG_PyObj_FromBool((bool)result);
21402 return resultobj;
21403 fail:
21404 return NULL;
21405 }
21406
21407
21408 static PyObject *_wrap_TimeSpan___le__(PyObject *self, PyObject *args, PyObject *kwargs) {
21409 PyObject *resultobj;
21410 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21411 wxTimeSpan *arg2 = 0 ;
21412 bool result;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "other", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if (arg2 == NULL) {
21423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21424 }
21425 {
21426 PyThreadState* __tstate = wxPyBeginAllowThreads();
21427 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const &)*arg2);
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 resultobj = SWIG_PyObj_FromBool((bool)result);
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 static PyObject *_wrap_TimeSpan___gt__(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21442 wxTimeSpan *arg2 = 0 ;
21443 bool result;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 char *kwnames[] = {
21447 (char *) "self",(char *) "other", NULL
21448 };
21449
21450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
21451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21453 if (arg2 == NULL) {
21454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21455 }
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const &)*arg2);
21459
21460 wxPyEndAllowThreads(__tstate);
21461 if (PyErr_Occurred()) SWIG_fail;
21462 }
21463 resultobj = SWIG_PyObj_FromBool((bool)result);
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_TimeSpan___ge__(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21473 wxTimeSpan *arg2 = 0 ;
21474 bool result;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj1 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self",(char *) "other", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21484 if (arg2 == NULL) {
21485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21486 }
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const &)*arg2);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 resultobj = SWIG_PyObj_FromBool((bool)result);
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 static PyObject *_wrap_TimeSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21504 wxTimeSpan *arg2 = 0 ;
21505 bool result;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 char *kwnames[] = {
21509 (char *) "self",(char *) "other", NULL
21510 };
21511
21512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
21513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21515 if (arg2 == NULL) {
21516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21517 }
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const &)*arg2);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 resultobj = SWIG_PyObj_FromBool((bool)result);
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_TimeSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21535 wxTimeSpan *arg2 = 0 ;
21536 bool result;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "other", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21546 if (arg2 == NULL) {
21547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const &)*arg2);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 resultobj = SWIG_PyObj_FromBool((bool)result);
21557 return resultobj;
21558 fail:
21559 return NULL;
21560 }
21561
21562
21563 static PyObject *_wrap_TimeSpan_IsNull(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21566 bool result;
21567 PyObject * obj0 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
21573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
21577
21578 wxPyEndAllowThreads(__tstate);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 resultobj = SWIG_PyObj_FromBool((bool)result);
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21591 bool result;
21592 PyObject * obj0 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 resultobj = SWIG_PyObj_FromBool((bool)result);
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21616 bool result;
21617 PyObject * obj0 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 resultobj = SWIG_PyObj_FromBool((bool)result);
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21641 wxTimeSpan *arg2 = 0 ;
21642 bool result;
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "ts", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21652 if (arg2 == NULL) {
21653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21654 }
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = SWIG_PyObj_FromBool((bool)result);
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21672 wxTimeSpan *arg2 = 0 ;
21673 bool result;
21674 PyObject * obj0 = 0 ;
21675 PyObject * obj1 = 0 ;
21676 char *kwnames[] = {
21677 (char *) "self",(char *) "ts", NULL
21678 };
21679
21680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
21681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21683 if (arg2 == NULL) {
21684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21685 }
21686 {
21687 PyThreadState* __tstate = wxPyBeginAllowThreads();
21688 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
21689
21690 wxPyEndAllowThreads(__tstate);
21691 if (PyErr_Occurred()) SWIG_fail;
21692 }
21693 resultobj = SWIG_PyObj_FromBool((bool)result);
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21703 wxTimeSpan *arg2 = 0 ;
21704 bool result;
21705 PyObject * obj0 = 0 ;
21706 PyObject * obj1 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self",(char *) "t", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21714 if (arg2 == NULL) {
21715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 resultobj = SWIG_PyObj_FromBool((bool)result);
21725 return resultobj;
21726 fail:
21727 return NULL;
21728 }
21729
21730
21731 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
21732 PyObject *resultobj;
21733 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21734 int result;
21735 PyObject * obj0 = 0 ;
21736 char *kwnames[] = {
21737 (char *) "self", NULL
21738 };
21739
21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
21741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 resultobj = SWIG_PyObj_FromInt((int)result);
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_TimeSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21759 int result;
21760 PyObject * obj0 = 0 ;
21761 char *kwnames[] = {
21762 (char *) "self", NULL
21763 };
21764
21765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
21766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (int)((wxTimeSpan const *)arg1)->GetDays();
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 resultobj = SWIG_PyObj_FromInt((int)result);
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_TimeSpan_GetHours(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21784 int result;
21785 PyObject * obj0 = 0 ;
21786 char *kwnames[] = {
21787 (char *) "self", NULL
21788 };
21789
21790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
21791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (int)((wxTimeSpan const *)arg1)->GetHours();
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 resultobj = SWIG_PyObj_FromInt((int)result);
21800 return resultobj;
21801 fail:
21802 return NULL;
21803 }
21804
21805
21806 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *self, PyObject *args, PyObject *kwargs) {
21807 PyObject *resultobj;
21808 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21809 int result;
21810 PyObject * obj0 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
21820
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 resultobj = SWIG_PyObj_FromInt((int)result);
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21832 PyObject *resultobj;
21833 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21834 wxLongLong result;
21835 PyObject * obj0 = 0 ;
21836 char *kwnames[] = {
21837 (char *) "self", NULL
21838 };
21839
21840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
21841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = ((wxTimeSpan const *)arg1)->GetSeconds();
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 {
21850 PyObject *hi, *lo, *shifter, *shifted;
21851 hi = PyLong_FromLong( (&result)->GetHi() );
21852 lo = PyLong_FromLong( (&result)->GetLo() );
21853 shifter = PyLong_FromLong(32);
21854 shifted = PyNumber_Lshift(hi, shifter);
21855 resultobj = PyNumber_Or(shifted, lo);
21856 Py_DECREF(hi);
21857 Py_DECREF(lo);
21858 Py_DECREF(shifter);
21859 Py_DECREF(shifted);
21860 }
21861 return resultobj;
21862 fail:
21863 return NULL;
21864 }
21865
21866
21867 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *self, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21870 wxLongLong result;
21871 PyObject * obj0 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
21877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 {
21886 PyObject *hi, *lo, *shifter, *shifted;
21887 hi = PyLong_FromLong( (&result)->GetHi() );
21888 lo = PyLong_FromLong( (&result)->GetLo() );
21889 shifter = PyLong_FromLong(32);
21890 shifted = PyNumber_Lshift(hi, shifter);
21891 resultobj = PyNumber_Or(shifted, lo);
21892 Py_DECREF(hi);
21893 Py_DECREF(lo);
21894 Py_DECREF(shifter);
21895 Py_DECREF(shifted);
21896 }
21897 return resultobj;
21898 fail:
21899 return NULL;
21900 }
21901
21902
21903 static PyObject *_wrap_TimeSpan_Format(PyObject *self, PyObject *args, PyObject *kwargs) {
21904 PyObject *resultobj;
21905 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
21906 wxString const &arg2_defvalue = wxPyTimeSpanFormatStr ;
21907 wxString *arg2 = (wxString *) &arg2_defvalue ;
21908 wxString result;
21909 bool temp2 = False ;
21910 PyObject * obj0 = 0 ;
21911 PyObject * obj1 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "format", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
21917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTimeSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21918 if (obj1) {
21919 {
21920 arg2 = wxString_in_helper(obj1);
21921 if (arg2 == NULL) SWIG_fail;
21922 temp2 = True;
21923 }
21924 }
21925 {
21926 PyThreadState* __tstate = wxPyBeginAllowThreads();
21927 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
21928
21929 wxPyEndAllowThreads(__tstate);
21930 if (PyErr_Occurred()) SWIG_fail;
21931 }
21932 {
21933 #if wxUSE_UNICODE
21934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21935 #else
21936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21937 #endif
21938 }
21939 {
21940 if (temp2)
21941 delete arg2;
21942 }
21943 return resultobj;
21944 fail:
21945 {
21946 if (temp2)
21947 delete arg2;
21948 }
21949 return NULL;
21950 }
21951
21952
21953 static PyObject * TimeSpan_swigregister(PyObject *self, PyObject *args) {
21954 PyObject *obj;
21955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21956 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
21957 Py_INCREF(obj);
21958 return Py_BuildValue((char *)"");
21959 }
21960 static PyObject *_wrap_new_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
21961 PyObject *resultobj;
21962 int arg1 = (int) 0 ;
21963 int arg2 = (int) 0 ;
21964 int arg3 = (int) 0 ;
21965 int arg4 = (int) 0 ;
21966 wxDateSpan *result;
21967 PyObject * obj0 = 0 ;
21968 PyObject * obj1 = 0 ;
21969 PyObject * obj2 = 0 ;
21970 PyObject * obj3 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21976 if (obj0) {
21977 {
21978 arg1 = (int) SWIG_PyObj_AsInt(obj0);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 }
21982 if (obj1) {
21983 {
21984 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 }
21988 if (obj2) {
21989 {
21990 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 }
21994 if (obj3) {
21995 {
21996 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 1);
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_delete_DateSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22017 PyObject * obj0 = 0 ;
22018 char *kwnames[] = {
22019 (char *) "self", NULL
22020 };
22021
22022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
22023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 delete arg1;
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 Py_INCREF(Py_None); resultobj = Py_None;
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 static PyObject *_wrap_DateSpan_Days(PyObject *self, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 int arg1 ;
22041 wxDateSpan result;
22042 PyObject * obj0 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "days", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
22048 {
22049 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 result = wxDateSpan::Days(arg1);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 {
22060 wxDateSpan * resultptr;
22061 resultptr = new wxDateSpan((wxDateSpan &) result);
22062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22063 }
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_DateSpan_Day(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxDateSpan result;
22073 char *kwnames[] = {
22074 NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = wxDateSpan::Day();
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 wxDateSpan * resultptr;
22087 resultptr = new wxDateSpan((wxDateSpan &) result);
22088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22089 }
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 static PyObject *_wrap_DateSpan_Weeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 int arg1 ;
22099 wxDateSpan result;
22100 PyObject * obj0 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "weeks", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
22106 {
22107 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 result = wxDateSpan::Weeks(arg1);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 {
22118 wxDateSpan * resultptr;
22119 resultptr = new wxDateSpan((wxDateSpan &) result);
22120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22121 }
22122 return resultobj;
22123 fail:
22124 return NULL;
22125 }
22126
22127
22128 static PyObject *_wrap_DateSpan_Week(PyObject *self, PyObject *args, PyObject *kwargs) {
22129 PyObject *resultobj;
22130 wxDateSpan result;
22131 char *kwnames[] = {
22132 NULL
22133 };
22134
22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = wxDateSpan::Week();
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 {
22144 wxDateSpan * resultptr;
22145 resultptr = new wxDateSpan((wxDateSpan &) result);
22146 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22147 }
22148 return resultobj;
22149 fail:
22150 return NULL;
22151 }
22152
22153
22154 static PyObject *_wrap_DateSpan_Months(PyObject *self, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 int arg1 ;
22157 wxDateSpan result;
22158 PyObject * obj0 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "mon", NULL
22161 };
22162
22163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
22164 {
22165 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = wxDateSpan::Months(arg1);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 {
22176 wxDateSpan * resultptr;
22177 resultptr = new wxDateSpan((wxDateSpan &) result);
22178 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 static PyObject *_wrap_DateSpan_Month(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxDateSpan result;
22189 char *kwnames[] = {
22190 NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 result = wxDateSpan::Month();
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 {
22202 wxDateSpan * resultptr;
22203 resultptr = new wxDateSpan((wxDateSpan &) result);
22204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22205 }
22206 return resultobj;
22207 fail:
22208 return NULL;
22209 }
22210
22211
22212 static PyObject *_wrap_DateSpan_Years(PyObject *self, PyObject *args, PyObject *kwargs) {
22213 PyObject *resultobj;
22214 int arg1 ;
22215 wxDateSpan result;
22216 PyObject * obj0 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "years", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
22222 {
22223 arg1 = (int) SWIG_PyObj_AsInt(obj0);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 {
22227 PyThreadState* __tstate = wxPyBeginAllowThreads();
22228 result = wxDateSpan::Years(arg1);
22229
22230 wxPyEndAllowThreads(__tstate);
22231 if (PyErr_Occurred()) SWIG_fail;
22232 }
22233 {
22234 wxDateSpan * resultptr;
22235 resultptr = new wxDateSpan((wxDateSpan &) result);
22236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22237 }
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject *_wrap_DateSpan_Year(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxDateSpan result;
22247 char *kwnames[] = {
22248 NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = wxDateSpan::Year();
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 wxDateSpan * resultptr;
22261 resultptr = new wxDateSpan((wxDateSpan &) result);
22262 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 static PyObject *_wrap_DateSpan_SetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22273 int arg2 ;
22274 wxDateSpan *result;
22275 PyObject * obj0 = 0 ;
22276 PyObject * obj1 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self",(char *) "n", NULL
22279 };
22280
22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
22282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22283 {
22284 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 {
22290 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
22291 result = (wxDateSpan *) &_result_ref;
22292 }
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22298 return resultobj;
22299 fail:
22300 return NULL;
22301 }
22302
22303
22304 static PyObject *_wrap_DateSpan_SetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22305 PyObject *resultobj;
22306 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22307 int arg2 ;
22308 wxDateSpan *result;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "n", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
22316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22317 {
22318 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 {
22324 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
22325 result = (wxDateSpan *) &_result_ref;
22326 }
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22332 return resultobj;
22333 fail:
22334 return NULL;
22335 }
22336
22337
22338 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22339 PyObject *resultobj;
22340 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22341 int arg2 ;
22342 wxDateSpan *result;
22343 PyObject * obj0 = 0 ;
22344 PyObject * obj1 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self",(char *) "n", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
22350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22351 {
22352 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22353 if (PyErr_Occurred()) SWIG_fail;
22354 }
22355 {
22356 PyThreadState* __tstate = wxPyBeginAllowThreads();
22357 {
22358 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
22359 result = (wxDateSpan *) &_result_ref;
22360 }
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22366 return resultobj;
22367 fail:
22368 return NULL;
22369 }
22370
22371
22372 static PyObject *_wrap_DateSpan_SetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22373 PyObject *resultobj;
22374 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22375 int arg2 ;
22376 wxDateSpan *result;
22377 PyObject * obj0 = 0 ;
22378 PyObject * obj1 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self",(char *) "n", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
22384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22385 {
22386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 {
22390 PyThreadState* __tstate = wxPyBeginAllowThreads();
22391 {
22392 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
22393 result = (wxDateSpan *) &_result_ref;
22394 }
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22400 return resultobj;
22401 fail:
22402 return NULL;
22403 }
22404
22405
22406 static PyObject *_wrap_DateSpan_GetYears(PyObject *self, PyObject *args, PyObject *kwargs) {
22407 PyObject *resultobj;
22408 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22409 int result;
22410 PyObject * obj0 = 0 ;
22411 char *kwnames[] = {
22412 (char *) "self", NULL
22413 };
22414
22415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
22416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 result = (int)((wxDateSpan const *)arg1)->GetYears();
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_PyObj_FromInt((int)result);
22425 return resultobj;
22426 fail:
22427 return NULL;
22428 }
22429
22430
22431 static PyObject *_wrap_DateSpan_GetMonths(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22434 int result;
22435 PyObject * obj0 = 0 ;
22436 char *kwnames[] = {
22437 (char *) "self", NULL
22438 };
22439
22440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
22441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 result = (int)((wxDateSpan const *)arg1)->GetMonths();
22445
22446 wxPyEndAllowThreads(__tstate);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 resultobj = SWIG_PyObj_FromInt((int)result);
22450 return resultobj;
22451 fail:
22452 return NULL;
22453 }
22454
22455
22456 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *self, PyObject *args, PyObject *kwargs) {
22457 PyObject *resultobj;
22458 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22459 int result;
22460 PyObject * obj0 = 0 ;
22461 char *kwnames[] = {
22462 (char *) "self", NULL
22463 };
22464
22465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
22466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22467 {
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
22470
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 resultobj = SWIG_PyObj_FromInt((int)result);
22475 return resultobj;
22476 fail:
22477 return NULL;
22478 }
22479
22480
22481 static PyObject *_wrap_DateSpan_GetDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22482 PyObject *resultobj;
22483 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22484 int result;
22485 PyObject * obj0 = 0 ;
22486 char *kwnames[] = {
22487 (char *) "self", NULL
22488 };
22489
22490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
22491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (int)((wxDateSpan const *)arg1)->GetDays();
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 resultobj = SWIG_PyObj_FromInt((int)result);
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22509 int result;
22510 PyObject * obj0 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 resultobj = SWIG_PyObj_FromInt((int)result);
22525 return resultobj;
22526 fail:
22527 return NULL;
22528 }
22529
22530
22531 static PyObject *_wrap_DateSpan_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22534 wxDateSpan *arg2 = 0 ;
22535 wxDateSpan *result;
22536 PyObject * obj0 = 0 ;
22537 PyObject * obj1 = 0 ;
22538 char *kwnames[] = {
22539 (char *) "self",(char *) "other", NULL
22540 };
22541
22542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
22543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22545 if (arg2 == NULL) {
22546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22547 }
22548 {
22549 PyThreadState* __tstate = wxPyBeginAllowThreads();
22550 {
22551 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22552 result = (wxDateSpan *) &_result_ref;
22553 }
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_DateSpan_Subtract(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22568 wxDateSpan *arg2 = 0 ;
22569 wxDateSpan *result;
22570 PyObject * obj0 = 0 ;
22571 PyObject * obj1 = 0 ;
22572 char *kwnames[] = {
22573 (char *) "self",(char *) "other", NULL
22574 };
22575
22576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
22577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22579 if (arg2 == NULL) {
22580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22581 }
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 {
22585 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22586 result = (wxDateSpan *) &_result_ref;
22587 }
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_DateSpan_Neg(PyObject *self, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22602 wxDateSpan *result;
22603 PyObject * obj0 = 0 ;
22604 char *kwnames[] = {
22605 (char *) "self", NULL
22606 };
22607
22608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
22609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 {
22613 wxDateSpan &_result_ref = (arg1)->Neg();
22614 result = (wxDateSpan *) &_result_ref;
22615 }
22616
22617 wxPyEndAllowThreads(__tstate);
22618 if (PyErr_Occurred()) SWIG_fail;
22619 }
22620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22621 return resultobj;
22622 fail:
22623 return NULL;
22624 }
22625
22626
22627 static PyObject *_wrap_DateSpan_Multiply(PyObject *self, PyObject *args, PyObject *kwargs) {
22628 PyObject *resultobj;
22629 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22630 int arg2 ;
22631 wxDateSpan *result;
22632 PyObject * obj0 = 0 ;
22633 PyObject * obj1 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self",(char *) "factor", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
22639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22640 {
22641 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22642 if (PyErr_Occurred()) SWIG_fail;
22643 }
22644 {
22645 PyThreadState* __tstate = wxPyBeginAllowThreads();
22646 {
22647 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
22648 result = (wxDateSpan *) &_result_ref;
22649 }
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_DateSpan___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22664 wxDateSpan *arg2 = 0 ;
22665 wxDateSpan *result;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "other", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 if (arg2 == NULL) {
22676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 {
22681 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22682 result = (wxDateSpan *) &_result_ref;
22683 }
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_DateSpan___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22698 wxDateSpan *arg2 = 0 ;
22699 wxDateSpan *result;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "other", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
22707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22709 if (arg2 == NULL) {
22710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22711 }
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 {
22715 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22716 result = (wxDateSpan *) &_result_ref;
22717 }
22718
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22723 return resultobj;
22724 fail:
22725 return NULL;
22726 }
22727
22728
22729 static PyObject *_wrap_DateSpan___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
22730 PyObject *resultobj;
22731 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22732 wxDateSpan *result;
22733 PyObject * obj0 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
22739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 {
22741 PyThreadState* __tstate = wxPyBeginAllowThreads();
22742 {
22743 wxDateSpan &_result_ref = (arg1)->operator -();
22744 result = (wxDateSpan *) &_result_ref;
22745 }
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_DateSpan___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22760 int arg2 ;
22761 wxDateSpan *result;
22762 PyObject * obj0 = 0 ;
22763 PyObject * obj1 = 0 ;
22764 char *kwnames[] = {
22765 (char *) "self",(char *) "factor", NULL
22766 };
22767
22768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
22769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22770 {
22771 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 {
22777 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
22778 result = (wxDateSpan *) &_result_ref;
22779 }
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDateSpan, 0);
22785 return resultobj;
22786 fail:
22787 return NULL;
22788 }
22789
22790
22791 static PyObject *_wrap_DateSpan___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22794 wxDateSpan *arg2 = 0 ;
22795 wxDateSpan result;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "other", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
22803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22805 if (arg2 == NULL) {
22806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22807 }
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 {
22816 wxDateSpan * resultptr;
22817 resultptr = new wxDateSpan((wxDateSpan &) result);
22818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22819 }
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_DateSpan___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22829 wxDateSpan *arg2 = 0 ;
22830 wxDateSpan result;
22831 PyObject * obj0 = 0 ;
22832 PyObject * obj1 = 0 ;
22833 char *kwnames[] = {
22834 (char *) "self",(char *) "other", NULL
22835 };
22836
22837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
22838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22840 if (arg2 == NULL) {
22841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22842 }
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 {
22851 wxDateSpan * resultptr;
22852 resultptr = new wxDateSpan((wxDateSpan &) result);
22853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22854 }
22855 return resultobj;
22856 fail:
22857 return NULL;
22858 }
22859
22860
22861 static PyObject *_wrap_DateSpan___mul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj;
22863 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22864 int arg2 ;
22865 wxDateSpan result;
22866 PyObject * obj0 = 0 ;
22867 PyObject * obj1 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self",(char *) "n", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
22873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22874 {
22875 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22876 if (PyErr_Occurred()) SWIG_fail;
22877 }
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 result = wxDateSpan___mul__(arg1,arg2);
22881
22882 wxPyEndAllowThreads(__tstate);
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 {
22886 wxDateSpan * resultptr;
22887 resultptr = new wxDateSpan((wxDateSpan &) result);
22888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22889 }
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 static PyObject *_wrap_DateSpan___rmul__(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22899 int arg2 ;
22900 wxDateSpan result;
22901 PyObject * obj0 = 0 ;
22902 PyObject * obj1 = 0 ;
22903 char *kwnames[] = {
22904 (char *) "self",(char *) "n", NULL
22905 };
22906
22907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
22908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22909 {
22910 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 result = wxDateSpan___rmul__(arg1,arg2);
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 {
22921 wxDateSpan * resultptr;
22922 resultptr = new wxDateSpan((wxDateSpan &) result);
22923 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDateSpan, 1);
22924 }
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_DateSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22934 wxDateSpan *arg2 = 0 ;
22935 bool result;
22936 PyObject * obj0 = 0 ;
22937 PyObject * obj1 = 0 ;
22938 char *kwnames[] = {
22939 (char *) "self",(char *) "other", NULL
22940 };
22941
22942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
22943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22945 if (arg2 == NULL) {
22946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const &)*arg2);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 resultobj = SWIG_PyObj_FromBool((bool)result);
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_DateSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
22965 wxDateSpan *arg2 = 0 ;
22966 bool result;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self",(char *) "other", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
22974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDateSpan,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22976 if (arg2 == NULL) {
22977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22978 }
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const &)*arg2);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 resultobj = SWIG_PyObj_FromBool((bool)result);
22987 return resultobj;
22988 fail:
22989 return NULL;
22990 }
22991
22992
22993 static PyObject * DateSpan_swigregister(PyObject *self, PyObject *args) {
22994 PyObject *obj;
22995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22996 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
22997 Py_INCREF(obj);
22998 return Py_BuildValue((char *)"");
22999 }
23000 static PyObject *_wrap_GetLocalTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23001 PyObject *resultobj;
23002 long result;
23003 char *kwnames[] = {
23004 NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (long)wxGetLocalTime();
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 resultobj = SWIG_PyObj_FromLong((long)result);
23016 return resultobj;
23017 fail:
23018 return NULL;
23019 }
23020
23021
23022 static PyObject *_wrap_GetUTCTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj;
23024 long result;
23025 char *kwnames[] = {
23026 NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 result = (long)wxGetUTCTime();
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 resultobj = SWIG_PyObj_FromLong((long)result);
23038 return resultobj;
23039 fail:
23040 return NULL;
23041 }
23042
23043
23044 static PyObject *_wrap_GetCurrentTime(PyObject *self, PyObject *args, PyObject *kwargs) {
23045 PyObject *resultobj;
23046 long result;
23047 char *kwnames[] = {
23048 NULL
23049 };
23050
23051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 result = (long)wxGetCurrentTime();
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 resultobj = SWIG_PyObj_FromLong((long)result);
23060 return resultobj;
23061 fail:
23062 return NULL;
23063 }
23064
23065
23066 static PyObject *_wrap_GetLocalTimeMillis(PyObject *self, PyObject *args, PyObject *kwargs) {
23067 PyObject *resultobj;
23068 wxLongLong result;
23069 char *kwnames[] = {
23070 NULL
23071 };
23072
23073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 result = wxGetLocalTimeMillis();
23077
23078 wxPyEndAllowThreads(__tstate);
23079 if (PyErr_Occurred()) SWIG_fail;
23080 }
23081 {
23082 PyObject *hi, *lo, *shifter, *shifted;
23083 hi = PyLong_FromLong( (&result)->GetHi() );
23084 lo = PyLong_FromLong( (&result)->GetLo() );
23085 shifter = PyLong_FromLong(32);
23086 shifted = PyNumber_Lshift(hi, shifter);
23087 resultobj = PyNumber_Or(shifted, lo);
23088 Py_DECREF(hi);
23089 Py_DECREF(lo);
23090 Py_DECREF(shifter);
23091 Py_DECREF(shifted);
23092 }
23093 return resultobj;
23094 fail:
23095 return NULL;
23096 }
23097
23098
23099 static PyObject *_wrap_new_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23100 PyObject *resultobj;
23101 int arg1 ;
23102 wxDataFormat *result;
23103 PyObject * obj0 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "type", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
23109 {
23110 arg1 = (wxDataFormatId) SWIG_PyObj_AsInt(obj0);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 {
23114 PyThreadState* __tstate = wxPyBeginAllowThreads();
23115 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
23116
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23121 return resultobj;
23122 fail:
23123 return NULL;
23124 }
23125
23126
23127 static PyObject *_wrap_new_CustomDataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23128 PyObject *resultobj;
23129 wxString *arg1 = 0 ;
23130 wxDataFormat *result;
23131 bool temp1 = False ;
23132 PyObject * obj0 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "format", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
23138 {
23139 arg1 = wxString_in_helper(obj0);
23140 if (arg1 == NULL) SWIG_fail;
23141 temp1 = True;
23142 }
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
23146
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 1);
23151 {
23152 if (temp1)
23153 delete arg1;
23154 }
23155 return resultobj;
23156 fail:
23157 {
23158 if (temp1)
23159 delete arg1;
23160 }
23161 return NULL;
23162 }
23163
23164
23165 static PyObject *_wrap_delete_DataFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23166 PyObject *resultobj;
23167 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23168 PyObject * obj0 = 0 ;
23169 char *kwnames[] = {
23170 (char *) "self", NULL
23171 };
23172
23173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
23174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 delete arg1;
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 Py_INCREF(Py_None); resultobj = Py_None;
23183 return resultobj;
23184 fail:
23185 return NULL;
23186 }
23187
23188
23189 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *self, PyObject *args) {
23190 PyObject *resultobj;
23191 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23192 int arg2 ;
23193 bool result;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196
23197 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23199 {
23200 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 {
23204 PyThreadState* __tstate = wxPyBeginAllowThreads();
23205 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 resultobj = SWIG_PyObj_FromBool((bool)result);
23211 return resultobj;
23212 fail:
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *self, PyObject *args) {
23218 PyObject *resultobj;
23219 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23220 int arg2 ;
23221 bool result;
23222 PyObject * obj0 = 0 ;
23223 PyObject * obj1 = 0 ;
23224
23225 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23227 {
23228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23229 if (PyErr_Occurred()) SWIG_fail;
23230 }
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 resultobj = SWIG_PyObj_FromBool((bool)result);
23239 return resultobj;
23240 fail:
23241 return NULL;
23242 }
23243
23244
23245 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *self, PyObject *args) {
23246 PyObject *resultobj;
23247 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23248 wxDataFormat *arg2 = 0 ;
23249 bool result;
23250 PyObject * obj0 = 0 ;
23251 PyObject * obj1 = 0 ;
23252
23253 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
23254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23256 if (arg2 == NULL) {
23257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23258 }
23259 {
23260 PyThreadState* __tstate = wxPyBeginAllowThreads();
23261 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
23262
23263 wxPyEndAllowThreads(__tstate);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 }
23266 resultobj = SWIG_PyObj_FromBool((bool)result);
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
23274 int argc;
23275 PyObject *argv[3];
23276 int ii;
23277
23278 argc = PyObject_Length(args);
23279 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23280 argv[ii] = PyTuple_GetItem(args,ii);
23281 }
23282 if (argc == 2) {
23283 int _v;
23284 {
23285 void *ptr;
23286 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23287 _v = 0;
23288 PyErr_Clear();
23289 } else {
23290 _v = 1;
23291 }
23292 }
23293 if (_v) {
23294 {
23295 void *ptr;
23296 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23297 _v = 0;
23298 PyErr_Clear();
23299 } else {
23300 _v = 1;
23301 }
23302 }
23303 if (_v) {
23304 return _wrap_DataFormat___eq____SWIG_1(self,args);
23305 }
23306 }
23307 }
23308 if (argc == 2) {
23309 int _v;
23310 {
23311 void *ptr;
23312 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23313 _v = 0;
23314 PyErr_Clear();
23315 } else {
23316 _v = 1;
23317 }
23318 }
23319 if (_v) {
23320 {
23321 SWIG_PyObj_AsInt(argv[1]);
23322 if (PyErr_Occurred()) {
23323 _v = 0;
23324 PyErr_Clear();
23325 } else {
23326 _v = 1;
23327 }
23328 }
23329 if (_v) {
23330 return _wrap_DataFormat___eq____SWIG_0(self,args);
23331 }
23332 }
23333 }
23334
23335 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___eq__'");
23336 return NULL;
23337 }
23338
23339
23340 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *self, PyObject *args) {
23341 PyObject *resultobj;
23342 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23343 wxDataFormat *arg2 = 0 ;
23344 bool result;
23345 PyObject * obj0 = 0 ;
23346 PyObject * obj1 = 0 ;
23347
23348 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
23349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 if (arg2 == NULL) {
23352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23353 }
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 resultobj = SWIG_PyObj_FromBool((bool)result);
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
23369 int argc;
23370 PyObject *argv[3];
23371 int ii;
23372
23373 argc = PyObject_Length(args);
23374 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23375 argv[ii] = PyTuple_GetItem(args,ii);
23376 }
23377 if (argc == 2) {
23378 int _v;
23379 {
23380 void *ptr;
23381 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23382 _v = 0;
23383 PyErr_Clear();
23384 } else {
23385 _v = 1;
23386 }
23387 }
23388 if (_v) {
23389 {
23390 void *ptr;
23391 if (SWIG_ConvertPtr(argv[1], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23392 _v = 0;
23393 PyErr_Clear();
23394 } else {
23395 _v = 1;
23396 }
23397 }
23398 if (_v) {
23399 return _wrap_DataFormat___ne____SWIG_1(self,args);
23400 }
23401 }
23402 }
23403 if (argc == 2) {
23404 int _v;
23405 {
23406 void *ptr;
23407 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
23408 _v = 0;
23409 PyErr_Clear();
23410 } else {
23411 _v = 1;
23412 }
23413 }
23414 if (_v) {
23415 {
23416 SWIG_PyObj_AsInt(argv[1]);
23417 if (PyErr_Occurred()) {
23418 _v = 0;
23419 PyErr_Clear();
23420 } else {
23421 _v = 1;
23422 }
23423 }
23424 if (_v) {
23425 return _wrap_DataFormat___ne____SWIG_0(self,args);
23426 }
23427 }
23428 }
23429
23430 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'DataFormat___ne__'");
23431 return NULL;
23432 }
23433
23434
23435 static PyObject *_wrap_DataFormat_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23436 PyObject *resultobj;
23437 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23438 int arg2 ;
23439 PyObject * obj0 = 0 ;
23440 PyObject * obj1 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self",(char *) "format", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23447 {
23448 arg2 = (wxDataFormatId) SWIG_PyObj_AsInt(obj1);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 (arg1)->SetType((wxDataFormatId )arg2);
23454
23455 wxPyEndAllowThreads(__tstate);
23456 if (PyErr_Occurred()) SWIG_fail;
23457 }
23458 Py_INCREF(Py_None); resultobj = Py_None;
23459 return resultobj;
23460 fail:
23461 return NULL;
23462 }
23463
23464
23465 static PyObject *_wrap_DataFormat_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
23466 PyObject *resultobj;
23467 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23468 int result;
23469 PyObject * obj0 = 0 ;
23470 char *kwnames[] = {
23471 (char *) "self", NULL
23472 };
23473
23474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
23475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23476 {
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = (int)((wxDataFormat const *)arg1)->GetType();
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 resultobj = SWIG_PyObj_FromInt((int)result);
23484 return resultobj;
23485 fail:
23486 return NULL;
23487 }
23488
23489
23490 static PyObject *_wrap_DataFormat_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj;
23492 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23493 wxString result;
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 result = ((wxDataFormat const *)arg1)->GetId();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 {
23509 #if wxUSE_UNICODE
23510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23511 #else
23512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23513 #endif
23514 }
23515 return resultobj;
23516 fail:
23517 return NULL;
23518 }
23519
23520
23521 static PyObject *_wrap_DataFormat_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23522 PyObject *resultobj;
23523 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
23524 wxString *arg2 = 0 ;
23525 bool temp2 = False ;
23526 PyObject * obj0 = 0 ;
23527 PyObject * obj1 = 0 ;
23528 char *kwnames[] = {
23529 (char *) "self",(char *) "format", NULL
23530 };
23531
23532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
23533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23534 {
23535 arg2 = wxString_in_helper(obj1);
23536 if (arg2 == NULL) SWIG_fail;
23537 temp2 = True;
23538 }
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 (arg1)->SetId((wxString const &)*arg2);
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 Py_INCREF(Py_None); resultobj = Py_None;
23547 {
23548 if (temp2)
23549 delete arg2;
23550 }
23551 return resultobj;
23552 fail:
23553 {
23554 if (temp2)
23555 delete arg2;
23556 }
23557 return NULL;
23558 }
23559
23560
23561 static PyObject * DataFormat_swigregister(PyObject *self, PyObject *args) {
23562 PyObject *obj;
23563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23564 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
23565 Py_INCREF(obj);
23566 return Py_BuildValue((char *)"");
23567 }
23568 static int _wrap_FormatInvalid_set(PyObject *_val) {
23569 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
23570 return 1;
23571 }
23572
23573
23574 static PyObject *_wrap_FormatInvalid_get() {
23575 PyObject *pyobj;
23576
23577 pyobj = SWIG_NewPointerObj((void *) &wxFormatInvalid, SWIGTYPE_p_wxDataFormat, 0);
23578 return pyobj;
23579 }
23580
23581
23582 static PyObject *_wrap_delete_DataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxDataObject *arg1 = (wxDataObject *) 0 ;
23585 PyObject * obj0 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
23591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23592 {
23593 PyThreadState* __tstate = wxPyBeginAllowThreads();
23594 delete arg1;
23595
23596 wxPyEndAllowThreads(__tstate);
23597 if (PyErr_Occurred()) SWIG_fail;
23598 }
23599 Py_INCREF(Py_None); resultobj = Py_None;
23600 return resultobj;
23601 fail:
23602 return NULL;
23603 }
23604
23605
23606 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23607 PyObject *resultobj;
23608 wxDataObject *arg1 = (wxDataObject *) 0 ;
23609 int arg2 = (int) wxDataObject::Get ;
23610 SwigValueWrapper< wxDataFormat > result;
23611 PyObject * obj0 = 0 ;
23612 PyObject * obj1 = 0 ;
23613 char *kwnames[] = {
23614 (char *) "self",(char *) "dir", NULL
23615 };
23616
23617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
23618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23619 if (obj1) {
23620 {
23621 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23622 if (PyErr_Occurred()) SWIG_fail;
23623 }
23624 }
23625 {
23626 PyThreadState* __tstate = wxPyBeginAllowThreads();
23627 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
23628
23629 wxPyEndAllowThreads(__tstate);
23630 if (PyErr_Occurred()) SWIG_fail;
23631 }
23632 {
23633 wxDataFormat * resultptr;
23634 resultptr = new wxDataFormat((wxDataFormat &) result);
23635 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDataFormat, 1);
23636 }
23637 return resultobj;
23638 fail:
23639 return NULL;
23640 }
23641
23642
23643 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23644 PyObject *resultobj;
23645 wxDataObject *arg1 = (wxDataObject *) 0 ;
23646 int arg2 = (int) wxDataObject::Get ;
23647 size_t result;
23648 PyObject * obj0 = 0 ;
23649 PyObject * obj1 = 0 ;
23650 char *kwnames[] = {
23651 (char *) "self",(char *) "dir", NULL
23652 };
23653
23654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
23655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23656 if (obj1) {
23657 {
23658 arg2 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj1);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 }
23661 }
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23670 return resultobj;
23671 fail:
23672 return NULL;
23673 }
23674
23675
23676 static PyObject *_wrap_DataObject_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxDataObject *arg1 = (wxDataObject *) 0 ;
23679 wxDataFormat *arg2 = 0 ;
23680 int arg3 = (int) wxDataObject::Get ;
23681 bool result;
23682 PyObject * obj0 = 0 ;
23683 PyObject * obj1 = 0 ;
23684 PyObject * obj2 = 0 ;
23685 char *kwnames[] = {
23686 (char *) "self",(char *) "format",(char *) "dir", NULL
23687 };
23688
23689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
23690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23692 if (arg2 == NULL) {
23693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23694 }
23695 if (obj2) {
23696 {
23697 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23698 if (PyErr_Occurred()) SWIG_fail;
23699 }
23700 }
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = SWIG_PyObj_FromBool((bool)result);
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject *_wrap_DataObject_GetDataSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23716 PyObject *resultobj;
23717 wxDataObject *arg1 = (wxDataObject *) 0 ;
23718 wxDataFormat *arg2 = 0 ;
23719 size_t result;
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "format", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
23727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23729 if (arg2 == NULL) {
23730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23731 }
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23740 return resultobj;
23741 fail:
23742 return NULL;
23743 }
23744
23745
23746 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *self, PyObject *args, PyObject *kwargs) {
23747 PyObject *resultobj;
23748 wxDataObject *arg1 = (wxDataObject *) 0 ;
23749 wxDataFormat *arg2 = (wxDataFormat *) 0 ;
23750 int arg3 = (int) wxDataObject::Get ;
23751 PyObject * obj0 = 0 ;
23752 PyObject * obj1 = 0 ;
23753 PyObject * obj2 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self",(char *) "formats",(char *) "dir", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1,&obj2)) goto fail;
23759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23761 if (obj2) {
23762 {
23763 arg3 = (wxDataObject::Direction) SWIG_PyObj_AsInt(obj2);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 }
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 ((wxDataObject const *)arg1)->GetAllFormats(arg2,(wxDataObject::Direction )arg3);
23770
23771 wxPyEndAllowThreads(__tstate);
23772 if (PyErr_Occurred()) SWIG_fail;
23773 }
23774 Py_INCREF(Py_None); resultobj = Py_None;
23775 return resultobj;
23776 fail:
23777 return NULL;
23778 }
23779
23780
23781 static PyObject *_wrap_DataObject_GetDataHere(PyObject *self, PyObject *args, PyObject *kwargs) {
23782 PyObject *resultobj;
23783 wxDataObject *arg1 = (wxDataObject *) 0 ;
23784 wxDataFormat *arg2 = 0 ;
23785 void *arg3 = (void *) 0 ;
23786 bool result;
23787 PyObject * obj0 = 0 ;
23788 PyObject * obj1 = 0 ;
23789 PyObject * obj2 = 0 ;
23790 char *kwnames[] = {
23791 (char *) "self",(char *) "format",(char *) "buf", NULL
23792 };
23793
23794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_GetDataHere",kwnames,&obj0,&obj1,&obj2)) goto fail;
23795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23797 if (arg2 == NULL) {
23798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23799 }
23800 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23801 {
23802 PyThreadState* __tstate = wxPyBeginAllowThreads();
23803 result = (bool)((wxDataObject const *)arg1)->GetDataHere((wxDataFormat const &)*arg2,arg3);
23804
23805 wxPyEndAllowThreads(__tstate);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 }
23808 resultobj = SWIG_PyObj_FromBool((bool)result);
23809 return resultobj;
23810 fail:
23811 return NULL;
23812 }
23813
23814
23815 static PyObject *_wrap_DataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23816 PyObject *resultobj;
23817 wxDataObject *arg1 = (wxDataObject *) 0 ;
23818 wxDataFormat *arg2 = 0 ;
23819 size_t arg3 ;
23820 void *arg4 = (void *) 0 ;
23821 bool result;
23822 PyObject * obj0 = 0 ;
23823 PyObject * obj1 = 0 ;
23824 PyObject * obj2 = 0 ;
23825 PyObject * obj3 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23833 if (arg2 == NULL) {
23834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23835 }
23836 {
23837 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (bool)(arg1)->SetData((wxDataFormat const &)*arg2,arg3,(void const *)arg4);
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 resultobj = SWIG_PyObj_FromBool((bool)result);
23849 return resultobj;
23850 fail:
23851 return NULL;
23852 }
23853
23854
23855 static PyObject * DataObject_swigregister(PyObject *self, PyObject *args) {
23856 PyObject *obj;
23857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23858 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
23859 Py_INCREF(obj);
23860 return Py_BuildValue((char *)"");
23861 }
23862 static PyObject *_wrap_new_DataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
23865 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
23866 wxDataObjectSimple *result;
23867 PyObject * obj0 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "format", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
23873 if (obj0) {
23874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23875 if (arg1 == NULL) {
23876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23877 }
23878 }
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectSimple, 1);
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23894 PyObject *resultobj;
23895 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
23896 wxDataFormat *result;
23897 PyObject * obj0 = 0 ;
23898 char *kwnames[] = {
23899 (char *) "self", NULL
23900 };
23901
23902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
23903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 {
23907 wxDataFormat const &_result_ref = (arg1)->GetFormat();
23908 result = (wxDataFormat *) &_result_ref;
23909 }
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataFormat, 0);
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
23924 wxDataFormat *arg2 = 0 ;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927 char *kwnames[] = {
23928 (char *) "self",(char *) "format", NULL
23929 };
23930
23931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
23932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23934 if (arg2 == NULL) {
23935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23936 }
23937 {
23938 PyThreadState* __tstate = wxPyBeginAllowThreads();
23939 (arg1)->SetFormat((wxDataFormat const &)*arg2);
23940
23941 wxPyEndAllowThreads(__tstate);
23942 if (PyErr_Occurred()) SWIG_fail;
23943 }
23944 Py_INCREF(Py_None); resultobj = Py_None;
23945 return resultobj;
23946 fail:
23947 return NULL;
23948 }
23949
23950
23951 static PyObject * DataObjectSimple_swigregister(PyObject *self, PyObject *args) {
23952 PyObject *obj;
23953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23954 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
23955 Py_INCREF(obj);
23956 return Py_BuildValue((char *)"");
23957 }
23958 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
23961 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
23962 wxPyDataObjectSimple *result;
23963 PyObject * obj0 = 0 ;
23964 char *kwnames[] = {
23965 (char *) "format", NULL
23966 };
23967
23968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
23969 if (obj0) {
23970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23971 if (arg1 == NULL) {
23972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23973 }
23974 }
23975 {
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDataObjectSimple, 1);
23983 return resultobj;
23984 fail:
23985 return NULL;
23986 }
23987
23988
23989 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23990 PyObject *resultobj;
23991 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
23992 PyObject *arg2 = (PyObject *) 0 ;
23993 PyObject *arg3 = (PyObject *) 0 ;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996 PyObject * obj2 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "self",(char *) "_class", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDataObjectSimple,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24003 arg2 = obj1;
24004 arg3 = obj2;
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->_setCallbackInfo(arg2,arg3);
24008
24009 wxPyEndAllowThreads(__tstate);
24010 if (PyErr_Occurred()) SWIG_fail;
24011 }
24012 Py_INCREF(Py_None); resultobj = Py_None;
24013 return resultobj;
24014 fail:
24015 return NULL;
24016 }
24017
24018
24019 static PyObject * PyDataObjectSimple_swigregister(PyObject *self, PyObject *args) {
24020 PyObject *obj;
24021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
24023 Py_INCREF(obj);
24024 return Py_BuildValue((char *)"");
24025 }
24026 static PyObject *_wrap_new_DataObjectComposite(PyObject *self, PyObject *args, PyObject *kwargs) {
24027 PyObject *resultobj;
24028 wxDataObjectComposite *result;
24029 char *kwnames[] = {
24030 NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
24034 {
24035 PyThreadState* __tstate = wxPyBeginAllowThreads();
24036 result = (wxDataObjectComposite *)new wxDataObjectComposite();
24037
24038 wxPyEndAllowThreads(__tstate);
24039 if (PyErr_Occurred()) SWIG_fail;
24040 }
24041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObjectComposite, 1);
24042 return resultobj;
24043 fail:
24044 return NULL;
24045 }
24046
24047
24048 static PyObject *_wrap_DataObjectComposite_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
24049 PyObject *resultobj;
24050 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
24051 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
24052 int arg3 = (int) False ;
24053 PyObject * obj0 = 0 ;
24054 PyObject * obj1 = 0 ;
24055 PyObject * obj2 = 0 ;
24056 char *kwnames[] = {
24057 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24058 };
24059
24060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
24061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObjectComposite,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObjectSimple,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24063 if (obj2) {
24064 {
24065 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24066 if (PyErr_Occurred()) SWIG_fail;
24067 }
24068 }
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 (arg1)->Add(arg2,arg3);
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 Py_INCREF(Py_None); resultobj = Py_None;
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 static PyObject * DataObjectComposite_swigregister(PyObject *self, PyObject *args) {
24084 PyObject *obj;
24085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24086 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
24087 Py_INCREF(obj);
24088 return Py_BuildValue((char *)"");
24089 }
24090 static PyObject *_wrap_new_TextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24091 PyObject *resultobj;
24092 wxString const &arg1_defvalue = wxPyEmptyString ;
24093 wxString *arg1 = (wxString *) &arg1_defvalue ;
24094 wxTextDataObject *result;
24095 bool temp1 = False ;
24096 PyObject * obj0 = 0 ;
24097 char *kwnames[] = {
24098 (char *) "text", NULL
24099 };
24100
24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
24102 if (obj0) {
24103 {
24104 arg1 = wxString_in_helper(obj0);
24105 if (arg1 == NULL) SWIG_fail;
24106 temp1 = True;
24107 }
24108 }
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextDataObject, 1);
24117 {
24118 if (temp1)
24119 delete arg1;
24120 }
24121 return resultobj;
24122 fail:
24123 {
24124 if (temp1)
24125 delete arg1;
24126 }
24127 return NULL;
24128 }
24129
24130
24131 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24134 size_t result;
24135 PyObject * obj0 = 0 ;
24136 char *kwnames[] = {
24137 (char *) "self", NULL
24138 };
24139
24140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
24141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 result = (size_t)(arg1)->GetTextLength();
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24150 return resultobj;
24151 fail:
24152 return NULL;
24153 }
24154
24155
24156 static PyObject *_wrap_TextDataObject_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24157 PyObject *resultobj;
24158 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24159 wxString result;
24160 PyObject * obj0 = 0 ;
24161 char *kwnames[] = {
24162 (char *) "self", NULL
24163 };
24164
24165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
24166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (arg1)->GetText();
24170
24171 wxPyEndAllowThreads(__tstate);
24172 if (PyErr_Occurred()) SWIG_fail;
24173 }
24174 {
24175 #if wxUSE_UNICODE
24176 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24177 #else
24178 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24179 #endif
24180 }
24181 return resultobj;
24182 fail:
24183 return NULL;
24184 }
24185
24186
24187 static PyObject *_wrap_TextDataObject_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
24188 PyObject *resultobj;
24189 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
24190 wxString *arg2 = 0 ;
24191 bool temp2 = False ;
24192 PyObject * obj0 = 0 ;
24193 PyObject * obj1 = 0 ;
24194 char *kwnames[] = {
24195 (char *) "self",(char *) "text", NULL
24196 };
24197
24198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
24199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24200 {
24201 arg2 = wxString_in_helper(obj1);
24202 if (arg2 == NULL) SWIG_fail;
24203 temp2 = True;
24204 }
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 (arg1)->SetText((wxString const &)*arg2);
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 Py_INCREF(Py_None); resultobj = Py_None;
24213 {
24214 if (temp2)
24215 delete arg2;
24216 }
24217 return resultobj;
24218 fail:
24219 {
24220 if (temp2)
24221 delete arg2;
24222 }
24223 return NULL;
24224 }
24225
24226
24227 static PyObject * TextDataObject_swigregister(PyObject *self, PyObject *args) {
24228 PyObject *obj;
24229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24230 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
24231 Py_INCREF(obj);
24232 return Py_BuildValue((char *)"");
24233 }
24234 static PyObject *_wrap_new_PyTextDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24235 PyObject *resultobj;
24236 wxString const &arg1_defvalue = wxPyEmptyString ;
24237 wxString *arg1 = (wxString *) &arg1_defvalue ;
24238 wxPyTextDataObject *result;
24239 bool temp1 = False ;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "text", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
24246 if (obj0) {
24247 {
24248 arg1 = wxString_in_helper(obj0);
24249 if (arg1 == NULL) SWIG_fail;
24250 temp1 = True;
24251 }
24252 }
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDataObject, 1);
24261 {
24262 if (temp1)
24263 delete arg1;
24264 }
24265 return resultobj;
24266 fail:
24267 {
24268 if (temp1)
24269 delete arg1;
24270 }
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
24278 PyObject *arg2 = (PyObject *) 0 ;
24279 PyObject *arg3 = (PyObject *) 0 ;
24280 PyObject * obj0 = 0 ;
24281 PyObject * obj1 = 0 ;
24282 PyObject * obj2 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self",(char *) "self",(char *) "_class", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 arg2 = obj1;
24290 arg3 = obj2;
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 (arg1)->_setCallbackInfo(arg2,arg3);
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 Py_INCREF(Py_None); resultobj = Py_None;
24299 return resultobj;
24300 fail:
24301 return NULL;
24302 }
24303
24304
24305 static PyObject * PyTextDataObject_swigregister(PyObject *self, PyObject *args) {
24306 PyObject *obj;
24307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24308 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
24309 Py_INCREF(obj);
24310 return Py_BuildValue((char *)"");
24311 }
24312 static PyObject *_wrap_new_BitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj;
24314 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24315 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24316 wxBitmapDataObject *result;
24317 PyObject * obj0 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "bitmap", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
24323 if (obj0) {
24324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24325 if (arg1 == NULL) {
24326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24327 }
24328 }
24329 {
24330 PyThreadState* __tstate = wxPyBeginAllowThreads();
24331 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
24332
24333 wxPyEndAllowThreads(__tstate);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 }
24336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmapDataObject, 1);
24337 return resultobj;
24338 fail:
24339 return NULL;
24340 }
24341
24342
24343 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24344 PyObject *resultobj;
24345 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24346 wxBitmap result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
24361 {
24362 wxBitmap * resultptr;
24363 resultptr = new wxBitmap((wxBitmap &) result);
24364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
24365 }
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
24375 wxBitmap *arg2 = 0 ;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self",(char *) "bitmap", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
24383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 if (arg2 == NULL) {
24386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24387 }
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 (arg1)->SetBitmap((wxBitmap const &)*arg2);
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 Py_INCREF(Py_None); resultobj = Py_None;
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject * BitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24403 PyObject *obj;
24404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24405 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
24406 Py_INCREF(obj);
24407 return Py_BuildValue((char *)"");
24408 }
24409 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24410 PyObject *resultobj;
24411 wxBitmap const &arg1_defvalue = wxNullBitmap ;
24412 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
24413 wxPyBitmapDataObject *result;
24414 PyObject * obj0 = 0 ;
24415 char *kwnames[] = {
24416 (char *) "bitmap", NULL
24417 };
24418
24419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
24420 if (obj0) {
24421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24422 if (arg1 == NULL) {
24423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24424 }
24425 }
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyBitmapDataObject, 1);
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
24443 PyObject *arg2 = (PyObject *) 0 ;
24444 PyObject *arg3 = (PyObject *) 0 ;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 PyObject * obj2 = 0 ;
24448 char *kwnames[] = {
24449 (char *) "self",(char *) "self",(char *) "_class", NULL
24450 };
24451
24452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyBitmapDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24454 arg2 = obj1;
24455 arg3 = obj2;
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 (arg1)->_setCallbackInfo(arg2,arg3);
24459
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 Py_INCREF(Py_None); resultobj = Py_None;
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject * PyBitmapDataObject_swigregister(PyObject *self, PyObject *args) {
24471 PyObject *obj;
24472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24473 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
24474 Py_INCREF(obj);
24475 return Py_BuildValue((char *)"");
24476 }
24477 static PyObject *_wrap_new_FileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxFileDataObject *result;
24480 char *kwnames[] = {
24481 NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (wxFileDataObject *)new wxFileDataObject();
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDataObject, 1);
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
24502 wxArrayString *result;
24503 PyObject * obj0 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 {
24513 wxArrayString const &_result_ref = (arg1)->GetFilenames();
24514 result = (wxArrayString *) &_result_ref;
24515 }
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 {
24521 resultobj = wxArrayString2PyList_helper(*result);
24522 }
24523 return resultobj;
24524 fail:
24525 return NULL;
24526 }
24527
24528
24529 static PyObject * FileDataObject_swigregister(PyObject *self, PyObject *args) {
24530 PyObject *obj;
24531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24532 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
24533 Py_INCREF(obj);
24534 return Py_BuildValue((char *)"");
24535 }
24536 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24537 PyObject *resultobj;
24538 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
24539 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
24540 wxCustomDataObject *result;
24541 PyObject * obj0 = 0 ;
24542 char *kwnames[] = {
24543 (char *) "format", NULL
24544 };
24545
24546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CustomDataObject",kwnames,&obj0)) goto fail;
24547 if (obj0) {
24548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24549 if (arg1 == NULL) {
24550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24551 }
24552 }
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
24556
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCustomDataObject, 1);
24561 return resultobj;
24562 fail:
24563 return NULL;
24564 }
24565
24566
24567 static PyObject *_wrap_CustomDataObject_TakeData(PyObject *self, PyObject *args, PyObject *kwargs) {
24568 PyObject *resultobj;
24569 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24570 PyObject *arg2 = (PyObject *) 0 ;
24571 PyObject * obj0 = 0 ;
24572 PyObject * obj1 = 0 ;
24573 char *kwnames[] = {
24574 (char *) "self",(char *) "data", NULL
24575 };
24576
24577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_TakeData",kwnames,&obj0,&obj1)) goto fail;
24578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24579 arg2 = obj1;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 wxCustomDataObject_TakeData(arg1,arg2);
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 Py_INCREF(Py_None); resultobj = Py_None;
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_CustomDataObject_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24597 PyObject *arg2 = (PyObject *) 0 ;
24598 bool result;
24599 PyObject * obj0 = 0 ;
24600 PyObject * obj1 = 0 ;
24601 char *kwnames[] = {
24602 (char *) "self",(char *) "data", NULL
24603 };
24604
24605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
24606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24607 arg2 = obj1;
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 resultobj = SWIG_PyObj_FromBool((bool)result);
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24625 size_t result;
24626 PyObject * obj0 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = (size_t)(arg1)->GetSize();
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24641 return resultobj;
24642 fail:
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_CustomDataObject_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
24650 PyObject *result;
24651 PyObject * obj0 = 0 ;
24652 char *kwnames[] = {
24653 (char *) "self", NULL
24654 };
24655
24656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
24657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCustomDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 result = (PyObject *)wxCustomDataObject_GetData(arg1);
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 resultobj = result;
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject * CustomDataObject_swigregister(PyObject *self, PyObject *args) {
24673 PyObject *obj;
24674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24675 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
24676 Py_INCREF(obj);
24677 return Py_BuildValue((char *)"");
24678 }
24679 static PyObject *_wrap_new_URLDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj;
24681 wxURLDataObject *result;
24682 char *kwnames[] = {
24683 NULL
24684 };
24685
24686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 result = (wxURLDataObject *)new wxURLDataObject();
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxURLDataObject, 1);
24695 return resultobj;
24696 fail:
24697 return NULL;
24698 }
24699
24700
24701 static PyObject *_wrap_URLDataObject_GetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
24704 wxString result;
24705 PyObject * obj0 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
24711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = (arg1)->GetURL();
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 {
24720 #if wxUSE_UNICODE
24721 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24722 #else
24723 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24724 #endif
24725 }
24726 return resultobj;
24727 fail:
24728 return NULL;
24729 }
24730
24731
24732 static PyObject *_wrap_URLDataObject_SetURL(PyObject *self, PyObject *args, PyObject *kwargs) {
24733 PyObject *resultobj;
24734 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
24735 wxString *arg2 = 0 ;
24736 bool temp2 = False ;
24737 PyObject * obj0 = 0 ;
24738 PyObject * obj1 = 0 ;
24739 char *kwnames[] = {
24740 (char *) "self",(char *) "url", NULL
24741 };
24742
24743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
24744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxURLDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24745 {
24746 arg2 = wxString_in_helper(obj1);
24747 if (arg2 == NULL) SWIG_fail;
24748 temp2 = True;
24749 }
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->SetURL((wxString const &)*arg2);
24753
24754 wxPyEndAllowThreads(__tstate);
24755 if (PyErr_Occurred()) SWIG_fail;
24756 }
24757 Py_INCREF(Py_None); resultobj = Py_None;
24758 {
24759 if (temp2)
24760 delete arg2;
24761 }
24762 return resultobj;
24763 fail:
24764 {
24765 if (temp2)
24766 delete arg2;
24767 }
24768 return NULL;
24769 }
24770
24771
24772 static PyObject * URLDataObject_swigregister(PyObject *self, PyObject *args) {
24773 PyObject *obj;
24774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24775 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
24776 Py_INCREF(obj);
24777 return Py_BuildValue((char *)"");
24778 }
24779 static PyObject *_wrap_new_MetafileDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxMetafileDataObject *result;
24782 char *kwnames[] = {
24783 NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (wxMetafileDataObject *)new wxMetafileDataObject();
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMetafileDataObject, 1);
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 static PyObject * MetafileDataObject_swigregister(PyObject *self, PyObject *args) {
24802 PyObject *obj;
24803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24804 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
24805 Py_INCREF(obj);
24806 return Py_BuildValue((char *)"");
24807 }
24808 static PyObject *_wrap_IsDragResultOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj;
24810 int arg1 ;
24811 bool result;
24812 PyObject * obj0 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "res", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
24818 {
24819 arg1 = (wxDragResult) SWIG_PyObj_AsInt(obj0);
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 resultobj = SWIG_PyObj_FromBool((bool)result);
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 static PyObject *_wrap_new_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxWindow *arg1 = (wxWindow *) 0 ;
24839 wxIcon const &arg2_defvalue = wxNullIcon ;
24840 wxIcon *arg2 = (wxIcon *) &arg2_defvalue ;
24841 wxIcon const &arg3_defvalue = wxNullIcon ;
24842 wxIcon *arg3 = (wxIcon *) &arg3_defvalue ;
24843 wxIcon const &arg4_defvalue = wxNullIcon ;
24844 wxIcon *arg4 = (wxIcon *) &arg4_defvalue ;
24845 wxPyDropSource *result;
24846 PyObject * obj0 = 0 ;
24847 PyObject * obj1 = 0 ;
24848 PyObject * obj2 = 0 ;
24849 PyObject * obj3 = 0 ;
24850 char *kwnames[] = {
24851 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
24852 };
24853
24854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24856 if (obj1) {
24857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24858 if (arg2 == NULL) {
24859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24860 }
24861 }
24862 if (obj2) {
24863 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24864 if (arg3 == NULL) {
24865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24866 }
24867 }
24868 if (obj3) {
24869 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24870 if (arg4 == NULL) {
24871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24872 }
24873 }
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxIcon const &)*arg2,(wxIcon const &)*arg3,(wxIcon const &)*arg4);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropSource, 1);
24882 return resultobj;
24883 fail:
24884 return NULL;
24885 }
24886
24887
24888 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
24891 PyObject *arg2 = (PyObject *) 0 ;
24892 PyObject *arg3 = (PyObject *) 0 ;
24893 int arg4 ;
24894 PyObject * obj0 = 0 ;
24895 PyObject * obj1 = 0 ;
24896 PyObject * obj2 = 0 ;
24897 PyObject * obj3 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 arg2 = obj1;
24905 arg3 = obj2;
24906 {
24907 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 Py_INCREF(Py_None); resultobj = Py_None;
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_delete_DropSource(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
24927 PyObject * obj0 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 delete arg1;
24937
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 Py_INCREF(Py_None); resultobj = Py_None;
24942 return resultobj;
24943 fail:
24944 return NULL;
24945 }
24946
24947
24948 static PyObject *_wrap_DropSource_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24949 PyObject *resultobj;
24950 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
24951 wxDataObject *arg2 = 0 ;
24952 PyObject * obj0 = 0 ;
24953 PyObject * obj1 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self",(char *) "data", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24961 if (arg2 == NULL) {
24962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 (arg1)->SetData(*arg2);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
24972 return resultobj;
24973 fail:
24974 return NULL;
24975 }
24976
24977
24978 static PyObject *_wrap_DropSource_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj;
24980 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
24981 wxDataObject *result;
24982 PyObject * obj0 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self", NULL
24985 };
24986
24987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
24988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (wxDataObject *)(arg1)->GetDataObject();
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 static PyObject *_wrap_DropSource_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25006 int arg2 ;
25007 wxCursor *arg3 = 0 ;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 PyObject * obj2 = 0 ;
25011 char *kwnames[] = {
25012 (char *) "self",(char *) "res",(char *) "cursor", NULL
25013 };
25014
25015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
25016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 {
25018 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25022 if (arg3 == NULL) {
25023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25024 }
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 Py_INCREF(Py_None); resultobj = Py_None;
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25042 int arg2 = (int) wxDrag_CopyOnly ;
25043 int result;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 char *kwnames[] = {
25047 (char *) "self",(char *) "flags", NULL
25048 };
25049
25050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
25051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25052 if (obj1) {
25053 {
25054 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25055 if (PyErr_Occurred()) SWIG_fail;
25056 }
25057 }
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (int)(arg1)->DoDragDrop(arg2);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 resultobj = SWIG_PyObj_FromInt((int)result);
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *self, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
25075 int arg2 ;
25076 bool result;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self",(char *) "effect", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropSource,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25085 {
25086 arg2 = (wxDragResult) SWIG_PyObj_AsInt(obj1);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 resultobj = SWIG_PyObj_FromBool((bool)result);
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 static PyObject * DropSource_swigregister(PyObject *self, PyObject *args) {
25104 PyObject *obj;
25105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25106 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
25107 Py_INCREF(obj);
25108 return Py_BuildValue((char *)"");
25109 }
25110 static PyObject *_wrap_new_PyDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj;
25112 wxDataObject *arg1 = (wxDataObject *) NULL ;
25113 wxPyDropTarget *result;
25114 PyObject * obj0 = 0 ;
25115 char *kwnames[] = {
25116 (char *) "dataObject", NULL
25117 };
25118
25119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDropTarget",kwnames,&obj0)) goto fail;
25120 if (obj0) {
25121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25122 }
25123 {
25124 PyThreadState* __tstate = wxPyBeginAllowThreads();
25125 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
25126
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyDropTarget, 1);
25131 return resultobj;
25132 fail:
25133 return NULL;
25134 }
25135
25136
25137 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25138 PyObject *resultobj;
25139 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25140 PyObject *arg2 = (PyObject *) 0 ;
25141 PyObject *arg3 = (PyObject *) 0 ;
25142 PyObject * obj0 = 0 ;
25143 PyObject * obj1 = 0 ;
25144 PyObject * obj2 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self",(char *) "self",(char *) "_class", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25151 arg2 = obj1;
25152 arg3 = obj2;
25153 {
25154 PyThreadState* __tstate = wxPyBeginAllowThreads();
25155 (arg1)->_setCallbackInfo(arg2,arg3);
25156
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 Py_INCREF(Py_None); resultobj = Py_None;
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 static PyObject *_wrap_delete_DropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
25176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 delete arg1;
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 Py_INCREF(Py_None); resultobj = Py_None;
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj;
25193 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25194 wxDataObject *result;
25195 PyObject * obj0 = 0 ;
25196 char *kwnames[] = {
25197 (char *) "self", NULL
25198 };
25199
25200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
25201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = (wxDataObject *)(arg1)->GetDataObject();
25205
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDataObject, 0);
25210 return resultobj;
25211 fail:
25212 return NULL;
25213 }
25214
25215
25216 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *self, PyObject *args, PyObject *kwargs) {
25217 PyObject *resultobj;
25218 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25219 wxDataObject *arg2 = (wxDataObject *) 0 ;
25220 PyObject * obj0 = 0 ;
25221 PyObject * obj1 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "self",(char *) "dataObject", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
25227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
25229 {
25230 PyThreadState* __tstate = wxPyBeginAllowThreads();
25231 (arg1)->SetDataObject(arg2);
25232
25233 wxPyEndAllowThreads(__tstate);
25234 if (PyErr_Occurred()) SWIG_fail;
25235 }
25236 Py_INCREF(Py_None); resultobj = Py_None;
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25246 int arg2 ;
25247 int arg3 ;
25248 int arg4 ;
25249 int result;
25250 PyObject * obj0 = 0 ;
25251 PyObject * obj1 = 0 ;
25252 PyObject * obj2 = 0 ;
25253 PyObject * obj3 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25260 {
25261 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 {
25265 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 {
25269 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25270 if (PyErr_Occurred()) SWIG_fail;
25271 }
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25275
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = SWIG_PyObj_FromInt((int)result);
25280 return resultobj;
25281 fail:
25282 return NULL;
25283 }
25284
25285
25286 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25287 PyObject *resultobj;
25288 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25289 int arg2 ;
25290 int arg3 ;
25291 int arg4 ;
25292 int result;
25293 PyObject * obj0 = 0 ;
25294 PyObject * obj1 = 0 ;
25295 PyObject * obj2 = 0 ;
25296 PyObject * obj3 = 0 ;
25297 char *kwnames[] = {
25298 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25299 };
25300
25301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25303 {
25304 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 {
25308 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25309 if (PyErr_Occurred()) SWIG_fail;
25310 }
25311 {
25312 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 resultobj = SWIG_PyObj_FromInt((int)result);
25323 return resultobj;
25324 fail:
25325 return NULL;
25326 }
25327
25328
25329 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj;
25331 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25332 PyObject * obj0 = 0 ;
25333 char *kwnames[] = {
25334 (char *) "self", NULL
25335 };
25336
25337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->base_OnLeave();
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 Py_INCREF(Py_None); resultobj = Py_None;
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25356 int arg2 ;
25357 int arg3 ;
25358 bool result;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 PyObject * obj2 = 0 ;
25362 char *kwnames[] = {
25363 (char *) "self",(char *) "x",(char *) "y", NULL
25364 };
25365
25366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25368 {
25369 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25370 if (PyErr_Occurred()) SWIG_fail;
25371 }
25372 {
25373 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_PyObj_FromBool((bool)result);
25384 return resultobj;
25385 fail:
25386 return NULL;
25387 }
25388
25389
25390 static PyObject *_wrap_DropTarget_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
25391 PyObject *resultobj;
25392 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
25393 bool result;
25394 PyObject * obj0 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 result = (bool)(arg1)->GetData();
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_PyObj_FromBool((bool)result);
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject * DropTarget_swigregister(PyObject *self, PyObject *args) {
25416 PyObject *obj;
25417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25418 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
25419 Py_INCREF(obj);
25420 return Py_BuildValue((char *)"");
25421 }
25422 static PyObject *_wrap_new_TextDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25423 PyObject *resultobj;
25424 wxPyTextDropTarget *result;
25425 char *kwnames[] = {
25426 NULL
25427 };
25428
25429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTextDropTarget, 1);
25438 return resultobj;
25439 fail:
25440 return NULL;
25441 }
25442
25443
25444 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25445 PyObject *resultobj;
25446 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25447 PyObject *arg2 = (PyObject *) 0 ;
25448 PyObject *arg3 = (PyObject *) 0 ;
25449 PyObject * obj0 = 0 ;
25450 PyObject * obj1 = 0 ;
25451 PyObject * obj2 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self",(char *) "self",(char *) "_class", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25458 arg2 = obj1;
25459 arg3 = obj2;
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->_setCallbackInfo(arg2,arg3);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 Py_INCREF(Py_None); resultobj = Py_None;
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25477 int arg2 ;
25478 int arg3 ;
25479 int arg4 ;
25480 int result;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 PyObject * obj2 = 0 ;
25484 PyObject * obj3 = 0 ;
25485 char *kwnames[] = {
25486 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25487 };
25488
25489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25491 {
25492 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25497 if (PyErr_Occurred()) SWIG_fail;
25498 }
25499 {
25500 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25501 if (PyErr_Occurred()) SWIG_fail;
25502 }
25503 {
25504 PyThreadState* __tstate = wxPyBeginAllowThreads();
25505 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25506
25507 wxPyEndAllowThreads(__tstate);
25508 if (PyErr_Occurred()) SWIG_fail;
25509 }
25510 resultobj = SWIG_PyObj_FromInt((int)result);
25511 return resultobj;
25512 fail:
25513 return NULL;
25514 }
25515
25516
25517 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25518 PyObject *resultobj;
25519 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25520 int arg2 ;
25521 int arg3 ;
25522 int arg4 ;
25523 int result;
25524 PyObject * obj0 = 0 ;
25525 PyObject * obj1 = 0 ;
25526 PyObject * obj2 = 0 ;
25527 PyObject * obj3 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25534 {
25535 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 {
25539 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 {
25543 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25544 if (PyErr_Occurred()) SWIG_fail;
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25549
25550 wxPyEndAllowThreads(__tstate);
25551 if (PyErr_Occurred()) SWIG_fail;
25552 }
25553 resultobj = SWIG_PyObj_FromInt((int)result);
25554 return resultobj;
25555 fail:
25556 return NULL;
25557 }
25558
25559
25560 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25561 PyObject *resultobj;
25562 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25563 PyObject * obj0 = 0 ;
25564 char *kwnames[] = {
25565 (char *) "self", NULL
25566 };
25567
25568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 (arg1)->base_OnLeave();
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 Py_INCREF(Py_None); resultobj = Py_None;
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj;
25586 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25587 int arg2 ;
25588 int arg3 ;
25589 bool result;
25590 PyObject * obj0 = 0 ;
25591 PyObject * obj1 = 0 ;
25592 PyObject * obj2 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self",(char *) "x",(char *) "y", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25599 {
25600 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 {
25604 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 {
25608 PyThreadState* __tstate = wxPyBeginAllowThreads();
25609 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25610
25611 wxPyEndAllowThreads(__tstate);
25612 if (PyErr_Occurred()) SWIG_fail;
25613 }
25614 resultobj = SWIG_PyObj_FromBool((bool)result);
25615 return resultobj;
25616 fail:
25617 return NULL;
25618 }
25619
25620
25621 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25622 PyObject *resultobj;
25623 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
25624 int arg2 ;
25625 int arg3 ;
25626 int arg4 ;
25627 int result;
25628 PyObject * obj0 = 0 ;
25629 PyObject * obj1 = 0 ;
25630 PyObject * obj2 = 0 ;
25631 PyObject * obj3 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTextDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25638 {
25639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25640 if (PyErr_Occurred()) SWIG_fail;
25641 }
25642 {
25643 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25644 if (PyErr_Occurred()) SWIG_fail;
25645 }
25646 {
25647 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_PyObj_FromInt((int)result);
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject * TextDropTarget_swigregister(PyObject *self, PyObject *args) {
25665 PyObject *obj;
25666 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
25668 Py_INCREF(obj);
25669 return Py_BuildValue((char *)"");
25670 }
25671 static PyObject *_wrap_new_FileDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25672 PyObject *resultobj;
25673 wxPyFileDropTarget *result;
25674 char *kwnames[] = {
25675 NULL
25676 };
25677
25678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
25682
25683 wxPyEndAllowThreads(__tstate);
25684 if (PyErr_Occurred()) SWIG_fail;
25685 }
25686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyFileDropTarget, 1);
25687 return resultobj;
25688 fail:
25689 return NULL;
25690 }
25691
25692
25693 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25694 PyObject *resultobj;
25695 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25696 PyObject *arg2 = (PyObject *) 0 ;
25697 PyObject *arg3 = (PyObject *) 0 ;
25698 PyObject * obj0 = 0 ;
25699 PyObject * obj1 = 0 ;
25700 PyObject * obj2 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "self",(char *) "_class", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25707 arg2 = obj1;
25708 arg3 = obj2;
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 (arg1)->_setCallbackInfo(arg2,arg3);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 Py_INCREF(Py_None); resultobj = Py_None;
25717 return resultobj;
25718 fail:
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *self, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25726 int arg2 ;
25727 int arg3 ;
25728 int arg4 ;
25729 int result;
25730 PyObject * obj0 = 0 ;
25731 PyObject * obj1 = 0 ;
25732 PyObject * obj2 = 0 ;
25733 PyObject * obj3 = 0 ;
25734 char *kwnames[] = {
25735 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25736 };
25737
25738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25740 {
25741 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 {
25745 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 {
25753 PyThreadState* __tstate = wxPyBeginAllowThreads();
25754 result = (int)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
25755
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 resultobj = SWIG_PyObj_FromInt((int)result);
25760 return resultobj;
25761 fail:
25762 return NULL;
25763 }
25764
25765
25766 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
25767 PyObject *resultobj;
25768 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25769 int arg2 ;
25770 int arg3 ;
25771 int arg4 ;
25772 int result;
25773 PyObject * obj0 = 0 ;
25774 PyObject * obj1 = 0 ;
25775 PyObject * obj2 = 0 ;
25776 PyObject * obj3 = 0 ;
25777 char *kwnames[] = {
25778 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25779 };
25780
25781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25783 {
25784 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 {
25788 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25789 if (PyErr_Occurred()) SWIG_fail;
25790 }
25791 {
25792 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 {
25796 PyThreadState* __tstate = wxPyBeginAllowThreads();
25797 result = (int)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
25798
25799 wxPyEndAllowThreads(__tstate);
25800 if (PyErr_Occurred()) SWIG_fail;
25801 }
25802 resultobj = SWIG_PyObj_FromInt((int)result);
25803 return resultobj;
25804 fail:
25805 return NULL;
25806 }
25807
25808
25809 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *self, PyObject *args, PyObject *kwargs) {
25810 PyObject *resultobj;
25811 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25812 PyObject * obj0 = 0 ;
25813 char *kwnames[] = {
25814 (char *) "self", NULL
25815 };
25816
25817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
25818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->base_OnLeave();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *self, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25836 int arg2 ;
25837 int arg3 ;
25838 bool result;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "x",(char *) "y", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25848 {
25849 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25850 if (PyErr_Occurred()) SWIG_fail;
25851 }
25852 {
25853 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
25859
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 resultobj = SWIG_PyObj_FromBool((bool)result);
25864 return resultobj;
25865 fail:
25866 return NULL;
25867 }
25868
25869
25870 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *self, PyObject *args, PyObject *kwargs) {
25871 PyObject *resultobj;
25872 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
25873 int arg2 ;
25874 int arg3 ;
25875 int arg4 ;
25876 int result;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 PyObject * obj3 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyFileDropTarget,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25887 {
25888 arg2 = (int) SWIG_PyObj_AsInt(obj1);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 {
25892 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 {
25896 arg4 = (wxDragResult) SWIG_PyObj_AsInt(obj3);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (int)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_PyObj_FromInt((int)result);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject * FileDropTarget_swigregister(PyObject *self, PyObject *args) {
25914 PyObject *obj;
25915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25916 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
25917 Py_INCREF(obj);
25918 return Py_BuildValue((char *)"");
25919 }
25920 static PyObject *_wrap_new_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxClipboard *result;
25923 char *kwnames[] = {
25924 NULL
25925 };
25926
25927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 result = (wxClipboard *)new wxClipboard();
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboard, 1);
25936 return resultobj;
25937 fail:
25938 return NULL;
25939 }
25940
25941
25942 static PyObject *_wrap_delete_Clipboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj;
25944 wxClipboard *arg1 = (wxClipboard *) 0 ;
25945 PyObject * obj0 = 0 ;
25946 char *kwnames[] = {
25947 (char *) "self", NULL
25948 };
25949
25950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
25951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25952 {
25953 PyThreadState* __tstate = wxPyBeginAllowThreads();
25954 delete arg1;
25955
25956 wxPyEndAllowThreads(__tstate);
25957 if (PyErr_Occurred()) SWIG_fail;
25958 }
25959 Py_INCREF(Py_None); resultobj = Py_None;
25960 return resultobj;
25961 fail:
25962 return NULL;
25963 }
25964
25965
25966 static PyObject *_wrap_Clipboard_Open(PyObject *self, PyObject *args, PyObject *kwargs) {
25967 PyObject *resultobj;
25968 wxClipboard *arg1 = (wxClipboard *) 0 ;
25969 bool result;
25970 PyObject * obj0 = 0 ;
25971 char *kwnames[] = {
25972 (char *) "self", NULL
25973 };
25974
25975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
25976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 result = (bool)(arg1)->Open();
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 resultobj = SWIG_PyObj_FromBool((bool)result);
25985 return resultobj;
25986 fail:
25987 return NULL;
25988 }
25989
25990
25991 static PyObject *_wrap_Clipboard_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxClipboard *arg1 = (wxClipboard *) 0 ;
25994 PyObject * obj0 = 0 ;
25995 char *kwnames[] = {
25996 (char *) "self", NULL
25997 };
25998
25999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
26000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26001 {
26002 PyThreadState* __tstate = wxPyBeginAllowThreads();
26003 (arg1)->Close();
26004
26005 wxPyEndAllowThreads(__tstate);
26006 if (PyErr_Occurred()) SWIG_fail;
26007 }
26008 Py_INCREF(Py_None); resultobj = Py_None;
26009 return resultobj;
26010 fail:
26011 return NULL;
26012 }
26013
26014
26015 static PyObject *_wrap_Clipboard_IsOpened(PyObject *self, PyObject *args, PyObject *kwargs) {
26016 PyObject *resultobj;
26017 wxClipboard *arg1 = (wxClipboard *) 0 ;
26018 bool result;
26019 PyObject * obj0 = 0 ;
26020 char *kwnames[] = {
26021 (char *) "self", NULL
26022 };
26023
26024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
26025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26026 {
26027 PyThreadState* __tstate = wxPyBeginAllowThreads();
26028 result = (bool)((wxClipboard const *)arg1)->IsOpened();
26029
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 resultobj = SWIG_PyObj_FromBool((bool)result);
26034 return resultobj;
26035 fail:
26036 return NULL;
26037 }
26038
26039
26040 static PyObject *_wrap_Clipboard_AddData(PyObject *self, PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj;
26042 wxClipboard *arg1 = (wxClipboard *) 0 ;
26043 wxDataObject *arg2 = (wxDataObject *) 0 ;
26044 bool result;
26045 PyObject * obj0 = 0 ;
26046 PyObject * obj1 = 0 ;
26047 char *kwnames[] = {
26048 (char *) "self",(char *) "data", NULL
26049 };
26050
26051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
26052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26053 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (bool)(arg1)->AddData(arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 resultobj = SWIG_PyObj_FromBool((bool)result);
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject *_wrap_Clipboard_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26069 PyObject *resultobj;
26070 wxClipboard *arg1 = (wxClipboard *) 0 ;
26071 wxDataObject *arg2 = (wxDataObject *) 0 ;
26072 bool result;
26073 PyObject * obj0 = 0 ;
26074 PyObject * obj1 = 0 ;
26075 char *kwnames[] = {
26076 (char *) "self",(char *) "data", NULL
26077 };
26078
26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
26080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
26082 {
26083 PyThreadState* __tstate = wxPyBeginAllowThreads();
26084 result = (bool)(arg1)->SetData(arg2);
26085
26086 wxPyEndAllowThreads(__tstate);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 }
26089 resultobj = SWIG_PyObj_FromBool((bool)result);
26090 return resultobj;
26091 fail:
26092 return NULL;
26093 }
26094
26095
26096 static PyObject *_wrap_Clipboard_IsSupported(PyObject *self, PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj;
26098 wxClipboard *arg1 = (wxClipboard *) 0 ;
26099 wxDataFormat *arg2 = 0 ;
26100 bool result;
26101 PyObject * obj0 = 0 ;
26102 PyObject * obj1 = 0 ;
26103 char *kwnames[] = {
26104 (char *) "self",(char *) "format", NULL
26105 };
26106
26107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
26108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataFormat,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26110 if (arg2 == NULL) {
26111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 resultobj = SWIG_PyObj_FromBool((bool)result);
26121 return resultobj;
26122 fail:
26123 return NULL;
26124 }
26125
26126
26127 static PyObject *_wrap_Clipboard_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxClipboard *arg1 = (wxClipboard *) 0 ;
26130 wxDataObject *arg2 = 0 ;
26131 bool result;
26132 PyObject * obj0 = 0 ;
26133 PyObject * obj1 = 0 ;
26134 char *kwnames[] = {
26135 (char *) "self",(char *) "data", NULL
26136 };
26137
26138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
26139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDataObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26141 if (arg2 == NULL) {
26142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26143 }
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 result = (bool)(arg1)->GetData(*arg2);
26147
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 resultobj = SWIG_PyObj_FromBool((bool)result);
26152 return resultobj;
26153 fail:
26154 return NULL;
26155 }
26156
26157
26158 static PyObject *_wrap_Clipboard_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
26159 PyObject *resultobj;
26160 wxClipboard *arg1 = (wxClipboard *) 0 ;
26161 PyObject * obj0 = 0 ;
26162 char *kwnames[] = {
26163 (char *) "self", NULL
26164 };
26165
26166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
26167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 (arg1)->Clear();
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 Py_INCREF(Py_None); resultobj = Py_None;
26176 return resultobj;
26177 fail:
26178 return NULL;
26179 }
26180
26181
26182 static PyObject *_wrap_Clipboard_Flush(PyObject *self, PyObject *args, PyObject *kwargs) {
26183 PyObject *resultobj;
26184 wxClipboard *arg1 = (wxClipboard *) 0 ;
26185 bool result;
26186 PyObject * obj0 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "self", NULL
26189 };
26190
26191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
26192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26193 {
26194 PyThreadState* __tstate = wxPyBeginAllowThreads();
26195 result = (bool)(arg1)->Flush();
26196
26197 wxPyEndAllowThreads(__tstate);
26198 if (PyErr_Occurred()) SWIG_fail;
26199 }
26200 resultobj = SWIG_PyObj_FromBool((bool)result);
26201 return resultobj;
26202 fail:
26203 return NULL;
26204 }
26205
26206
26207 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26208 PyObject *resultobj;
26209 wxClipboard *arg1 = (wxClipboard *) 0 ;
26210 bool arg2 = (bool) False ;
26211 PyObject * obj0 = 0 ;
26212 PyObject * obj1 = 0 ;
26213 char *kwnames[] = {
26214 (char *) "self",(char *) "primary", NULL
26215 };
26216
26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
26218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26219 if (obj1) {
26220 {
26221 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 }
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 (arg1)->UsePrimarySelection(arg2);
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 Py_INCREF(Py_None); resultobj = Py_None;
26233 return resultobj;
26234 fail:
26235 return NULL;
26236 }
26237
26238
26239 static PyObject * Clipboard_swigregister(PyObject *self, PyObject *args) {
26240 PyObject *obj;
26241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26242 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
26243 Py_INCREF(obj);
26244 return Py_BuildValue((char *)"");
26245 }
26246 static int _wrap_TheClipboard_set(PyObject *_val) {
26247 PyErr_SetString(PyExc_TypeError,"Variable TheClipboard is read-only.");
26248 return 1;
26249 }
26250
26251
26252 static PyObject *_wrap_TheClipboard_get() {
26253 PyObject *pyobj;
26254
26255 pyobj = SWIG_NewPointerObj((void *) wxTheClipboard, SWIGTYPE_p_wxClipboard, 0);
26256 return pyobj;
26257 }
26258
26259
26260 static PyObject *_wrap_new_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26261 PyObject *resultobj;
26262 wxClipboard *arg1 = (wxClipboard *) NULL ;
26263 wxClipboardLocker *result;
26264 PyObject * obj0 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "clipboard", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
26270 if (obj0) {
26271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboard,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26272 }
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxClipboardLocker, 1);
26281 return resultobj;
26282 fail:
26283 return NULL;
26284 }
26285
26286
26287 static PyObject *_wrap_delete_ClipboardLocker(PyObject *self, PyObject *args, PyObject *kwargs) {
26288 PyObject *resultobj;
26289 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26290 PyObject * obj0 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
26296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26297 {
26298 PyThreadState* __tstate = wxPyBeginAllowThreads();
26299 delete arg1;
26300
26301 wxPyEndAllowThreads(__tstate);
26302 if (PyErr_Occurred()) SWIG_fail;
26303 }
26304 Py_INCREF(Py_None); resultobj = Py_None;
26305 return resultobj;
26306 fail:
26307 return NULL;
26308 }
26309
26310
26311 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *self, PyObject *args, PyObject *kwargs) {
26312 PyObject *resultobj;
26313 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
26314 bool result;
26315 PyObject * obj0 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
26321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxClipboardLocker,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (bool)wxClipboardLocker___nonzero__(arg1);
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
26329 resultobj = SWIG_PyObj_FromBool((bool)result);
26330 return resultobj;
26331 fail:
26332 return NULL;
26333 }
26334
26335
26336 static PyObject * ClipboardLocker_swigregister(PyObject *self, PyObject *args) {
26337 PyObject *obj;
26338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26339 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
26340 Py_INCREF(obj);
26341 return Py_BuildValue((char *)"");
26342 }
26343 static PyMethodDef SwigMethods[] = {
26344 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS },
26351 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS },
26358 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"Usleep", (PyCFunction) _wrap_Usleep, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS },
26418 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS },
26426 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS },
26442 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS },
26447 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS },
26450 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS },
26453 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS },
26459 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS },
26473 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS },
26479 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS },
26485 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS },
26488 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS },
26501 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS },
26504 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS },
26505 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS },
26508 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS },
26535 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS },
26537 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS },
26539 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS },
26541 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS },
26548 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS },
26554 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS },
26567 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS },
26572 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS },
26575 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS },
26592 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS },
26600 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS },
26646 { (char *)"JoystickEvent_m_pos_set", (PyCFunction) _wrap_JoystickEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"JoystickEvent_m_pos_get", (PyCFunction) _wrap_JoystickEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction) _wrap_JoystickEvent_m_zPosition_set, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction) _wrap_JoystickEvent_m_zPosition_get, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_set, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction) _wrap_JoystickEvent_m_buttonChange_get, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction) _wrap_JoystickEvent_m_buttonState_set, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction) _wrap_JoystickEvent_m_buttonState_get, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction) _wrap_JoystickEvent_m_joyStick_set, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction) _wrap_JoystickEvent_m_joyStick_get, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS },
26674 { (char *)"new_Wave", (PyCFunction) _wrap_new_Wave, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"new_WaveData", (PyCFunction) _wrap_new_WaveData, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"delete_Wave", (PyCFunction) _wrap_delete_Wave, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"Wave_IsOk", (PyCFunction) _wrap_Wave_IsOk, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"Wave_Play", (PyCFunction) _wrap_Wave_Play, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"Wave_swigregister", Wave_swigregister, METH_VARARGS },
26680 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS },
26696 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS },
26712 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS },
26726 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS },
26735 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS },
26778 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS },
26782 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS },
26785 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS },
26788 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS },
26880 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS },
26881 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS },
26882 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS },
26883 { (char *)"DateTime___lt__", _wrap_DateTime___lt__, METH_VARARGS },
26884 { (char *)"DateTime___le__", _wrap_DateTime___le__, METH_VARARGS },
26885 { (char *)"DateTime___gt__", _wrap_DateTime___gt__, METH_VARARGS },
26886 { (char *)"DateTime___ge__", _wrap_DateTime___ge__, METH_VARARGS },
26887 { (char *)"DateTime___eq__", _wrap_DateTime___eq__, METH_VARARGS },
26888 { (char *)"DateTime___ne__", _wrap_DateTime___ne__, METH_VARARGS },
26889 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS },
26900 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS },
26945 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS },
26979 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS },
26987 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS },
26988 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS },
26993 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS },
27002 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS },
27006 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS },
27009 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS },
27012 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS },
27017 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS },
27020 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS },
27024 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS },
27027 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS },
27030 { (char *)"new_CustomDataObject", (PyCFunction) _wrap_new_CustomDataObject, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"CustomDataObject_TakeData", (PyCFunction) _wrap_CustomDataObject_TakeData, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS },
27036 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS },
27040 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS },
27042 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS },
27052 { (char *)"new_PyDropTarget", (PyCFunction) _wrap_new_PyDropTarget, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS },
27063 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS },
27071 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS },
27079 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS },
27092 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS },
27096 { NULL, NULL }
27097 };
27098
27099
27100 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27101
27102 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27104 }
27105 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27106 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27107 }
27108 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27109 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27110 }
27111 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27112 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27113 }
27114 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27115 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27116 }
27117 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27118 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27119 }
27120 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
27121 return (void *)((wxEvent *) ((wxTimerEvent *) x));
27122 }
27123 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27124 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27125 }
27126 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27128 }
27129 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27130 return (void *)((wxEvent *) ((wxPyEvent *) x));
27131 }
27132 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27134 }
27135 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
27136 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
27137 }
27138 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27139 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27140 }
27141 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27143 }
27144 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27145 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27146 }
27147 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27148 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27149 }
27150 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27151 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27152 }
27153 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27154 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27155 }
27156 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27157 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27158 }
27159 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27160 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27161 }
27162 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27163 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27164 }
27165 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27166 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27167 }
27168 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27169 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27170 }
27171 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27172 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27173 }
27174 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27175 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27176 }
27177 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27178 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27179 }
27180 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27181 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27182 }
27183 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27184 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27185 }
27186 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27187 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27188 }
27189 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27191 }
27192 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
27193 return (void *)((wxEvent *) ((wxProcessEvent *) x));
27194 }
27195 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27196 return (void *)((wxEvent *) ((wxShowEvent *) x));
27197 }
27198 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27199 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27200 }
27201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27202 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27203 }
27204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27205 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27206 }
27207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27208 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27209 }
27210 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27211 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27212 }
27213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27214 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27215 }
27216 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
27217 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
27218 }
27219 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
27220 return (void *)((wxConfigBase *) ((wxConfig *) x));
27221 }
27222 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
27223 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27224 }
27225 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
27226 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
27227 }
27228 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
27229 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
27230 }
27231 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
27232 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27233 }
27234 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
27235 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
27236 }
27237 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
27238 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
27239 }
27240 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
27241 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
27242 }
27243 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
27244 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27245 }
27246 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
27247 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27248 }
27249 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
27250 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
27251 }
27252 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
27253 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
27254 }
27255 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
27256 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
27257 }
27258 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
27259 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27260 }
27261 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
27262 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
27263 }
27264 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
27265 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
27266 }
27267 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27268 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
27269 }
27270 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
27271 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
27272 }
27273 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27274 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
27275 }
27276 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
27277 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
27278 }
27279 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
27280 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
27281 }
27282 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
27283 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
27284 }
27285 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
27286 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
27287 }
27288 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27290 }
27291 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27292 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27293 }
27294 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27296 }
27297 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27298 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27299 }
27300 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
27301 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
27302 }
27303 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27304 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27305 }
27306 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27307 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27308 }
27309 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27310 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27311 }
27312 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27313 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27314 }
27315 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
27316 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
27317 }
27318 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
27319 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
27320 }
27321 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27322 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27323 }
27324 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27325 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27326 }
27327 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27328 return (void *)((wxObject *) ((wxSizerItem *) x));
27329 }
27330 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27331 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27332 }
27333 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27334 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27335 }
27336 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27337 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27338 }
27339 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27340 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27341 }
27342 static void *_p_wxSizerTo_p_wxObject(void *x) {
27343 return (void *)((wxObject *) ((wxSizer *) x));
27344 }
27345 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27346 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27347 }
27348 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
27349 return (void *)((wxObject *) ((wxFileHistory *) x));
27350 }
27351 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27353 }
27354 static void *_p_wxEventTo_p_wxObject(void *x) {
27355 return (void *)((wxObject *) ((wxEvent *) x));
27356 }
27357 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27358 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27359 }
27360 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27361 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27362 }
27363 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27364 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27365 }
27366 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27367 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27368 }
27369 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27370 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27371 }
27372 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27373 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27374 }
27375 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27376 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27377 }
27378 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27379 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27380 }
27381 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27382 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27383 }
27384 static void *_p_wxControlTo_p_wxObject(void *x) {
27385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27386 }
27387 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27388 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27389 }
27390 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
27391 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
27392 }
27393 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27394 return (void *)((wxObject *) ((wxFSFile *) x));
27395 }
27396 static void *_p_wxClipboardTo_p_wxObject(void *x) {
27397 return (void *)((wxObject *) ((wxClipboard *) x));
27398 }
27399 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27400 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27401 }
27402 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27403 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27404 }
27405 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27407 }
27408 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27409 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27410 }
27411 static void *_p_wxToolTipTo_p_wxObject(void *x) {
27412 return (void *)((wxObject *) ((wxToolTip *) x));
27413 }
27414 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27415 return (void *)((wxObject *) ((wxMenuItem *) x));
27416 }
27417 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27418 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27419 }
27420 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27422 }
27423 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27424 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27425 }
27426 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27427 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27428 }
27429 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27430 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27431 }
27432 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27433 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27434 }
27435 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27436 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27437 }
27438 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27439 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27440 }
27441 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27442 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27443 }
27444 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27445 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27446 }
27447 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27448 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27449 }
27450 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27451 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27452 }
27453 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27454 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27455 }
27456 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27457 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27458 }
27459 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27460 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27461 }
27462 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27463 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27464 }
27465 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27466 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27467 }
27468 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27469 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27470 }
27471 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27472 return (void *)((wxObject *) ((wxImageHandler *) x));
27473 }
27474 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27475 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27476 }
27477 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27478 return (void *)((wxObject *) ((wxEvtHandler *) x));
27479 }
27480 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27481 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27482 }
27483 static void *_p_wxImageTo_p_wxObject(void *x) {
27484 return (void *)((wxObject *) ((wxImage *) x));
27485 }
27486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27487 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27488 }
27489 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
27490 return (void *)((wxObject *) ((wxSystemOptions *) x));
27491 }
27492 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
27493 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
27494 }
27495 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27497 }
27498 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27499 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27500 }
27501 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27502 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27503 }
27504 static void *_p_wxWindowTo_p_wxObject(void *x) {
27505 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27506 }
27507 static void *_p_wxMenuTo_p_wxObject(void *x) {
27508 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27509 }
27510 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27512 }
27513 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
27514 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
27515 }
27516 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27517 return (void *)((wxObject *) ((wxFileSystem *) x));
27518 }
27519 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27520 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27521 }
27522 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27523 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27524 }
27525 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27526 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27527 }
27528 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27529 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27530 }
27531 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27532 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27533 }
27534 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27535 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27536 }
27537 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
27538 return (void *)((wxObject *) ((wxBusyInfo *) x));
27539 }
27540 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27542 }
27543 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27544 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27545 }
27546 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27547 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27548 }
27549 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27550 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27551 }
27552 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27553 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27554 }
27555 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
27556 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
27557 }
27558 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27560 }
27561 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27562 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27563 }
27564 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27565 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27566 }
27567 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
27569 }
27570 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
27571 return (void *)((wxLog *) ((wxLogStderr *) x));
27572 }
27573 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
27574 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
27575 }
27576 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
27577 return (void *)((wxLog *) ((wxLogWindow *) x));
27578 }
27579 static void *_p_wxLogChainTo_p_wxLog(void *x) {
27580 return (void *)((wxLog *) ((wxLogChain *) x));
27581 }
27582 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
27583 return (void *)((wxLog *) ((wxLogGui *) x));
27584 }
27585 static void *_p_wxPyLogTo_p_wxLog(void *x) {
27586 return (void *)((wxLog *) ((wxPyLog *) x));
27587 }
27588 static void *_p_wxControlTo_p_wxWindow(void *x) {
27589 return (void *)((wxWindow *) ((wxControl *) x));
27590 }
27591 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27592 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27593 }
27594 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27595 return (void *)((wxWindow *) ((wxMenuBar *) x));
27596 }
27597 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
27598 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
27599 }
27600 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
27601 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
27602 }
27603 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
27604 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
27605 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
27606 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}};
27607 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
27608 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
27609 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}};
27610 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}};
27611 static swig_type_info _swigt__p_wxWave[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
27612 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
27613 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
27614 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27615 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
27616 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
27617 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
27618 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27619 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27620 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
27621 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
27622 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27623 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
27624 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27625 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
27626 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
27627 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27628 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
27629 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
27630 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
27631 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject},{0}};
27632 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject},{0}};
27633 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}};
27634 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
27635 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
27636 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
27637 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
27638 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
27639 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
27640 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
27641 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27642 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
27643 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
27644 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite},{0}};
27645 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
27646 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
27647 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
27648 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}};
27649 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}};
27650 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27651 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
27652 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
27653 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
27654 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
27655 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
27656 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
27657 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
27658 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
27659 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider},{0}};
27660 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
27661 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
27662 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27663 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
27664 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27665 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}};
27666 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
27667 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
27668 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
27669 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}};
27670 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27671 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
27672 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27673 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
27674 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
27675 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
27676 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}};
27677 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
27678 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
27679 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
27680 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
27681 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
27682 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27683 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
27684 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
27685 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
27686
27687 static swig_type_info *swig_types_initial[] = {
27688 _swigt__p_wxLogChain,
27689 _swigt__p_wxMutexGuiLocker,
27690 _swigt__p_wxFileHistory,
27691 _swigt__p_wxLog,
27692 _swigt__p_wxDateTime__TimeZone,
27693 _swigt__p_wxMenu,
27694 _swigt__p_wxEvent,
27695 _swigt__p_wxConfigBase,
27696 _swigt__p_wxWave,
27697 _swigt__p_wxFileType,
27698 _swigt__p_wxLogGui,
27699 _swigt__p_wxFont,
27700 _swigt__p_wxDataFormat,
27701 _swigt__p_wxTimerEvent,
27702 _swigt__p_wxCaret,
27703 _swigt__p_int,
27704 _swigt__p_wxSize,
27705 _swigt__p_wxClipboard,
27706 _swigt__p_wxStopWatch,
27707 _swigt__p_wxDC,
27708 _swigt__p_wxClipboardLocker,
27709 _swigt__p_wxIcon,
27710 _swigt__p_wxLogStderr,
27711 _swigt__p_wxLogTextCtrl,
27712 _swigt__p_wxTextCtrl,
27713 _swigt__p_wxBusyCursor,
27714 _swigt__p_wxPyBitmapDataObject,
27715 _swigt__p_wxPyTextDataObject,
27716 _swigt__p_wxBitmapDataObject,
27717 _swigt__p_wxTextDataObject,
27718 _swigt__p_wxDataObject,
27719 _swigt__p_wxFileDataObject,
27720 _swigt__p_wxCustomDataObject,
27721 _swigt__p_wxURLDataObject,
27722 _swigt__p_wxMetafileDataObject,
27723 _swigt__p_wxTimerRunner,
27724 _swigt__p_wxLogWindow,
27725 _swigt__p_wxTimeSpan,
27726 _swigt__p_wxArrayString,
27727 _swigt__p_wxWindowDisabler,
27728 _swigt__p_wxToolTip,
27729 _swigt__p_wxDataObjectComposite,
27730 _swigt__p_wxFileConfig,
27731 _swigt__p_wxSystemSettings,
27732 _swigt__p_wxPyDataObjectSimple,
27733 _swigt__p_wxDataObjectSimple,
27734 _swigt__p_wxEvtHandler,
27735 _swigt__p_wxRect,
27736 _swigt__p_char,
27737 _swigt__p_wxSingleInstanceChecker,
27738 _swigt__p_wxFileTypeInfo,
27739 _swigt__p_wxFrame,
27740 _swigt__p_wxTimer,
27741 _swigt__p_wxMimeTypesManager,
27742 _swigt__p_wxPyArtProvider,
27743 _swigt__p_wxPyTipProvider,
27744 _swigt__p_wxTipProvider,
27745 _swigt__p_wxJoystick,
27746 _swigt__p_wxSystemOptions,
27747 _swigt__p_wxPoint,
27748 _swigt__p_wxJoystickEvent,
27749 _swigt__p_wxCursor,
27750 _swigt__p_wxObject,
27751 _swigt__p_wxOutputStream,
27752 _swigt__p_wxDateTime,
27753 _swigt__p_wxPyDropSource,
27754 _swigt__p_wxWindow,
27755 _swigt__p_wxString,
27756 _swigt__p_wxPyProcess,
27757 _swigt__p_wxBitmap,
27758 _swigt__p_wxConfig,
27759 _swigt__p_wxChar,
27760 _swigt__p_wxBusyInfo,
27761 _swigt__p_wxPyDropTarget,
27762 _swigt__p_wxPyTextDropTarget,
27763 _swigt__p_wxPyFileDropTarget,
27764 _swigt__p_wxProcessEvent,
27765 _swigt__p_wxPyLog,
27766 _swigt__p_wxLogNull,
27767 _swigt__p_wxColour,
27768 _swigt__p_wxConfigPathChanger,
27769 _swigt__p_wxPyTimer,
27770 _swigt__p_wxDateSpan,
27771 0
27772 };
27773
27774
27775 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27776
27777 static swig_const_info swig_const_table[] = {
27778 { SWIG_PY_STRING, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
27779 { SWIG_PY_STRING, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
27780 { SWIG_PY_STRING, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
27781 { SWIG_PY_STRING, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
27782 { SWIG_PY_STRING, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
27783 {0}};
27784
27785 #ifdef __cplusplus
27786 }
27787 #endif
27788
27789 #ifdef __cplusplus
27790 extern "C"
27791 #endif
27792 SWIGEXPORT(void) SWIG_init(void) {
27793 static PyObject *SWIG_globals = 0;
27794 static int typeinit = 0;
27795 PyObject *m, *d;
27796 int i;
27797 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27798 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27799 d = PyModule_GetDict(m);
27800
27801 if (!typeinit) {
27802 for (i = 0; swig_types_initial[i]; i++) {
27803 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27804 }
27805 typeinit = 1;
27806 }
27807 SWIG_InstallConstants(d,swig_const_table);
27808
27809 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_OEM_FIXED_FONT));
27810 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_FIXED_FONT));
27811 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_PyObj_FromInt((int)wxSYS_ANSI_VAR_FONT));
27812 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FONT));
27813 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT));
27814 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_PALETTE));
27815 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_PyObj_FromInt((int)wxSYS_SYSTEM_FIXED_FONT));
27816 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_PyObj_FromInt((int)wxSYS_DEFAULT_GUI_FONT));
27817 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_PyObj_FromInt((int)wxSYS_ICONTITLE_FONT));
27818 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_SCROLLBAR));
27819 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BACKGROUND));
27820 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_DESKTOP));
27821 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION));
27822 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION));
27823 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENU));
27824 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOW));
27825 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWFRAME));
27826 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUTEXT));
27827 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_WINDOWTEXT));
27828 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT));
27829 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER));
27830 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER));
27831 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_APPWORKSPACE));
27832 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHT));
27833 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT));
27834 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNFACE));
27835 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DFACE));
27836 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNSHADOW));
27837 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DSHADOW));
27838 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRAYTEXT));
27839 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNTEXT));
27840 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT));
27841 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT));
27842 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_BTNHILIGHT));
27843 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT));
27844 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DHILIGHT));
27845 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DDKSHADOW));
27846 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_3DLIGHT));
27847 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOTEXT));
27848 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_INFOBK));
27849 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_LISTBOX));
27850 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_HOTLIGHT));
27851 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION));
27852 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION));
27853 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUHILIGHT));
27854 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MENUBAR));
27855 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_PyObj_FromInt((int)wxSYS_COLOUR_MAX));
27856 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_MOUSE_BUTTONS));
27857 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_PyObj_FromInt((int)wxSYS_BORDER_X));
27858 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_PyObj_FromInt((int)wxSYS_BORDER_Y));
27859 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_X));
27860 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_PyObj_FromInt((int)wxSYS_CURSOR_Y));
27861 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_X));
27862 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_PyObj_FromInt((int)wxSYS_DCLICK_Y));
27863 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_PyObj_FromInt((int)wxSYS_DRAG_X));
27864 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_PyObj_FromInt((int)wxSYS_DRAG_Y));
27865 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_PyObj_FromInt((int)wxSYS_EDGE_X));
27866 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_PyObj_FromInt((int)wxSYS_EDGE_Y));
27867 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_X));
27868 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_ARROW_Y));
27869 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_PyObj_FromInt((int)wxSYS_HTHUMB_X));
27870 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_PyObj_FromInt((int)wxSYS_ICON_X));
27871 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_PyObj_FromInt((int)wxSYS_ICON_Y));
27872 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_X));
27873 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_PyObj_FromInt((int)wxSYS_ICONSPACING_Y));
27874 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_X));
27875 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_PyObj_FromInt((int)wxSYS_WINDOWMIN_Y));
27876 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_X));
27877 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_Y));
27878 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_X));
27879 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_PyObj_FromInt((int)wxSYS_FRAMESIZE_Y));
27880 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_X));
27881 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_PyObj_FromInt((int)wxSYS_SMALLICON_Y));
27882 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_PyObj_FromInt((int)wxSYS_HSCROLL_Y));
27883 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_X));
27884 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_X));
27885 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_PyObj_FromInt((int)wxSYS_VSCROLL_ARROW_Y));
27886 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_PyObj_FromInt((int)wxSYS_VTHUMB_Y));
27887 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_PyObj_FromInt((int)wxSYS_CAPTION_Y));
27888 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_PyObj_FromInt((int)wxSYS_MENU_Y));
27889 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_NETWORK_PRESENT));
27890 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_PyObj_FromInt((int)wxSYS_PENWINDOWS_PRESENT));
27891 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_PyObj_FromInt((int)wxSYS_SHOW_SOUNDS));
27892 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_PyObj_FromInt((int)wxSYS_SWAP_BUTTONS));
27893 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_PyObj_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS));
27894 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_PyObj_FromInt((int)wxSYS_CAN_ICONIZE_FRAME));
27895 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_NONE));
27896 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_TINY));
27897 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_PDA));
27898 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_SMALL));
27899 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_PyObj_FromInt((int)wxSYS_SCREEN_DESKTOP));
27900 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
27901 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
27902 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
27903 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
27904 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_PyObj_FromInt((int)wxSHUTDOWN_POWEROFF));
27905 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_PyObj_FromInt((int)wxSHUTDOWN_REBOOT));
27906 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_PyObj_FromInt((int)wxTIMER_CONTINUOUS));
27907 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_PyObj_FromInt((int)wxTIMER_ONE_SHOT));
27908 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
27909 PyDict_SetItemString(d,"LOG_FatalError", SWIG_PyObj_FromInt((int)wxLOG_FatalError));
27910 PyDict_SetItemString(d,"LOG_Error", SWIG_PyObj_FromInt((int)wxLOG_Error));
27911 PyDict_SetItemString(d,"LOG_Warning", SWIG_PyObj_FromInt((int)wxLOG_Warning));
27912 PyDict_SetItemString(d,"LOG_Message", SWIG_PyObj_FromInt((int)wxLOG_Message));
27913 PyDict_SetItemString(d,"LOG_Status", SWIG_PyObj_FromInt((int)wxLOG_Status));
27914 PyDict_SetItemString(d,"LOG_Info", SWIG_PyObj_FromInt((int)wxLOG_Info));
27915 PyDict_SetItemString(d,"LOG_Debug", SWIG_PyObj_FromInt((int)wxLOG_Debug));
27916 PyDict_SetItemString(d,"LOG_Trace", SWIG_PyObj_FromInt((int)wxLOG_Trace));
27917 PyDict_SetItemString(d,"LOG_Progress", SWIG_PyObj_FromInt((int)wxLOG_Progress));
27918 PyDict_SetItemString(d,"LOG_User", SWIG_PyObj_FromInt((int)wxLOG_User));
27919 PyDict_SetItemString(d,"LOG_Max", SWIG_PyObj_FromInt((int)wxLOG_Max));
27920 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_PyObj_FromInt((int)0x0001));
27921 PyDict_SetItemString(d,"TraceMessages", SWIG_PyObj_FromInt((int)0x0002));
27922 PyDict_SetItemString(d,"TraceResAlloc", SWIG_PyObj_FromInt((int)0x0004));
27923 PyDict_SetItemString(d,"TraceRefCount", SWIG_PyObj_FromInt((int)0x0008));
27924 PyDict_SetItemString(d,"TraceOleCalls", SWIG_PyObj_FromInt((int)0x0100));
27925 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_PyObj_FromInt((int)wxPROCESS_DEFAULT));
27926 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_PyObj_FromInt((int)wxPROCESS_REDIRECT));
27927 PyDict_SetItemString(d,"KILL_OK", SWIG_PyObj_FromInt((int)wxKILL_OK));
27928 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_PyObj_FromInt((int)wxKILL_BAD_SIGNAL));
27929 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_PyObj_FromInt((int)wxKILL_ACCESS_DENIED));
27930 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_PyObj_FromInt((int)wxKILL_NO_PROCESS));
27931 PyDict_SetItemString(d,"KILL_ERROR", SWIG_PyObj_FromInt((int)wxKILL_ERROR));
27932 PyDict_SetItemString(d,"SIGNONE", SWIG_PyObj_FromInt((int)wxSIGNONE));
27933 PyDict_SetItemString(d,"SIGHUP", SWIG_PyObj_FromInt((int)wxSIGHUP));
27934 PyDict_SetItemString(d,"SIGINT", SWIG_PyObj_FromInt((int)wxSIGINT));
27935 PyDict_SetItemString(d,"SIGQUIT", SWIG_PyObj_FromInt((int)wxSIGQUIT));
27936 PyDict_SetItemString(d,"SIGILL", SWIG_PyObj_FromInt((int)wxSIGILL));
27937 PyDict_SetItemString(d,"SIGTRAP", SWIG_PyObj_FromInt((int)wxSIGTRAP));
27938 PyDict_SetItemString(d,"SIGABRT", SWIG_PyObj_FromInt((int)wxSIGABRT));
27939 PyDict_SetItemString(d,"SIGIOT", SWIG_PyObj_FromInt((int)wxSIGIOT));
27940 PyDict_SetItemString(d,"SIGEMT", SWIG_PyObj_FromInt((int)wxSIGEMT));
27941 PyDict_SetItemString(d,"SIGFPE", SWIG_PyObj_FromInt((int)wxSIGFPE));
27942 PyDict_SetItemString(d,"SIGKILL", SWIG_PyObj_FromInt((int)wxSIGKILL));
27943 PyDict_SetItemString(d,"SIGBUS", SWIG_PyObj_FromInt((int)wxSIGBUS));
27944 PyDict_SetItemString(d,"SIGSEGV", SWIG_PyObj_FromInt((int)wxSIGSEGV));
27945 PyDict_SetItemString(d,"SIGSYS", SWIG_PyObj_FromInt((int)wxSIGSYS));
27946 PyDict_SetItemString(d,"SIGPIPE", SWIG_PyObj_FromInt((int)wxSIGPIPE));
27947 PyDict_SetItemString(d,"SIGALRM", SWIG_PyObj_FromInt((int)wxSIGALRM));
27948 PyDict_SetItemString(d,"SIGTERM", SWIG_PyObj_FromInt((int)wxSIGTERM));
27949 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
27950 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_PyObj_FromInt((int)wxEXEC_ASYNC));
27951 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_PyObj_FromInt((int)wxEXEC_SYNC));
27952 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_PyObj_FromInt((int)wxEXEC_NOHIDE));
27953 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_PyObj_FromInt((int)wxEXEC_MAKE_GROUP_LEADER));
27954
27955 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
27956
27957 PyDict_SetItemString(d,"JOYSTICK1", SWIG_PyObj_FromInt((int)wxJOYSTICK1));
27958 PyDict_SetItemString(d,"JOYSTICK2", SWIG_PyObj_FromInt((int)wxJOYSTICK2));
27959 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_PyObj_FromInt((int)wxJOY_BUTTON_ANY));
27960 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_PyObj_FromInt((int)wxJOY_BUTTON1));
27961 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_PyObj_FromInt((int)wxJOY_BUTTON2));
27962 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_PyObj_FromInt((int)wxJOY_BUTTON3));
27963 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_PyObj_FromInt((int)wxJOY_BUTTON4));
27964 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
27965 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
27966 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
27967 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
27968 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_PyObj_FromInt((int)wxMAILCAP_STANDARD));
27969 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_PyObj_FromInt((int)wxMAILCAP_NETSCAPE));
27970 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_PyObj_FromInt((int)wxMAILCAP_KDE));
27971 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_PyObj_FromInt((int)wxMAILCAP_GNOME));
27972 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_PyObj_FromInt((int)wxMAILCAP_ALL));
27973 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
27974 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
27975 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
27976 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
27977 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
27978 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
27979 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
27980 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
27981 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
27982 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
27983 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
27984 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
27985 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
27986 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
27987 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
27988 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
27989 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
27990 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
27991 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
27992 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
27993 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
27994 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
27995 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
27996 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
27997 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
27998 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
27999 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
28000 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
28001 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
28002 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
28003 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
28004 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
28005 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
28006 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
28007 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
28008 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
28009 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
28010 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
28011 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
28012
28013 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
28014
28015 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_LOCAL_FILE));
28016 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_PyObj_FromInt((int)wxCONFIG_USE_GLOBAL_FILE));
28017 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_PyObj_FromInt((int)wxCONFIG_USE_RELATIVE_PATH));
28018 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_PyObj_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS));
28019 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Unknown));
28020 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_PyObj_FromInt((int)wxConfigBase::Type_String));
28021 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Boolean));
28022 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Integer));
28023 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_PyObj_FromInt((int)wxConfigBase::Type_Float));
28024 SWIG_addvarlink(SWIG_globals,(char*)"DateFormatStr",_wrap_DateFormatStr_get, _wrap_DateFormatStr_set);
28025 SWIG_addvarlink(SWIG_globals,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get, _wrap_TimeSpanFormatStr_set);
28026 PyDict_SetItemString(d,"DateTime_Local", SWIG_PyObj_FromInt((int)wxDateTime::Local));
28027 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_PyObj_FromInt((int)wxDateTime::GMT_12));
28028 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_PyObj_FromInt((int)wxDateTime::GMT_11));
28029 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_PyObj_FromInt((int)wxDateTime::GMT_10));
28030 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_PyObj_FromInt((int)wxDateTime::GMT_9));
28031 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_PyObj_FromInt((int)wxDateTime::GMT_8));
28032 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_PyObj_FromInt((int)wxDateTime::GMT_7));
28033 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_PyObj_FromInt((int)wxDateTime::GMT_6));
28034 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_PyObj_FromInt((int)wxDateTime::GMT_5));
28035 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_PyObj_FromInt((int)wxDateTime::GMT_4));
28036 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_PyObj_FromInt((int)wxDateTime::GMT_3));
28037 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_PyObj_FromInt((int)wxDateTime::GMT_2));
28038 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_PyObj_FromInt((int)wxDateTime::GMT_1));
28039 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_PyObj_FromInt((int)wxDateTime::GMT0));
28040 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_PyObj_FromInt((int)wxDateTime::GMT1));
28041 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_PyObj_FromInt((int)wxDateTime::GMT2));
28042 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_PyObj_FromInt((int)wxDateTime::GMT3));
28043 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_PyObj_FromInt((int)wxDateTime::GMT4));
28044 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_PyObj_FromInt((int)wxDateTime::GMT5));
28045 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_PyObj_FromInt((int)wxDateTime::GMT6));
28046 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_PyObj_FromInt((int)wxDateTime::GMT7));
28047 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_PyObj_FromInt((int)wxDateTime::GMT8));
28048 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_PyObj_FromInt((int)wxDateTime::GMT9));
28049 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_PyObj_FromInt((int)wxDateTime::GMT10));
28050 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_PyObj_FromInt((int)wxDateTime::GMT11));
28051 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_PyObj_FromInt((int)wxDateTime::GMT12));
28052 PyDict_SetItemString(d,"DateTime_WET", SWIG_PyObj_FromInt((int)wxDateTime::WET));
28053 PyDict_SetItemString(d,"DateTime_WEST", SWIG_PyObj_FromInt((int)wxDateTime::WEST));
28054 PyDict_SetItemString(d,"DateTime_CET", SWIG_PyObj_FromInt((int)wxDateTime::CET));
28055 PyDict_SetItemString(d,"DateTime_CEST", SWIG_PyObj_FromInt((int)wxDateTime::CEST));
28056 PyDict_SetItemString(d,"DateTime_EET", SWIG_PyObj_FromInt((int)wxDateTime::EET));
28057 PyDict_SetItemString(d,"DateTime_EEST", SWIG_PyObj_FromInt((int)wxDateTime::EEST));
28058 PyDict_SetItemString(d,"DateTime_MSK", SWIG_PyObj_FromInt((int)wxDateTime::MSK));
28059 PyDict_SetItemString(d,"DateTime_MSD", SWIG_PyObj_FromInt((int)wxDateTime::MSD));
28060 PyDict_SetItemString(d,"DateTime_AST", SWIG_PyObj_FromInt((int)wxDateTime::AST));
28061 PyDict_SetItemString(d,"DateTime_ADT", SWIG_PyObj_FromInt((int)wxDateTime::ADT));
28062 PyDict_SetItemString(d,"DateTime_EST", SWIG_PyObj_FromInt((int)wxDateTime::EST));
28063 PyDict_SetItemString(d,"DateTime_EDT", SWIG_PyObj_FromInt((int)wxDateTime::EDT));
28064 PyDict_SetItemString(d,"DateTime_CST", SWIG_PyObj_FromInt((int)wxDateTime::CST));
28065 PyDict_SetItemString(d,"DateTime_CDT", SWIG_PyObj_FromInt((int)wxDateTime::CDT));
28066 PyDict_SetItemString(d,"DateTime_MST", SWIG_PyObj_FromInt((int)wxDateTime::MST));
28067 PyDict_SetItemString(d,"DateTime_MDT", SWIG_PyObj_FromInt((int)wxDateTime::MDT));
28068 PyDict_SetItemString(d,"DateTime_PST", SWIG_PyObj_FromInt((int)wxDateTime::PST));
28069 PyDict_SetItemString(d,"DateTime_PDT", SWIG_PyObj_FromInt((int)wxDateTime::PDT));
28070 PyDict_SetItemString(d,"DateTime_HST", SWIG_PyObj_FromInt((int)wxDateTime::HST));
28071 PyDict_SetItemString(d,"DateTime_AKST", SWIG_PyObj_FromInt((int)wxDateTime::AKST));
28072 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_PyObj_FromInt((int)wxDateTime::AKDT));
28073 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_PyObj_FromInt((int)wxDateTime::A_WST));
28074 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_PyObj_FromInt((int)wxDateTime::A_CST));
28075 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_PyObj_FromInt((int)wxDateTime::A_EST));
28076 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_PyObj_FromInt((int)wxDateTime::A_ESST));
28077 PyDict_SetItemString(d,"DateTime_UTC", SWIG_PyObj_FromInt((int)wxDateTime::UTC));
28078 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_PyObj_FromInt((int)wxDateTime::Gregorian));
28079 PyDict_SetItemString(d,"DateTime_Julian", SWIG_PyObj_FromInt((int)wxDateTime::Julian));
28080 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Unknown));
28081 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Standard));
28082 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Alaska));
28083 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Albania));
28084 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria));
28085 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Brixen));
28086 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Salzburg));
28087 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Tyrol));
28088 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Carinthia));
28089 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Austria_Styria));
28090 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Belgium));
28091 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria));
28092 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_1));
28093 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_2));
28094 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Bulgaria_3));
28095 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Canada));
28096 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China));
28097 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_1));
28098 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_China_2));
28099 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Czechoslovakia));
28100 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Denmark));
28101 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Egypt));
28102 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Estonia));
28103 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Finland));
28104 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France));
28105 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Alsace));
28106 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Lorraine));
28107 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_France_Strasbourg));
28108 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany));
28109 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Catholic));
28110 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Prussia));
28111 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Germany_Protestant));
28112 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_GreatBritain));
28113 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Greece));
28114 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Hungary));
28115 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Ireland));
28116 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Italy));
28117 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan));
28118 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_1));
28119 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_2));
28120 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Japan_3));
28121 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Latvia));
28122 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Lithuania));
28123 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Luxemburg));
28124 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands));
28125 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Groningen));
28126 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland));
28127 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht));
28128 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Netherlands_Friesland));
28129 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Norway));
28130 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Poland));
28131 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Portugal));
28132 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Romania));
28133 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Russia));
28134 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Scotland));
28135 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Spain));
28136 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Sweden));
28137 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland));
28138 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Catholic));
28139 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Switzerland_Protestant));
28140 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Turkey));
28141 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_PyObj_FromInt((int)wxDateTime::Gr_USA));
28142 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Wales));
28143 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_PyObj_FromInt((int)wxDateTime::Gr_Yugoslavia));
28144 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_PyObj_FromInt((int)wxDateTime::Country_Unknown));
28145 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_PyObj_FromInt((int)wxDateTime::Country_Default));
28146 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_Start));
28147 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_PyObj_FromInt((int)wxDateTime::Country_EEC));
28148 PyDict_SetItemString(d,"DateTime_France", SWIG_PyObj_FromInt((int)wxDateTime::France));
28149 PyDict_SetItemString(d,"DateTime_Germany", SWIG_PyObj_FromInt((int)wxDateTime::Germany));
28150 PyDict_SetItemString(d,"DateTime_UK", SWIG_PyObj_FromInt((int)wxDateTime::UK));
28151 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_PyObj_FromInt((int)wxDateTime::Country_WesternEurope_End));
28152 PyDict_SetItemString(d,"DateTime_Russia", SWIG_PyObj_FromInt((int)wxDateTime::Russia));
28153 PyDict_SetItemString(d,"DateTime_USA", SWIG_PyObj_FromInt((int)wxDateTime::USA));
28154 PyDict_SetItemString(d,"DateTime_Jan", SWIG_PyObj_FromInt((int)wxDateTime::Jan));
28155 PyDict_SetItemString(d,"DateTime_Feb", SWIG_PyObj_FromInt((int)wxDateTime::Feb));
28156 PyDict_SetItemString(d,"DateTime_Mar", SWIG_PyObj_FromInt((int)wxDateTime::Mar));
28157 PyDict_SetItemString(d,"DateTime_Apr", SWIG_PyObj_FromInt((int)wxDateTime::Apr));
28158 PyDict_SetItemString(d,"DateTime_May", SWIG_PyObj_FromInt((int)wxDateTime::May));
28159 PyDict_SetItemString(d,"DateTime_Jun", SWIG_PyObj_FromInt((int)wxDateTime::Jun));
28160 PyDict_SetItemString(d,"DateTime_Jul", SWIG_PyObj_FromInt((int)wxDateTime::Jul));
28161 PyDict_SetItemString(d,"DateTime_Aug", SWIG_PyObj_FromInt((int)wxDateTime::Aug));
28162 PyDict_SetItemString(d,"DateTime_Sep", SWIG_PyObj_FromInt((int)wxDateTime::Sep));
28163 PyDict_SetItemString(d,"DateTime_Oct", SWIG_PyObj_FromInt((int)wxDateTime::Oct));
28164 PyDict_SetItemString(d,"DateTime_Nov", SWIG_PyObj_FromInt((int)wxDateTime::Nov));
28165 PyDict_SetItemString(d,"DateTime_Dec", SWIG_PyObj_FromInt((int)wxDateTime::Dec));
28166 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Month));
28167 PyDict_SetItemString(d,"DateTime_Sun", SWIG_PyObj_FromInt((int)wxDateTime::Sun));
28168 PyDict_SetItemString(d,"DateTime_Mon", SWIG_PyObj_FromInt((int)wxDateTime::Mon));
28169 PyDict_SetItemString(d,"DateTime_Tue", SWIG_PyObj_FromInt((int)wxDateTime::Tue));
28170 PyDict_SetItemString(d,"DateTime_Wed", SWIG_PyObj_FromInt((int)wxDateTime::Wed));
28171 PyDict_SetItemString(d,"DateTime_Thu", SWIG_PyObj_FromInt((int)wxDateTime::Thu));
28172 PyDict_SetItemString(d,"DateTime_Fri", SWIG_PyObj_FromInt((int)wxDateTime::Fri));
28173 PyDict_SetItemString(d,"DateTime_Sat", SWIG_PyObj_FromInt((int)wxDateTime::Sat));
28174 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_PyObj_FromInt((int)wxDateTime::Inv_WeekDay));
28175 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_PyObj_FromInt((int)wxDateTime::Inv_Year));
28176 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_PyObj_FromInt((int)wxDateTime::Name_Full));
28177 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_PyObj_FromInt((int)wxDateTime::Name_Abbr));
28178 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_PyObj_FromInt((int)wxDateTime::Default_First));
28179 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_PyObj_FromInt((int)wxDateTime::Monday_First));
28180 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_PyObj_FromInt((int)wxDateTime::Sunday_First));
28181 PyDict_SetItemString(d,"DF_INVALID", SWIG_PyObj_FromInt((int)wxDF_INVALID));
28182 PyDict_SetItemString(d,"DF_TEXT", SWIG_PyObj_FromInt((int)wxDF_TEXT));
28183 PyDict_SetItemString(d,"DF_BITMAP", SWIG_PyObj_FromInt((int)wxDF_BITMAP));
28184 PyDict_SetItemString(d,"DF_METAFILE", SWIG_PyObj_FromInt((int)wxDF_METAFILE));
28185 PyDict_SetItemString(d,"DF_SYLK", SWIG_PyObj_FromInt((int)wxDF_SYLK));
28186 PyDict_SetItemString(d,"DF_DIF", SWIG_PyObj_FromInt((int)wxDF_DIF));
28187 PyDict_SetItemString(d,"DF_TIFF", SWIG_PyObj_FromInt((int)wxDF_TIFF));
28188 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_PyObj_FromInt((int)wxDF_OEMTEXT));
28189 PyDict_SetItemString(d,"DF_DIB", SWIG_PyObj_FromInt((int)wxDF_DIB));
28190 PyDict_SetItemString(d,"DF_PALETTE", SWIG_PyObj_FromInt((int)wxDF_PALETTE));
28191 PyDict_SetItemString(d,"DF_PENDATA", SWIG_PyObj_FromInt((int)wxDF_PENDATA));
28192 PyDict_SetItemString(d,"DF_RIFF", SWIG_PyObj_FromInt((int)wxDF_RIFF));
28193 PyDict_SetItemString(d,"DF_WAVE", SWIG_PyObj_FromInt((int)wxDF_WAVE));
28194 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_PyObj_FromInt((int)wxDF_UNICODETEXT));
28195 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_PyObj_FromInt((int)wxDF_ENHMETAFILE));
28196 PyDict_SetItemString(d,"DF_FILENAME", SWIG_PyObj_FromInt((int)wxDF_FILENAME));
28197 PyDict_SetItemString(d,"DF_LOCALE", SWIG_PyObj_FromInt((int)wxDF_LOCALE));
28198 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_PyObj_FromInt((int)wxDF_PRIVATE));
28199 PyDict_SetItemString(d,"DF_HTML", SWIG_PyObj_FromInt((int)wxDF_HTML));
28200 PyDict_SetItemString(d,"DF_MAX", SWIG_PyObj_FromInt((int)wxDF_MAX));
28201 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
28202 PyDict_SetItemString(d,"DataObject_Get", SWIG_PyObj_FromInt((int)wxDataObject::Get));
28203 PyDict_SetItemString(d,"DataObject_Set", SWIG_PyObj_FromInt((int)wxDataObject::Set));
28204 PyDict_SetItemString(d,"DataObject_Both", SWIG_PyObj_FromInt((int)wxDataObject::Both));
28205 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_PyObj_FromInt((int)wxDrag_CopyOnly));
28206 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_PyObj_FromInt((int)wxDrag_AllowMove));
28207 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_PyObj_FromInt((int)wxDrag_DefaultMove));
28208 PyDict_SetItemString(d,"DragError", SWIG_PyObj_FromInt((int)wxDragError));
28209 PyDict_SetItemString(d,"DragNone", SWIG_PyObj_FromInt((int)wxDragNone));
28210 PyDict_SetItemString(d,"DragCopy", SWIG_PyObj_FromInt((int)wxDragCopy));
28211 PyDict_SetItemString(d,"DragMove", SWIG_PyObj_FromInt((int)wxDragMove));
28212 PyDict_SetItemString(d,"DragLink", SWIG_PyObj_FromInt((int)wxDragLink));
28213 PyDict_SetItemString(d,"DragCancel", SWIG_PyObj_FromInt((int)wxDragCancel));
28214
28215 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
28216 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
28217 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
28218 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
28219
28220 SWIG_addvarlink(SWIG_globals,(char*)"TheClipboard",_wrap_TheClipboard_get, _wrap_TheClipboard_set);
28221 }
28222